Comment 237 for bug 1303736

Revision history for this message
Podesta (podesta) wrote :

Reporting the exact same problem as @PepeKong on #236. Quoting:

-----------
Preconditions:
Xfce4-power-manager->Security->Automatically lock the session: When the screen sever is activated
Xfce4-power-manager->General-> Laptop Lid -> When laptop lid is closed: switch off display.

Actions:
1. Close laptop lid
2. Open laptop
Observed:
1. Laptop goes to suspend (should not go into suspend)
2. Lock screen shown: making login system ends up in a black screen (should resume normally)

Occurrence: systematic

Recovery to black screen:
1. reboot
2. kill xorg process (from tty1)
---------------

Tried the solution for the close lid into sleep posted over at bug #1307545: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s false
Doesn't work. Tried manually editing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml the value of logind-handle-lid-switch from "empty" to type="bool" value="false" also doesn't work. The value keeps reverting back to "empty".

The only workaround that is much less annoying than having to reboot the system every single time that I close the lid is changing the settings on the power manager of the "laptop lid" from "switch off display" to "lock scree". That will force you to retype password, but will not cause the black screen problem that suspend does, forcing into reboot.