[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: pam_console in xserver leads to: "user dumas not a console user"



On Mon, May 13, 2002 at 06:53:08PM +0200, Patrice DUMAS - DOCT wrote:
> I have redhat 7.2, pam-0.75-19, XFree86-4.1.0-15. 
> With the following /etc/pam.d/xserver:
> 
> .......................................................
> #%PAM-1.0
> auth       sufficient   /lib/security/pam_rootok.so
> auth       required     /lib/security/pam_console.so debug
> account    required     /lib/security/pam_permit.so
> ........................................................
> I get:
> 
> .......................................................
> Fatal server error:
> PAM authentication failed, cannot start X server.
>         Perhaps you do not have console ownership?
> 
> 
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> Please report problems to xfree86@xfree86.org.
> .......................................................

The error indicates that you don't have the console lock.  Are there
other users logged in at the same time on other VTs?  What are the
contents of /var/run/console.lock before you run 'startx'?

What are the contents of /etc/pam.d/login?  The default as shipped
should include a call to pam_console to obtain the lock if possible:
session    optional     /lib/security/pam_console.so 

HTH,

Nalin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []