文章标签 » redhat

backup:install virtualbox and vnc server on readhat/centos 6

__WIKI__
==Install pkg from yum==

yum install make gcc gcc-c++ kernel-devel qt qt-x11 libXmu SDL libXt
wget "http://download.virtualbox.org/virtualbox/4.2.4/VirtualBox-4.2-4.2.4_81684_el6-1.x86_64.rpm"
rpm -ivh Virtual*.rpm
yum install wqy-zenhei-fonts.noarch gnome-terminal gnome-session tigervnc-server

==VNC Server Config==
vim /etc/sysconfig/vncservers

#connect vnc with host:5902
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 800x600"

set password for vnc server

vncpasswd

use gnome for X system

vim ~/.vnc/xstartup

#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
gnome-terminal &