Unable to switch to GUI Mode

Latest response

I have installed Red Hat Linux Enterprise DVD Binary as a Virtual Machine. But I am not able to Switch it into GUI Mode please help

Responses

Hi !

Execute these commands from within the virtual system : sudo systemctl set-default graphical.target and sudo reboot

Cheers :)
Christian

Thanks for the Quick reply

I have tried this Command it just reboot the Machine nothing is happening still in command line

Hello, did you install server or workstation? Server has no GUI by default. For example:

# less /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
/etc/redhat-release (END)

OK so if I want to to have GUI how to do ?

To install a GUI just execute these commands : sudo yum groupinstall "Server with GUI" and sudo reboot

Error: No packages in any requested group available to install or update how i can solve the error??

Hi Saif,

Please check whether your subscription is properly attached to the system and if the repositories are enabled - then execute sudo yum update and check with sudo yum group list hidden if the group you want to installed is listed. Afterwards install it via sudo yum groupinstall "group" :)

Regards,
Christian

By the way, next time when you install RHEL - just add the option Server with GUI from the anaconda installer.

When installing a server version, the default installation is a very minimal one: it does not include the local GUI subsystem. To make sure the local GUI subsystem is installed, run:

sudo yum groupinstall graphical-server-environment

(Before this command, you should make sure the VM is either registered to RedHat or has the contents of the installation DVD available as a yum repository. For that, please see https://access.redhat.com/solutions/1355683 )

After the yum groupinstall command is complete, follow Christian Labisch's advice in his first answer.

Hi again !

As you seem to be a new user of RHEL, here is some additional information. In order to install software from the repositories, you first have to register the system and attach your subscription. If you haven't done that already before, execute these commands :

sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

After having installed the Server with GUI group and then switched to the graphical environment (shown in my answer above) and after that rebooted the virtual RHEL system, you will land on the graphical login screen of the GNOME desktop environment.

Cheers :)
Christian

Thanks :)

Thanks a lot dear Christian.

It Worked Perfectly for me .. Thanks again for your Quick Help..

Appreciated!!!!!!

You're welcome ! :) Enjoy RHEL experience ! :)

I have done all of that and still no graphical login.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.