jurf
(Juraj Fiala)
March 16, 2020, 12:13pm
#1
After the latest upgrade, I’m having trouble logging in with GDM. What happens:
GDM shows login prompt despite auto-login being configured.
Enter correct password → ‘incorrect password’ → ‘error while authenticating’ → jumps back into the main menu.
Enter the correct password, again → continues → black screen → GDM again.
I can start the session via TTY → startx.
Some relevant stuff I found:
https://bugzilla.redhat.com/show_bug.cgi?id=1796544
opened 08:53PM - 27 Apr 19 UTC
Hi,
i have some issues with lightdm and lightlocker. I do not understand which … does whom affect.
Unlocking the desktop with light-locker is buggy. And sometimes lightdm has back traces.
How can i track this down?
see:
https://github.com/the-cavalry/light-locker/issues/139
see
journalctl -p 3 | grep light
Apr 23 20:58:02 lightdm[1629]: gkr-pam: unable to locate daemon control file
Apr 23 21:42:30 lightdm[14577]: gkr-pam: unable to locate daemon control file
Apr 24 12:18:05 lightdm[16857]: gkr-pam: unable to locate daemon control file
Apr 24 12:18:44 lightdm[17024]: gkr-pam: unable to locate daemon control file
Apr 24 12:59:08 lightdm[1726]: gkr-pam: unable to locate daemon control file
Apr 24 13:00:54 systemd-coredump[2004]: Process 1924 (light-locker) of ... 1000 dumped core.
#4 0x000055c8d5e98cb4 n/a (light-locker)
#9 0x000055c8d5e9b4f3 gs_listener_new (light-locker)
#10 0x000055c8d5e97484 n/a (light-locker)
#15 0x000055c8d5e97b03 gs_monitor_new (light-locker)
#16 0x000055c8d5e96339 main (light-locker)
#18 0x000055c8d5e9648e _start (light-locker)
Apr 24 13:14:33 lightdm[1366]: gkr-pam: unable to locate daemon control file
Apr 24 22:36:29 lightdm[1428]: gkr-pam: unable to locate daemon control file
Apr 24 22:36:38 lightdm[1500]: gkr-pam: unable to locate daemon control file
Apr 24 22:38:11 systemd-coredump[1713]: Process 1632 (light-locker) of ... 1000 dumped core.
#4 0x0000562c8001acb4 n/a (light-locker)
#9 0x0000562c8001d4f3 gs_listener_new (light-locker)
#10 0x0000562c80019484 n/a (light-locker)
#15 0x0000562c80019b03 gs_monitor_new (light-locker)
#16 0x0000562c80018339 main (light-locker)
#18 0x0000562c8001848e _start (light-locker)
Apr 26 12:24:28 lightdm[1041]: gkr-pam: unable to locate daemon control file
Apr 26 12:46:57 lightdm[1541]: gkr-pam: unable to locate daemon control file
Apr 26 13:30:13 lightdm[1936]: gkr-pam: unable to locate daemon control file
Apr 27 11:52:15 lightdm[5396]: gkr-pam: unable to locate daemon control file
Apr 27 12:40:44 lightdm[5938]: gkr-pam: unable to locate daemon control file
Apr 27 13:22:02 lightdm[6350]: gkr-pam: unable to locate daemon control file
Apr 27 14:38:29 lightdm[1029]: gkr-pam: unable to locate daemon control file
Apr 27 14:51:35 lightdm[1147]: gkr-pam: unable to locate daemon control file
Apr 27 14:51:43 lightdm[1159]: gkr-pam: unable to locate daemon control file
The bug started happening after rebooting into 31.20200315.0, however booting back into 31.20200311.2 does not work.
Everything works correctly for new accounts. Removing ~/.local/share/gnome-shell
(as per suggestion in the Arch bug) did not help.
jurf
(Juraj Fiala)
March 16, 2020, 5:53pm
#2
Found the culprit. A few days ago I put this into my .bashrc
:
# Use fish as default shell
if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" ]]
then
exec fish
fi
Removing it fixes the problem. I’ll create a bug in gnome-keyring bug created .
Also using fish
, never edited my .bashrc, yet geting the error you mentioned.
1. # .bashrc
* # Source global definitions
2. if [ -f /etc/bashrc ]; then
3. . /etc/bashrc
4. fi
* # User specific environment
5. if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
6. then
7. PATH="$HOME/.local/bin:$HOME/bin:$PATH"
8. fi
9. export PATH
* # Uncomment the following line if you don't like systemctl's auto-paging feature:
10. # export SYSTEMD_PAGER=
* # User specific aliases and functions
11. export PATH="/home/hades/.pyenv/bin:$PATH"
12. eval "$(pyenv init -)"
13. eval "$(pyenv virtualenv-init -)"
vorburger
(Michael Vorburger.ch)
December 23, 2020, 10:31pm
#4
1 Like