On Sun, 30 May 1999, Christian Pernegger wrote:

> I renamed its start script:
> 
> cd /etc/rc2.d         // for the standard runlvel,e.g.
> mv S99xdm _99xdm
> mv S99gdm _99gdm              // this is Gnome's X-login manager, if you have 
> it

With Debian, all the files in /etc/rc?.d are just symlinks to scripts in
/etc/init.d. There's a utility "update-rc.d" that helps you manage those
links. 
  # update-rc.d -f xdm remove
  # update-rc.d xdm start 99 3 4 5 . stop 01 0 1 2 6 .
The first command removes the old links, the second adds start and stop
links in the runlevels you want. "99" and "01" are the sequence codes.

Just out of curiousity: with the commands you gave, does it kill X if you
change to runlevel 5 (to start it) and then to runlevel 2?

Reply via email to