Click to See Complete Forum and Search --> : Debian automatically starting in X? How do I make it go back to the command line?


ClearNinja
02-18-2001, 10:11 PM
I just rebooted Debian for the first time since I installed it. When she came back up lo and behold I have a X login staring at me and I am not sure how it happened. But how do I stop it? I went into /etc/inittab and changed the default runlevel to 3 but it didnt seem to help. Any suggestions? BTW.. I dont have the kernel source installed. How do I go about installing it so I can set up ipchains?

Thanks a lot,

Craig

Bradmont
02-18-2001, 10:40 PM
go into /etc/rc2.d.
rename S99xdm or S99gdm, depending which is there ro something that doesn't start with S99 (e.g. k99xdm).
do the same in /etc/rc3.d

Gaccm
02-18-2001, 10:46 PM
there are 2 steps, easy and hard, easy: apt-get remove xdm, this probebly wont work, xdm is installed because it is "required" by X, the hard, is to go thru all your /etc/rcX.d and remove anything with xdm in it. BUT, you might want to keep gdm. gdm allows you to use mouse in console mode (useful for progs that allow mouse input).

ClearNinja
02-18-2001, 11:13 PM
apt-get remove xdm worked perfectly. Thankyou very much!!


Craig

ColdPack
02-19-2001, 09:51 AM
Originally posted by Gaccm:
BUT, you might want to keep gdm. gdm allows you to use mouse in console mode (useful for progs that allow mouse input).

That's gpm which drives your mouse in console mode not gdm which is the gnome display manager.

FyberOptyx
02-19-2001, 07:47 PM
Are you sure you edited the correct line in inittab. I think if I remember correctly I had the same prob but changed the wrong line - I think there are 2 refernces to the run level .I could be wrong though as I am not in Linux at the mo.