"Linux @ home -> Cygwin X server @ home" won't work

Brian Dessent brian@dessent.net
Tue May 3 16:04:00 GMT 2005


seya wrote:

> line 4 > tcp  0   1  192.168.11.8:32955       192.168.11.2:x11      SYN_SENT

The fact that it's hung in the SYN_SENT state is a very strong indicator
that something low level is wrong, such as a port being blocked by a
firewall, a server listening on the wrong interface, and so on.

Here is a simple test that you can do that will eliminate all variables
except TCP/IP connectivity.  Install 'nc' (netcat) on both machines.  On
the one that will be running the X11 server (i.e. Cygwin) but without
the X server running, type:

nc -l -p 6000 -e /bin/date

On the other machine type "nc host 6000" where host is the ip address or
hostname of the server machine.

If you get the date spit back out at you, then TCP works okay.  If not,
then you've got a low level networking problem and you need to solve
that first, because no amount of fiddling with X settings will help for
that.

Brian



More information about the Cygwin-xfree mailing list