Xmanager Forum

RH Linux XDMCP problems

Last post: Monday, January 28, 2002 5:58 PM by Support, 8 reply

Saturday, January 19, 2002 4:27 AM - Lew

RH Linux XDMCP problems

I'm having problems with RH 7.1/7.2. After configuring the config files as instructed in the FAQ, I still cannot successfully connect to any of the 3 hosts I have.
-Linux hosts are not listed in the broadcast chooser
-When manually connect, I get the grey screen with hourglass

2 of the 3 Linux hosts are dhcp, and one static. DNS on the static host is correctly configured. I do have both Gnome and KDE installed on all 3 (is this a problem?)

I'm stuck now and lost...
Saturday, January 19, 2002 4:54 AM - Kay

Re: RH Linux XDMCP problems

At first, you need to find out which xdm you are using by:

$ ps -aux | grep dm

This command will show you the xdm process running on your Linux.

After that, you should configure appropriate files.
If it's difficult, please upload all related configuration files.

Saturday, January 19, 2002 5:32 AM - Lew

Re: Re: RH Linux XDMCP problems

it shows '/usr/bin/kdm -nod'
i noticed that the file '/etc/X11/xdm/kdmrc' did not have the Enable line as noted in the FAQ.
Saturday, January 19, 2002 5:47 AM - Lew

Re: Re: Re: RH Linux XDMCP problems

Also I should note that I been unable to get it working running Gnome as well. Is there a way to verify xdmcp is correctly configured and broadcasting?
Saturday, January 19, 2002 2:23 PM - Support

Please give us kdm configuration files

The following files are used by kdm:


And also let us know about:

- Your Windows PC and Linux are all in the same network?
- Linux server was installed with a firewall package?
Monday, January 21, 2002 7:56 AM - Lew

Re: Please give us kdm configuration files

I believe this to be a problem with the way the network is configured. Do the Linux hosts and PC client 'both' need to be registered in DNS? My machines are set to DHCP. Solaris and HPUX hosts are showing correctly, but none of the Linux. I made sure to turn off firewalls. I won't be able to ul config files until tuesday when i'm back at work.
Is there a quick way to check if the xdmcp is really broadcasting?
Monday, January 21, 2002 5:52 PM - Support

Re: Re: Please give us kdm configuration files

Your PC doesn't need to be registered in DNS but a misconfiguration might results in an error condition.

You can look at the log messages generated by kdm.

- /var/log/kdm.log # for KDE 2.2 or later
- /var/log/xdm-errors

And also please give us the result of the following commands for firewall settings. Please run it as root user:

# /sbin/ipchains -L -n
# /sbin/iptables -L -n

One of the above commands will work in your Linux.

Looking forward to your reply.

- Technical Support
Wednesday, January 23, 2002 3:35 AM - Lew

Re: Re: Re: Please give us kdm configuration files

I don't have any error logs from KDE. Attached is my kde Here's what I got when I ran ipchains and iptables:
[root@sb-iso8 /sbin]# ./ipchains -L -n
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
[root@sb-iso8 /sbin]# ./iptables -L -n
Note: /etc/modules.conf is more recent than /lib/modules/2.4.2-2/modules.dep
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.2-2/kernel/net/ipv4/netfi
lter/ip_tables.o failed
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.1a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[root@sb-iso8 /sbin]#
Attachment xdm-config ()  
Monday, January 28, 2002 5:58 PM - Support

Please upload kdmrc file

You can find it using the following command:

# slocate kdmrc

The kdmrc file enables or disables XDMCP service.

- Technical Support