You are not logged in.

#1 2024-05-09 08:27:59

Koulmoir
Member
Registered: 2024-05-09
Posts: 1

Laptop Server Suspends after closing Lid

I am currently in the process of setting up a arch home server for myself and a few friends of mine, to play games on host bots and general server stuff
However when closing the lid it suspends the entire system (I have tested this in the early stages while using ssh) and closes all connections, here are a few things I have already tried:

   -editing  /etc/systemd/logind.conf by putting everything that even mentions the word "Handle" and "Lid" to ignore. Result: Nothing
   -editing /etc/laptop-mode/laptop-mode.conf Result: The file didn't exist
   -editing /etc/acpi/actions/lm_lid.sh Result: file also doesn't exist

If you have any kind of help everything is appreciated!

Offline

#2 2024-05-12 18:41:40

ua4000
Member
Registered: 2015-10-14
Posts: 429

Re: Laptop Server Suspends after closing Lid

I have two more to try:

sudoedit /etc/systemd/logind.conf
	LidSwitchIgnoreInhibited=yes

because this takes boolean argument and not "ignore", and:

sudoedit /etc/UPower/UPower.conf
	IgnoreLid=true

Then restart computer

Offline

Board footer

Powered by FluxBB