Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 15:41:22 +0100
From:      Henry Vogt <hv@tuebingen.mpg.de>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: x11/gdm: default IPv6 disables IPv4 for xdmcp
Message-ID:  <41720393-5B72-4DDE-9F83-FFC07FF5A65A@tuebingen.mpg.de>
In-Reply-To: <1166297330.21155.9.camel@shumai.marcuscom.com>
References:  <00614590@srv.sem.ipt.ru> <1166295004.21155.8.camel@shumai.marcuscom.com> <48751517@srv.sem.ipt.ru> <1166297330.21155.9.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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=20=20
>>> 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=3D0

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

Best
Henry
- --
Netzwerk- und System Administration am MPI Campus T=FCbingen.
Email: hv@tuebingen.mpg.de
Tel. 07071/601-511



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

iD8DBQFFhVcZiF3PvXvQ0FARArTOAKC2YdtZ+EeNsIgqNXoI5or2sIbd5QCfRx10
V0HuGydBtuMfMsq8mXMYmOA=3D
=3DwDoV
-----END PGP SIGNATURE-----





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41720393-5B72-4DDE-9F83-FFC07FF5A65A>