thanks dave, that's very cool. now... I don't program in c. would it
be easy to modify this program in two ways:
1) pass the display number as a parameter
2) print or return a specific error message if the connection is not
accepted?
-- NEW VERSION --
#include
int main(argc, argv) int argc; c
On Fri, Sep 17, 2004 at 12:02:08PM -0400, Matt Price wrote:
> Dave Howorth wrote:
>
> >>know whether there's a way to contact the server directly to see
> >>whether it's
> >>REALLY running
> >
> >
> >The simplest way to me is to write an X client program that just makes a
> >connection, then
Dave Howorth wrote:
know whether there's a way to contact the server directly to see
whether it's
REALLY running
The simplest way to me is to write an X client program that just makes a
connection, then disconnects. Something like this in fact:
#include
#define DISPLAY ":0.0"
int main(argc
Matt Price wrote:
thanks to stefan for that answer! works great. though for fun, I'd still ike to
know whether there's a way to contact the server directly to see whether it's
REALLY running
The simplest way to me is to write an X client program that just makes a
connection, then disconnects.
Matt Price utoronto.ca> writes:
thanks to stefan for that answer! works great. though for fun, I'd still ike to
know whether there's a way to contact the server directly to see whether it's
REALLY running
matt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe
On Fri, Sep 10, 2004 at 01:00:13PM -0400, Matt Price wrote:
> hi folks,
>
> I need to be able to test whether an x server is running on a given
> display on localhost, for a script I'm writing (it's a python script
> automating openoffice, but I could launch it from a bash wrapper no
> problem). I
6 matches
Mail list logo