Date: Thu, 06 Jan 2000 00:20:50 -0200 From: Gustavo V G C Rios <grios@ddsecurity.com.br> To: Isaac Waldron <waldroni@lr.net> Cc: questions@FreeBSD.ORG Subject: Re: X11 Message-ID: <3873FC02.591A76C6@ddsecurity.com.br> References: <Pine.BSF.4.10.10001052246340.61332-100000@vitoria.ddsecurity.com.br> <01b901bf57e5$afe968a0$5f72bbd1@camry>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3873FC02.591A76C6>