x11/gdm: default IPv6 disables IPv4 for xdmcp

Boris Samorodov bsam at ipt.ru
Sat Dec 16 12:19:24 PST 2006


On Sat, 16 Dec 2006 14:28:50 -0500 Joe Marcus Clarke wrote:
> 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.

Got it, thanks.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-gnome mailing list