Closing laptop lid before system can suspend causes black screen upon login after resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfce4-power-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
On a fresh install of Xubuntu 14.04.1, with HandleLidSwitch
Edit for clarity:
I believe this is different from bug #1303736 and bug #1259339 because it does not occur as a general problem with suspending and it does not involve suspension triggered by the closing of the laptop lid. I can suspend and resume successfully in every other case, using any other method, with no issues. This problem occurs only when the laptop lid switch is set to ignore or do "nothing", the whisker menu, a keyboard button, or some other method is used to initiate a suspension, and the user closes the laptop before the laptop can fully suspend. I do not believe this to be an issue with light-locker or another package as the problem is solved by simply killing (or uninstalling) xfce4-power-manager and using systemd's logind.conf to handle power switches. I believe this problem will become more widespread when the fix for bug #1307545 is imeplemented. This may be related to the patch which was implemented in order to fix the similar bug #1303736 as noted in https:/
Expected behavior:
Logging in after resuming from suspend should work exactly as it does from a cold boot.
Bug behavior:
After resuming from suspend mode, logging in results in a black screen. This occurs exclusively when shutting the laptop lid, with the lid switch set to do nothing, before the system suspends.
Steps to reproduce:
1) Set and uncomment HandleLidSwitch
2) ensure that lid switch suspension is diabled in xfce4-power-
3) ensure that "lock screen upon suspend" is enabled in light locker settings
4) Press suspend hotkey on laptop, and quickly close the lid before the laptop is able to suspend
5) After laptop suspends, open lid to resume
6) Move mouse to wake up display, then log in
7) Screen goes black and lightdm must be restarted in order to wake it up (other workarounds such as 'xset dpms force on -d :0' do not work)
Workaround or "solution":
Kill or uninstall the xfce4-power-manager package, and use /etc/systemd/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xfce4-power-manager 1.2.0-3ubuntu4.1
ProcVersionSign
Uname: Linux 3.13.0-36-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Sep 27 14:31:33 2014
InstallationDate: Installed on 2014-09-19 (7 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
SourcePackage: xfce4-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in xfce4-power-manager (Ubuntu): | |
status: | New → Incomplete |
Hey, thanks for the bugreport and the detailed information, but don't set HandleLidSwitch =ignore in logind.conf, because the black screen bug's fix works with leaving things to logind.
So basically you've reproduced here that xfce4-power- manager' s method of suspending plus locking the session doesn't work well with light-locker (or more concretely: VT switching), which we also established before patching 14.04.1.