Re: Cygwin 1.7 hangs with my .xinitrc

2009-07-08 Thread David A Bagley
Hi
Thanks for the work around, seems to work ok.

One more detail about this I just remembered...

On Cygwin 1.5 version, some of the windows that I bring up don't seem to
know their own size.  I always seem to have to resize some of the
windows (particularly on the second virtual screen) and then
run 'ls' to see if the resize took.  The sleep may help somewhat here
but I still have to resize a window or two.

-- 
Cheers,
 /X\  David A. Bagley
(( X  bagl...@tux.org http://www.tux.org/~bagleyd/
 \X/  xlockmore and more
 
  From: cygwin-xfree-ow...@cygwin.com 
  [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY
  Sent: Monday, July 06, 2009 8:16 AM
 
  I can reproduce the problem using it.  I seem to end up with 
  a few of the 
  xterms spinning somewhere and trying to use 100% CPU, and 
  outputting the 
  following:
  
  No protocol specified
  xterm Xt error: Can't open display: :0
  
  After inserting 'sleep 1' into the .xinitrc before each xterm 
  seems to start 
  up without trouble, so I guess there's some sort of timing condition 
  somewhere, although I've no idea where...
 
   I have had `sleep 1` statements after each xterm launch in my .xinitrc 
 for years, having encountered a similar problem.  At least I'm pretty sure it 
 was a similar problem... yes, I should have reported it then.
 
 
   HTH,
 
 Mike
 


--
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/



Re: Cygwin 1.7 hangs with my .xinitrc

2009-07-06 Thread Jon TURNEY

On 04/07/2009 17:48, David A Bagley wrote:

Hi

I like to start X with a whole bunch of windows instead of creating each
time.  In Cygwin 1.5 I did this with no problem.

In 1.7 this hangs.   It hangs in a way where I can't open anything else
and have to pull the power to computer.  If I comment out all the xterm's
it works fine.


What an interesting .xinitrc :-)

I can reproduce the problem using it.  I seem to end up with a few of the 
xterms spinning somewhere and trying to use 100% CPU, and outputting the 
following:


No protocol specified
xterm Xt error: Can't open display: :0

After inserting 'sleep 1' into the .xinitrc before each xterm seems to start 
up without trouble, so I guess there's some sort of timing condition 
somewhere, although I've no idea where...


--
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/



RE: Cygwin 1.7 hangs with my .xinitrc

2009-07-06 Thread Mike Ayers
 From: cygwin-xfree-ow...@cygwin.com 
 [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY
 Sent: Monday, July 06, 2009 8:16 AM

 I can reproduce the problem using it.  I seem to end up with 
 a few of the 
 xterms spinning somewhere and trying to use 100% CPU, and 
 outputting the 
 following:
 
 No protocol specified
 xterm Xt error: Can't open display: :0
 
 After inserting 'sleep 1' into the .xinitrc before each xterm 
 seems to start 
 up without trouble, so I guess there's some sort of timing condition 
 somewhere, although I've no idea where...

I have had `sleep 1` statements after each xterm launch in my .xinitrc 
for years, having encountered a similar problem.  At least I'm pretty sure it 
was a similar problem... yes, I should have reported it then.


HTH,

Mike

--
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/