Hosts and X0.hosts

Ross Boulet ross@rossb.com
Wed Sep 15 11:39:00 GMT 2004


> 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.




More information about the Cygwin-xfree mailing list