标签:
sudo x11vnc -storepasswd
输入和确认之后,密码被保存到了用户的密码目录下:
sudo x11vnc -storepasswd in /etc/x11vnc.pass
将密码文件复制过去:sudo cp /root/.vnc/passwd /etc/x11vnc.pass
start on login-session-start
script
/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes
-noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o
/var/log/x11vnc.log
end script
标签:
原文地址:http://www.cnblogs.com/banwhui/p/4721549.html