赞
踩
sudo apt-get install x11vnc -y
sudo x11vnc -storepasswd /etc/x11vnc.pass
sudo -i
cat > /lib/systemd/system/x11vnc.service << EOF
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
EOF
echo “Configure firewall”
sudo ufw allow 5900
echo “Configure Services”
sudo systemctl enable x11vnc.service
sudo systemctl daemon-reload
gsettings set org.gnome.Vino require-encryption false
sleep 5s
sudo shutdown -r now
客户端安装,直接https://www.realvnc.com/en/connect/download/viewer/ 官网下载一个
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。