From owner-freebsd-questions Wed Jan 5 17:36: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.lr.net (ns1.lr.net [205.219.188.10]) by hub.freebsd.org (Postfix) with ESMTP id 61AC515507 for ; Wed, 5 Jan 2000 17:36:00 -0800 (PST) (envelope-from waldroni@lr.net) Received: from camry ([209.187.114.95]) by ns1.lr.net (Netscape Mail Server v1.1) with SMTP id AAA5145; Wed, 5 Jan 2000 20:31:20 -0400 Message-ID: <01b901bf57e5$afe968a0$5f72bbd1@camry> Reply-To: "Isaac Waldron" From: "Isaac Waldron" To: "Gustavo Rios" , References: Subject: Re: X11 Date: Wed, 5 Jan 2000 20:30:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi folks! > i am trying to get X working but all i get is trouble, when i type startx > into the console i have this: > > etosha# startx > > Authentication failed - cannot start X server. > Perhaps you do not have console ownership?^Cxinit: unexpected signal 2 > > /var/log/messages show me this: > Jan 5 22:49:19 etosha Xwrapper: no modules loaded for `xserver' service > > > I am running X 3.3.5! May you help me with this ? > My uname -a output is: > > FreeBSD etosha 3.4-STABLE FreeBSD 3.4-STABLE #0: Wed Jan 5 13:43:01 EDT > 2000 root@etosha:/usr/src/sys/compile/ETOSHA i386 > I had this problem after I upgraded to XFree86 3.3.5 as well. It stems from the use of "plugable authentication modules." Basically, there seems to be a movement to take authentication code (usernames and passwords) out of individual programs and put it into a separate module that is used for every program requiring authentication. What you need to do (or at least what I did), is add lines to /etc/pam.conf that read: xserver auth required pam_permit.so xserver account required pam_permit.so This should allow you to say: % startx and have X work. However, this allows the xserver service to run with no authentication. The pam_permit.so module (I believe, correct me if I am wrong) simply authenticates the program without checking anything out (like a password or whatever). So, since this is just xserver, it should pose major problems, but be warned. Isaac Waldron waldroni@lr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message