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

Re: Runlevel for textmode



On Sun, 13 May 2007 23:29:53 -0500
"Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> wrote:

> On 05/13/2007 10:51 AM, Tim Johnson wrote:
> > On Sunday 13 May 2007 22:13, Nelson Castillo wrote:
> >> On 5/13/07, Tim Johnson <tim@johnsons-web.com> wrote:
> >  <snipped>
> >> In Debian you use runlevel 2 for everything.
> >> (I'd better say there's no need to use another runlevel).
> >> You'll run on 2 by default whether you use X or not.
> >   understood.
> >> I'd rm /etc/rc2.d/S30gdm (also xdm and kdm).
> >>
> >> I think you can use also the "alternatives" for that and I guess this
> >> is the debian way.
> >>
> >> I think that:
> >>
> >>  echo /bin/true > /etc/X11/default-display-manager
> >>
> >> could work.
> >>
> >> Check /etc/init.d/[x, g, k]dm to see how those scripts use the
> >> alternatives.
> >   I commented out the line in default-display-manager.
> >   that did it.
> > thanks
> > tim
> > 
> 
> A better way to do it would be to use the update-rc.d command to 
> configure [xgk]dm to start only in runlevel 4 which is similar to Slackware:
> 
> update-rc.d -f gdm remove
> update-rc.d gdm start 70 4 . stop 30 0 1 2 3 5 6 .
> 
> http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-no-x-start

I find that sysv-rc-conf is a great TUI tool for reviewing what
services are starting and adjusting them to suit your needs.

[snip]

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator



Reply to: