I am on 13.04 and waking from suspend takes me straight to desktop without a password prompt even though it is set to ask for a password in the brightness and lock settings.

Also I recently tried to lock my computer,going to the power menu in the top right corner and hitting lock,it does not do anything,I am still on the desktop..(just tried crtl alt l to lock,it does work) but not the way i did it though,but that is not important to me ,I need the password prompt after suspend..

So why? dconf bug? Or a combination of libnss-myhostname/gnome-screensaver/dconf? ... Didn't (want to) reproduce the problem and solution.

Edit:

After a reboot, the non-locking behavior showed up again. I found out that after locking the screen either by keyboard shortcut (set via gnome-control-center) or by console (gnome-screensaver-command -l) the locking was restored. So adding gnome-screensaver & to startup applications solved the problem. Check ps -A | grep gnome-screen if gnome-screensaver is running.