Install Desktop , VirtualBox, VNCServer Centos 6
Written by Friends Tuesday, 24 December 2013 18:17
Step 1 - Installation
yum -y groupinstall Desktop
yum -y install qt qt-devel SDL-devel tigervnc-server gcc make kernel-devel
export KERN_DIR=/usr/src/kernels/2.6.32-358.2.1.el6.x86_64
rpm -ivh http://download.virtualbox.org/virtualbox/4.2.10/VirtualBox-4.2-4.2.10_84104_el6-1.x86_64.rpm
/etc/init.d/vboxdrv setup
Step 2 - Set VNC Server
vncpasswd
Add these two lines to /etc/sysconfig/vncservers :
VNCSERVERS="0:root"
VNCSERVERARGS[0]="-geometry 1024x768"