Bug 6695

Summary: Possible problem with pam_ldap/pam and X..
Product: [Retired] Red Hat Linux Reporter: Michael Maher <mike>
Component: pam_ldapAssignee: Preston Brown <pbrown>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-24 21:06:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Maher 1999-11-03 22:23:05 UTC
It's going to be hard for me to recreate this problem,
but I currently have a system that will not start X as a
user, but will as root.

the message receieved is:

  Authentication failed cannot start Xserver
  Perhaps you did not have Console ownership.

I've checked everything I can think of to solve this
problem.  Various strace's show that it is trying to
authenticate...

BEfore you ask.. pam-68-8 and updates from the 6.1 errata
are all installed.  Latestest 6.1 Xserver stuff is
installed.  Perhaps this is an ldap problem.

- checked permission on /dev/console
- checked /etc/security/console.apps
- checked to see that /etc/pam.d/xserver was properly setup.
- checked to make sure that the ldap.conf file is working
   properly.  Other machines are working ok with this setup.

This machine was working properly, but then crashed while
using staroffice.  After that it stopped starting X for
users.  I have removed every .Xauth, /tmp/{*,.*} and so
forth that I could find.  Nothing relevant is in any log
files.

Comment 1 Johan Walles 1999-11-30 13:44:59 UTC
You solve this problem by adding the following line...

session    optional	/lib/security/pam_console.so

... to the end of /etc/pam.d/login (which I suppose you have copied from
/usr/doc/pam_ldap-36/pam.d/login).

  Cheers //Johan