sentos 上安装vnc图形界面
一、安装gnome图形化桌面 CentOS 6.3 64位 # yum groupinstall -y " X Window System " # yum groupinstall -y " Desktop " # yum groupinstall -y " Chinese Support " 二、 安装vncserver并配置 1.安装vncserver # yum install -y tigervnc-server 2.配置vncserver 1).配置为开机自启动 #chkconfig --level 345 vncserver on 2).配置vnc密码 #vncserver You will require a password to access your desktop. Password: Verify: 3).配置为使用gnome桌面 修改 /root/.vnc/xstartup文件,把最后的 twm & 删掉 加上 gnome-session &。 # vi /etc/sysconfig/vncservers # The VNCSERVERS variable is a list of display:user pairs. # # Uncomment the lines below to start a VNC server on display : 2 #