How to install Xfce Desktop in minimal installed CentOS 6.x

In this tutorial we will learn,how to install Xfce Desktop in minimal installed CentOS 6.x.We have done this practical in CentOS 6.5 . Xfce is a lightweight Desktop environment.In our last post we have installed Xfce in Ubuntu.

To install Xfce in minimal installed CentOS 6.x,follow the given below steps

Note: Minimal install CentOS runs in runlevel 3

Step 1: Download and installEPEL repo as per the CentOS architecture

In 64 bit CentOS (x86_64)

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

In 32 bit CentOS (i386)

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

Step 2: Install Xfce and fonts

# yum groupinstall Xfce

Just wait. Fonts installation is left. Without Fonts it appear like this.


Installing Fonts

# yum groupinstall Fonts
# yum install xorg-x11-fonts-Type1 xorg-x11-fonts-misc

Step 3: Now change to runlevel 5 by editing the file /etc/inittab.
Search the runlevel line.Replace id:3:initdefault: to id:5:initdefault:

xfce inittab

Step 4: Restart the system .Run the below given command

init 6

On login screen,give user name & passwd.

For temporary method to login:

Change to runlevel 5 without reboot,run below command

/sbin/telinit 5

Or without using telinit command,you can also run the command directly from the current terminal.


Most probably you will get the Desktop like this after login


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.