You are not logged in.

#1 2020-03-31 18:07:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,001
Website

gnome-keyring-daemon hangs after logout and log back in [kinda solved]

If I logout of my xfce4 desktop (lxdm greeter), then log back in, periodically, gnome-keyring-daemon hangs when I attempt to ssh into another box.  I see a CPU spike on 1 core until I reboot.  The hung PID belongs to /usr/bin/gnome-keyring-daemon --daemonize --login.

I can kill it and restart it manually from an xterm but the new one also just hangs.

When it is in this hung state, I am unable to ssh which also just hangs.  Launching a browser like chromium takes 20-30 sec and webpages prompt me to authenticate.

I am not seeing anything in the output of journalctl to indicate a problem.  Here I logged out and logged back in around 13:39:
Grepping for it in journalctl:

Mar 31 07:38:33 ease kernel: Initialise system trusted keyrings
Mar 31 07:48:04 ease lxdm-session[1038]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Mar 31 07:50:21 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 07:50:21 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 08:14:40 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 08:14:40 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 09:58:11 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 09:58:11 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:00:09 ease dbus-daemon[1099]: [session uid=1000 pid=1099] Activating service name='org.gnome.keyring.SystemPrompter' requested by ':1.70' (uid=1000 pid=20232 comm="pinentry-gnome3 --display :0.0 ")
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: bus acquired: org.gnome.keyring.SystemPrompter
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: bus acquired: org.gnome.keyring.PrivatePrompter
Mar 31 10:00:09 ease dbus-daemon[1099]: [session uid=1000 pid=1099] Successfully activated service 'org.gnome.keyring.SystemPrompter'
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: acquired name: org.gnome.keyring.SystemPrompter
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: received BeginPrompting call from callback /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: preparing a prompt for callback /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: calling the PromptReady method on /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: acquired name: org.gnome.keyring.PrivatePrompter
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: returned from the PromptReady method on /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: received PerformPrompt call from callback /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p0@:1.70
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: calling the PromptDone method on /org/gnome/keyring/Prompt/p0@:1.70, and ignoring reply
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: received BeginPrompting call from callback /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: preparing a prompt for callback /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: calling the PromptReady method on /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:09 ease gcr-prompter[20237]: Gcr: returned from the PromptReady method on /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:10 ease gcr-prompter[20237]: Gcr: received PerformPrompt call from callback /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:10 ease gcr-prompter[20237]: Gcr: starting password prompt for callback /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: completed password prompt for callback :1.73@/org/gnome/keyring/Prompt/p1
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: calling the PromptReady method on /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: returned from the PromptReady method on /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: received PerformPrompt call from callback /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p1@:1.73
Mar 31 10:00:12 ease gcr-prompter[20237]: Gcr: calling the PromptDone method on /org/gnome/keyring/Prompt/p1@:1.73, and ignoring reply
Mar 31 10:32:05 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:32:05 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:55:17 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:55:17 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:56:14 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 10:56:14 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 11:19:30 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 11:19:30 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 13:00:10 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 13:00:10 ease gnome-keyring-daemon[1059]: asked to register item /org/freedesktop/secrets/collection/login/137, but it's already registered
Mar 31 13:39:57 ease lxdm-session[57045]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring

Last edited by graysky (2020-06-30 10:23:34)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2020-06-30 10:23:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,001
Website

Re: gnome-keyring-daemon hangs after logout and log back in [kinda solved]

It seems that lxdm is to blame.  When I replaced it with sddm, I can log out and back in without this happening.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB