Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: tuxi on June 04, 2014, 06:10:59 PM

Title: Cent OS 6.5 set to boot to command line by default but no GUI
Post by: tuxi on June 04, 2014, 06:10:59 PM
Hi, I am using one of my computer in office only as server and there is no other use for it, it has not even any monitor  but I found that my server by default boots into graphical mode, so how can I set it that it always boot to command line. What file I need to modify to make it boot to command line.

Also please provide proper procedure.
Title: Re: Cent OS 6.5 set to boot to command line by default but no GUI
Post by: Ricky on June 04, 2014, 06:25:03 PM
In centOS, you need to change run-level,
Edit /etc/inittab and look for line which says

id:5

Change :
that  5 to 3 and don't touch anything else, that will now make your computer to always boot into command line by default.

You can edit file by :

nano /etc/inittab

after you have done changes, ctrl+O to write and Ctrl+X to exit.