Re: kill -9 <pid of X>

Jon Hamilton (hamilton@pobox.com)
Wed, 12 Aug 1998 05:12:13 -0500


In message <Pine.HPP.3.91.980811182240.22974A-100000@gaia.ecs.csus.edu>, "Jon M
. Taylor" wrote:
} On Tue, 11 Aug 1998, Kragen wrote:
}
} > On Tue, 11 Aug 1998, Albert D. Cahalan wrote:
} > > Kragen writes:
} > > > On Tue, 11 Aug 1998, Tigran Aivazian wrote:
} > > >> Yes, it *is* very much a kernel issue. What happens if you
} > > >> kill -9 the X server? The machine hangs because the kernel
} > > >
} > > > (It would be nice if someone had already written a small wrapper for X
} > > > that would sanify the console when X crashes, as Linus suggested. Has
} > > > someone? My X crashes every few months.)
} > >
} > > That was beat to death too: you can't do it. If you'd like to try,
} > > I have a "nice" Cirrus Logic clgd5430 card you can try to restore.
} > > . . . I can even
} > > hit the reset button and boot into an OS with official drivers,
} > > but it doesn't do any good. Only the big red switch works.
} >
} > Does that mean X can't restore it either, if it exits properly?
}
} 'Properly' is the keyword here. It cannot exit properly if it is
} killed by a signal.

Why on earth not? The X server can catch any signal other than 9.

-- 
   Jon Hamilton  
   hamilton@pobox.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html