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,使用這個登陸即可