No way to disable screen locking after suspend in Gnome 3

Bug #871560 reported by Christopher Bukowiec on 2011-10-10
222
This bug affects 49 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Low
Unassigned

Bug Description

There is no way to disable screen locking after suspend in Ubuntu 11.10 with Gnome 3.2. While in the past, screen locking after suspend could easily be disabled in screensaver settings or in gconf-editor, it is now no longer possible. In Gnome 3.2 there is no longer any option to enable or modify screensavers and their settings. Also, with Gnome 3.2, using the gconf-editor and unchecking "suspend" in "apps, gnome-power-manager, lock" no longer has any effect.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-power-manager 3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sun Oct 9 21:28:23 2011
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110202)
MachineType: Dell Inc. Inspiron 1090
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=e5056566-605d-409d-81e9-ceb47fdbaf95 ro quiet splash pcie_aspm=force usbhid.quirks=0x0eef:0x725e:0x40 vt.handoff=7
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to oneiric on 2011-10-08 (1 days ago)
dmi.bios.date: 11/12/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: Inspiron 1090
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A02
dmi.modalias: dmi:bvnDellInc.:bvrA02:bd11/12/2010:svnDellInc.:pnInspiron1090:pvrA02:rvnDellInc.:rnInspiron1090:rvrA02:cvnDellInc.:ct8:cvrA02:
dmi.product.name: Inspiron 1090
dmi.product.version: A02
dmi.sys.vendor: Dell Inc.
gnome-power-bugreport: Error: [Errno 2] No such file or directory

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
ToZ (toz) wrote :

Having the same issue with Xubuntu 11.10. In addition to the above, commenting out "LOCK_SCREEN=true" in /etc/default/acpi-support also does not work.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

$ uname -a
Linux oneiricX 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux

Anssi Hallio (anssi-hallio) wrote :

The setting option to disable screen lock under system settings/screen lock used to work when 11.10 was still in beta.

drs305 (drs305) wrote :

I believe the setting is now in dconf, and can be set to eliminate the password request with:

gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

Steve Manley (atomicmoose) wrote :

Setting " gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true' " does NOT work. Set and reboot, I still get asked for a password after Suspend.

Steve Manley (atomicmoose) wrote :

Sorry, Correction:

Setting " gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true' " DOES work.

Type the command in terminal, do NOT sudo it, it must be for the current user. After reboot I am no longer asked for a password on return from suspend.

I can confirm that "gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'" works but it's really not a workable solution for me at all because it disables screen locking system wide. I still want to lock my screen manually when I have sensitive documents up but I don't require the screen to lock every time I suspend. In Ubuntu 11.04 with Gnome 2 it used to be possible to not have the screen lock on suspend while still having the option to manually lock the screen in the session menu.

Pedro Villavicencio (pedro) wrote :

This bug is an upstream one and it would be quite helpful if somebody experiencing it could send the bug the to the people writing the software. You can learn more about how to do this at https://wiki.ubuntu.com/Bugs/Upstream/GNOME . Thanks in advance!

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Low
Amos Blanton (lightnin9) wrote :

For users without much experience, this is a real problem. I'm transitioning my wife from Mac OS to ubuntu, and she will likely perceive the need to login after every sleep as a great annoyance. So I respectfully ask that this be addressed. Thanks!

ridesn (travis-buuck) wrote :

Indeed an annoyance. Would love to see a setting to disable the screen from always being locked.

The above gsettings command does NOT work for me (recent, fresh install of Xubuntu 11.10). I have tried all of the following: editing /etc/default/acpi-support, the related settings in dconf-editor, the lock setting in xscreensaver, and power manager settings in both XFCE's and Gnome's settings managers. The gconf "gnome-power-manager" key mentioned in other websites does not exist on my system.

Literally everything I could find that should disable this has been set accordingly, and I have already rebooted the machine since the last change (the gsettings command).

If it matters, my system is using lightdm and is set to automatically log in on boot (which does work, btw). I am using plain old Suspend-to-RAM, via XFCE's "Log Out" option in the Applications menu.

This is a desktop machine in a fully-trusted environment, not a laptop, so locking the screen on resume is unnecessary.

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.