public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* waiting for X server to begin accepting connections .
@ 2012-03-02 23:17 Marc Girod
  2012-03-03 11:00 ` Marc Girod
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Girod @ 2012-03-02 23:17 UTC (permalink / raw)
  To: cygwin-xfree


Hello,

Tonight, from home, over my employer's VPN connection: impossible to start
Gnu emacs over X.
After the usual expr dumping core:

/usr/bin/startx: line 47:  6444 Segmentation fault      (core dumped) expr
"$1" : ':[0-9][0-9]*$' > /dev/null 2>&1

I get an effect which I have already seen, but only until now in a transient
mode:

waiting for X server to begin accepting connections .
..
..
..
..

Only now, it goes on until timeout, and reproduces on the next try...

The log ends in:

xwin> tail -2 XWin.0.log
[ 12500.250] winMultiWindowXMsgProc - XOpenDisplay () returned and
successfully opened the display.
[ 12500.250] winClipboardProc - XOpenDisplay () returned and successfully
opened the display.

My command (in a batch file):

chdir C:\cygwin\bin
bash --login -c "/usr/bin/startx /usr/bin/emacs -g 90x37+150+0 -- /usr/bin/X
:0 -multiwindow -clipboard"

What can be the cause?
Thanks
Marc

http://old.nabble.com/file/p33432156/cygcheck.out cygcheck.out 
-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33432156.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: waiting for X server to begin accepting connections .
  2012-03-02 23:17 waiting for X server to begin accepting connections Marc Girod
@ 2012-03-03 11:00 ` Marc Girod
  2012-03-03 13:31   ` you online this am? edv
       [not found]   ` <33442319.post@talk.nabble.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Marc Girod @ 2012-03-03 11:00 UTC (permalink / raw)
  To: cygwin-xfree



Marc Girod wrote:
> 
> waiting for X server to begin accepting connections .
> 
I started looking at the .server* and .Xauthority files.
Found that .Xauthority keeps growing (but not since the origin of times--and
see below: cleaned up after timeout!).
Now, I removed a previous version so that I only have a smaller chunk left:

~> strings .Xauthority
EV68B599EABE1A
MIT-MAGIC-COOKIE-1
Tnj#
MIT-MAGIC-COOKIE-1
MIT-MAGIC-COOKIE-1
MIT-MAGIC-COOKIE-1
MIT-MAGIC-COOKIE-1
MIT-MAGIC-COOKIE-1
~> strings .serverauth.5268
EV68B599EABE1A
MIT-MAGIC-COOKIE-1
~> wc .Xauthority
  0   3 340 .Xauthority
~> tail -3 /var/log/xwin/XWin.0.log
[  4303.693] winInitMultiWindowWM - XOpenDisplay () returned and
successfully opened the display.
[  4303.693] winMultiWindowXMsgProc - XOpenDisplay () returned and
successfully opened the display.
[  4303.693] winClipboardProc - XOpenDisplay () returned and successfully
opened the display.

It looks like the .serverauth file was cleaned up after the last exit--this
surprises me as I use to find afterwards.
.Xauthority was also cleaned up to a minimal state:

~> od -x .Xauthority
0000000

Marc
-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33433769.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* you online this am?
  2012-03-03 11:00 ` Marc Girod
@ 2012-03-03 13:31   ` edv
  2012-03-03 13:36     ` Marc Girod
  2012-03-03 21:49     ` Christopher Faylor
       [not found]   ` <33442319.post@talk.nabble.com>
  1 sibling, 2 replies; 8+ messages in thread
From: edv @ 2012-03-03 13:31 UTC (permalink / raw)
  To: cygwin-xfree

are you online this am...?


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: you online this am?
  2012-03-03 13:31   ` you online this am? edv
@ 2012-03-03 13:36     ` Marc Girod
  2012-03-03 21:49     ` Christopher Faylor
  1 sibling, 0 replies; 8+ messages in thread
From: Marc Girod @ 2012-03-03 13:36 UTC (permalink / raw)
  To: cygwin-xfree



