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?