This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Hosts and X0.hosts
- From: "Ross Boulet" <ross at rossb dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Wed, 15 Sep 2004 06:39:19 -0500
- Subject: RE: Hosts and X0.hosts
- Reply-to: cygwin-xfree at cygwin dot com
> I saw that C:\cygwin\etc\Hosts was a link to the above
> Hosts file.
> Because of the above problem, I replaced the link with the
> real Hosts
> file itself.
> Now I try to create a remote connection from a cygwin/X
> xterm using the
> following procedure:
>
> startxwin.bat
> xterm
> X :2 -query remote_hostname
>
> The system reports and exit the command in the xterm as
> follows.
> "Fatal server error:
> Xserver: -query unknown host: remote_hostname"
>
> b) Doesn't Cygwin/X read this latter Hosts file?
I'm open to correction here, because I don't know the cygwin
internals, but I believe cygwin is relying on the Windows IP
stack for name resolution. Therefore, only the DNS servers
known to Windows and Windows hosts file will be checked for
names.