实验机初始化配置 Manjaro_xfce
1 2 3 4
|
sudo systemctl enable sshd sudo systemctl start sshd
|
1 2 3 4
| sudo sh -c "sed -i 's/IgnoreLid=false/IgnoreLid=true/' /etc/UPower/UPower.conf"
sudo systemctl restart upower.service
|
同时:
1 2 3 4 5 6
| sudo sh -c "echo 'HandleLidSwitch=ignore' >> /etc/systemd/logind.conf" or: sudo sh -c "sed -i 's/#HandleLidSwitch=.*/HandleLidSwitch=ignore/' /etc/systemd/logind.conf"
sudo systemctl restart systemd-logind
|
参考:
[[Ubuntu实验机初始配置]]
[[K.nowledge/Linux_OS/A-lINUX-BOX/SSH~Firewalliptablesufw~SELinux/SSH密钥注入远程主机]]