Ubuntu16.04安装x11VNC远程桌面

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/songbaiyao/article/details/72858087

1. 安装x11vnc

sudo apt-get install x11vnc

2. 设置密码

x11vnc -storepasswd

3. 修改配置文件

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

没有更多推荐了,返回首页