This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, 4 May 2005, seya wrote:

> > Hm. Firewall issue? Or general network problems?
> After "xeyes&" is issued at line 2 it takes while till I get the error
> message, " Error: Can't open display: 192.168.11.2:0.0" with "xhost +" on
> the Cygwin server side. I see the same behavior with "xhost -". It tells me
> Cygwin X server is not really listing the request from X client.
> 
> Do you have any idea why this is happening?

Maybe the xserver is not listening on the local network interface but only 
on the vpn interface

netstat -an | grep 6000 should give a line 
  TCP    0.0.0.0:6000           0.0.0.0:0              ABHREN

The important part is the 0.0.0.0:6000 which means accepting connections on all
interfaces. Anyway, even if this is not the case the client should die early
with a connection refused message. 

Can you somehow trace the traffic on the local network?

tcpdump "port 6000" on linux should print useful traces of network traffic

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]