Ubuntu

Waking from hibernate prompts for password when logging in doesn't

Reported by isoma on 2010-04-01
84
This bug affects 18 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Undecided
Unassigned
gnome-power
New
Low
gnome-power-manager (Ubuntu)
Undecided
Unassigned

Bug Description

This system is configured, under "Login Screen Settings", to log in automatically as me (the sole user on this computer). If the system is booted cleanly no password is required. So I'm imagining this bugreport from the perspective of someone who never needs to enter a password and may not know what to type.

One day they hibernate or suspend their computer, and on returning to it they resume the machine.

Expected behaviour here: (after a pause) their desktop appears
Actual behaviour here: they see a prompt to unlock their session

I couldn't find an existing report of these symptoms but I would argue given the story above that this behaviour is overly surprising and should be seen as a bug.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-power-manager 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-18.27-server 2.6.32.10+drm33.1
Uname: Linux 2.6.32-18-server x86_64
Architecture: amd64
CheckboxSubmission: 9407a96bd0d5a207c5a04d235575c4d6
CheckboxSystem: f134069bba098730d27f59b402920826
Date: Thu Apr 1 23:16:05 2010
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: VMware, Inc. VMware Virtual Platform
ProcCmdLine: root=UUID=cf014990-4837-4bb5-9ba5-bc61ed704735 ro quiet splash
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: gnome-power-manager
dmi.bios.date: 07/29/2008
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd07/29/2008:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.

isoma (isoma) wrote :
affects: ubuntu → gnome-power-manager (Ubuntu)
Stuart Gillies (gillies) wrote :

Not only do I not use a password to log on, I also have the screensaver set to not require a password when interrupted. So it is odd that power management requires one when resuming. To me it seems that the screensaver setting and the logon setting should be one and the same and should match the PM resume behaviour as well. Either you need a password to use the machine (non-su), or you don't! Then there is the keyring password to consider ...

Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of Gnome Power Manager is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
isoma (isoma) wrote :

This can also be reproduced on Maverick. On hibernating the system, I can briefly see that the screensaver is activated & locked before the system sleeps. On resume, I'm prompted for a password. This doesn't happen on cold boot.

Launchpad Janitor (janitor) wrote :

