Pages

Tuesday, May 21, 2019

Enabling Graphical User Interface (GUI Mode) on CentOS - Linux

Problem: How to enable Graphical User Interface (GUI Mode) on Pre-Installed Linux machine with core.


Solution : 

Prerequisite :

1. You must have sudo access access to your Linux machine.
2. Your Linux machines must have access to either internet or latest Yum Repositories. 

Steps: 

To enable GUI on your Linux (CentOS), you need following commands to be run in a sequence:

1. Install GNOME Desktop through following command:

# sudo yum group install "GNOME Desktop"

It will install all the required binaries on your Linux machine.

2. To confirm that GNOME Desktop (GUI) has been successfully installed on your machine, run following command:

# startx

Accept the license agreement and then set few local language settings. 
Click done.

It confirms that GUI has successfully been installed on your machine but it is temporary. As soon as you will reboot your machine, you will again reach to your black terminal. 

3. To make GUI as your default mode run following command.

# systemctl set-default graphical.target

The output of this command will be similar to following:

Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.

It will permanently  change your run level from runlevel3 (Core with Networking) to runlevel5 (Graphical). Now you will get the GUI based login screen when even you will reboot / log on to your Linux (CentOS) machine.



Enjoy!!!!


6 comments:

  1. Every day I visit a number of blog sites to see content, however this offers quality based content.
    best digital design agencies

    ReplyDelete
  2. I thought haven’t read such distinctive material anywhere else on-line.
    UX agencies

    ReplyDelete
  3. It's first-class to acknowledge that the work that got administered became necessary, reasonable, and finished with a high-quality degree of professionalism.
    web design San Francisco CA

    ReplyDelete
  4. All the time due to this equal difficulty but once I consulted famous design firms, they felt loads higher and considered me every unmarried difficulty to be solved!
    best logo design

    ReplyDelete