Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Logged in CLI instead of default GUI  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
Logged in CLI instead of default GUI
« on: February 22, 2014, 02:50:10 pm »
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

Quote
# 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".


Quote
#  yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"