You are not logged in.

#1 2011-10-01 23:30:33

kenan
Member
Registered: 2011-09-30
Posts: 29

Gnome 3.2 authentication failed when login

I update all package by pacman -Syu. My arch start gnome as login as default, but gnome cannot list user list.
and click not list? to enter username and password.

but it saied authentication failed. I only has one root acount. it worked when gnome is 3.0. donot know why?

any one meet this?

thanks

---kenan

Offline

#2 2011-10-01 23:32:14

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 3.2 authentication failed when login

that's a good opportunity to stop using root as your default account!


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-10-01 23:34:28

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: Gnome 3.2 authentication failed when login

yes, I will add another user to have a try. wish it can work.

Offline

#4 2011-10-01 23:35:58

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: Gnome 3.2 authentication failed when login

yes, I will add another user to have a try. wish it can work.

Offline

#5 2011-10-01 23:58:47

archix
Member
Registered: 2010-11-11
Posts: 12

Re: Gnome 3.2 authentication failed when login

Wonder is right about not using the root account... BUT... I can confirm the same problem.

After updating to gnome 3.2, gdm responds with "Authentication Failure" no matter what valid account I use to login. I've looked in the /var/log/gdm/:0-greeter log and here's all I get:

(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Calling StartConversation
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=Ready
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received Ready (gdm-password)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Calling BeginVerification
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=DefaultLanguageNameChanged
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=DefaultSessionNameChanged
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received DefaultSessionNameChanged (gnome)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=InfoQuery
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received InfoQuery (gdm-password, Username:)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Calling AnswerQuery
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=SelectedUserChanged
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received SelectedUserChanged (myuser)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=DefaultLanguageNameChanged
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=DefaultSessionNameChanged
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received DefaultSessionNameChanged (gnome)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=SecretInfoQuery
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received SecretInfoQuery (gdm-password, Password: )
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Calling AnswerQuery
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=Problem
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received Problem (gdm-password, Authentication failure)
      JS LOG: error: Authentication failure
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=ConversationStopped
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Received ConversationStopped (gdm-password)
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: Calling Cancel
(gnome-shell:1868): GdmGreeter-DEBUG: GdmGreeterClient: obj_path=/org/gnome/DisplayManager/GreeterServer interface=org.gnome.DisplayManager.GreeterServer method=Reset

I fixed the permissions on /var/lib/gdm/.config/dconf from 755 to 700 (since pacman complained during the update) and I tried removing and reinstalling gdm.

No luck so far... Will keep trying.

Offline

#6 2011-10-01 23:58:50

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: Gnome 3.2 authentication failed when login

thanks, it work now.

but I have another question, how to login gnome with root?

Offline

#7 2011-10-02 00:09:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 3.2 authentication failed when login

@archix define valid accounts. right now gdm accepts only accounts with uid >= 500, configurable via /etc/pam.d/gdm-password

Last edited by wonder (2011-10-02 00:10:16)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-10-02 00:25:25

kenan
Member
Registered: 2011-09-30
Posts: 29

Re: Gnome 3.2 authentication failed when login

wonder wrote:

@archix define valid accounts. right now gdm accepts only accounts with uid >= 500, configurable via /etc/pam.d/gdm-password

thanks a lot for your help. I can login with root now. but another issue happen, when I logout login account or switch user with gnome. the os dead.

I have to reset pc to reboot it.

should this isskue relate to gnome update?

Offline

#9 2011-10-02 01:38:36

archix
Member
Registered: 2010-11-11
Posts: 12

Re: Gnome 3.2 authentication failed when login

wonder wrote:

@archix define valid accounts. right now gdm accepts only accounts with uid >= 500, configurable via /etc/pam.d/gdm-password

Good call, wonder.  The existing logins I was trying had the uids 500 through 502.

It looks like gdm 3.2.0 added the file /etc/pam.d/gdm-password which contains the following line:

auth            sufficient      pam_succeed_if.so uid >= 1000 quiet

I changed it to:

auth            sufficient      pam_succeed_if.so uid >= 500 quiet

and now I can login.

It seems that these days most of the linux distros are using uid >=1000 for user accounts.

My logins own files on a shared NFS server, and it was originally created way back when Redhat 5 was current. (Not RHEL - but Redhat 5 from back in the 90's) RH made user accounts starting at 500 for a long time. My NFS server, of course, now runs Arch - but I am not about to redefine uids and chmod thousands of files.

Anyway, /etc/pam.d/gdm-password was causing my problem, and apparently kenan's problem, too.

Thank you!

@kenan - I suggest you edit the title of this thread to [SOLVED]. I doubt we will be the only people who bang into this issue.

Offline

#10 2011-10-02 18:44:19

davenorth
Member
Registered: 2010-10-25
Posts: 16

Re: Gnome 3.2 authentication failed when login

In my case (using UID 500 with autologin) this was not enough. I also needed to edit /etc/gdm-autologin and make the same change. Would also suggest editing gdm-smartcard and gdm-fingerprint, which also have the lower limit set at 1000.

Offline

#11 2011-10-02 19:48:59

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 3.2 authentication failed when login

what kinda of changes? provide a diff -u between stock and yours


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2011-10-07 23:36:57

merritt
Member
Registered: 2011-10-07
Posts: 1

Re: Gnome 3.2 authentication failed when login

wonder wrote:

@archix define valid accounts. right now gdm accepts only accounts with uid >= 500, configurable via /etc/pam.d/gdm-password

Man, I have the same problem. Upgraded to 3.2 just today and could not log in. My UIDs are in the 500-600 range. Your suggestion helped fix the problem for me:

1. Edit /etc/login.defs to specify that my accounts were _not_ system accounts, adjusting the values of 500-999,1000-60000 to 200-499,500-60000
2. Follow your suggestion to allow logins of lower-valued UIDs.

I do not believe removing the hidden settings directories in my home directory fixed it, but I gave it a shot anyway.

Thanks!

Offline

Board footer

Powered by FluxBB