This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: R: starxwin.bat always "misfires" the xterm once - it works!
- From: Owen Rees <owen dot rees at hp dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 17 Feb 2009 09:15:18 +0000
- Subject: Re: R: starxwin.bat always "misfires" the xterm once - it works!
- References: <42b9db550902160840l202e4bfaxf0d6951390c9004f@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
--On Monday, February 16, 2009 17:40:15 +0100 Franz di Coccio wrote:
Marco,
your suggestion to insert
%CYGWIN_ROOT%\bin\sleep 4
before the xterm launch instruction
%RUN% xterm -e /usr/bin/bash -l
in starxwin.bat did the trick!
Thanks a lot! Grazie!
F
PS That's a weird behaviour, anyway... I wonder why the pause is needed
only for the first execution after the system boot. Whatever... Now it
works :)
The problem seems to be the one that prompted the thread that contains this
message:
<http://cygwin.com/ml/cygwin-xfree/2005-04/msg00018.html>
As I understand it, the process that starts the X server finishes before
the X server is ready to accept connections. This means that there is then
a race condition between the X server start up and the next command in the
startup script. If the server is ready first all is well but if not, the
next command - xterm - fails to connect and gives up.
--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
--
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/