Laptop with External monitor does not turn on in login screen

Fixed it, edit /etc/systemd/logind.conf

uncomment the following lines and edit

HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

2 Likes