checkX problem or misunderstanding

d.henman dhenman@gmail.com
Mon Aug 5 05:01:00 GMT 2013


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



More information about the Cygwin mailing list