How To Install XFCE Desktop on Centos 6 32bit/64bit VPS

I personally use Xfce desktop environment on all my vps servers bcz it is light weight desktop. Doesn’t uses too much ram so it is good for low end vps users as well as high end vps users, So Today we are going to show you complete commands to install xfce on centos 6.x 32bit and 64bit server. after complete installation decide whether xfce works better for you or any other desktop environment. But for me xfce is better 

Steps To Install XFCE4 Desktop On Centos 6.x 32bit/64bit VPS With VNC

#1. Always make sure you are using the latest os so run this command on your server to update it if your os still not updated
yum update –y
#2. For this installation we need to update centos epel so just copy paste these commands on your console window
For Centos 6x 64bit
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
For Centos 6x 32bit
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
#3. Now main steps begins for installing xfce
yum groupinstall xfce
#4 For VNC access install tigervnc with these commands
yum install tigervnc-server
yum install fontforge
#5 Next edit the vncserver file make sure you have nano installed so install nano first with this command
yum install nano –y
Edit vncserver file now on console
nano /etc/sysconfig/vncservers
Copy paste this line on console
VNCSERVERS=”1:root”
VNCSERVERARGS[1]=”-geometry 1024×768″
Press CTRL+X then Press Y to save the vncserver config file
#6 Create password for vnc user
vncpasswd
#7 Create xstartup script by executing this command
vncserver
#8 Edit vnc xstartup script to integrate vnc with xfce desktop
nano /root/.vnc/xstartup
Paste this line after #!/bin/sh line
/usr/bin/startxfce4
Press CTRL+X then Press Y to save the xstartup config file
#9 Change xtartup script permission
chmod +x ~/.vnc/xstartup
#10 Force vncserver to start on every reboot or boot
chkconfig vncserver on
Now you have successfully installed xfce with vnc server. you can access your xfce desktop from any vnc client such as tight vnc viewer I will recommend java version client for windows bcz it is light weight and works best
Just Follow these steps to connect with your remote xfce4 server via vnc client
Download vnc viewer client from here
In my case I m using java client java put your ip on tight vnc viewer client and choose port 5901 and click on connect check image below



Thanks for visiting earnworld.in for more updates like this please don’t forget to subscribe us via email or for even faster update like and folllow us on facebook and twitter