Dell laptop will not reboot or shutdown if lid is closed

Since upgrading from 15.2 to 15.3 none of my Dell 7490 laptops will reboot/shutdown it the lid is shut.
You have to raise the lid and the command starts only then.

Does not matter if you “shutdown” or “init 0” or “reboot” or “init 6”

I vnc into these laptops to work on them.

ssh into them to reboot/shutdown makes no difference.

Look at the logind configuration (/etc/systemd/logind.conf) as it will suspend on lid closure. You will need to adjust as required, I prefer to set to ignore this on my laptops…

What do you set to fix it - all mine are # out

remove the # on this line ?


that made no difference

The remmed out statements are default, so you unrem and changed to desired options, or create your own overrides in /etc/systemd/logind.conf.d/ (see man logind.conf)

For my laptops, I use;



That was the magic bullet - thank you