LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2003, 04:07 PM   #1
Final
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Angry Pam authentification failed, cannot start x Server


Ok here my problem, for some reasons I cannot start my Xserver with any user except root?..My system is new and light anyway here is the error message




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.

I tryed to copy to .X files of my root folder to my user's home directory. I did change the owner of these files...
but still nothing works


Some people told me to look for garbage in /etc/pam.d/login
but I havent found anything as I told you earlier my os is recent

Im running a Red hat 7.3
Intel p3 800
512 megs of ram...

Help would be appreciated
 
Old 11-19-2003, 09:43 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Could you post your /etc/pam.d/xserver file?
 
Old 11-20-2003, 08:47 PM   #3
Final
LQ Newbie
 
Registered: May 2003
Posts: 4

Original Poster
Rep: Reputation: 0
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
auth required /lib/security/pam_console.so
account required /lib/security/pam_permit.so
 
Old 11-21-2003, 06:11 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I found the solution here:
https://listman.redhat.com/archives/.../msg00069.html

touch /var/lock/console/USERNAME
(you do this as root and with your non-root username as USERNAME)
 
Old 11-21-2003, 08:26 PM   #5
Final
LQ Newbie
 
Registered: May 2003
Posts: 4

Original Poster
Rep: Reputation: 0
unfortunatlu it did not work...im still getting the same error message
here is what ive done

touch /var/lock/console/sim

sim is the user im trying to start my x server with
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start X server gwalk Linux - Newbie 3 11-21-2005 04:10 PM
Witch authentification server? logo Linux - Security 3 04-28-2005 11:37 AM
CUPS authentification failed Jajamd Linux - Software 0 08-05-2004 05:20 AM
Redhat 9 X-server PAM Auth. Failed billmannion Linux - Newbie 0 02-18-2004 04:37 PM
server for authentification abd_bela Linux - Networking 1 09-03-2003 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration