From owner-freebsd-questions Sun Mar 5 8:21:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dervish.mail.pipex.net (dervish.mail.pipex.net [158.43.192.70]) by hub.freebsd.org (Postfix) with SMTP id 66BE137BA57 for ; Sun, 5 Mar 2000 08:21:50 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 15216 invoked from network); 5 Mar 2000 16:21:48 -0000 Received: from userca65.uk.uudial.com (HELO parish.my.domain) (62.188.150.133) by smtp.dial.pipex.com with SMTP; 5 Mar 2000 16:21:48 -0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id QAA00444 for questions@freebsd.org; Sun, 5 Mar 2000 16:21:58 GMT (envelope-from mark) Date: Sun, 5 Mar 2000 16:21:58 +0000 From: Mark Ovens To: questions@freebsd.org Subject: 4.0, startx, and PAM problems Message-ID: <20000305162158.A388@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since u/g 3.4-STABLE -> 4.0 I can't start X: parish:/usr/marko{54}% startx Mar 5 16:15:30 parish Xwrapper: unable to dlopen(/usr/lib/pam_unix.so) Mar 5 16:15:30 parish Xwrapper: [dlerror: /usr/lib/libutil.so.3: Undefined symb ol "freeaddrinfo"] Mar 5 16:15:30 parish Xwrapper: adding faulty module: /usr/lib/pam_unix.so Authentication failed - cannot start X server. Perhaps you do not have console ownership?_X11TransSocketUNIXConnect: Can't conn ect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. parish:/usr/marko{55}% A message posted 25th Feb about the same problem got this reply: Basically, PAM was built without a crypt library linked in. When new is built with PAM support, it tries to access crypt in PAM. Then, it blows up. Build without PAM, or cvsup latest sources for the patch. It was mentioned in the mailing lists I think back in December? but I cvsup'd the source at 10:00 GMT yesterday (4th March). The other option in the poster gave was to re-build the world withou PAM support, but that seems rather excessive. Does anuyone know of any other solution? Thanks. -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -Poster at LinuxWorld 2000 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message