Ubuntu – Not Locking Screen after X minutes

gnome-screensaverlockscreen

Since I upgraded from Ubuntu 11.10 to 12.04 (and also 12.10 problem still occurs), my notebook does not lock the screen automatically.

I wen into "Brightness and Lock" settings, Set "Turn Screen of when inactive for 1 minute" and also the "Lock screen after 1 minute". But the screen never locks.

The screen goes off, and after certain Random Time it goes back on, and NOT locked.
So, if i leave my office, the screen turns off, but suddenly after a while it turns back on, and anyone can access my computer.

Obs.: Ubuntu 12.10 x64, Gnome-shell 3.6.1, Dell Integrated Graphics.

Best Answer

I was having the same issue on 12.10. Everything worked fine in 12.04, but the problem started when I upgraded to 12.10 yesterday.

I figured out that I was just misunderstanding the wording of the 12.10 Brightness and Lock settings. There are two parts. "Turn screen off when inactive for:" x minutes, which determines when the screen turns off. Then "Lock screen after:" x minutes determines how long after the screen goes off to activate the screen lock. So you have to add the two times to get the total time after which the screen will lock. Hope this helps.

I found the solution here: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/1063682