Page 1 of 2 12 LastLast
Results 1 to 10 of 36

Thread: HOWTO: Disable password request after suspend

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Stockholm, Sweden
    Beans
    593
    Distro
    Ubuntu 14.04 Trusty Tahr

    HOWTO: Disable password request after suspend

    An annoying feature/bug of Ubuntu is:

    When the computer resumes from suspend, the screen will be locked. In fact, the screen will be locked even if you have enabled automatic login and set the computer not-to-lock, when screen saver is activated.

    Initially this post only included my own solution, but for convenience I've also added the (IMO) most promising solutions suggested by other users in this thread as well. If none of these suggestions worked for you, and you've found another solution that does, please post it here so I can add it as well.


    How to fix?


    10.04 Solution

    1. As you've probably already done, uncheck:
    "lock screen when screen saver is activated"
    in the System->Preferences->Screen Saver menu.

    2. Type gconf-editor in a terminal. Under apps/gnome-power-manager/locks check:
    "use_screensaver_settings".

    3. If still asked for password, you can (also in gconf-editor) go to desktop/gnome/lockdown and check:
    "disable_lock_screen"
    Credit to itslofty below for this tip!

    PS. For some reason my mouse doesn't show up after resume. To get it back I just switch to another workspace and then back again, i.e: ctrl+alt+rightarrow and then ctrl+alt+leftarrow.


    11.10 Solution

    1. First try the Lock/Unlock button in System Settings -> Personal -> Screen (suggested by brallan, below).

    2. If this doesn't work, try the command
    Code:
    gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
    see RaymandJr's post below for further info.
    Last edited by tom4everitt; November 2nd, 2011 at 10:49 AM.
    Since when is floor not a synonym of horizontal wardrobe?

  2. #2
    Join Date
    Feb 2008
    Beans
    19

    Re: HOWTO: Disable password request after suspend

    ...same solution, slightly different method:
    Under System > Preferences I don't have a "screensaver" control panel enabled, but I can access it through Gconf.
    I start gconf from an icon that I enabled:
    Applications > System Tools > Configuration Editor
    Then:
    Under apps/gnome-power-manager/locks, check:
    "use_screensaver_settings".
    And then:
    Under apps/gnome-screensaver, uncheck:
    "lock_enabled".
    Thanks for the lead on this, tom4everitt!
    Last edited by MetroPietro; May 2nd, 2010 at 09:52 PM. Reason: acknowledgment of previous poster

  3. #3
    Join Date
    Sep 2009
    Location
    Alabama, USA
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Disable password request after suspend

    The method described by tom4everitt to disable lock after resume from suspend works for me when I suspend with ctrl-alt-delete, but not when I suspend by clicking the power button.

    This is not a critical problem, but stumped me until I discovered the work around.
    Last edited by oldwismn; May 3rd, 2010 at 11:21 PM.

  4. #4
    Join Date
    Jul 2008
    Beans
    Hidden!

    Re: HOWTO: Disable password request after suspend

    Clean install of 10.4 nettop ed I can confirm suspend still wants a password even with all the correct options check/unchecked in gconf.

    Please someone a solution.

  5. #5
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    5,096
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Disable password request after suspend

    EDIT: Reply not relevant to thread title, deleted.
    Last edited by Herman; May 4th, 2010 at 08:13 AM.
    Ubuntu user since 2004 (Warty Warthog)

  6. #6
    Join Date
    Jan 2009
    Location
    Stockholm, Sweden
    Beans
    593
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Disable password request after suspend

    Apparently there is one more place where you can disable the password request. In the file /etc/default/acpi-support there is a line
    Code:
    LOCK_SCREEN=true
    which can be commented out to disable screen lock. So just put a '#' in front of it, making it:
    Code:
    # LOCK_SCREEN=true
    If someone can confirm that this works better for him/her, I'll add it to the top post.
    Since when is floor not a synonym of horizontal wardrobe?

  7. #7
    Join Date
    Feb 2011
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Disable password request after suspend

    Done it at last! If the solution in the top post does not work for you, you are probably using sudo to open gconf. Don't type sudo into terminal, and it will save the settings for your profile!

  8. #8
    Join Date
    Dec 2009
    Location
    Maastricht, NL
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Disable password request after suspend

    Thanks a bundle! That last post was a total life saver! DO NOT TYPE "sudo gconf-editor", but instead simply type "gconf-editor" in a terminal window and perform the changes indicated in the top post to change the settings for your own profile. I (like some others on this topic) used the power button on my laptop to suspend the system and always used to get the password prompt. Not anymore, thank gawd! Thanks all!

  9. #9
    Join Date
    Sep 2008
    Beans
    1

    Re: HOWTO: Disable password request after suspend

    Do not want to disable password. How do I change the theme of the login window instead? I've changed the main login windows. But the one from suspend is different.

  10. #10
    Join Date
    Jan 2009
    Location
    Stockholm, Sweden
    Beans
    593
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Disable password request after suspend

    Quote Originally Posted by debido666 View Post
    Do not want to disable password. How do I change the theme of the login window instead? I've changed the main login windows. But the one from suspend is different.
    Hi, and welcome to the forum!

    This question is slightly different than the topic of the thread, which means you should ask this in a new thread with an appropriate title.

    I would suggest "How do I change the suspend login window theme",
    and post it under Desktop Environments. Keeping the forum structured like this is good for everyone in the long run, since it will be much easier for someone else with the same question to find the answer then (and much easier for people knowing the answer to find your question ).

    Good luck!


    PS. I don't know the answer to your question, unfortunately.
    Since when is floor not a synonym of horizontal wardrobe?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •