[GLLUG] Questions about Cygwin/XFree86 - ports and SSH tunnel ing

Melson, Paul PMelson at sequoianet.com
Mon Nov 10 11:27:10 EST 2003

I'm not sure I follow you.  `XWin -query` makes an XDMCP connection to  If that works across the local network, and is running the OpenSSH daemon, you should be able to tunnel both X11 and XDMCP over the same SSH connection with no trouble.  Try this from a Cygwin shell:

ssh [user]@ -XNf -L 177: && /usr/X11R6/bin/XWin.exe -query

Alternately, if you're connecting to it through a different Linux/BSD firewall that's running OpenSSH, you can set up the port forwarding like this:

ssh [user]@[fw-addr] -Nf -L 177: -R 6000: && /usr/X11R6/bin/XWin.exe -query

The above example assumes that there's no X server listening on port 6000 of the firewall, filtered or otherwise.

Anyway, once you identify which tunneling scenario meets your needs, translating this into a PuTTY config should be straightforward.


-----Original Message-----
I see now that I misunderstand what X11 and XDMCP are.  I was wondering to
myself how I was going to setup putty to tunnel this and the answer is I
won't.  I used the following command in the Cygwin bash shell to make the
connection described in my original post:
	XWin.exe -query
Can I use Cygwin to make a XDMCP connection?

More information about the linux-user mailing list