Comment 2 for bug 1357090

Revision history for this message
Barnabas Prosser (barnabas-deactivatedaccount) wrote : Re: Black screen on resume Xubuntu 14.04.1 #1303736 NOT fixed

I have had this problem as well when locking the screen on suspend/lid close with Xubuntu 14.04.1 (with all updates applied) while using light-locker for the lock screen.

If using JUST the light-locker-settings, then only one setting is set, and no issue:

Setting "Lock on suspend" in light-locker-settings to On:
xfce4-settings-editor (Channel: xfce4-power-manager)
lock-screen-suspend-hiberate = ticked
logind-handle-lid-switch = unticked

Locks via xflock4 on command line, Whisker "Lock Screen" button, Whisker "Log Out" button then Suspend, and on lid close (if "When laptop lid is closed: Suspend" is set in xfce4-power-manager-settings under "On AC" and "On Battery").

Setting "Lock on suspend" in light-locker-settings to Off:
xfce4-settings-editor (Channel: xfce4-power-manager)
lock-screen-suspend-hiberate = unticked
logind-handle-lid-switch = ticked

Problem occurs when:

Setting "Lock on suspend" in light-locker-settings to Off
THEN
Setting "Lock screen when going for suspend/hibernate" to ticked in All Settings, Power Manager, Extended

xfce4-settings-editor (Channel: xfce4-power-manager)
lock-screen-suspend-hiberate = ticked
logind-handle-lid-switch = ticked

Having both these settings ticked causes a locked black screen on wake, after suspend from closing laptop lid. Pressing power off key - after approx 5 seconds the laptop switches off uncleanly. When switching back on, a disk check is ran.

Solution:

Do NOT use Setting "Lock screen when going for suspend/hibernate" in All Settings, Power Manager, Extended

Set "Lock on suspend" in light-locker-settings to Off, click Apply, then set to On, click Apply.

For users that have uninstalled light-locker and light-locker-settings, and installed xscreensaver - to lock on lid close, both settings need to be set:

xfce4-settings-editor (Channel: xfce4-power-manager)
lock-screen-suspend-hibernate = ticked
logind-handle-lid-swtich = ticked

Question:

Could there be a solution so that both settings CAN'T be set when running light-locker / light-locker-settings (as default), but both settings CAN be set for users that want to use xscreensaver instead of light-locker?