Skip to content

Instantly share code, notes, and snippets.

@Ron-Lavi
Created June 22, 2020 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ron-Lavi/7ee1f8b1c8176f43bf0e446dadd8dc0a to your computer and use it in GitHub Desktop.
Save Ron-Lavi/7ee1f8b1c8176f43bf0e446dadd8dc0a to your computer and use it in GitHub Desktop.
switch to rhel7 GUI
Check if you've gnome packages installed:
#rpm -qa|grep gnome-desktop
If the system installed in text mode then you would not get to see any gnome or X related packages installed, if that is the case then you could run the command
#yum groupinstall "Server with GUI"
to get all X window and related packages installed. After this you could change the default target by running the command:
#systemctl set-default graphical.target
#systemctl get-default <----- to verify the default target
Once done, you could boot into graphical target by running the command:
#systemctl isolate graphical.target
That's all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment