Hey all, I just installed Debian 12.5.0 + XFCE on an old Acer Aspire E 15 that I had laying around. The goal is to put it somewhere with the lid closed to act as a small home server.
I followed this guide and did the following:
- Masked sleep, suspend, hibernate and hybrid sleep via: 'sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target'
- Edited /etc/systemd/logind.conf to set all "HandleLidSwitch..."-related settings to "ignore"
- Ran 'systemctl restart systemd-login.service'
- Ran 'export DISPLAY=:0', 'xset q' and 'xset dpms 0 0 0 && xset s noblank && xset s off'
This wasn't in the guide, but I also disabled XFCE's display power management in this menu:
![Image]()
I then logged out and closed the lid. Things worked fine for that whole night, but overnight at some point while I was asleep the system went into, I presume, hibernation and I was unable to SSH in. When I opened the lid of the laptop, I was also unable to wake it from sleep and had to power cycle it.
I'm still very new to Linux, so if anybody knows what I could be missing that's causing it to still sleep, I would really appreciate it!
I followed this guide and did the following:
- Masked sleep, suspend, hibernate and hybrid sleep via: 'sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target'
- Edited /etc/systemd/logind.conf to set all "HandleLidSwitch..."-related settings to "ignore"
- Ran 'systemctl restart systemd-login.service'
- Ran 'export DISPLAY=:0', 'xset q' and 'xset dpms 0 0 0 && xset s noblank && xset s off'
This wasn't in the guide, but I also disabled XFCE's display power management in this menu:

I then logged out and closed the lid. Things worked fine for that whole night, but overnight at some point while I was asleep the system went into, I presume, hibernation and I was unable to SSH in. When I opened the lid of the laptop, I was also unable to wake it from sleep and had to power cycle it.
I'm still very new to Linux, so if anybody knows what I could be missing that's causing it to still sleep, I would really appreciate it!
Statistics: Posted by 20006kiaoptima — 2024-04-21 17:16 — Replies 3 — Views 68