http://blog.inticol.com/2012/10/installing-xfce-on-centos-6.html
After a minimal install of CentOS 6.3, the following steps are needed to install XFCE
- Make sure your machine can connect to the internet
- Install the wget package, used to download other files from the internet.
yum install wget
- Download and install the epel-release package from the EPEL repository, 6.8 is the version at this date but it can be different later, check the name of the file.
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6.8.noarch.rpm
- The following command install all the xfce packages, the version is 4.8.3 at this time.
yum groupinstall Xfce
- The following command install some fonts needed for the graphical login process in CentOS, if they are not present, you will see squares instead in the login screen.
yum install xorg-x11-fonts-Type1 xorg-x11-fonts-misc
- Test your installation by going to runlevel 5
/sbin/telinit 5
- Another option for testing/starting the graphical desktop is:
startxfce4
- If everything works fine, remember to update the default startup level to 5 in /etc/inittab