Ubuntu – Screen turns black but doesn’t lock when I press Ctrl+Alt+L

lock-screen

I am unable to lock my desktop in Ubuntu 11.10 with

Ctrl + Alt + L

If I press the above key sequence the screen turns black and the little lock icon appears at the top right of my screen.

However, if I press a key or move my mouse, the black screen disappears and my desktop appears again.

Does anyone know why?

Best Answer

If you create a password in "user accounts" then Ctrl + Alt + L will lock with a password. If you don't want to have to type in a password for log on then simply enable automatic log on. Hope this helps. :)