Stephen Early writes ("Re: X Windows"): > On Thu, 16 May 1996, Dale Scheetz wrote: > > > /etc/init.d/xdm stop > > > > > When I run the script it seems to run ok, produces no output, and returns > > the prompt. However, killing fvwm2 still produces a new login screen (even > > when you do it several times). 'ps a' still shows no xdm process. > > I see - it only tries to stop xdm if it is set up to start it at boot > time. I'll change that in the next xbase, if I remember. > > As a matter of interest, what does this do: > start-stop-daemon --stop --verbose --exec /usr/bin/X11/xdm
It will send a SIGTERM to any process(es) whose /proc/<pid>/exec is /usr/bin/X11/xdm, reporting what it does. It will exit with status 1 if nothing was killed (you might want to add --oknodo). Ian.