Some more detail on why exactly the LWN suggestion doesn't work.

First of all, you have to install gcr (and possible gcr4) then check
this:

systemctl --user is-enabled gcr-ssh-agent.socket

If it doesn't say "enabled" you have to enable it:

systemctl --user enable --now gcr-ssh-agent.socket

After this gcr will run on startup, and it will create the agent socket.
But it will not set the environment variable within Xfce. That is why it
does not work.

If you open a terminal in Xfce and run:

export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gcr/ssh

Now the graphical prompts will work correctly in that session. You'll
only see one; after that the key is remembered session-wide - although
to access it in a different terminal you will have to export the socket
path again.

So the question that remains is why doesn't the systemd service set the
environment variable like it is supposed to?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125549

Title:
  ssh agent no longer work a questing upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcr4/+bug/2125549/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to