From owner-freebsd-questions Wed Jan 5 19:20:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tdnet.com.br (guepardo.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 8543C15176 for ; Wed, 5 Jan 2000 19:20:38 -0800 (PST) (envelope-from grios@ddsecurity.com.br) Received: from ddsecurity.com.br [200.236.148.144] by tdnet.com.br with ESMTP (SMTPD32-5.05) id AE4A54200B4; Wed, 05 Jan 2000 23:30:34 -0300 Message-ID: <3873FC02.591A76C6@ddsecurity.com.br> Date: Thu, 06 Jan 2000 00:20:50 -0200 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Isaac Waldron Cc: questions@FreeBSD.ORG Subject: Re: X11 References: <01b901bf57e5$afe968a0$5f72bbd1@camry> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Isaac Waldron wrote: > > > 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 Great! It works, but i would like to use xdm, not startx. I did a similar configuration for xdm, and as you said before, any user can loggin from xdm, without any security. As i have no knownledge about PAM working, i would like some here point me the correct configuration on how to set it up with security. Better yet, point the source of documentation about it (PAM and xdm). Thanks a lot for your time and cooperation. -- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message