Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Git certainly does not work anymore, has to do with gnome-keyring-daemon? (Read 521 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Git certainly does not work anymore, has to do with gnome-keyring-daemon?

Hello,
I normally always commit/push my project-files via a Jetbrains-IDE and there, vererything works. But when I tried to do it manually with git, I first got the error that I need libsecret. From there I installed gnome-keyring (I followed the arch-wiki). Now I sometimes get this warning when I start my zsh-terminal:
Quote
** Message: 21:29:35.549: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
And when I execute
Code: [Select]
git push ...
I get this error:
Quote
** (process:2599): CRITICAL **: 21:23:04.431: store failed: Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached
I really don't know how to solve this error.

I have this in my .zshenv:
Code: [Select]
if [ -n "${DESKTOP_SESSION}" ]; then
    eval $(gnome-keyring-daemon --start)
    export SSH_AUTH_SOCK
fi
And this in my /etc/pam.d/login:
Code: [Select]
#%PAM-1.0

auth       required     pam_securetty.so
auth       requisite    pam_nologin.so
auth       include      system-local-login
auth    optional     pam_gnome_keyring.so
account    include      system-local-login
session    include      system-local-login
session    optional     pam_gnome_keyring.so auto_start

Thanks for your time!