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.

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 graphical.target
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 graphical.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.

6. Reboot your PC

[root@tuxfixer ~]# reboot

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

xfce installation on centos 7

Share on: Share on FacebookShare on Google+Tweet about this on TwitterShare on StumbleUponShare on LinkedInPin on PinterestBuffer this pageShare on TumblrDigg thisFlattr the authorShare on RedditShare on VKShare on Yummly
Liked it? Take a second to support tuxfixer.com on Patreon!
Hadoop Developer Training

Leave a Reply

Name *
Email *
Website