I'm running several boxes on Gentoo. I just didn't get xdmcp working, thou I
proceeded all the steps I can think of.
I am trying to get kdm's remote login to work using xdmcp. I have set
In /usr/kde/3.3/share/config/kdm/Xaccess, I have
* #any host can get a login window
* CHOOSER BROADCAST #any indirect host can get a chooser
I've tried to connect 3 ways using xdmcp.
(1) Using kdm remote login:
When I ask for a remote login in kdm, I get a nice chooser window with a
list of computers. But when I try to select one, X restarts TWICE and
brings me back to my local kdm login. I also get this error in
Fatal server error:
XDMCP fatal error: Session declined No valid address
Why doesn't it work the ordinary way???
(2) direct query from command line:
If I run
X -query foo
I get a remote kdm login windows on another computer (foo). I can login and
everything works perfectly.
(3) indirect query from command line -> remote computer
If I run
X -indirect foo
I get a chooser which I think is being provided by computer foo. When I
select a computer from the list, X restarts ONCE, and then I get a nice
login window on whichever computer I want. I can login and everything
(4) indirect query from command line -> local computer
If I run
X -indirect localhost
I also get a chooser. Selecting foo although simply gets me no connection neither
errors. Just starring at the awful grey background from the X server that dosn't do
even less than nothing.
So it seems that there is something wrong with the way that kdm is
envoked, and that whatever is causing the problem is local.
I don't know where to start looking for the error.
I suspect some IPv6 related bug. I'm not sure if kdm integrated the IPv6 support
patches that went into XFree86 4.4 / Xorg R6.7.
To help debugging, ethereal has some nice xdmcp protocol decoders. I've found
it really useful to understand some problems with xdm.
This sounds like a KDM bug, not an X bug. Report it with the KDE developers if
it hasn't already been reported there.