centos6中yum安装vnc

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/


你可能感兴趣的:(内网,来自丢失几年的wiki数据,安装环境为本公司私有yum库)