gdm fail to retype password or username

Issues related to applications and software problems
Post Reply
pkking
Posts: 9
Joined: 2014/11/14 02:15:34

gdm fail to retype password or username

Post by pkking » 2014/11/14 02:27:57

Hi, everyone
One problem with gdm was: i must type my username twice after i input a bad password in gdm lockscreen
The steps i fellow:
1. come to gdm lockscreen
2. type root in username filed
3. type a bad password
4. push ESC to return lockscreen
5. retype root in 'not list?' pressed
6. the gdm input filed stay gray and a few minutes it return to lockscreen again

Then i switch to tty2 and check the /var/log/secure and journalctl -xn:

[root@localhost ~]# journalctl -xn
-- Logs begin at Fri 2014-11-14 09:35:24 CST, end at Fri 2014-11-14 10:31:27 CST. --
Nov 14 10:31:25 localhost.localdomain gnome-session[1761]: JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/gdm/util.js"'
Nov 14 10:31:25 localhost.localdomain gnome-session[1761]: JS ERROR: !!! lineNumber = '405'
Nov 14 10:31:25 localhost.localdomain gnome-session[1761]: JS ERROR: !!! stack = '"0 anonymous("result" = [object GObject_Object], "obj" = [ob
Nov 14 10:31:25 localhost.localdomain gnome-session[1761]: "'
Nov 14 10:31:25 localhost.localdomain gdm-password][5810]: pam_unix(gdm-password:auth): conversation failed
Nov 14 10:31:25 localhost.localdomain gdm-password][5810]: pam_unix(gdm-password:auth): auth could not identify password for [root]
Nov 14 10:31:25 localhost.localdomain gdm-password][5810]: pam_succeed_if(gdm-password:auth): requirement "uid >= 1000" not met by user "root"
Nov 14 10:31:25 localhost.localdomain gdm-password][5810]: gkr-pam: no password is available for user
Nov 14 10:31:27 localhost.localdomain run-parts(/etc/cron.daily)[6240]: finished man-db.cron
Nov 14 10:31:27 localhost.localdomain run-parts(/etc/cron.daily)[6242]: starting mlocate

[root@localhost ~]# cat /var/log/secure
Nov 14 10:30:53 localhost gdm-password]: pam_unix(gdm-password:auth): authentication failure; logname=(unknown) uid=0 euid=0 tty=:0 ruser= rhost= user=root
Nov 14 10:30:53 localhost gdm-password]: pam_succeed_if(gdm-password:auth): requirement "uid >= 1000" not met by user "root"
Nov 14 10:31:25 localhost gdm-password]: pam_unix(gdm-password:auth): conversation failed
Nov 14 10:31:25 localhost gdm-password]: pam_unix(gdm-password:auth): auth could not identify password for [root]
Nov 14 10:31:25 localhost gdm-password]: pam_succeed_if(gdm-password:auth): requirement "uid >= 1000" not met by user "root"
Nov 14 10:31:25 localhost gdm-password]: gkr-pam: no password is available for user

Anyone has any ideas?

Thanks already!

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: gdm fail to retype password or username

Post by lightman47 » 2014/11/14 11:54:58

Part of the issue is that you are trying to login to the GUI as root and Pam is set to not allow that - hence those messages about ">= 1000". Root's ID = '0'. Try logging in as a normal user, then using "su" or "sudo" to do any root work you need to do.

There are ways around this but aren't advisable. While I haven't tried it in CentOS 7, on other systems I am able to login in text mode as root, then run "startx". I rarely do it - I got tired of re-installing my system because of stupid accidents ... like an accidental drag/drop of subfolders of /etc . I didn't know which one until the crash, then didn't know where it got dropped. I won't say how many times I had to wipe/install, but it's been years now. ;)

pkking
Posts: 9
Joined: 2014/11/14 02:15:34

Re: gdm fail to retype password or username

Post by pkking » 2014/11/19 01:38:35

Hi @lightman47 :

The problem seem to be a gnome-shell bug, i would recently reported it and commit a patch.

Anyway, ur adivce about root account is appreciated, thx a lot. ;)

Post Reply