How to migrate Red Hat Enterprise Linux 8 from minimal to graphical user interface (GUI)

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 8

Issue

  • Need to get GUI after installing RHEL8 in text mode

Resolution

1. For RHEL8 and RHEL8.1:-

  • Check the required group package for getting GUI :-
# dnf group list
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 0:42:10 ago on Fri 16 Nov 2018 21:53:15 EST.
Available Environment Groups:
   Custom Operating System
   Server
Installed Environment Groups:
   Minimal Install
   Workstation
Available Groups:
   .NET Core Development
   RPM Development Tools
   Container Management
   Smart Card Support
   Scientific Support
   Security Tools
   Development Tools
   System Tools
   Headless Management
   Network Servers
   Legacy UNIX Compatibility
   Graphical Administration Tools
  • Install Workstation group package using dnf command :-
# dnf groupinstall workstation
  • Change the default target for booting in graphical mode :-
# systemctl set-default graphical.target
  • Start graphical desktop session by executing :-
# systemctl isolate graphical.target

Alternately, a reboot can be issued

2. For RHEL 8.2 and above:-

  • Check the required group package for getting GUI :-
# dnf group list
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 0:12:40 ago on Fri 01 May 2020 08:58:11 PM IST.
Available Environment Groups:
   Server with GUI
   Server
   Minimal Install
   KDE Plasma Workspaces
   Custom Operating System
   Virtualization Host
Installed Environment Groups:
   Workstation
Installed Groups:
   Development Tools
Available Groups:
   Legacy UNIX Compatibility
   Container Management
   .NET Core Development
   Graphical Administration Tools
   Headless Management
   Network Servers
   RPM Development Tools
   Scientific Support
   Security Tools
   Smart Card Support
   System Tools
   Fedora Packager
   Xfce
  • Install Server with GUI group package using dnf command :-
# dnf groupinstall "Server with GUI"
  • Change the default target for booting in graphical mode :-
# systemctl set-default graphical.target
  • Start graphical desktop session by executing :-
# systemctl isolate graphical.target

Alternately, a reboot can be issued

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments