Re: Start Debian Linux in command line



On Jun 6, 11:14 pm, Bill Marcum <marcumb...@xxxxxxxxxxxxx> wrote:
On Wed, 06 Jun 2007 04:26:19 -0700, lovecreatesbea...@xxxxxxxxx <lovecreatesbea...@xxxxxxxxx> wrote:

The line in file /etc/inittab is:

id:3:initdefault:

but it starts Debian in Graphic X interface.

In Debian, runlevel 2 is the default and runlevels 2-5 are identical
unless changed by the local admin. You can uninstall xdm, gdm and kdm,
or customize /etc/rc*.d so the display manager is started in one
runlevel and not in another. Or you can press Ctrl-Alt-F[1-6] to get to
a text mode login prompt, and alt-F7 to get back to graphic mode (might
not work with some evil binary-only video drivers).

Thanks.

I enable run level 3 in file: /etc/inittab as the following:

#id:2:initdefault:
id:3:initdefault:

and disable S21gdm as the following:

$ su root -c 'mv /etc/rc3.d/S21gdm /etc/rc3.d/K00S21gdm'

now debian starts in command line

.



Relevant Pages

  • Re: New User/No GUI
    ... > someone new to Debian. ... while Debian gdm installs itself to runlevel 2... ... will customize the runlevels to fit their needs. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Start Debian Linux in command line
    ... In Debian, runlevel 2 is the default and runlevels 2-5 are identical ... a text mode login prompt, and alt-F7 to get back to graphic mode (might ... If I want to start debian in command line in runlevel 2, ...
    (comp.os.linux.misc)
  • Re: UPDATE!! (was Re: Have I been compromised? chkrootkit: "Warning: Possible LKM Trojan inst
    ... does it have on 1313 and other inetd ports when you "killall inetd"? ... I would expect that inetd would be stopped in runlevel 1, ... familiar with Debian. ... Post the diff here, inline (and perhaps ...
    (comp.os.linux.security)
  • Re: New User/No GUI
    ... while Debian gdm installs itself to runlevel 2... ... have a different distro on each machine, it gets damned confusing. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Configuring inittab
    ... you can't really correct me and say that my opinion is something else... ... I believed the default configuration ... Nothing would be lost in defaulting to the traditional runlevel ... Martin Krafft's "The Debian System" lists runlevel's 3-5 as 'unused'. ...
    (Debian-User)