ssh to another laptop with linux system while its lid is closing
Method1:
$ sudoedit /etc/systemd/logind.confmodify:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
$ reboot
Method2:
$ sudoedit /etc/UPower/UPower.confmodify:
IgnoreLid=true
$ service upower restart
[Optional]
$ reboot
Finally, ssh to the desired laptop, then you can close the lid !!!
留言
張貼留言