Can't Log In

James Gray james at grayonline.id.au
Mon Mar 20 23:34:25 UTC 2006


On Tue, 21 Mar 2006 07:43 am, Thomas Olsen wrote:
> On Monday den 20. March 2006 21:12, Richard Crawford wrote:
> > I seem to be unable to log in to my Dapper Drake (flight 5) computer. 
> > When I enter my username and password, it hangs for a moment and then
> > takes me back to the login screen.  I get no message telling me that I've
> > entered a wrong login or password, unless I deliberately put in a wrong
> > password.
> >
> > Any thoughts?
>
> Try to check whats in /var/log/Xorg.0.log

Actually login information is stored in "/var/log/auth.log".  The Xorg logs 
are simply pertaining the to X server, not the login manager (xdm/kdm/gdm..).  
The OP needs to find lines like this (successful login on my lappy):

Mar 21 09:47:07 hostname kdm: :0[7998]: (pam_unix) session opened for user 
myuid by (uid=0)

Here are two more.  This first one has a correct user ID but a bad password:
Mar 21 10:22:34 hostname kdm: :1[15733]: (pam_unix) authentication failure; 
logname= uid=0 euid=0 tty=:1 ruser= rhost=  user=myuid

...and this one has a bogus user ID:
Mar 21 10:26:56 hostname kdm: :0[8188]: (pam_unix) check pass; user unknown

The ":0[12345]:" is actually the display number followed by the X server's 
PID, ie:
:DISP_NUM[PID]:

So to generate these log lines, you can see I had two X servers running - one 
to write this e-mail, the other to enter bogus login details ;)  Ordinarily, 
you'd only have the one.

HTH,

James
-- 
Mirrors should reflect a little before throwing back images.
-- Jean Cocteau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060321/4b1cfe30/attachment.sig>


More information about the kubuntu-users mailing list