yum groupinstall "X Window System" -y(中文桌面,可以不用安装)
yum install fontforge -y(如果不安装fontforge,vncviewer客户端连接上来时,文字会变成方块)
yum groupinstall "Desktop" -y(gnome桌面)
yum install tigervnc-server -y
vi /etc/sysconfig/vncservers
VNCSERVERS="1:root"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
vncpasswd
Password:tvmining
Verify:tvmining
/etc/init.d/vncserver start
chkconfig vncserver on
本文转自 guowang327 51CTO博客,原文链接:http://blog.51cto.com/guowang327/1665650,如需转载请自行联系原作者