I've been looking online for resources that may help me, but I haven't
found
anything that worked. I'm trying to run x as a non-root user. Any
suggestions?
I get the messages:
Fatal server error:
PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Here is what I've tried:
1) chmod 777 /dev/console
2) /etc/pam.d/xserver looks like:
auth sufficient pam_rootok.so
auth required pam_console.so
account required pam_permit.so
auth required /lib/security/pam_console.so
auth required /lib/security/pam_permit.so
account required /lib/security/pam_permit.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20050929/6d69bdf9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3022 bytes
Desc: not available
URL:
<http://lists.centos.org/pipermail/centos/attachments/20050929/6d69bdf9/attachment.bin>
On Thu, 2005-09-29 at 11:46 -0500, Todd Reed wrote:> I?ve been looking online for resources that may help me, but I haven?t > found anything that worked. I?m trying to run x as a non-root user. > Any suggestions? > > > > I get the messages: > > > > Fatal server error: > > PAM authentication failed, cannot start X server. > > Perhaps you do not have console ownership? > > > > > > Please consult the The X.Org Foundation support > > at http://wiki.X.Org > > for help. > > > > Here is what I?ve tried: > > 1) chmod 777 /dev/console > > > > 2) /etc/pam.d/xserver looks like: > > auth sufficient pam_rootok.so > > auth required pam_console.so > > account required pam_permit.so > > auth required /lib/security/pam_console.so > > auth required /lib/security/pam_permit.so > > account required /lib/security/pam_permit.so > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosThat happens when you log in as root then "su" to the user you are trying to startx with. Just create a user with useradd. Then give him a password with passwd, exit the console then log in with that user and run startx.