linux下面
1. 安裝x11vnc
sudo apt-get install x11vnc
2. 建立密码 ,密码放在~/.vnc/passwd
vncpasswd
3.执行x11vnc
x11vnc -forever -shared -rfbauth ~/.vnc/passwd
-forever keep listening for more connections //永远保持连线listing
-shared more than one viewer can connect at the same time //允许多个连接
-rfbauth use authentication on RFB protocol //需要认证
4.在windows下安装VNCVIEWER,使用这个登陆即可