Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_5591ec60c4a9bcac90a1e3fa912974bd, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
Install And Enable GUI GNOME Desktop from mini Centos 7 server

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.

What is GNOME?

GNOME is the most popular environment in the latest distributions of Linux. It’s the default environment in CentOS 7 GUI, Fedora 21 and later and Ubuntu 17.10

How to install GUI “GNOME Desktop” on centos7

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

Note that this may take a while, download required packages.
				
					yum groupinstall “GNOME Desktop” -y
				
			

Enable 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
# ------ Result ------
# 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
# ------ Result ------
# 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"
				
			

Visit the following for More resources regarding centos.

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts