Bug 1218

Summary: Fatal server error: XDMCP fatal error: Session declined No valid address
Product: xorg Reporter: Thomas Bettler <thomas.bettler>
Component: App/xdmAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high CC: matthieu.herrb
Version: 6.7.0   
Hardware: Other   
OS: Linux (All)   
URL: http://bugs.kde.org/show_bug.cgi?id=88285
Whiteboard:
i915 platform: i915 features:

Description Thomas Bettler 2004-08-28 01:19:01 UTC
Hi  
  
 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  
 [Xdmcp]  
 enable=true  
 on /usr/kde/3.3/share/config/kdm/kdmrc.    
 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  
 /var/log/kdm.log  
  
 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  
 works perfectly.  
  
 (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.
Comment 1 Matthieu Herrb 2004-08-29 14:06:11 UTC
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. 
Comment 2 Chris Lee 2005-09-14 03:54:09 UTC
This sounds like a KDM bug, not an X bug. Report it with the KDE developers if
it hasn't already been reported there.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.