October 2, 2022

How To Install GUI On 99RDP CentOS 7 VPS


Welcome readers, So somehow I got a minimal CentOS 7 server. This is a command line OS with no GUI. All right, It happens to the best of us. Maybe you forgot to select GUI during installation/Order, or maybe it came with the “affordable” Linux hosting plan you chose. In any case, read my guide to install GUI on CentOs 7. As we are stuck with a command-line OS on the server.

A hardcore Linux programmer or server admin might prefer the Command Line setup over the GUI, but even beginners and intermediate-level admins or programmers can simplify things with something easier to use, such as the GNOME GUI. is needed. To install GUI on CentOs 7 is not that difficult. Here are the step-by-step installation instructions. I have a minimal CentOS 7 so you should be starting at something like this.
Command Line Interface


This is a command line interface or CLI which is text-oriented. All you need is a working internet connection to get your new GUI up and running. Then just follow these simple steps: There are various GUIs that you can install on your CentOS server, all with their signature design and different features.

You can choose the desired desktop environment for your CentOS server. In this article, we will take hands-on Gnome GUI. This is the very first and most popular choice for many Linux distributions. Note that to install GUI on CentOs 7 you must be the root user or a user with ‘sudo’ rights.


How To install GUI On CentOs 7?

The following lines explain how to install a GUI on centos7 with Gnome GUI. The method is similar to all other GUI.  So you can choose any one of them(KDE, Xfce) according to your needs.


Installing Gnome GUI For CentOs 7

Gnome is one of the most simple and easy to use. Every part of GNOME has been designed to make it simple and easy to use. The Activities Overview is a simple way to access all your basic tasks. A press of a button is all it takes to view your open windows, launch applications, or check if you have new messages. Having everything in one convenient place means you don’t have to learn your way around a maze of different technologies.

To install GUI on CentOs 7, you initially have to update the packages with the yum package manager. To update the packages on your server, you would like to run the subsequent command in your CLI:
YUM Update

# yum update

Now that you’ve upgraded everything, it’s time to induce right down to the business of putting in GNOME, which is pretty simple.
Yum Grouplist

# yum group list


Run the subsequent command to list down the available package groups for CentOs 7. From this group list, we are going to use GNOME Desktop and Graphical Administration Tools. You can also see the KDE Plasma Workspace and other tools but in this article, we are going with GNOME GUI.



# yum -y groupinstall “GNOME Desktop” “Graphical Administration Tools”


Now, this may soak up pretty a while, relying on your net connection, for the reason that GNOME computing device set-up documents are precisely mild at around seven hundred to 800MBs. Once the download and setup are done, you’ll discover yourself again on the antique command line, as though nothing has happened.
GNOME Installation install gui centos 7

Configuring The GNOME GUI System

The software that runs the graphical environment on maximum Linux structures is referred to as the X Window System. So, firstly, you should inform the X Window System that GNOME is the default GUI. To do so enter the given command.
Configuring X system install gui centos 7


# echo “exec gnome-session” >> ~/.xinitrc

Starting GNOME GUI

Now we’ve completed putting in GNOME and configuring the X Window System. We can verify our currently installed CentOs 7 GUI environment by running the given command.

# startx

After running this command, you will see the GNOME GUI, similar to the image below, which means that it works:


Gnome GUI install gui centos 7

The GNOME GUI is now installed and tested. However, to start it, you have to enter the startx command every time you boot the operating system, which is not very convenient. Let it start automatically. To do this, use the given command:

# systemctl set-default graphical.target


install gui centos 7


CentOs 7 GUI Lock Screen



So now you recognize a way to install GUI on CentOs 7 after locating yourself trapped in a text-handed medium. The exact method applies to all Linux distros. This freedom to select anything you need on your server is the handiest and one of the most used benefits that Linux offers. Deciding to move for a low-priced Linux web website hosting plan, like a sturdy Linux VPS, and configuring it to shape your wishes is a tremendous manner to get the best overall performance without paying exorbitant expenses for high-cease committed servers with capabilities you may never use.

Cheapest Dedicated Linux Server Starting $119.99 Only ➤➤➤➤➤  Click Here

Popular Blog Posts