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]

centos-xfce01

– Download and install epel repo with following commands:

For 64bit Centos system

[code language=”js”]

# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

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

[/code]

For 32bit Centos system

[code language=”js”]

# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

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

[/code]

centos-xfce03

centos-xfce02

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]

centos-xfce04

Step 3: Start Xfce desktop

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

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

or

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

Note:

– 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

centos-xfce05

Feel free to share your install experience 🙂

 
comments powered by Disqus