OS: CentOS 6
APP: VNCserver
1.開機啟動,設定檔
# vi /etc/sysconfig/vncserver
設定後,重啟
# /sbin/service vncserver restart
2.啟用遠端登入本機桌面
[root@VM-Serv2 桌面]# x0vncserver PasswordFile=/"UserAccount"/.vnc/passwd
Mon Jan 28 17:20:48 2013
Geometry: Desktop geometry is set to 1024x768+0+0
Main: XTest extension present - version 2.2
Main: Listening on port 5900
Mon Jan 28 17:22:41 2013
Connections: accepted: 192.168.xx.xxx::53404
SConnection: Client needs protocol version 3.8
host IP :0
參考
RealVNC Native X display
使用OpenSSH的端口转发功能做穿梭