but in your friends case X hand't existed so was still running .. so why
would init have kicked it? yu need to do a killall X in that case and let
init re-spawn it .. or maybe killall xdm....
init can only respawn somthing that has died..
On Mon, 12 Mar 2001, Conor Daly wrote:
> On Mon, Mar 12, 2001 at 10:48:16AM +0000 or thereabouts, Kenn Humborg wrote:
> > On Mon, Mar 12, 2001 at 08:35:38AM -0000, Wynne, Conor wrote:
> > > Yes, you shoud just have to vi the /etc/hosts and stick it in there. And
> > > /etc/sysconfig/network, then run :
> > > /etc/rc.d/rc0.d/./K90network restart (handy little scripts are here for
> > > RH7)
> > Sigh...
> > Those are the links that tell the init scripts what gets run and/or
> > killed when switching run levels. When running them yourself, you
> > should use:
> > /etc/init.d/network restart
> Incidentally, is there any way to *restart* a particular runlevel's process
> w/o having to manually restart them all? Someone had a problem with a hung
> console / X but could ssh in and I suggested "telinit 1; sleep 20; telinit
> 5" to get the box back in order. Now, what I would like is to be able to
> do, from runlevel 5, "telinit 5" and have anything that is not running be
> started or have everything for that runlevel be restarted. At present,
> telinit appears to check its current runlevel and, if that's the same as the
> requested level, it just exits.
>> tried "telinit u" which the man page suggested might help but nothing
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!