[CentOS] Error running startx as non-root user

Thu Sep 29 16:46:01 UTC 2005
Todd Reed <treed at astate.edu>

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-0003.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-0003.bin>