Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 11.10 and a very novice user.

From today, I'm suddenly experiencing this problem. If I press Ctrl+Alt+L to lock the PC, I find the following error message

Couldn't execute command: gnome-screensaver-command --lock Verify that this is a valid command

and PC doesn't get locked. If I try to lock from menu item "Lock Screen" in the power button at the top right corner of the screen, nothing happens.

Yesterday I updated and upgraded the OS. I think this is the first time I'm trying to lock the PC after update.

What's going on? How to fix this?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can try reinstalling the gnome screensaver by executing:
sudo apt-get install gnome-screensaver --reinstall
and see if the command and lock is available again.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.