I am running proxmox on a thinkpad laptop. How can I close the lid but keep proxmox running?
To prevent a laptop running debian from sleeping when you close the lid:
Find the logind.conf file and uncomment the handle lid switch and change it from suspend to ignore
nano /etc/systemd/logind.conf
- Find the
#HandleLidSwitch=suspend
- Change it to
HandleLidSwitch=ignore
- Save and Exit
- Change it to
- Restart systemd logind
systemctl restart systemd-logind
- Check its status
systemctl status systemd-logind
Reference Link
I am running proxmox on a thinkpad laptop. How can I close the lid but keep proxmox running?