Install Xfce 4 Desktop Environment on CentOS 7

install xfce 4 desktop environment on centos 7
Xfce is a free and open-source desktop environment for Unix and Unix-like platforms which aims to be fast, intuitive, user-friendly and lightweight, while still being visually attractive for user.

In the below short tutorial we will install Xfce 4 Desktop Environment on CentOS 7 system in few steps.


1. Install EPEL release
Since Xfce4 packages are not included in standard CentOS repo, we need to install EPEL repo which provides Xfce4 RPMs:

[root@tuxfixer ~]# yum install epel-release

2. Install X Window System packages
Install X Window System support packages, which provide basic low level functionality for graphical environment:

[root@tuxfixer ~]# yum groupinstall "X Window system"

3. Install Xfce packages

[root@tuxfixer ~]# yum groupinstall xfce

4. Switch to graphical target in systemd

[root@tuxfixer ~]# systemctl isolate
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
PolicyKit daemon reconnected to bus.
Attempting to re-register as an authentication agent.
We are now a registered authentication agent.

5. Enable graphical target (X Window System) on boot

[root@tuxfixer ~]# systemctl set-default
Removed symlink /etc/systemd/system/
Created symlink from /etc/systemd/system/ to /usr/lib/systemd/system/

6. Reboot your PC

[root@tuxfixer ~]# reboot

After reboot your computer should enter into and you should see GDM Splash Screen (GDM was installed along with Xfce4 packages):

xfce installation on centos 7


Sign-up to receive new content from TuxFixer.

Please wait...

Thank you for sign up!