CENTOS6 安装VNC
安装vnc服务端及依赖项
[root@localhost ~]# yum groupinstall Desktop
[root@localhost ~]# yum install gnome-core xfce4
[root@localhost ~]# yum install tigervnc-server
新增用户及设置VNC相关参数
[root@localhost ~]# useradd testuser
[root@localhost ~]# passwd testuser
[testuser@localhost root]$ vncpasswd
[root@localhost ~]# vi /etc/sysconfig/vncservers