Type: ps -ef

View the process then if you're root you can kill it if it's running (I
doubt it!)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of bitlov
Sent: Monday, February 17, 2003 3:14 PM
To: [EMAIL PROTECTED]
Subject: [XFree86] xlib: howto detect x killed

How to detect that the X server has been killed or stopped ?

My program that use a window with the override_redirect flag set crashs
when
sending x request to a dead X server. I have tried to detect dead X with
XSetErrorHandler() and XSetIOErrorHandler() but the handlers are never
called.
Please help.
Thanks
Bitlov


_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to