checkX problems

Ken Brown kbrown@cornell.edu
Fri Oct 30 13:48:00 GMT 2009


I'm having trouble with checkX.  I haven't seen other people complain 
about this, so I assume it's something about my system, but I can't 
figure out what.  There are two symptoms:

1. If I run checkX with a timeout, the timeout seems to be ignored.  For 
example, with the X server *not* running:

$ checkX -d 127.0.0.1:0.0 -t 100 --debug
checkX.exe DEBUG: displayname : '127.0.0.1:0.0'
checkX.exe DEBUG: opt_location: 0
checkX.exe DEBUG: opt_loglevel: 7
checkX.exe DEBUG: opt_nogui   : 0
checkX.exe DEBUG: opt_notty   : 0
checkX.exe DEBUG: opt_timeout : 100.00
checkX.exe DEBUG: (adjust_path) path is : 
/usr/local/texlive/2009/bin/i386-cygwin:/usr/local/bin:/usr/bin:/c/Program 
Files/ThinkPad/Utilities:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program 
Files/Intel/Wireless/Bin/:/c/Program Files/IBM ThinkVantage/Client 
Security Solution:/c/Program Files/ThinkPad/ConnectUtilities:/c/Program 
Files/QuickTime/QTSystem/:/c/Program Files/Common 
Files/Lenovo:/usr/lib/lapack:/usr/X11R6/bin:/usr/bin
checkX.exe DEBUG: (find_X11_lib) DLL is /usr/bin/cygX11-6.dll
checkX.exe DEBUG: (dlopen_X11_lib) /usr/bin/cygX11-6.dll dlopen'ed 
successfully.
checkX.exe DEBUG: (load_X11_symbols) symbol XOpenDisplay loaded ok
checkX.exe DEBUG: (load_X11_symbols) symbol XCloseDisplay loaded ok
checkX.exe DEBUG: (try_with_timeout) Using delay of 100 secs, 0 nanosecs 
(100.00)
checkX.exe DEBUG: (try_with_timeout) xserver search was unsuccessful
checkX.exe Info: could not open X display '127.0.0.1:0.0'
checkX.exe DEBUG: returning with status 1
checkX.exe Info: Exiting with status 1

The problem is that it returns within a second, in spite of the timeout. 
  Or am I misunderstanding what the timeout is supposed to do?

2. If I start the X server by using the default startxwin.bat or 
startxwin.sh (both of which call checkX), the server is very unstable 
and crashes within a few minutes.  This happens consistently, and it 
never happens if I comment out the line calling checkX.

I tried strace'ing checkX, but I don't know what to look for in the 
output.  (I'll send it if it would be useful, but I don't want to spam 
the list otherwise.)  I'm attaching cygcheck output.

Ken
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091030/3f037936/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list