IBM Support

How to setup graphical user interface (GUI) in CentOS/RHEL virtual servers

How To


Summary

This technote aims to provide details of setting up graphical user interface (GUI) desktop in CentOS and Red Hat Enterprise Linux servers.

Objective

CentOS/RHEL virtual servers in IBM Cloud are not provisioned with graphical user interface (GUI) like Gnome desktop by default. Customers are expected to use either KVM console or SSH session for accessing their systems by considering the heaviness of Gnome desktop. However, sometimes customers want to install Gnome desktop for installing and configuring Oracle database management system. To address this requirement, this document provides the instructions for installing and setting up Gnome desktop in CentOS/RHEL virtual servers.

Environment

1. Log on to CentOS 7 or RHEL 7 servers via ssh as administrator or user with sudo privileges.
2. Install Gnome desktop -
i) CentOS 7:
                                                            yum groupinstall "Gnome Desktop"
ii) RHEL 7:
                                                           yum groupinstall "Server with GUI"

This command installs and resolves all the dependent packages that use IBM Cloud Red Hat repository, during installation when it asks for confirmation, select “Y” to continue.
3. Run the following command to tell the system to boot Gnome Desktop automatically at system startup.
                         ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
4.  Reboot the server to get into Gnome Desktop.
5. Access the KVM console either through browser or tightvnc viewer to access Gnome desktop.

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSCLA2","label":"Virtual Server"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"CentOS 7, Redhat Enterprise Linux 7","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 November 2019

UID

ibm11104177