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?

  • Please do not ask the same question twice - I've merge your two questions. thanks.
    – fossfreedom
    Commented Mar 10, 2012 at 7:32

4 Answers 4


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. :)

  • Hi Ross. I do have a password for user accounts, but it is not working.
    – chlong
    Commented Mar 9, 2012 at 19:42
  • Have your tried removing it and setting it again? Commented Mar 9, 2012 at 21:47

Ensure you have the Lock option set in System Settings - Screen

enter image description here


Sounds like it's working to me? The lock screen doesn't ask for password when resuming by default, you have to enable that functionality.

As for a lock icon, I don't recall ever seeing one. (Then again, I don't lock my computer)

  • Brian, could you please tell me how to enable password? Thanks.
    – chlong
    Commented Mar 9, 2012 at 16:25

It maybe a god function in windows OS,and you get used to it,probably.but it cannot keep you private safe,after all lock screen with passwords just do it.

  • 1
    Windows? You're answering a question in AskUbuntu. EDIT: I'm four years too late.
    – James Hyde
    Commented Sep 15, 2016 at 12:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .