startxwin.bat and checkX
Ken Brown
kbrown@cornell.edu
Wed Oct 28 16:16:00 GMT 2009
On 10/27/2009 9:51 PM, Yaakov (Cygwin/X) wrote:
> On 16/10/2009 09:39, Ken Brown wrote:
>> So I think startxwin.bat should use
>>
>> %RUN% checkX -wait -d %DISPLAY% -t 12
>>
>> I've tested this on my system, and xterm always starts. If I omit
>> '-wait', xterm sometimes doesn't start.
>
> Thanks for the bug report. This has been fixed in xinit-1.1.1-6.
Strangely, I've found that this fix makes the X server unstable on my
system. The server just crashes after some time (ranging from 3 minutes
to 30 minutes), and it writes nothing to the log file when it does this.
The X icon disappears from the task bar and all X windows close.
Occasionally the XWin.exe process continues running and I have to kill
it from the Windows task manager.
This was already the case with X11R7.4. But a difference with R7.5 is
that the checkX command doesn't even serve its intended purpose, i.e.,
xterm never starts. I tried adding --debug to the checkX command, but I
don't see any indication of a problem there. Here's the output:
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 : 12.00
checkX.exe DEBUG: (adjust_path) path is :
/usr/bin:/home/kbrown/bin:/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/bin:/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 12 secs, 0 nanosecs
(12.00)
checkX.exe DEBUG: (try_with_timeout) xserver search was a success!
checkX.exe Info: X display '127.0.0.1:0.0' successfully opened
checkX.exe DEBUG: returning with status 0
checkX.exe Info: Exiting with status 0
Simply commenting out the line involving checkX in startxwin.bat solves
the problem. I'm satisfied with this workaround for my own purposes,
but I'm also happy to do whatever I can to help debug this if it turns
out that other people have the same problem. I'm attaching the log file
and cygcheck output.
Ken
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091028/4c98cef4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XWin.0.log
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20091028/4c98cef4/attachment.log>
-------------- 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