Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 10:45:46 GMT
From:      Salvo Bartolotta <bartequi@neomedia.it>
To:        Jaime Kikpole <jaime@malkav.snowmoon.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XFree86 port (3.3.6) won't work
Message-ID:  <20000314.10454600@bartequi.ottodomain.org>
References:  <Pine.BSF.4.10.10003132122220.37933-100000@malkav.snowmoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/14/00, 3:29:35 AM, Jaime Kikpole <jaime@malkav.snowmoon.com> wrote
regarding XFree86 port (3.3.6) won't work:


>       I'm running FreeBSD 3.4 (CVSSupped it some time in February).  I=

> tried to upgrade my XFree86 installation by using a pkg_delete command=

> followed by a cd /usr/ports/x11/XFree86 ; make install.  It appears to=

> have installed itself correctly (I can't be certain here) and yet
trying
> to run "startx -- :1" (nothing on :1, a kdm on :0) results in a two
line
> error.  It informs me that I do not own the console and then
terminates.
> In my /var/log/messages file and on the main console I find an error
like
> "Xwrapper: no modules loaded for `xserver' service".

>       Anyone know what I should do to get XFree86 working correctly?


Dear Jaime Kikpole,

you have two choices: compile with PAM (Pluggable Authentication
Modules) or without supporting it.

If you choose to compile X with PAM, you may meet some difficulties.
Under -STABLE (sources as of 5 March 2000) and -CURRENT (sources as of
6 March 2000), I seamlessly run Xfree86-3.3.6 compiled with the
dreaded PAM support.

You should check the following:
0) /etc/ttys: make sure you have turned some console(s) OFF.
1) /etc/pam.conf. Mine, inter alia, contains the lines:
# Don't break startx
xserver         auth    required        pam_permit.so

# XDM is difficult; it fails or moans unless there are modules for
each
# of the four management groups; auth, account, session and password.
xdm     auth    required        pam_unix.so
#xdm    auth    sufficient      pam_kerberosIV.so              =20
try_first_pass
xdm     account required        pam_unix.so                    =20
try_first_pass
xdm     session required        pam_deny.so
xdm     password required       pam_deny.so

[omissis]

I don't use kdm, so I am not sure how to customize pam.conf in your=20
case.

However, *even* if your configuration files are all right (e.g.
because you have remade the world and *properly* used mergemaster(8)),
you may still encounter difficulties. As I have recently posted to
-CURRENT, after making the world for the first time, I couldn't start
X -- authentication problems.

Ok, I remade the world once again (just to be on the safest side with
-CURRENT :-). The problems were still there. Since they did NOT depend
on the configuration files, I did the following:

1) in the XFree86-3.3.6 port directory, "make clean";
2) pkg_delete XFree86-3.3.6;
3) "make";
4) "make install". Of course, you can issue one single command instead
of 3) and 4).

Needless to say, after this, XFree86 works as usual.

You can find all this information and more details, together with
-CURRENT woes, in the mailing lists archives. Please browse them :-)

HTH,
Salvo





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?20000314.10454600>