Many times we need graphical UI to open/run some applications. So following are simple and quick steps to create graphical UI on Centos7/RHEL7.
First check you have yum repository configured to access local or internet repository
Graphical UI filesets will install in group so that all required/dependent filesets will install automatically. Check all available groups in yum repository using group list
# yum group list
To install graphical UI we need group Server with GUI. Install it using group install.
#yum group install “Server with GUI”
Yum will calculate all required/dependent filesets size which around 2GB. Enter Y and wait for installation to complete.
Installation is completed
Next step is to change boot mode to graphical using graphical.target
# systemctl set-default graphical.target
Then just reboot the system and check using Xwindow or VNC application if you can able to connect graphical UI of VM.
Thats all is required for GUI. Enjoy 🙂