yum install vnc-server
第一次运行vncserver的时候会提示输入两次密码
# vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'TEST:1 (root)' desktop is TEST:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/TEST:1.log
注意将防火墙放开VNC的端口,默认是5800+N(http服务端口),5900+N(VNCViewer的端口);N为显示的终端号
阅读(349) | 评论(1) | 转发(0) |