On Wed, Jul 27, 2022 at 09:08:59AM -0300, Chris Mitchell wrote: > On Tue, 26 Jul 2022 21:54:18 +0200 > Erwan David <er...@rail.eu.org> wrote: > > > ssh-agent is usually started by your session manager. I do not know > > wether all DE use this, but you can find it in > > > > /etc/X11/Xsession.d/90x11-common_ssh-agent > > True. The snippet in that file is nested in a conditional, though: > if has_option use-ssh-agent; then > … > > If I'm not mistaken, disabling "use_ssh_agent" in > /etc/X11/Xsession.options causes that conditional to fail, so > /etc/X11/Xsession.d/90x11-common_ssh-agent will do nothing.
That all sounds correct, and matches up with your earlier message stating that ssh-agent is a direct child of systemd PID 1. It's not being started by Xsession. We really need to see the systemd diagnostics that have been requested by multiple people, now.