You are not logged in.

#1 2006-04-03 22:28:31

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Can't login through GDM 2.14? [Solved]

Hi All

I just updated to gnome 2.14.   I logged out and logged back in and everything went smoothly.  I logged out again to change my gdm theme using the "configure gdm" option.  Once I selected the dropdown dialog box to choose "themed" greeter,  is was shuttle back to the normal login screen.   I then logged in as root and launched the gdm configure program from a shell.  When I selected to choose a "themed" greeter,  the program generated a segmentation fault.

Next, I decided to reboot.  Gdm came up fine.  When I try to log in it seems as though X shuts down because the screen goes black and I can see a little console cursor, ie "_".  I am then shuttle back to the normal login screen.   

Does anyone have any thoughts as to what I can look for?

Thanks
Kevin

Offline

#2 2006-04-03 23:17:35

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: Can't login through GDM 2.14? [Solved]

OK,  I looked in the log and noticed this stuff:

Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:11 delos gdmgreeter[28379]: Could not access configuration key <greeter/PreFetchProgram=>
Apr  3 17:51:11 delos gdmgreeter[28379]: Using compiled in value <> for <greeter/PreFetchProgram=>
Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:11 delos gdmgreeter[28379]:   Version check failed, bad version
Apr  3 17:51:23 delos gdm[1946]: Master rebooting...
Apr  3 17:53:57 delos gdm[1882]: gdm_auth_user_add: Could not open cookie file /home/kellwood/.Xauthority
Apr  3 17:53:57 delos gdm[1824]: gdm_cleanup_children: child 1882 crashed of signal 6
Apr  3 17:53:57 delos gdm[1824]: gdm_cleanup_children: Slave crashed, killing its children

Does this give more of a clue?

Also, I removed and reinstalled gdm from run level 3 just in case installing it while in gnome caused an issue.  I still have the same issue.

Thanks
Kev

Offline

#3 2006-04-03 23:30:36

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: Can't login through GDM 2.14? [Solved]

Yet one more clue.  I created a new user and I was able to login without any issues.  I guess one option would be to totally wipe out the gnome configuration from my account.  Not that big of deal for me but my wife might not be too happy.

Offline

#4 2006-04-03 23:36:15

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Can't login through GDM 2.14? [Solved]

I'm not a gnome user but ... I wonder if you have a hidden config file in your home directory that is incompatible with the new gnome and that is causing the problem.

Just an idea.

Offline

#5 2006-04-03 23:43:39

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: Can't login through GDM 2.14? [Solved]

That could be.  I did notice that mine and my wifes accounts have .Xauthory but they are empty.  The new test account has .Xauthory with some "stuff" in it.

I will try to google this a bit more.

Thanks
Kev

Offline

#6 2006-04-03 23:46:13

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Can't login through GDM 2.14? [Solved]

If the test account works you may want to copy the contents of the test account into your .xauthority and see if it "makes it work".
Worst case scenario ... it wont work ... so you can only win in this case.

Offline

#7 2006-04-03 23:49:43

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Can't login through GDM 2.14? [Solved]

I have had this problem a few times, dont know what causes it, but just deleting .Xauthority seems to fix it.

Offline

#8 2006-04-04 00:28:24

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: Can't login through GDM 2.14? [Solved]

Ok, I tried copying .Xauthority from the working test account and that didn't work.  I also deleted my .Xauthority and that didn't work.

Finally, I created yet another new account and checked that there was no .Xauthority.  I logged in with gdm without issue.  I don't understand why gdm needs .Xauthority in my account and it doesn't need one on the newer test account.  There must be something set somewhere that tells gdm that I need Xauthority while other user don't. Hmm.  More google.

Offline

#9 2006-04-04 00:38:46

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Can't login through GDM 2.14? [Solved]

Well ... what if you log in as root, delete your account and then re-create it again.
When an account is created a new UID is created and perhaps your current account settings are read by gnome based in the UID therefore the problem persists.
The new accounts have no problem, so re-creating the account may solve the issue.

Offline

#10 2006-04-04 05:42:53

miguelmmg
Member
Registered: 2006-03-15
Posts: 4

Re: Can't login through GDM 2.14? [Solved]

GDM (gdmgreeter, gdmlogin) runs as user nobody and tries to read .Xauthority in user's home directory. If home dir has 700 permissions then error ocurres. I workaround it using chmod 755 to my wife's account and mine and now login works, but... this is bad... sad I don't remember if previous versions of gdm ran as nobody.

Offline

#11 2006-04-04 07:23:24

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Can't login through GDM 2.14? [Solved]

This will probably not fix ur problem iKevin, but no harm in trying it

pacman -Rn gdm
pacman -S gdm

Just a little reset to ur GDM

Offline

#12 2006-04-04 11:51:10

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: Can't login through GDM 2.14? [Solved]

Thanks for all who replied. miguelmmg figured it out.  I had similar permissions on the two accounts that didn't work.  Changing them to be like the new test accounts worked fine.

Kev

Offline

#13 2006-05-08 16:30:33

schmoemi
Member
From: Gersthofen, BY, Germany
Registered: 2004-10-17
Posts: 51
Website

Re: Can't login through GDM 2.14? [Solved]

miguelmmg wrote:

GDM (gdmgreeter, gdmlogin) runs as user nobody and tries to read .Xauthority in user's home directory. If home dir has 700 permissions then error ocurres. I workaround it using chmod 755 to my wife's account and mine and now login works, but... this is bad... sad I don't remember if previous versions of gdm ran as nobody.

I have the same problem with the new gdm 2.14.3 package. gdm tries to read ~/.Xauthority, but lacks permissions. If I chmod 644 or something like that, login is possible.
But the weird things are:
* when I'm logged in and the gnome-session is running, .Xauthority has gone.
* .Xauthority is completely empty.. nothing.. niente.. nada...
* .Xauthority is also not present before the first login
Because .Xauthority always vanishes or is not present on bootup, now I always have to chmod after the first try to login on gdm..  :shock:  :?  :shock:


The time when Microsoft starts making something that doesn't suck will be when they start making vacuum cleaners.

Offline

Board footer

Powered by FluxBB