需要安装的组件 tigervnc-server
rpm -ivh http://mirror.centos.org/centos/6/updates/x86_64/Packages/tigervnc-server-module-1.1.0-5.el6_4.1.x86_64.rpm
rpm -ivh http://mirror.centos.org/centos/6/updates/x86_64/Packages/tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm
yum install xrdp
编辑 /etc/sysconfig/vncserver 配置vnc用户
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1366x768 -nolisten tcp -localhost"
使用vncpasswd 设置VNC密码
[root@RHEL6 ~]# vncpasswd
Password:
Verify:
启动vncserver与xrdp
/etc/init.d/vncserver restart
/etc/init.d/xrdp restart