Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using ubuntu 12.04 and when I hibernate and resume back, the system takes me directly to the desktop without any prompt for password.

I have uswsusp package installed for hibernation/suspend. When I do a suspend and resume, the system is prompting for password.

I confirmed that the 'Require my password when waking from suspend' checkbox is checked under System Settings -> Brightness & Lock.

I would really appreciate if someone could guide me to a fix for this password issue on hibernation.

Thanks in advance!

share|improve this question
add comment

2 Answers

From AskUbuntu - it's suggested to add the screensaver lock command:

I've been able to workaround this issue, by using the following command

sudo pm-hibernate; gnome-screensaver-command -l

Do note that, you should run this as a normal user and not as root user for locking to work, because by default in Ubuntu, there is no password for the root user so after resume, lock-screen can be unlocked by simply shaking the mouse.

share|improve this answer
add comment

Can't really tell what the issue is, but one thing that i can suggest is to remove the package that you had mentioned above and try 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.