Subject: Re: x11/gdm strange behavior on NetBSD/i386 and MacOS X
To: None <jdbaker@mylinuxisp.com>
From: Christian Biere <christianbiere@gmx.de>
List: pkgsrc-users
Date: 03/28/2006 23:15:39
--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

jdbaker@mylinuxisp.com wrote:

> Some poking around ultimately showed that, although properly configured, =
gdm
> was not listening on IPv4 port 177, but only on IPv6 port 177.  Looking b=
ack
> in the build-time options, The supported options are "inet6 pam" and inet6
> was selected by default.  When I built it with PKG_OPTIONS.gdm=3D-inet6, =
IPv4
> operation was restored.
=20
> Has anyone else seen anything like this with gdm and NetBSD/i386?

gdm probably creates only an IPv6 socket assuming it would handle
both IPv4 and IPv6 connections. On NetBSD this is not true by default,
you have to use sysctl to enable this:

# sysctl -w net.inet6.ip6.v6only=3D0

You can add this to /etc/sysctl.conf.

[By the way, HTML mail sucks.]
=20
--=20
Christian

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (NetBSD)

iD8DBQFEKad60KQix3oyIMcRAm+JAKCfjK2JR9v9zEkV2HtbbedBVPxY0QCgxqU+
KYdc1muB6lnB0ITzXEizTss=
=ydab
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--