http://www.aichengxu.com/linux/8479752.htm
1.
sudo apt-get install x11vnc
2.
sudo x11vnc -storepasswd
3.
sudo cp /%root%/.vnc/passwd /etc/x11vnc.pass
4.(貌似可以不做)
修改文件 /etc/init/x11vnc.conf
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