Turns out this *is* systemd-logind and xfce4-power-manager fighting over the lid close event.
It can be solved with:
echo "HandleLidSwitch=ignore" | sudo tee -a /etc/systemd/logind.conf echo "HandleLidSwitchExternalPower=ignore" | sudo tee -a /etc/systemd/logind.conf
If you're doing this change from a TTY console whilst the GUI session has gone dark, then simply:
$ sudo systemctl restart lightdm
Turns out this *is* systemd-logind and xfce4-power-manager fighting over the lid close event.
It can be solved with:
echo "HandleLidSwitc h=ignore" | sudo tee -a /etc/systemd/ logind. conf hExternalPower= ignore" | sudo tee -a /etc/systemd/ logind. conf
echo "HandleLidSwitc
If you're doing this change from a TTY console whilst the GUI session has gone dark, then simply:
$ sudo systemctl restart lightdm