How to Install GUI on RHEL 8

As a Linux administrator for more than 4 years, I spend most of my time working on Linux console, but there are some situations where I need a Desktop environment instead of command-line. By default, RHEL 8 comes in two main flavors, namely, Server without GUI and Workstation with graphical user interface pre-installed as default.

In this article, we will show how to install a GNOME Desktop Environment in RHEL 8 Server.

Requirements

If you have not enabled RedHat subscription during the RHEL 8 installation, you can enable it now by following our article at: How to Enable RHEL Subscription in RHEL 8.

Install Gnome Desktop on RHEL 8 Server

The GNOME package is provided by the “Server with GUI” or “Workstation” package group. To install it, log into the RHEL 8 system via the console or via SSH, then run the following dnf command to view the available package groups.

# dnf group list
List Package Groups

List Package Groups

Looking at the output of the above command, under Available Environment Groups, we have many package groups including Server with GUI and Workstation. Depending on your system type, you can choose one to install the GNOME desktop environment as follows.

# dnf groupinstall "Server with GUI"		#run this on a server environment
OR
# dnf groupinstall "Workstation"		#to setup a workstation
Install GUI on RHEL 8

Install GUI on RHEL 8

Enabling Graphical Mode in RHEL 8

Once the installation is complete, run the following command to set the graphical mode as the default target for the RHEL 8 system to boot into.

# systemctl set-default graphical
Enable Graphical Mode in RHEL 8

Enable Graphical Mode in RHEL 8

Next, reboot the system to boot into the graphical mode by running the following command.

# reboot

After the system boots, you will access the GNOME login interface, click on the username and enter your password to login as shown in the following screenshots.

Gnome Login on RHEL 8

Gnome Login on RHEL 8

Login into Gnome

Login into Gnome

After a successful login, the system will take you through a GNOME initial setup. You will be asked to choose a language, keyboard layout, and location settings, once that’s done you will be ready to start using your system via a desktop environment.

Gnome Initial Setup

Gnome Initial Setup

RHEL 8 Gnome Desktop

RHEL 8 Gnome Desktop

Congratulations! You have successfully set up an RHEL 8 server with a GUI. If you have any queries or thoughts to share, use the feedback form below to reach us.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

4 Responses

  1. kgjsean says:

    Hi Aaron,

    Is there another graphical environment possible?

    I guess KDE is deprecated in rh7 (so in Centos7 aswell)

    thanks in advanced

  2. Abdullah Al Mahir says:

    Hello! How are you? If possible anyone can help to install RHEL8 from pendrive?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

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