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

Re: Avoid booting direct to X.. I want my starx back



Em Sex, 2002-03-01 às 17:54, Kurt Yoder escreveu:
> Harry Putnam said:
> > Well, I got X working in my fresh woody install, but there are a few
> > rinkles.
> > 1) I want to boot to console mode and call x with startx.
> >
> > Currently, I get popped right into X.
> > I thought this could be contolled by setting the defalult run level
> > /etc/inittab  But I see nothing in there that looks likely.
> >
> > In fact it claims the default is runlevel 2.  Or is runlevel 2 X.  I
> > don't think so.
> >
> > In my redhat dealings it was possible to set default to runlevel 5
> > which force boot to bring up X.  setting runlevel 3 gave you a console
> > login.
> >
> > Where is this choice made on debian?
> 
> Remove xdm, gdm or kdm. If any of these are installed, they will dump you
> into X unless you're in single-user mode.
> 
> apt-get remove gdm
> 
> (or kdm or xdm if you have either of those instead)
> 

This is a solution, but not the best one (IMHO) because you
can want the x/g/k/dm in order to serve some connected X-terminals (or
slave workstations).
find the Xservers file corresonding to you ?dm (/etc/X11/xdm for ex.)
and comment the line 
:0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp
or equivalent.

Michel.




Reply to: