en
  English
Phone :  +370 (5) 204-1903
Email: sales@1gbits.com
  1. Dedicated server
  2. Blog
  3. How To Install Gnome GUI on CentOS 7

How To Install Gnome GUI on CentOS 7

GNOME is a free and open-source desktop environment build for Unix-like operating systems. In this guide, we will go through the process of installing and setting up the GNOME graphical user interface on CentOS 7. It is also a part of the GNU project and being developed by the GNOME project.

Centos Tutorials Sep 26, 16 by admin 4 min Read
How To Install Gnome GUI on CentOS 7

The desktop environment comes by default in most Linux distributions and is a favourite among the Linux community. It is the default desktop environment for CentOS, Debian, Fedora, Ubuntu and others. While the server-side of Linux, the administrators mostly use the terminal to carry out their work.

However, sometimes there can be exceptions, who prefer the graphical user interface. The default CentOS distribution comes with a minimal server installation that does not contain a GUI, and in this tutorial, we will add a graphical user interface on top of the minimal server.

This quick guide will cover how to install the GNOME 3 desktop on CentOS 7, which will provide a GUI for working with the Linux system.

Step 1: Installing GUI in CentOS

While there are many different graphical user interfaces for Linux, we will be using GNOME. Let’s go ahead and install the Gnome desktop package group using the following command.

Note: this might take some time as it comes together with hundreds of more packages. When we installed the GUI, it was downloading almost 1GB of data.

yum groupinstall "GNOME Desktop" –y

On RHEL 7:

yum groupinstall "Server with GUI"

Step 2: Starting the GUI

Once the installation is finished, it will not automatically be loaded during startup. This means that even if you reboot your system, it will not load the GUI.

First check for the default target by entering:

systemctl get-default

The output will be multi-user.target. The target is similar to the old run levels, in this case, multi-user.target is equivalent to run level 3. We instead set the default to the graphical.target which is equivalent to run level 5.

To do that enter the following command:

systemctl set-default graphical.target

Now let’s verify if the default target was changed by entering the following command:

systemctl get-default

You will see that the output will have graphical.target.

Once this is done reboot the system.

reboot

Once the reboot is done, all future boots will be booted to the graphical target by default.

Note that to access the server’s graphical user interface, you will need to have a VNC client installed in both server and the local computer. With 1Gbits, you can access the VNC client through our dashboard. If you’re not using 1Gbits, then we recommend to set-up VNC in order to access the GNOME desktop environment.

Removing the GUI

If you’ve installed the GUI on your CentOS server, but now you want to remove it, it’s quite simple. With just one command you can remove the GNOME GUI. However. Note that before removing the packages, ensure that the selected packages are okay to be removed.

yum groupremove "GNOME Desktop"

Final Words

Throughout this short tutorial, we went through the process of adding the GNOME desktop environment to your CentOS 7 server. We covered the installation process and then went through some basic configurations so that the desktop environment will be booted up during startup.

We also accepted the license agreement so that there won’t be any pop-ups afterwards. We hope that this tutorial helped you and if so, we’re waiting for your feedback in the dedicated comment section below.

author img

admin

Generic placeholder image
cilaak

2018 Dec 06, 02:12:41

Hello is there a way to install the gnome environment on centos 7 running out of AWS. when I do a reboot nothing happens

Generic placeholder image
Judith

2020 May 10, 06:05:24

I visited multiple web pages however the audio feature for audio songs existing at this web page is in fact marvelous.

Generic placeholder image
Lacy

2020 Aug 29, 05:08:33

Hey! Someone in my Facebook group shared this site with us so I came to look it over. I'm definitely loving the information. I'm bookmarking and will be tweeting this to my followers! Wonderful blog and brilliant style and design.

Leave A Comment