[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I configure debian, to boot to a text mode login (new Debian user)



Hans-Peter Sulzer wrote:
> My Debian (Sarge) currently boots to a graphical login
> screen. How can I configure which login screen will
> appear (text mode or graphic with display manager)?

If you never want to boot into a graphical login then simply remove
the graphical login managers.  You can always install them again if
you decide you want to turn this feature back on.

  apt-get remove gdm kdm xdm

Decide you want to put it back?  Then install it again.

  apt-get install gdm   # or kdm or xdm or ...

That is the simplest method.

> In other distributions this may be set by changing
> the default runlevel to 3, but this doesn't work with
> Debian.

By default in Debian all run levels are the same.  Having them
different is not something that many Debian people want and so it is
not the default.  (Most questions asking for it come from people who
have used other systems where runlevels are used.  They have yet to
realize how easy it is to install and remove software on Debian and so
are still thinking in terms of those other systems.)

But it is certainly possible to configure your system so that runlevel
3 does not start up a graphical login.  You can do this either of two
ways.  Use one of the management programs sysvconfig, rcconf, or
sysv-rc-conf.

  apt-get install sysv-rc-conf

Or just move the symlink yourself manually.  Your manual changes will
be recognized and preserved on future upgrades.

  cd /etc/rc3.d
  mv S99kdm K99kdm
  mv S99gdm K99gdm

But regardless of this I still recommend removing the graphical
display manager if you are not using it.  Just call me a clean freak.

Also Control-Alt-F1 will get you to the text console.  I frequently
use that to use a text console when I want one.  Then Alt-F7 gets you
back to the graphical environment.  This is very nice for switching
back and forth on demand.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: