You are not logged in.

#1 2020-10-04 11:53:29

bjo
Member
Registered: 2011-09-10
Posts: 83

[SOLVED] Gnome Keyring Daemon SSH_AUTH_SOCK issues

Hi,

after switching from XFCE to MATE the export of the SSH_AUTH_SOCK variable from gnome-keyring is gone on one of my systems. Usually it is created by

/usr/bin/gnome-keyring-daemon --start --components=ssh

which should be run automatically by /etc/xdg/autostart/gnome-keyring-ssh.desktop (according to the Startup configuration of MATE, the autostart of that file is enabled).

Running it manually

/usr/bin/gnome-keyring-daemon --start --components=ssh 
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh

works and

/usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh

is also spawned. In MATE terminal within a zsh shell (which is the default shell for my user), no matter if "command as login shell" is enabled.
Unfortunately .xession-errors also shows nothing regarding gnome-keyring-daemon, but it seems it isn't very verbosive in general.

Edit:
Searching around mate-session showed that it uses ~/.config/autostart and some other directories, but not /etc/xdg/autostart. gnome-keyring-ssh.desktop was missing there, the other gnome-keyring desktop files existed. Now it works!

Last edited by bjo (2020-10-04 17:26:50)

Offline

Board footer

Powered by FluxBB