When I ssh to my media server, I get a bunch of unrequested processes started up:
/usr/lib/systemd/systemd --user /usr/bin/dbus-broker-launch --scope user dbus-broker /usr/bin/pulseaudio --daemonize=no --log-target=journal Surely you'd only want pulseaudio and dbus if you're starting a GUI session.
I can kill systemd and those processes also die - it doesn't seem to hurt anything in my ssh session.
Whats worse, is that these processes don't die when I log out.
How do I stop this?
I can do
systemctl --user disable pulseaudio.service dbus-broker.service ... but I would need these if I do a GUI login (eg on the monitor or in a headless sway session).
I would have thought that SYSADMINS around the world would be seizing their pitchforks and marching on Castle Systemd in anger at spurious processes being created by simple ssh logins - and worse still, leaving them running when logged out.
This is on fedora-33