How make X runs on NIS+ linux box ?

Bob Edwards Robert.Edwards at
Thu Aug 29 08:09:15 EST 2002

Mauricio Brigato wrote:
> I have Solaris 8 server (NIS+ root master) and
> clients with Red Hat 7.3 and 7.2.
> If I try to run X I get that message:
> "Can't authenticate to PAM"
> Then cut off the PAM, recompiled the X
> and the error message was gone away.
> But, I still can't run X.
> Anyone has any clue?
> Thanx in advance.

You definitely do not need to re-compile X on a RH7.2 or 7.3 (or any other
distro that I have played with, such as Debian etc.) in order to use it
with NIS+.

When does the "Can't authenticate to PAM" message appear? During XDM is
my guess.

Can you log in on a command line and then run "startx" to get an X session
going (preferably using your original RedHat supplied X server)?

Have you modified your /etc/pam.d/system-auth file as posted on this
list many times?

Here is my current one, just in case it might help:

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        sufficient    /lib/security/ set_secrpc
auth        sufficient    /lib/security/ likeauth nullok md5 shadow
auth        required      /lib/security/
account     sufficient    /lib/security/ set_secrpc
account     sufficient    /lib/security/
account     required      /lib/security/
password    required      /lib/security/ retry=3
password    sufficient    /lib/security/ set_secrpc
password    sufficient    /lib/security/ nullok use_authtok md5
password    required      /lib/security/
session     required      /lib/security/
session     required      /lib/security/


Bob Edwards.

More information about the linux-nisplus mailing list