前端之家收集整理的这篇文章主要介绍了
Ubuntu16.04安装x11VNC远程桌面,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
1. 安装x11vnc
sudo apt-get install x11vnc
2. 设置密码
x11vnc -storepasswd
sudu vim /lib/systemd/system/x11vnc.service
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/<USERNAME>/.vnc/passwd -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
4.启动服务
sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
sudo systemctl start x11vnc.service
原文链接:https://www.f2er.com/ubuntu/349599.html