This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: checkX problem or misunderstanding
- From: "d.henman" <dhenman at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 05 Aug 2013 14:01:49 +0900
- Subject: Re: checkX problem or misunderstanding
- References: <20130803175444 dot 3628 at binki> <51FEFA60 dot 2050707 at cygwin dot com> <20130805105021 dot 1776 at binki> <51FF0CF0 dot 30807 at cygwin dot com> <51FF17D1 dot 2070303 at cwilson dot fastmail dot fm>
Update:
checkX does work of course.
My problem was:
1. I was setting the DISPLAY environment variable which X11 based clients use
and expected checkX to use it as well.
2. I specified the X11 server to try, incorrectly as $ checkX 127.0.0.1:0, without
the -d option. For some reason I had it in my head that usage was:
checkX [options] <server>.
Hower, checkX works when server is specified with the -d option as documented.
E.g. $ checkX -d 127.0.0.1:0
THanks for the input to help me find this. My apologies for not spotting this sooner.
Regards,
Charles Wilson
> On 8/4/2013 10:24 PM, Larry Hall (Cygwin) wrote:
> > On 8/4/2013 9:50 PM, wynf... wrote:
> >> It is clearly written in my message, in fact in imported it from the
> >> checkX documentation. What part of the problem I'm describing is not
> >> clear
> >> to you?
> >>
> >> "DESCRIPTION
> >> Determines if X is installed, Xserver is running on
> >> specified DISPLAY
> >> and will accept clients. Returns 0 if yes, nonzero otherwise""
> >>
> >> In fact:
> >> checkX :0 returns a false when, but the X11 server on :0 will
> >> accept client
> >> requests.
> >
> > I guess I'm not clear why you're not using the syntax Chuck recommends in
> > his message (see the link to it that I included above). He stated you need
> > to use the '--display' flag. Here's a quote from Chuck in that message:
>
> To be fair, checkX *should* use the $DISPLAY variable if --display/-d
> is not specified on the command line. This appears, from reading the
> email thread, to be a real issue.
>
> However, I won't be able to investigate further for at least a
> week...and will have only intermittent internet access until then.
>
> --
> Chuck
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple