public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Can't open display with PuTTY and xinit 1.3.4-1
@ 2015-01-05 11:32 Laurens Blankers
  2015-01-05 17:31 ` Yaakov Selkowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Laurens Blankers @ 2015-01-05 11:32 UTC (permalink / raw)
  To: cygwin-xfree

When using PuTTY with X11 forwarding enabled X clients are no longer
able to connect to the X server running locally. When reverting back to
1.3.2-1 the problem goes away.

This may be related to the -nolisten tcp which is now the default[1]. If
this is indeed the case it would be create of adding the '-listen' flag
to startxwin could be added to the FAQ. Or another, more secure,
solution would also be appreciated.

[1] https://cygwin.com/ml/cygwin-xfree/2014-12/msg00024.html

Laurens

--
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] 5+ messages in thread
* Re: Can't open display with PuTTY and xinit 1.3.4-1
@ 2015-02-24 16:55 Fj
  2015-02-24 21:00 ` Jon TURNEY
  0 siblings, 1 reply; 5+ messages in thread
From: Fj @ 2015-02-24 16:55 UTC (permalink / raw)
  To: cygwin-xfree

On 2015-01-05 05:31, Laurens Blankers wrote:

> When using PuTTY with X11 forwarding enabled X clients are no longer
able to connect to the X server running locally. When reverting back to
1.3.2-1 the problem goes away.

> This may be related to the -nolisten tcp which is now the default[1]. If
this is indeed the case it would be create of adding the '-listen' flag
to startxwin could be added to the FAQ. Or another, more secure,
solution would also be appreciated.

Hi, I updated Cygwin today and hit the same problem, except even after
I added "-listen tcp" xterm (and gvim) still refused to work
complaining about "No protocol specified" (before was: "Can't open
display").

Putty logs say "Opening X11 forward connection succeeded" (before
"-listen tcp" it was: "Forwarded X11 connection terminated due to
local error"), which seems to indicate that the problem is with the X
server (and the way xterm/gvim communicate with it).

Ssh-ing to the server from Cygwin terminal works and I can even launch
gvim from the Putty's tty by specifying the same DISPLAY the Cygwin
connection provides.

After reverting to some early 2014 version of xinit and xorg (thank
god for Cygwin Time Machine) everything resumed working properly.

(on a side note, I tried to figure out what are the possible "-listen"
options by looking at the xserver code, there are three, "tcp",
"unix", "local". What does "local" mean, couldn't it be loopback
adapter? Where is "_XSERVTransNoListen" function implemented?)

--

Fj.

--
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] 5+ messages in thread

end of thread, other threads:[~2015-02-24 19:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-05 11:32 Can't open display with PuTTY and xinit 1.3.4-1 Laurens Blankers
2015-01-05 17:31 ` Yaakov Selkowitz
2015-01-06  9:12   ` Laurens Blankers
2015-02-24 16:55 Fj
2015-02-24 21:00 ` Jon TURNEY

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).