When we restart our Linux Box(
CentOS/RHEL/Fedora) , its starts in CLI mode instead of default GUI(Graphical User Interface). There can be two issues for this problem. First runlevel might have been changed in the file "
/etc/inittab". Use the below command to verify the run level
# cat /etc/inittab | grep -i initdefault
If this run-level is set to
3 , then change to
5 and restart your machine. Next time your system will boot in
GUI mode.
Second Issue for this problem is that at the time of installation you have selected CLI packages not the GUI Packages" so in this case you have to install Desktop Packages using below command and also change the run level in the file "
/etc/inittab".
# yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"