Install Desktop , VirtualBox, VNCServer Centos 6

Attention: open in a new window. PDFPrintE-mail

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"