GNOME Bugzilla – Bug 385451
XDMCP doesn't work with ipv6
Last modified: 2007-08-10 09:43:37 UTC
Please describe the problem: I cannot connect to an another host with XDMCP if the 'server' has an ipv6 address. I have to blacklist the ipv6 module on the server to make it works. The ip shown in an ipv4 one, but according to tcpdump the connection is made in ipv6. In the client logs I get "gdm[9278]: gdm_slave_xioerror_handler : erreur X fatale - Redémarrage de :20" Steps to reproduce: 1. Select XDMCP chooser 2. Select an host with ipv6 enabled (the address shown is an ipv4 one) 3. Enter Login and Password. 4. Try to login. Actual results: GDM restart Expected results: Get my session Does this happen every time? yep, only if the 'server' has an ipv6 address Other information: Distro: Ubuntu feisty, but same problem with previous versions. LP: https://launchpad.net/distros/ubuntu/+source/gdm/+bug/75254
both server and client gdm were compiled without ipv6 support. The negotiation was made in ipv4 and the export display in ipv6. The problem comes from that. If both client and server are compiled with ipv6 support, no problem any more. When connecting to the xdmcp port in v4 the export is made in v4 and if connection to xdmcp port is made in v6, export is made in v6. The only issue that remains is the ip address shown on the chooser, if the connection will be made in v6, the ipv4 address is shown.
Edit: It seems that the client gdm event compiled with ipv6 support always choose to connect iv v4 when server selected in chooser
Note a fix just went into GDM SVN head and 2.16 branch where an assertion was caused when gdm_xdmcp_send_forward_query was called for IPv6, instead of calling the IPv6 function. Might be worth testing to see if GDM from SVN head fixes this problem. Also note bug #164628 might be related. There is a patch in that bug. Could you test and see if that fixes the problem?
Can this be tested with 2.19? If not, I will assume that the many IPv6 fixes we've made since 2.17 have probably fixed this problem.
distribution comment "As I said on the gnome bugzilla compiling both server and client with --enable-ipv6=yes solve the problem." I'm closing the bug