[LightDM] Triggering LightDM's lockscreen or user switcher

Yves-Alexis Perez corsac at debian.org
Fri Sep 30 12:03:17 PDT 2011


On ven., 2011-09-30 at 12:44 -0400, Nikita Nikishin wrote:
> 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

Shouldn't you use xdg-screensaver or xflock4?
> 
> Is there a similar way to lock the screen (and maybe switch to the
> user selection dialog) with LightDM? 

Locking the screen is not really a lightdm feature. Switching user is
supported through a gdmflexiserver but it's not really in the PATH so
you would need to try both the gdm and lightdm path.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110930/df5d4ccc/attachment.pgp>


More information about the LightDM mailing list