Summary: | ssh-agent systemd service not working under wayland | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | kskot <288pat0tem> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | nate, plasma-bugs-null |
Priority: | NOR | Keywords: | wayland-only |
Version First Reported In: | 5.22.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=380311 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ssh-agent_process_tree |
Description
kskot
2021-06-08 21:49:04 UTC
Works fine for me on Fedora 34 with a git master Plasma Wayland session when starting an ssh-agent via the following autostart script: #!/bin/sh eval "$(ssh-agent)" ssh-add -q < /dev/null How are you doing it? That is exactly the point. I should not have to start the ssh-agent manually. It should be started automatically without a script created by a user. This is how it works with X11. "xinit handles launching ssh-agent for plasma" - https://bugzilla.redhat.com/show_bug.cgi?id=1761817 Heh I had no idea that you could do it in any other way. According to https://src.fedoraproject.org/rpms/openssh/c/5f230a4, the service is called "ssh-agent". What does `systemctl status ssh-agent` say? Created attachment 139325 [details]
ssh-agent_process_tree
The ssh-agent systemd service is not present on my system (not on X11 and not on wayland). I use KDE neon. I only added the redhat links as potential solution for the problem. The attached screenshot shows that ssh-agent is started by startplasma-x11 on my system, the same is not true on wayland: startplasma-wayland does not start ssh-agent. Hmm, it kind of seems to me like this is something that should be done at the distro level or even the openssh level. Otherwise we're unilaterally creating a systemd service for something that's not ours. It would conflict with what Fedora's doing, and would conflict with what the openSSH people would do should it be doe at that level. |