#179 User switching is not working

closed-wont-fix
dgod.osa
None
5
2012-02-25
2011-12-01
Konstantin Svist
No

I'm using XFCE with LXDM as login manager in Fedora 16.
One feature of xfce/xscreensaver is the ability to log in as an alternative user while one is already logged in. In XFCE desktop, a "User Switching" widget does this, and in xscreensaver (while locked), there's a button "New Login". Pressing either one shows this message on the desktop: "The name org.gnome.DisplayManager was not provided by any .service files"
Note: while in xscreensaver, button becomes disabled and apparently nothing happens - but if you unlock the screensaver, the messages are visible on the desktop

Discussion

  • For LXDM this would be a feautre request, but the bug is in xscreensaver. It should only show the button if the org.gnome.DisplayManager service is available. As *GNOME* is hardcoded here I'm afraid there is not much we can do. I mean, of course we could give our service the same name, but then people who have both lxdm and gdm installed will run into trouble.

     
  • You know, kdm has a small gdm compatibility daemon to interact with interfaces such as xscreensaver. I think it might be done for lxdm too but agree it would go into feature requests not bugs.

     
  • dgod.osa
    dgod.osa
    2011-12-25

    lxdm have the command 'lxdm-binary -c USER_SWITCH' to switch user.

    I don't know if emulate gdm's interface is a good idea or not.

     
  • So you're saying I should file a bug against XScreensaver?

     
  • dgod.osa
    dgod.osa
    2011-12-28

    no, I just say 'I don't know if emulate gdm's interface is a good idea or no'

     
  • dgod.osa
    dgod.osa
    2011-12-29

    I found a easy way to support this,
    1) create file /usr/bin/gdmflexiserver
    2) put 'lxdm-binary -c USER_SWITCH' into it

    then xscreensaver can click the new login.

     
  • /usr/bin/gdmflexiserver already exists on my laptop (I think gdm is also installed, though unused)

     
  • dgod.osa
    dgod.osa
    2012-02-25

    • labels: 1272912 -->
    • status: open --> closed-wont-fix
     
  • John A.
    John A.
    2012-06-02

    I emailed Jamie dev of xscreensaver.

     
  • John A.
    John A.
    2012-06-02

    Jamie told me of a feature in xscreensaver that allows this. Set the variable called, "newLoginCommand" in the global xscreensaver config file allows one to specify the command executed by the "New Login" button in the lock dialog. Comment out (using a bang !) the default line and replace it with the following:

    *newLoginCommand: lxdm -c USER_SWITCH

    On Arch Linux this file resides in /usr/share/X11/app-defaults/XScreenSaver but I believe the default location is /usr/lib/X11/app-defaults/XScreenSaver.

    Enjoy!