CentOS6.2安装VNC

yum instal tigervnc-server
yum install tigervnc-server-applet
yum install tigervnc-server-module
yum install xterm
yum install xorg-x11-xinit
yum install xorg-x11-twm
yum install libXfont xorg-x11-xinit xorg-x11-fonts-Type1
yum groupinstall "Chinese Support"


vi /etc/sysconfig/vncservers
VNCSERVERS="2:root" #or VNCSERVERS="1:root" number 1 & 2 is vnc port
VNCSERVERARGS[2]="-geometry 1024x800"


vi .vnc/xstartup
#twm &          # remark this line 
gnome-session & # addon this line


yum groupinstall "KDE desktop" # install desktop environment
/etc/init.d/vncserver restart
/etc/sysconfig/vncserver

你可能感兴趣的:(LINUX)