You are not logged in.
Hi,
I was looking for a way to get ssh-agent autostarting on my system using KDE from the official repository.
On the ssh-keys wiki page I stumbled upon envoy which sounds promising concerning kwallet passphrase storage.
I followed the steps on the wiki and have setup the socket, my shell's rc file (zsh) and the two sh scripts for KDE autostart some time ago.
But everytime I open up konsole I get the following output:
envoy: failed to fetch agent: Connection refused
envoy: failed to fetch agent: Connection refused
slaecker@slaecklap ~ %
I searched around on google and the forums but couldn't find something to push me in the right direction.
Is anybody here using envoy and may have some hints for me?
If not I'd also appreciate alternatives. Besides envoy I tried this before to autostart ssh-agent when logging in to KDE but it also didn't work / nothing happened after KDM login.
Thanks in advance,
slaecker
Offline
Just right now I had exactly the same problem. Guess why ... no one mentioned that one actually has to start the envoy socket service when it is not running .. weird huh ?
sudo systemctl start envoy@ssh-agent.socket
Last edited by Spharx (2014-06-07 20:31:44)
Offline
It's mentioned in the Wiki entry
After installing it, set up the envoy socket with
# systemctl enable envoy@ssh-agent.socket
And I have it enabled ...
% systemctl status envoy@ssh-agent.socket
● envoy@ssh-agent.socket
Loaded: loaded (/usr/lib/systemd/system/envoy@.socket; enabled)
Active: inactive (dead)
Listen: @/vodik/envoy (Stream)
... but I still get the error message ... weird.
journalctl says the following:
systemd: Stopping system-envoy.slice.
systemd: Removed slice system-envoy.slice.
systemd: Starting system-envoy.slice.
systemd: Created slice system-envoy.slice.
systemd: Unit envoy@ssh-agent.service entered failed state.
systemd: Starting envoy@sockets.socket.
systemd: Listening on envoy@sockets.socket.
envoyd: envoyd: failed to bind: Address already in use
envoyd: envoyd: unknown agent: sockets
systemd: envoy@sockets.service: main process exited, code=exited, status=1/FAILURE
systemd: Unit envoy@sockets.service entered failed state.
systemd: envoy@sockets.service: main process exited, code=exited, status=1/FAILURE
systemd: Unit envoy@sockets.service entered failed state.
systemd: envoy@sockets.service: main process exited, code=exited, status=1/FAILURE
systemd: Unit envoy@sockets.service entered failed state.
systemd: Unit envoy@sockets.service entered failed state.
envoyd: envoyd: unknown agent: sockets
envoyd: envoyd: unknown agent: sockets
envoyd: envoyd: unknown agent: sockets
systemd: envoy@sockets.service: main process exited, code=exited, status=1/FAILURE
systemd: Unit envoy@sockets.service entered failed state.
systemd: envoy@sockets.service start request repeated too quickly, refusing to start.
systemd: Unit envoy@sockets.socket entered failed state.
envoyd: envoyd: unknown agent: sockets
Offline