XDMCP connection failed by Wing [1]

XDMCP connection failed

Wednesday, March 6, 2002 8:07 AM - Wing

My question is related article No. 98. Gordon Jones said he tweeked the host to fixed XDMCP connection failed error. I have the same problem and I tried his suggestion and worked. I want to what does the hosts file have to do with XDMCP connection? The client computers on my network are using DHCP configuration. I don't want to update the hosts file veryday. Is there way to work around it?

Many thanks


Re: XDMCP connection failed

Wednesday, March 6, 2002 9:28 PM - Support

The problem might happen due to an incorrect DNS configuration. The DNS has two configuration files, forward and reverse lookup table. The two files have "name-to-ip" and "ip-to-name" entries for each IP address allocated by DHCP. A mismatch in the two-way mapping is the reason why XDMCP connection fails.

You can verify it using "nslookup" utility in Linux. Let's assume that your PC's name is "pcname" and IP address is "192.168.1.10":

# nslookup pcname
# nslookup 192.168.1.10

The result of the two commands above should be matched exactly. If a mismatch is found, you should change the DNS entry that has an incorrect mapping. For RedHat Linux, you can edit the following two files:

/var/named/first-domain.com
/var/named/first-192.168.1

For any other Unix servers, please contact your system administrator.

----
Technical Support


Previous views: 134