[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd-user and ssh



On Fri, Aug 01, 2025 at 09:08:17AM +1000, Russell Coker wrote:
> Below is part of the output of needrestart on a server I run.

Please describe in your own words what you think you see.

>                                                                A login manager 
> probably doesn't need audio access, I don't recall hearing sddm make sounds 
> but it could be needed in different configurations.

You've never heard blind people working on technology?  Sound is a large
part of accessibility.

>                                                      The other accounts are 
> all accessed via ssh for text mode stuff.

In that output I see several users running dbus and pipewire. Those both
are per-user and not per-session services.  Both are not restricted to
graphical stuff.

>                                            Should we have systemd work 
> differntly in this regard?

systemd just does what you or the software tells it to do, aka you are
barking up the wrong tree here.

You can disable pipewire for all users:
rm /etc/systemd/user/default.target.wants/pipewire*

Maybe the pipewire services could be switched to socket activation, but
I don't see much to gain here.

Bastian

-- 
War is never imperative.
		-- McCoy, "Balance of Terror", stardate 1709.2


Reply to: