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

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


For what it's worth, TCP/6000 is the standard X11 protocol.  Usually there is at least one connection per process thread to the display (e.g. there should be one connection per xterm if you only have xterm windows open).  XDMCP (X display manager control protocol) is actually TCP/177, which is important to know if you need to tunnel both via SSH.

There's a good example of setting up Putty for remote port forwarding here:

http://www.silvertree.org/smtp_tunnel.htm

The example is for POP3, IMAP, and SMTP, but should be easily applicable to XDMCP.  For X11, just check the box further up on the 'Tunnels' dialog page and enter the display where your local X server is listening.  Good luck!

PaulM


-----Original Message-----
I created a XDMCP session between my W2K and Linux computers.  Here are the
results of a netstat on my Windows box.
192.168.80.86:6000     192.168.80.9:32776     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32789     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32790     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32794     TIME_WAIT
192.168.80.86:6000     192.168.80.9:32795     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32796     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32797     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32798     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32799     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32800     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32805     ESTABLISHED
192.168.80.86:6000     192.168.80.9:32808     ESTABLISHED

Why so many connections?

I would like to use Putty to tunnel the XDMCP session.  Is there a good
guide for this?





More information about the linux-user mailing list