From owner-freebsd-questions Fri Apr 7 11:16:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from praseodumium.btinternet.com (praseodumium.btinternet.com [194.73.73.82]) by hub.freebsd.org (Postfix) with ESMTP id 127C637BE1E for ; Fri, 7 Apr 2000 11:16:28 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [213.1.162.185] (helo=parish.my.domain) by praseodumium.btinternet.com with esmtp (Exim 2.05 #1) id 12ddHF-00071O-00; Fri, 7 Apr 2000 19:14:41 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01152; Fri, 7 Apr 2000 19:15:23 +0100 (BST) (envelope-from mark) Date: Fri, 7 Apr 2000 19:15:23 +0100 From: Mark Ovens To: Rahul Dhesi Cc: freebsd-questions@freebsd.org Subject: Re: Xfree86 : "Authentication failed" error Message-ID: <20000407191522.E238@parish> References: <20000407175608.370EB7CA6@yellow.rahul.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000407175608.370EB7CA6@yellow.rahul.net>; from dhesi@rahul.net on Fri, Apr 07, 2000 at 10:56:08AM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 07, 2000 at 10:56:08AM -0700, Rahul Dhesi wrote: > I am trying to install XFree86 3.3.6 from the FreeBSD ports collection. > The 'make' and 'make install' appears to complete without errors. > But then when I type > > startx > > I get this output on the screen: > > == begin output == > Authentication failed - cannot start X server. > Perhaps you do not have console ownership?_X11TransSocketUNIXConnect: Can't connect: errno = 61 > giving up. > xinit: Connection refused (errno 61): unable to connect to X server > xinit: No such process (errno 3): Server error. > == end output == > > There is about a 30-second pause after "ownership"? appears in the > output above, and then the rest of the text appears, and then I am back > to the shell prompt. > > Since I am invoking 'startx' while logged in as root, there should be no > console ownership problem. But just to be sure, I did already put a > line in /etc/fbtab that looks like this: > > /dev/ttyv0 0600 /dev/console > > (And I did try 'startx' while logged in on ttyv0.) > > Also, I did a web search, and based on that, added the following > line into /etc/pam.conf: > > xserver auth required pam_permit.so > > Also, after a web search, I found that I needed to download a file > called Wraphelp.c. I did so, and I put a copy of that file in the > xc/lib/Xdmcp directory after I did 'make extract' and before I did the > 'make' and 'make install'. > > Are there other steps that I need to take? If anybody knows of a web > page that describes the step-by-step process of getting the Xfree86 port > to work, all in one place, I would apreciate a pointer to it. > > Since I did what many people must be doing, i.e., going into > the x11/Xfree86 directory and typing 'make install', I wonder if > many other people are encountering the same problem. Try building XFree without PAM support (i.e. answering 'NO' to the question about PAM). HTH > -- > Rahul Dhesi (spam-filtered with RSS and ORBS) > See my ORBS faq: > http://www.rahul.net/dhesi/orbs.faq.txt > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Beam me up Scottie, there's no intelligent life down here ________________________________________________________________ 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