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: Hosts and X0.hosts


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



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