[NTLUG:Discuss] Can't log into desktop, can SSH into box

David Stanaway david at stanaway.net
Fri Nov 30 18:31:14 CST 2007


Sounds like a PAM config issue.

Check what is in /etc/pam.d/gdm and compare to /etc/pam.d/ssh

Also - did you try logging in to the console? I believe that uses 
/etc/pam.d/login

Are you using a different auth scheme than /etc/shadow|/etc/passwd ?

Leroy Tennison wrote:
> Minh Duong wrote:
>>> On Fri, Nov 30, 2007 at 07:37:19AM -0800, Minh Duong
>>> wrote:
>>>> hey guys,
>>>>
>>>> I just created a Fedora 6 box.  I created user
>>>> accounts and set up SSH.  I can ssh into the
>>> machine
>>>> using a reqular account but I can't log onto the
>>>> machine directly.  I can log onto the machine
>>> using my
>>>> root account but I've disabled root for ssh.  Is
>>> there
>>>> a setting I'm missing?
>>>>
>>>> Thanks in advance. 
>>>>
>>>>
>>>
>>> When you attempt to log in to the console, is it
>>> text or X?  Also when the login fails, are any
>>> errors given?
>>>
>>
>> It says:  Authentication failed.  The passwords are
>> correct as I'm able to login via SSH.  Is there log I
>> should be looking at?
>>
>>
>>
>>
>>       ____________________________________________________________________________________
>> Be a better sports nut!  Let your teams follow you 
>> with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>>
> 
> Are you trying to login at a graphical prompt?  If so, do Ctrl-Alt-F1 
> (or F2 or F3...) and try it at a text login (just to simplify things by 
> removing the graphical environment from the picture).  Login at root, cd 
> /var/log, tail messages.  See if that gives you any indication.
> 
> It's a log shot but you might look through dmesg and boot.log for any 
> failures.
> 
> Did you activate SELinux?  If so, disable it and try again.
> 
> We could get more exotic by looking at login.defs or the pam 
> configuration or even nsswitch but, unless you specified something 
> unusual at installation (like using a network service for 
> authentication) it's probably a waste of time.
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list