How to start Linux in multiuser mode rather than boot directly into XWindows (X11)
By default most Linux distributions automatically start up the X11 when the system starts. For those who do not use XWindows or do not want it to start automatically, this guide will explain how to change your configuration so that the default runlevel is Full Multiuser Mode. You can then start XWindows manually by typing startx as needed.
- Log in to the server as root.
- Type vi /etc/inittab
- When inittab opens, using the arrows keys move your cursor down till you see a line that looks like this.
Lets disect this line. The id:5 denotes the runlevel that Linux will boot up into. Runlevel 5 is the graphical login mode. This means that when Linux starts it will go directly into X11. The initdefault stands for the default runlevel. We want to change this runlevel to 3 which is full multiuser mode console login.
- Using your arrow keys, move the cursor so it is highlighting the number 5 in the line above.
- Press the x key to delete the number 5.
- Press the i key to go into insert mode.
- Type the number 3. The line should now appear as id:3:initdefault:
- Press the escape key to leave insert mode.
- Type :wq and press enter to save and exit vi.
Note: If you make any mistakes and do not want to save your changes. You can instead type :quit! and it will exit vi and discard any changes you made.