Hi everyone!

I've done some search and here is my simple script for new login functionality:

------------------------
#!/bin/bash
# Issue a "new login" command for currently running login manager.
# ...assuming there can be only one.
pidof lightdm &> /dev/null && dm-tool switch-to-greeter
pidof lxdm &> /dev/null && lxdm -c USER_SWITCH
pidof gdm &> /dev/null && gdmflexiserver
pidof kdm &> /dev/null && kdmctl reserve
------------------------

Tested with lightdm, although you have to enter password both in lightdm and 
xscreensaver to return to your session without VT switch. But that's better 
than nothing.

Maybe this bug should be merged with #499909.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to