"switch-to-greeter" does not set the lock hint because it is not the same as "lock" which does set the hint.
You should use "switch-to-greeter" when you want to switch to another session. The greeter should display in an appropriate way for the user to be able to select any other user account and log into a new session. As a side-effect, the existing session becomes locked but this should not be visible to the user. You should use "lock" when you want to make the computer inaccessible without a password. The greeter should detect the lock hint and display the greeter in an appropriate way so it is easy for the returning user to enter their password and return to their session. The greeter can decide if it will also allow switching to another session. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1264563 Title: switch-to-greeter does not set lock hint Status in LightDM GTK+ Greeter: New Status in “lightdm” package in Ubuntu: Invalid Bug description: light-locker is able to lock the current user session automatically on suspend/hibernation and it works as expected. However, after resuming the system lightdm-gtk-greeter displays the "Log In" button instead of the "Unlock" one and does not highlight the current logged in user. This does not seem to affect the login/unlock process and was only tested with hibernation. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: light-locker 1.0.0-0ubuntu1 ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4 Uname: Linux 3.12.0-7-generic i686 NonfreeKernelModules: fglrx ApportVersion: 2.12.7-0ubuntu3 Architecture: i386 CurrentDesktop: XFCE Date: Fri Dec 27 19:15:50 2013 InstallationDate: Installed on 2013-09-21 (97 days ago) InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130920) SourcePackage: light-locker UpgradeStatus: Upgraded to trusty on 2013-11-08 (49 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1264563/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp