Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Apr 2000 10:56:08 -0700 (PDT)
From:      dhesi@rahul.net (Rahul Dhesi)
To:        freebsd-questions@freebsd.org
Subject:   Xfree86 : "Authentication failed" error
Message-ID:  <20000407175608.370EB7CA6@yellow.rahul.net>
References:  <freebsd-questions.007f01bfa093$58326e80$d1fa26c3@nugis.SOMEWHERE>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 
Rahul Dhesi <dhesi@email.rahul.net> (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




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