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: Portable Cygwin works, but XWin fails


On Wed, 10 Dec 2003 fergus@bonhard.uklinux.net wrote:

> PS: Entirely unrelated question. When I start XWin from a conventional HD
> full installation of Cygwin, on a broadband 24-hour internet-connected
> machine, it evidently accesses the web. (I know this, because when Norton is
> up and running, I can tell that XWin specifically asks permission to do so.)
> Why does it do this? As far as I can tell, if I pull the broadband plug,
> Cygwin and XWin still work ...)
>
It doesn't really access "the web".

Your display variable is set to localhost:0.0.  localhost is 127.0.0.1,
ie. a TCP/IP address.  Thus, X11 uses TCP/IP for loopback communications.

Even if you set your display variable to just :0.0, ie. use a local
AF_UNIX socket (which -nolisten local defeats), it would still use TCP/IP
because this is how Cygwin emulates local AF_UNIX sockets.

Secondly, I think there is one piece of code that tries to look up your
hostname via DNS.  That may actually breifly access "the web" depending
on your DNS configuration.

HTH

BTW, both of these questions that I answered for you are in the recent (<
3 month old) list archives.  Please try searching them and google before
posting.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


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