Help - Search - Members - Calendar
Full Version: How To Start Linux In Multiuser Mode Rather Than Boot Directly Into Xwindows (x11)
BleepingComputer.com > Bleeping Computer Applications and Guides > Mini guides and how-tos - Simple answers to common questions > Linux Mini-Guides
   
Grinler
How to start Linux in multiuser mode rather than boot directly into XWindows (X11)



Guide Overview

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.


Instructions
  1. Log in to the server as root.

  2. Type vi /etc/inittab

  3. When inittab opens, using the arrows keys move your cursor down till you see a line that looks like this.

    id:5:initdefault:

    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.

  4. Using your arrow keys, move the cursor so it is highlighting the number 5 in the line above.

  5. Press the x key to delete the number 5.

  6. Press the i key to go into insert mode.

  7. Type the number 3. The line should now appear as id:3:initdefault:

  8. Press the escape key to leave insert mode.

  9. 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.
Now that you have changed the default runlevel to 3 when you start Linux it will no longer boot into X11, but rather directly into the console.
Jombee
If you're running a debian based system you will have to remove gdm/kdm from rd.d
you can do that manually or by

# update-rc.d -f gdm remove
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.