ed-644 wrote:
> 
> are you online this am...?
> 
I am...?
-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33434205.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: you online this am?
  2012-03-03 13:31   ` you online this am? edv
  2012-03-03 13:36     ` Marc Girod
@ 2012-03-03 21:49     ` Christopher Faylor
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher Faylor @ 2012-03-03 21:49 UTC (permalink / raw)
  To: cygwin-xfree

On Sat, Mar 03, 2012 at 06:30:40AM -0700, edv wrote:
>are you online this am...?

I'm assuming that this is spam and so am blocking this account from further
communications here.  If I'm wrong the OP should send email to postmaster
to be unblocked and explain the reason for this bizarre question.

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: waiting for X server to begin accepting connections .
       [not found]   ` <33442319.post@talk.nabble.com>
@ 2012-03-05 12:01     ` Marc Girod
  2012-03-20 10:26       ` Marc Girod
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Girod @ 2012-03-05 12:01 UTC (permalink / raw)
  To: cygwin-xfree



Marc Girod wrote:
> 
> The most probable is that our 'support' pushed some system
> upgrade/security patch which breaks Xfree...
> 
Checked that no firewall blocks port 6000 (it should be what the X server
listens to for display :0, right?)

It started to work again...!?
I had just disabled (not the first time, although first with a batch file,
in the right order) the Symantec AntiVirus (both "smcservice" and "Symantec
AntiVirus"), and tried.
Now it works also with Symantec reenabled...

Marc
-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33442979.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: waiting for X server to begin accepting connections .
  2012-03-05 12:01     ` waiting for X server to begin accepting connections Marc Girod
@ 2012-03-20 10:26       ` Marc Girod
  2012-03-25 14:31         ` Marc Girod
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Girod @ 2012-03-20 10:26 UTC (permalink / raw)
  To: cygwin-xfree



Marc Girod wrote:
> 
> It started to work again...!?
> 
I know I should buy a computer, but this is what I got as working
environment.
The problem pops up for some time (hours...?) every now and then, and
disappears.
Rebooting doesn't help systematically; i.e. it may help, who knows, but not
every time, at least.

Is there any guidance about how to investigate this?
Obviously, the X server is up and running, only the client cannot connect to
it.
Some small test client which would be easy to debug, and might report the
cause of failure?
Here is the bottom of the XWin.0.log:

...
[  1312.467] winMultiWindowXMsgProc - DISPLAY=:0.0
[  1312.467] winClipboardProc - DISPLAY=:0.0
[  1312.467] winInitMultiWindowWM - XOpenDisplay () returned and
successfully opened the display.
[  1312.467] winMultiWindowXMsgProc - XOpenDisplay () returned and
successfully opened the display.
[  1312.483] winClipboardProc - XOpenDisplay () returned and successfully
opened the display.

Thanks,
Marc

-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33537774.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: waiting for X server to begin accepting connections .
  2012-03-20 10:26       ` Marc Girod
@ 2012-03-25 14:31         ` Marc Girod
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Girod @ 2012-03-25 14:31 UTC (permalink / raw)
  To: cygwin-xfree



Marc Girod wrote:
> 
> Obviously, the X server is up and running, only the client cannot connect
> to it.
> 
Also, choosing a different display (i.e. :1 instead of :0 in my startup
command) works.
So... is this enough to conclude that the issue is bound to the port (some
other unknown application holding it for hours/days and then releasing it)?
Marc

-- 
View this message in context: http://old.nabble.com/waiting-for-X-server-to-begin-accepting-connections-.-tp33432156p33544704.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-25 14:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 23:17 waiting for X server to begin accepting connections Marc Girod
2012-03-03 11:00 ` Marc Girod
2012-03-03 13:31   ` you online this am? edv
2012-03-03 13:36     ` Marc Girod
2012-03-03 21:49     ` Christopher Faylor
     [not found]   ` <33442319.post@talk.nabble.com>
2012-03-05 12:01     ` waiting for X server to begin accepting connections Marc Girod
2012-03-20 10:26       ` Marc Girod
2012-03-25 14:31         ` Marc Girod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).