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

Re: How to quit XDM ?



Several people recommend something like the following:

> /etc/rc?.d contains only softlinks to the /etc/init.d. You should find
> there a link called S99xdm. Remove it, and your debian system should by
> default boot without starting the xdm. If you later prefer too use the
> xdm, you only have to set this link again (with
> ln -s ../init.d/xmd /etc/rc2.d/S99xdm).

As has been mentioned before, this isn't the best solution either. Say you
remove the link in runlevel 2. Fine, xdm doesn't start on boot. Then you
change to level 3, and xdm is started. Again, good. But now you change
back to level 2, where xdm shouldn't be running. What happens? xdm is
still there, since you never told the system to kill it in runlevel 2.

Instead, you should "mv S99xdm K01xdm". This way, xdm will be stopped when
you change back into level 2 (the reason for the 01 is to maintain
consistency with the other runlevels with a K??xdm link. You could use
K99xdm if you really want to).


Reply to: