Bug 627010 - Dependency on xterm needed for suspend/resume
Summary: Dependency on xterm needed for suspend/resume
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: freenx-server
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-24 20:47 UTC by Adam Huffman
Modified: 2011-06-19 21:44 UTC (History)
3 users (show)

Fixed In Version: 0.7.3-22
Clone Of:
Environment:
Last Closed: 2011-06-19 21:44:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Huffman 2010-08-24 20:47:04 UTC
Description of problem:

On Fedora 13, the Suspend/Terminate dialog window will not appear when the Ctrl-Alt-T shortcut is pressed or the NX window is closed, if xterm is not installed.  If xterm is installed, both approaches work as they should.

Version-Release number of selected component (if applicable):
freenx-server-0.7.3-18.fc13.x86_64

How reproducible:


Steps to Reproduce:
1.Use Ctrl-Alt-T or close NX window
2.
3.
  
Actual results:

Nothing happens if xterm is not installed

Expected results:

Suspend/Terminate window should appear

Additional info:

Comment 1 Bug Zapper 2011-06-01 10:32:17 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Ville Skyttä 2011-06-19 21:01:05 UTC
I wasn't even aware of the functionality, thanks for the report!

There seems to be several ways to display the dialog; /usr/bin/Xdialog will be used if it exists, then if /usr/bin/dialog exists xterm will be used with it, and finally if /usr/bin/Xdialog and /usr/bin/dialog are not available, xmessage will be used.

So the whole picture is a bit more complicated than just adding a xterm dependency, but I'll look into it.

Comment 3 Ville Skyttä 2011-06-19 21:44:35 UTC
This approach fixes it without adding new dependencies (causing a proper fallback to xmessage if no other supported dialogs are available):

http://pkgs.fedoraproject.org/gitweb/?p=freenx-server.git;a=blob;f=freenx-server-0.7.3-nxdialog-627010.patch;h=3a823999e01210c703354e9c5d334be609ec2d5b;hb=450bbeb2f768a44f533491b5b1ce86d79987b13e


Note You need to log in before you can comment on or make changes to this bug.