ssh to another laptop with linux system while its lid is closing

Method1:

$ sudoedit /etc/systemd/logind.conf

modify:

HandleLidSwitch=ignore

HandleLidSwitchExternalPower=ignore

HandleLidSwitchDocked=ignore

$ reboot


Method2:

$ sudoedit /etc/UPower/UPower.conf

modify:

IgnoreLid=true

$ service upower restart

[Optional]

$ reboot


Finally, ssh to the desired laptop, then you can close the lid !!! 

留言

這個網誌中的熱門文章

Tuing PID parameters in QGroundcontrol (2)

Useful PX4 Parameters

Burn linux image to eMMC storage on Banana Pi M3