[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Expired
isoma (isoma) on 2011-01-05
Changed in gnome-power-manager (Ubuntu):
status: Expired → New
Ingo Gerth (igerth) on 2011-02-04
Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
isoma (isoma) wrote :

I've just reviewed the manual for GNOME Power Manager (section “advanced-preferences-locking”). Apparently “there is a complex locking scheme available for power users that allows locking policy to change for the lid, suspend and hibernate actions”.

Perhaps the way to deal with this bug is in the UI for enabling autologin: if automatic login is enabled, configure GNOME Power Manager to use advanced locking preferences.

Ingo Gerth (igerth) wrote :

Cheers for looking hat up isoma. I would like to discuss the issue in a bit more detail here to avoid confusion. I originally asked a question on this at askubuntu.com, please check it out: http://askubuntu.com/questions/22735/disable-locking-the-screen-after-resuming-from-suspend

The problem is that even when setting the variables in gconf-editor such that the password should actually not be required after suspend/hibernate, it IS required. This clearly is a bug. The reason why I did not open a new one is because I believe this one should cover the issue.

Chris Wilson (notgary) wrote :

Thanks a lot for reporting this to the paper cuts project, however a paper cut must be a small usability flaw that is included in the default Ubuntu installation by design, whereas this is simply a minor bug that is not supposed to be there.

Changed in hundredpapercuts:
status: New → Invalid
Changed in gnome-power:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-power:
importance: Unknown → Low
status: Unknown → New
Chris Wilson (notgary) wrote :

Comment from upstream:

"If you wait for the screensaver, do you also get asked to unlock the screen?
g-p-m just uses the gnome-screensaver settings by default."

Ingo Gerth (igerth) wrote :

Sorry, cannot comment upstream so I will do that here. The answer is no. I am not asked for a password when resuming from the screensaver, but I am asked for my password when resuming from suspend.

Chris Wilson (notgary) wrote :

Thanks for your comment. I'll pas it on upstream.

mskogly (morten-skogly) wrote :

Getting the same, basicly this http://askubuntu.com/questions/17353/remove-keyring-popup-on-startup. Tried this and I think I'm only asked once for pw. I get in on cold boot.

mskogly (morten-skogly) wrote :

I'm out of the office until 1st August.

On 18 Apr 2011, at 18:38, mskogly <email address hidden> wrote:

> By "tried this" I ment http://www.code-muse.com/blog/?p=53
>
> --
> You received this bug notification because you are a member of
> Papercutters, which is subscribed to One Hundred Paper Cuts.
> https://bugs.launchpad.net/bugs/553646
>
> Title:
>  Waking from hibernate unexpectedly prompts for password
>
> Status in Gnome Powermanager:
>  New
> Status in One Hundred Paper Cuts:
>  Invalid
> Status in “gnome-power-manager” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  This system is configured, under "Login Screen Settings", to log in
>  automatically as me (the sole user on this computer). If the system
> is
>  booted cleanly no password is required. So I'm imagining this
>  bugreport from the perspective of someone who never needs to enter a
>  password and may not know what to type.
>
>  One day they hibernate or suspend their computer, and on returning to
>  it they resume the password.
>
>  Expected behaviour here: (after a pause) their desktop appears
>  Actual behaviour here: they see a prompt to unlock their session
>
>  I couldn't find an existing report of these symptoms but I would
> argue
>  given the story above that this behaviour is overly surprising and
>  should be seen as a bug.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 10.04
>  Package: gnome-power-manager 2.30.0-0ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.32-18.27-server 2.6.32.10+drm33.1
>  Uname: Linux 2.6.32-18-server x86_64
>  Architecture: amd64
>  CheckboxSubmission: 9407a96bd0d5a207c5a04d235575c4d6
>  CheckboxSystem: f134069bba098730d27f59b402920826
>  Date: Thu Apr  1 23:16:05 2010
>  GnomeSessionIdleInhibited: No
>  GnomeSessionInhibitors: None
>  GnomeSessionSuspendInhibited: No
>  Lsusb:
>   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>  MachineType: VMware, Inc. VMware Virtual Platform
>  ProcCmdLine: root=UUID=cf014990-4837-4bb5-9ba5-bc61ed704735 ro
> quiet splash
>  ProcEnviron:
>   LANGUAGE=en_GB:en
>   LANG=en_GB.utf8
>   SHELL=/bin/bash
>  SourcePackage: gnome-power-manager
>  dmi.bios.date: 07/29/2008
>  dmi.bios.vendor: Phoenix Technologies LTD
>  dmi.bios.version: 6.00
>  dmi.board.name: 440BX Desktop Reference Platform
>  dmi.board.vendor: Intel Corporation
>  dmi.board.version: None
>  dmi.chassis.asset.tag: No Asset Tag
>  dmi.chassis.type: 1
>  dmi.chassis.vendor: No Enclosure
>  dmi.chassis.version: N/A
>  dmi.modalias:
> dmi:bvnPhoenixTechnologiesLTD:bvr6.00
> :bd07
> /
> 29
> /
> 2008
> :svnVMware
> ,Inc
> .:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1
> :cvrN/A:
>  dmi.product.name: VMware Virtual Platform
>  dmi.product.version: None
>  dmi.sys.vendor: VMware, Inc.

Marcus Haslam (marcus-haslam) wrote :

I'm out of the office until 1st August.

On 18 Apr 2011, at 18:36, mskogly <email address hidden> wrote:

> Getting the same, basicly this http://askubuntu.com/questions/17353
> /remove-keyring-popup-on-startup. Tried this and I think I'm only
> asked
> once for pw. I get in on cold boot.
>
> --
> You received this bug notification because you are a member of
> Papercutters, which is subscribed to One Hundred Paper Cuts.
> https://bugs.launchpad.net/bugs/553646
>
> Title:
>  Waking from hibernate unexpectedly prompts for password
>
> Status in Gnome Powermanager:
>  New
> Status in One Hundred Paper Cuts:
>  Invalid
> Status in “gnome-power-manager” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  This system is configured, under "Login Screen Settings", to log in
>  automatically as me (the sole user on this computer). If the system
> is
>  booted cleanly no password is required. So I'm imagining this
>  bugreport from the perspective of someone who never needs to enter a
>  password and may not know what to type.
>
>  One day they hibernate or suspend their computer, and on returning to
>  it they resume the password.
>
>  Expected behaviour here: (after a pause) their desktop appears
>  Actual behaviour here: they see a prompt to unlock their session
>
>  I couldn't find an existing report of these symptoms but I would
> argue
>  given the story above that this behaviour is overly surprising and
>  should be seen as a bug.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 10.04
>  Package: gnome-power-manager 2.30.0-0ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.32-18.27-server 2.6.32.10+drm33.1
>  Uname: Linux 2.6.32-18-server x86_64
>  Architecture: amd64
>  CheckboxSubmission: 9407a96bd0d5a207c5a04d235575c4d6
>  CheckboxSystem: f134069bba098730d27f59b402920826
>  Date: Thu Apr  1 23:16:05 2010
>  GnomeSessionIdleInhibited: No
>  GnomeSessionInhibitors: None
>  GnomeSessionSuspendInhibited: No
>  Lsusb:
>   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>  MachineType: VMware, Inc. VMware Virtual Platform
>  ProcCmdLine: root=UUID=cf014990-4837-4bb5-9ba5-bc61ed704735 ro
> quiet splash
>  ProcEnviron:
>   LANGUAGE=en_GB:en
>   LANG=en_GB.utf8
>   SHELL=/bin/bash
>  SourcePackage: gnome-power-manager
>  dmi.bios.date: 07/29/2008
>  dmi.bios.vendor: Phoenix Technologies LTD
>  dmi.bios.version: 6.00
>  dmi.board.name: 440BX Desktop Reference Platform
>  dmi.board.vendor: Intel Corporation
>  dmi.board.version: None
>  dmi.chassis.asset.tag: No Asset Tag
>  dmi.chassis.type: 1
>  dmi.chassis.vendor: No Enclosure
>  dmi.chassis.version: N/A
>  dmi.modalias:
> dmi:bvnPhoenixTechnologiesLTD:bvr6.00
> :bd07
> /
> 29
> /
> 2008
> :svnVMware
> ,Inc
> .:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1
> :cvrN/A:
>  dmi.product.name: VMware Virtual Platform
>  dmi.product.version: None
>  dmi.sys.vendor: VMware, Inc.

isoma (isoma) on 2011-07-30
description: updated
summary: - Waking from hibernate unexpectedly prompts for password
+ Waking from hibernate prompts for password when logging in doesn't
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.