Network Troublshooting > Linux Servers Support

Cent OS 6.5 set to boot to command line by default but no GUI

(1/1)

tuxi:
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.

Ricky:
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.

Navigation

[0] Message Index

Go to full version