Bug 2110 - XFree86- fails to start
XFree86- fails to start
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-04-10 06:06 EDT by Pekka Pietikäinen
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-04-11 17:15:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pekka Pietikäinen 1999-04-10 06:06:23 EDT
When attempting to start XFree86- I get the following
message from Xwrapper

connecting# startx

Authentication failed

(all packages including pam have been upgraded to 5.9.7b)
Comment 1 Pekka Pietikäinen 1999-04-10 06:14:59 EDT
fixed by renaming /etc/pam.d/X to /etc/pamd/x and adding
a /etc/security/console.apps/x
Comment 2 Theodore Tso 1999-04-10 10:04:59 EDT
I ran into this problem as well.  It's caused by Xwrapper looking
for /etc/pam.d/x and not finding it because the file which was
installed is /etc/pam.d/X (note upper csae versus lower case).

A workaround isto install a symlink /etc/pam.d/x -> X
now you will be able to run startx as root, but attempts to run startx
as non-rooto will still file, because apparently pam_console.so isn't
working.  (I will file a separate bug report for that.)  Workaround
for this problem is to insert a line in /etc/pam.d/X which reads:

auth sufficient /lib/security/pam_permit.so
Comment 3 Theodore Tso 1999-04-10 10:24:59 EDT
See bug #2114 for more info about the pam_console problem
Comment 4 Pekka Pietikäinen 1999-04-10 10:35:59 EDT
Actually touch /etc/security/console.apps/x makes it work
even for normal users. If I understood correctly, everything
pam_console handles needs to have an entry in that directory.
Comment 5 Michael K. Johnson 1999-04-11 17:15:59 EDT
Fixed in -41 -- -40 was only meant for our internal testing of
this new functionality.  "xserver" is the new service name.  I
simply forgot that PAM lowercased everything and forgot to add
the console.perms file.

Note You need to log in before you can comment on or make changes to this bug.