x11/gdm: default IPv6 disables IPv4 for xdmcp

Henry Vogt hv at tuebingen.mpg.de
Sun Dec 17 06:41:47 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Am 16.12.2006 um 20:28 schrieb Joe Marcus Clarke:

> On Sat, 2006-12-16 at 22:13 +0300, Boris Samorodov wrote:
>> On Sat, 16 Dec 2006 13:50:04 -0500 Joe Marcus Clarke wrote:
>>> On Fri, 2006-12-15 at 22:30 +0300, Boris Samorodov wrote:
>>
>>>> Way back before gnome-2.14 IPv6 and IPv4 were mutual exclusive.
>>>> Current gdm-2.16.4 behaves the same:
>>>>
>>>> - gdm built with defaults listens only at udp6:
>>>> %netstat -a | grep xdm
>>>> udp6       0      0  *.xdmcp                *.*
>>>>
>>>> - disabling IPv6 helps to listen at udp4.
>>
>>> GDM has been fixed so that if IPv6 support is enabled, IPv4  
>>> support will
>>> still work iff v6 does not at runtime.  So, GDM will attempt to bind
>>
>> OK. As I understand it is so designed that with current defaults
>> (GENERIC kernel, GDM built with default values, etc -- i.e. the
>> recommended testing machine) GDM will not give IPv4 xdmcp access...
>
> Correct.  If you have IPv6 enabled interfaces, then GDM will use IPv6.

There is a syscctl to avoid this: (found by googling around). Put

net.inet6.ip6.v6only=0

into /etc/sysctl.conf and gdm will listen on both v4 and v6.

Best
Henry
- --
Netzwerk- und System Administration am MPI Campus Tübingen.
Email: hv at tuebingen.mpg.de
Tel. 07071/601-511



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFhVcZiF3PvXvQ0FARArTOAKC2YdtZ+EeNsIgqNXoI5or2sIbd5QCfRx10
V0HuGydBtuMfMsq8mXMYmOA=
=wDoV
-----END PGP SIGNATURE-----




More information about the freebsd-gnome mailing list