This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Checking if the X Server is running
- From: "O. Olson" <olson_ord at yahoo dot it>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 30 Sep 2007 21:17:36 +0200 (CEST)
- Subject: Re: Checking if the X Server is running
- Reply-to: cygwin-xfree at cygwin dot com
--- Charles Wilson <cygwin@cwilson.fastmail.fm> ha
scritto:
> O. Olson wrote:
>
> > Is there any way of checking if the X Server is
> > currently running? Because if you try this again,
> it
> > gives you ?A fatal error? ? which does not crash
> your
> > computer ? but is a bit annoying to me.
>
> The checkX program is written specifically to do
> this.
>
> #!/bin/sh
> if checkX ; then
> # X is running
> else
> # X is not running
> fi
>
> --
Thanks Chuck. This looks like what I need ? but how do
I get this checkX program. It does not seem to be
there in my path.
Any pointers on where it would be installed.
Thanks a lot
O.O.
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/