How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two major options are the GUI installation. or the minimal installation, and in most cases users prefer to use minimal installation which use remote shell commands. In this article we will talk about switching from minimal installation to GUI (Graphical User Interface) installation.

To install GUI “GNOME Desktop” on centos7

Login to your server using SSH , then run the following command

yum groupinstall “GNOME Desktop” -y

Note that this may take a while, download required packages.

Start centos 7 GUI

By default after installing the “GNOME Desktop” group of packages, the default target will not have changed, as example after you reboot the server the GUI will not automatically load. To check the current default target run the following command:

systemctl get-default
multi-user.target

the result means that still not GUI enabled. Now we change to graphical interface

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.

to verify again what is the default run again the command

systemctl get-default
graphical.target

And we are good,you can now reboot your server and the GUI interface will appear asking for accepting license , and under user settings , you can start add new users. You can change to the GUI by performing ‘systemctl isolate graphical.target’ which will change us to the GUI immediately.

systemctl isolate graphical.target

“If you are using our VPS Server login to your client area and choose your vps server and click VNC” , or you need to have VNC client to connect to your server.

To Remove centos 7 GUI

yum groupremove “GNOME Desktop”

387 total views, 3 views today

How to install and enable GUI GNOME Desktop on centos 7
4.5 (90%) 4 votes

Leave a Reply

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

*