[LightDM] Triggering LightDM's lockscreen or user switcher

Guido Berhoerster gber at opensuse.org
Fri Sep 30 12:30:08 PDT 2011


* Nikita Nikishin <nnikishi at emich.edu> [2011-09-30 18:50]:
> Hello,
> 
> I am working on integrating a few DM's into XFCE's logout button. I've found commands to lock GDM and XScreensaver:
> 
>     gnome-screensaver-command -l
> 
> And:
> 
>     xscreensaver-command -lock
> 
> Is there a similar way to lock the screen (and maybe switch to the user selection dialog) with LightDM?

We use the following modification to gdmflexiserver to lock the
screen before switching users on openSUSE:
https://build.opensuse.org/package/view_file?file=lightdm-lock-screen-before-switch.patch&package=lightdm&project=X11%3Axfce&srcmd5=4fd8b507ca5e29e2fa9c5edb483f12b8
Apart from xscreensaver and gnome-screenserver it also works
with the KDE screensaver slock and xlock/xlockmore.
-- 
Guido Berhoerster


More information about the LightDM mailing list