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
参考:
http://linuxjcq.blog.51cto.com/3042600/748382/
时间: 2024-10-15 23:53:36