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:
![Image](http://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fdocs.xfce.org%2F_media%2Fxfce%2Fxfce4-power-manager%2Fxfpm-display.png&f=1&nofb=1&ipt=0699c0ee8db50880b1ddf00b68f639c6d3b29dca0fa686cce380f006100dc5d5&ipo=images)
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 92