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

Matt Shirilla mshirilla at micim.com
Mon Nov 10 10:36:11 EST 2003


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 192.168.0.9
Can I use Cygwin to make a XDMCP connection?

>-----Original Message-----
>From: Melson, Paul [mailto:PMelson at sequoianet.com]
>Sent: Monday, November 10, 2003 8:32 AM
>To: Matt Shirilla; linux-user at egr.msu.edu
>Subject: RE: [GLLUG] Questions about Cygwin/XFree86 - ports and SSH
>tunneling
>
>
>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.0.86:6000     192.168.0.9:32776     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32789     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32790     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32794     TIME_WAIT
>192.168.0.86:6000     192.168.0.9:32795     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32796     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32797     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32798     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32799     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32800     ESTABLISHED
>192.168.0.86:6000     192.168.0.9:32805     ESTABLISHED
>192.168.0.86:6000     192.168.0.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