What version of redhat do you have ? This could possibly be a PAM
problem dealing with authentication.

take at a look at your /etc/pam.d/xserver file and it might read
something like this


        #%PAM-1.0
        auth       sufficient   /lib/security/pam_rootok.so
        auth       required     /lib/security/pam_console.so
        account    required     /lib/security/pam_permit.so
        

change it so it reads..


        #%PAM-1.0
        account    required     /lib/security/pam_permit.so
        auth       required     /lib/security/pam_console.so
        

this should bypass any *Strict* authenication required by pam, as long
as you've got an account.. 


if this doens't work, let me know

> Hi, there:
> I have a question about my X server: when I logon with
> my username and type startx it give the following
> error message:
> Authenticaiton failed _ cannnot connet to X server
> Perhaps you do not have console ownership?
> (after 30 seconds stop):
> giving up.
> cannot Connect to X server(errno=111)
> have no such process (errno=3).
> However, when I logon in with the root, it works.
> Also I have check the files /usr/X11R6/bin/X with the
> mode lrwxrwxrwx and the file /usr/X11R6/bin/xinit with
> the mode: rwxr-xr- and the file
> /usr/X11R6/bin/Xwrapper with the mode -rws--x--x.
> Does anybody know how to fix this problem?
> 
> THanks 
> 
> Nianwei
> 
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to