How To Install Desktop KDE GNOME VNC on CentOS 6

If you want use GUI interface for Linux, Firt thing is You need install centos6.x for your vps or server. We recommend at least 512MB memory XEN or KVM VPS for Linux desktop. 1GB ram is better.

How To Install Desktop KDE GNOME VNC on CentOS 6


Step1: Install GNOME Desktop on Centos:
yum groupinstall -y 'X Window System'
yum groupinstall -y 'Desktop'
yum groupinstall -y fonts

Step2: Install VNC server and firefox on Centos:
 yum -y install tigervnc-server xorg-x11-fonts-Type1 firefox

Step3: Start the VNC server on Linux

Login with the user you want to use the desktop for (safer to use a user other than root), and run the following command:
 vncserver

When you run the command the first time, you will be asked to set a password for the account on VNC. After you set the password, you should see the following:
[root@servermox ~]# vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth:  creating new authority file /root/.Xauthority
New 'servermox.com:1 (root)' desktop is servermox.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/servermox.com:1.log

Step4: edit inittab:
change
id:3:initdefault:

to
id:5:initdefault:

Save the file with CTRL + X then Y and ENTER.

Reboot the VPS and connect to it via VNC to see the magic.

Step5: Use a VNC client to connect to your Linux server

On step3, servermox.com:1 is the vnc address, comfortvps.com is the hostname of my linux server in my case. :1 is the vnc port. We recommend you use IP:1 instead domain name. eg. 192.168.1.11:1 . use command man vncserver for more help.

We tested on centos6 32bit, and below is the screen shot for my gnome desktop:


Enjoy...
Previous
Next Post »