Bug 235698 - Switch user button doesn't work when multiple server definitions exist
Switch user button doesn't work when multiple server definitions exist
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-screensaver (Show other bugs)
rawhide
All Linux
medium Severity low
: ---
: ---
Assigned To: Ray Strode [halfline]
:
Depends On:
Blocks: FC7Target
  Show dependency treegraph
 
Reported: 2007-04-09 14:03 EDT by Stewart Adam
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-10 07:27:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stewart Adam 2007-04-09 14:03:13 EDT
Description of problem:
When multiple servers are defined, running gdmflexiserver asks 'Chooser X server
to start' so as a result when the screensaver is locked, clicking "Switch User"
has no effect since the dialog appears behind the locked screen.

Version-Release number of selected component (if applicable):
gdm-2.18.0-7.fc7
gnome-screensaver-2.18.0-6.fc7

How reproducible:
Always

Steps to Reproduce:
1. Create two or more server defs in custom.conf
2. Try to switch users while screen is locked
  
Actual results:
Dialog appears behind locked screensaver (nothing happens from the user's point
of view)

Expected results:
The dialog appears on top of the locked screen, or it just goes ahead and starts
the default server

Additional info:
Comment 1 Matthias Clasen 2007-04-09 17:56:57 EDT
Might be best to just add an option to gdmflexiserver to force it to use the
default server.
Comment 2 Matthias Clasen 2007-04-10 07:09:36 EDT
Turns out this is not a problem for the fus-applet, since it uses gdm socket
commands to spawn a new flexiserver. But gnome-screensaver simply runs
gdmflexiserver --start-new. As it turns out, gdmflexiserver already accepts an
X server id as last argument, so one way to improve things would be to make
gnome-screensaver run "gdmflexiserver --start-new Standard". That will work 
with multiple server definitions in the gdm configuration as long as 

a) the "Standard" server is not removed
b) the "Standard" server is flexible
Comment 3 Matthias Clasen 2007-04-10 07:27:35 EDT
This fix is in 2.18.0-7.fc7

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