On Thu, 28 Jul 2022 14:51:04 -0300 Chris Mitchell <[email protected]> wrote:
> > On Thu 28 Jul 2022 at 10:35:07 (-0400), Greg Wooledge wrote: > > > Given the order of the processes shown in your session-8, it looks > > > like it might be an XFCE thing. Maybe start there? I can't help > > > you with that, though. > > Fair enough. Thanks for your insight up to this point! Found it! It was indeed very much "an XFCE thing". It's even a documented behaviour, if you know where to look: https://docs.xfce.org/xfce/xfce4-session/advanced#ssh_and_gpg_agents After creating the two xfconf entries per that page: xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled \ -n -t bool -s false xfconf-query -c xfce4-session -p /startup/gpg-agent/enabled \ -n -t bool -s false …and logging out and in again, no more rogue ssh-agent: $ pgrep -a ssh-agent 2903 /usr/bin/ssh-agent -D -a /run/user/1000/ssh-agent.socket $ systemctl --user status ssh-agent.service ● ssh-agent.service - SSH key agent Loaded: loaded (/etc/xdg/systemd/user/ssh-agent.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-07-28 15:15:13 ADT; 14min ago Main PID: 2903 (ssh-agent) Tasks: 1 (limit: 9302) Memory: 560.0K CPU: 5ms CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/ssh-agent.service └─2903 /usr/bin/ssh-agent -D -a /run/user/1000/ssh-agent.socket Victory! Thanks again to everybody who offered pointers. And I've added another entry in the list of "helpful" automatic stuff to disable when configuring a new desktop system. I'm starting to seriously consider that I might be happier with just a decent window manager after all. Cheers! -Chris

