Install Xfce desktop environment on CentOS/RHEL 6

If you want a Lightweight Desktop Environment for your CentOS/RHEL then Xfce is your ideal candidate. Unlike Gnome and KDE, Xfce takes very little resource of your system.

Step 1: Download the install packages from EPEL repository

– First install the wget package with following command

[code language=”js”]# yum install wget[/code]


– Download and install epel repo with following commands:

For 64bit Centos system

[code language=”js”]

# wget

# rpm -ivh epel-release-6-8.noarch.rpm


For 32bit Centos system

[code language=”js”]

# wget

# rpm -ivh epel-release-6-8.noarch.rpm




Step 2: Install Xfce and additional packages

– Run following commands:

[code language=”js”]# yum -y groupinstall Xfce[/code]


[code language=”js”]# yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-misc[/code]


Step 3: Start Xfce desktop

To start Xfce after install, run any of the following commands:

[code language=”js”]# /sbin/telinit 5[/code]


[code language=”js”]startxfce4[/code]


– If you installed Xfce on top of Gnome and/or KDE, the default desktop would be Gnome. To log into Xfce desktop from Gnome login screen, simply click on the username, at the bottom of the screen click the Session drop-down box and select Xfce session

– You can also set Xfce as default desktop screen by following steps outlined here for KDE


Feel free to share your install experience 🙂

comments powered by Disqus