Operating System - Linux
1835346 Members
2787 Online
110078 Solutions
New Discussion

Re: Setting up XDMCP for ReflectionX

 
SOLVED
Go to solution
Tina Shen
New Member

Setting up XDMCP for ReflectionX

Hello All,

I'm trying to setup XDMCP to connect from my windows box using ReflectionX to my RedHat9 box. I've followed the directions at http://www.ibiblio.org/pub/linux/docs/HOWTO/XDMCP-HOWTO and still cannot get it working. When I try to connect I get either "XDM session declined by host (Maximum number of open sessions from you host reached)" or something to the effect of, "please make sure you have an xdm client running."

I've installed my redhat machine to init5 and I can login directly through a x windows login prompt. Also, from Reflection I can choose from a Broadcast list of who to xdmcp into and my machine shows up. Initially it lists the name, ip, and operating system. After I try to connect to it once, nothing happens. When i pop up the list again, it now says "Server is busy." and that's when I get the too many connections message. Does anyone know what the solution is?

Thanks,
Tina
5 REPLIES 5
Vitaly Karasik_1
Honored Contributor
Solution

Re: Setting up XDMCP for ReflectionX

does RHL9 box has direct/reverse DNS resolution for your windows box?
Tina Shen
New Member

Re: Setting up XDMCP for ReflectionX

Thank you! All i did was add my windows box to my /etc/hosts file and it worked. Of all things.

I suppose to understand the problem more, why can't my linux box resolve other computer names. Does that mean my dns setup is incorrect?

Thanks again,
Tina
Vitaly Karasik_1
Honored Contributor

Re: Setting up XDMCP for ReflectionX

> suppose to understand the problem more, >why can't my linux box resolve other >computer names. Does that mean my dns setup >is incorrect?

probably.

if you windows box hostname is windows and IP=1.2.3.4, run these commands from linux:

1) nslookup windows - you should get 1.2.3.4 as answer

2) nslookup 1.2.3.4 - you should see "windows"

instead of nslookup you can use host or dig utilities.
Tina Shen
New Member

Re: Setting up XDMCP for ReflectionX

My problem was that I didn't have my domain listed after my hostname. instead of frogland.domain i only had frogland under hostname. Once I set that, i could ping from my windows box.
Rick Beldin
HPE Pro

Re: Setting up XDMCP for ReflectionX

If you are using gdm (Gnome) make sure that you edit /etc/X11/gdm/gdm.conf and enable xdm for gdm. gdm by default does not enable xdm transport - only local displays. You'll have to cycle gdm to get it to read the new values - switch to runlevel 3 and back up.

If you are using xdm or some other xdm-inspired variant, you'll need to edit /etc/X11/xdm/xdm-config or equivalent and make sure it is listening on port 177.

lsof -c gdm or xdm should show the display manager listening on port 177 and you should see it with netstat -an | grep 177. If not, you are not configured correctly OR you have a firewall blocking incoming UDP to that port. iptables or ipchains default setup can block this. Take appropriate measures to modify those settings.
Necessary questions: Why? What? How? When?