X11 forwarding with PuTTY

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am having a problem with X11 forwarding and PuTTY. Using the standard
ssh client X11 forwarding works just fine. However, when I try to use
PuTTY, I come up with this error: "X connection to localhost:10.0 broken
(explicit kill or server shutdown)."

This happens with version 0.53-b-2003-10-12-1 (from Debian Unstable) and
the tarball of the CVS I just downloaded and built tonight. This wishlist
item describes the problem perfectly:

The event log from the CVS build of PuTTY reads thusly:

2004-01-13 20:58:12    Requesting X11 forwarding
2004-01-13 20:58:12    X11 forwarding enabled
2004-01-13 20:58:12    Allocated pty
2004-01-13 20:58:12    Started a shell/command
2004-01-13 20:58:20    Forwarded X11 connection terminated

Any help would be appreciated. If this is not the proper place to ask for
help (it seems like it is based upon the PuTTY feedback page) I apologize
for the inconvenience.

James Sumners

Re: X11 forwarding with PuTTY

Quoted text here. Click to load it
Quoted text here. Click to load it

I think that, since Unix PuTTY is still not very widespread at this
time, it might have been a good idea to mention explicitly that you
weren't using the much more common Windows version :-)

Quoted text here. Click to load it

If you're using PuTTY on Linux, it seems to me that the first step
should be to run strace(1) on the PuTTY process and see if you can
see what PuTTY is doing. Ideally, it should be attempting to make a
connection to your X server, but presumably this is failing for some
reason. strace(1) should give some details as to what that reason
Simon Tatham         "Happiness is having a large, warm, loving,

Site Timeline