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

Re: Text mode boot



"Manish Kumar Arya" <all@linuxindia.net> writes:
>    i  want to boot my debian box in text mode by default, cuz X is not
> working properly,
> i did edited /etc/inittab file and i saw that default run leve was 2
> (but on Rhat its 5 for X and 3 for text mode multi user) . any way i
> changed it to 3 but it still got booted to Graphic mode

Debian doesn't differentiate between the run levels, by default. All
the normal run levels give you the same thing. If you want to stick
with that policy, and just want to remove X startup, then just run, as
root:

	update-rc.d -f xdm remove

(assuming you're using xdm, same thing applies if you're using gdm or
wdm instead). Be aware that unless things have changed since I last
looked into it, if you reinstall XDM, or it gets upgraded, it'll
reinstall the XDM startup script links in the rc?.d subdirectories and
you'll need to rerun the update-rc.d command to remove it.

On the other hand you're quite welcome to go into /etc/rc2.d and
remove the S99xdm logical link yourself. Then you can use runlevel 3
if you want to boot graphically. In this case I think a reinstall, or
upgrade, of XDM will be smart enough to realize it's only absent in
one rc?.d subdirectory and won't reinstall the link in that
subdirectory.

Gary



Reply to: