Unable to login GUI while starting RHEL 7.5
Hi My Dear Redhat Team,
I am unable to Login GUI when start of the machine. But i can access through Console.
Even i can access the GUI through console after enter the command startx.
Please let me know how to get the GUI when starting itself.
Responses
Hi Ibrahim,
Normally we switch to a virtual console with Ctrl+Alt+F3 and back with Ctrl+Alt+F1 ... not sure what happened in
your case. If you can't access a working graphical desktop environment via GDM, it might be easier to reinstall the
system (or restore a system backup), because it may take less time than fixing whatever is broken in your setup. :)
Regards,
Christian
Well Ibrahim, this is how it should be :
$ systemctl get-default
graphical.target
$ systemctl status graphical.target
● graphical.target - Graphical Interface
Loaded: loaded (/usr/lib/systemd/system/graphical.target; indirect; vendor preset: disabled)
Active: active since Thu 2018-08-23 11:55:29 CEST; 49min ago
Docs: man:systemd.special(7)
Aug 23 11:55:29 <hostname> systemd[1]: Reached target Graphical Interface.
$ systemctl status multi-user.target
● multi-user.target - Multi-User System
Loaded: loaded (/usr/lib/systemd/system/multi-user.target; static; vendor preset: disabled)
Active: active since Thu 2018-08-23 11:55:29 CEST; 49min ago
Docs: man:systemd.special(7)
Aug 23 11:55:29 <hostname> systemd[1]: Reached target Multi-User System.
Please try if these commands solve the problem :
sudo systemctl enable graphical.targetsudo systemctl enable multi-user.target
sudo systemctl set-default graphical.targetsudo reboot
Regards,
Christian
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
