This can be also reproduced by running "dm-tool switch-to-greeter", so it is in fact an issue in the lightdm-gtk-greeter code or in lightdm. The greeter queries lightdm several times to get the status of the lock hint, which is not set when switching to the greeter (SwitchToGreeter).
The following patch for lightdm-gtk-greeter removes these calls: http://pastebin.ca/2520577 However, setting the lock hint might be the better and cleaner solution, because the user session actually gets locked in this scenario. ** Summary changed: - lightdm not aware of session lock + switch-to-greeter does not set lock hint ** Package changed: light-locker (Ubuntu) => lightdm (Ubuntu) ** Also affects: lightdm-gtk-greeter Importance: Undecided Status: New -- 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: Confirmed 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

