Thanks Pavel, the issue you describe there start sounding like a gnome- shell bug, we changed gnome-settings-daemon in Ubuntu to lock the screen after suspend, always, so it seems that gnome-shell doesn't use the standard suspend interface and does it in a way which handles locking in a buggy way...
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/869765 Title: Screen locked on lid close, suspend, user switch Status in “gnome-settings-daemon” package in Ubuntu: Confirmed Status in “gnome-settings-daemon” source package in Precise: Confirmed Bug description: If I suspend my laptop by closing the lid, I get a password prompt when I open it again. This doesn't occur when I suspend using the gnome-shell "suspend" menu entry. For information, this happens when running a gnome-shell session. I have disabled "lock screen" in the "screen" settings. This used to work perfectly until very recently (probably after one of my daily oneiric upgrades). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/869765/+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