Prevent Ubuntu from asking a password after resuming from Hibernate or Suspend

By | September 6, 2011

When you close the lid of your laptop and Ubuntu is running, the computer goes into Suspend mode. Same goes for chosing Hibernate from the shutdown menu, when the laptop goes into deep sleep and consumes less power. When resuming from these two states, Ubuntu will ask you for your password. If you’d like to get rid of this password field, you need to launch gconf-editor and navigate to apps > gnome-power-manager > lock. There you’ll find a checkbox for hibernate and one for suspend. Uncheck these and close the Configuration Editor. Next time you resume from Suspend and Hibernate, you won’t be prompted for a password.
You can still manually lock your screen before closing the lid by using Ctrl+Alt+L.

6 thoughts on “Prevent Ubuntu from asking a password after resuming from Hibernate or Suspend

  1. Marty

    I tried this on ubuntu 10.10.

    It didn’t seem to work…I checked and I’m running gnome-power-manager.

    Reply
  2. diego novo

    In the above article you mention ”gconf-editor” however in my fedora 15 gnome 3 is under ”dconf-editor” !!!

    Reply
  3. Errol

    I am very new to Linux and know absolutely nothing about this Os. I have just installed Linux Mint on a 8 gig memory stick for my dell mini. The reason i have put this on a memory stick is that my hard drive is no longer working.
    My problem is that i have found that Linux mint is unstable on a USB stick i have had endless problems with getting it to work properly in persistent mode.
    Either after a while Linux mint will refuse to load or all my icons will desapear from my home screen and my screen will go blue deleting my chosen desk top wall paper.
    Trying to recover my desktop theme is impossible because it refuses to change from that blue screen.

    My new problem now is that i decided to to update Linux mint through the update manager hoping it would reverse any bugs that might be there, well every thing seemed to go well until i had to reboot my laptop.

    It is now impossible for me to use Linux mint as it is asking for a User name and Password.
    It never asked me to create one in the first place and no matter what i type in, it will not accept it.

    Does anybody have any suggestions as to what i can do apart from re installing it on my USB as i have done that many times but something always seems to go wrong with mint so i am always uninstalling and reinstalling.

    I do like Mint more than the others is just a nightmare in persistant mode on USB.

    Thanks in advance

    Reply
  4. Craig Fearing

    This solution sounds nice, but how can I get “gnome-power-manager” in the apps list? This is a new install of Mint 12.

    Reply
  5. Ilse

    Hi there! This post couldn’t be written much better! Looking at this post reminds me of my previous roommate! He constantly kept preaching about this. I will forward this post to him. Fairly certain he will have a great read. Many thanks for sharing!

    Reply

Leave a Reply to Ilse Cancel reply

Your email address will not be published. Required fields are marked *