Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2004 23:19:16 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Hr. Daniel Mikkelsen" <daniel@copyleft.no>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: GDM problems, ipv6?
Message-ID:  <1081653555.39137.28.camel@shumai.marcuscom.com>
In-Reply-To: <20040410213905.J86478-100000@unity.copyleft.no>
References:  <20040410213905.J86478-100000@unity.copyleft.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Xu1fFmQ+Jfkdiqc9YpPx
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2004-04-10 at 15:50, Hr. Daniel Mikkelsen wrote:
> Hi.
>=20
> I'm having problems getting gdm to work after upgrading to FreeBSD 5.2.1 =
and
> GNOME 2.6. I want to run gdm XDMCP and connect from other machines. This =
has
> been working well for me with GNOME 2.2 and 2.4.
>=20
> I've copied over the factory-gdm.conf and enabled xdmcp there.
>=20
> Starting gdm with debugging on, I can see in /var/log/messages that it is
> indeed listening for XDMCP connections:
>=20
>   gdm[1010]: XDMCP: Start up on host reverence.in.copyleft.no, port 177
>   gdm[1010]: Accepting XDMCP connections...
>=20
> However, when I try to connect from other machines, nothing appears in th=
e log.
> Regular xdm works, so there's nothing wrong with the other machines.
>=20
> Snooping around some more, I found that "netstat -a -p udp" gives me:
>=20
>   udp6	0	0	*.xdmcp		*.*
>=20
> Whereas on a similar server, running kdm, I get:
>=20
>   udp4	0	0	*.xdmcp		*.*
>=20
> Running tcpdump, I find that the other machines are trying to connect to =
the
> gdm server at port 177, but getting no response. The kdm based server res=
ponds
> correctly.
>=20
> To me, it appears gdm only listens for ipv6 connections. I don't know how=
 to go
> about turning this off.
>=20
> Do you guys have any suggestions?

It looks like the new IPv6 code in 2.6.0 overrides the IPv4 code.=20
Instead of being either/or, it's one or the other with IPv6 being
preferred if supported.  Therefore, if you have IPv6 in your kernel,
IPv6 support will be chosen, and only IPv6 support will be used.

I changed the port to add a knob for enabling IPv6 support, and set IPv4
to be the default.  If you upgrade to 2.6.0.0_2, you should be okay.

Joe

>=20
> I haven't joined this list, so please cc replies to me.
>=20
> Thanks!
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-Xu1fFmQ+Jfkdiqc9YpPx
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAeLkzb2iPiv4Uz4cRAjMBAJ43Kd1kVbkjS9ahTZH21C+GzZ7cjQCdGSq2
vlQmYKCzuG+xU66K2RPoVFY=
=Zrc6
-----END PGP SIGNATURE-----

--=-Xu1fFmQ+Jfkdiqc9YpPx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1081653555.39137.28.camel>