From: Simon McVittie Date: Sun, 17 Jan 2021 11:40:01 +0000 Subject: Don't automatically start pipewire for root logins Forwarded: not-needed Closes: #979791 --- src/daemon/systemd/user/pipewire.service.in | 1 + src/daemon/systemd/user/pipewire.socket | 1 + 2 files changed, 2 insertions(+) --- a/src/daemon/systemd/user/pipewire.service.in +++ b/src/daemon/systemd/user/pipewire.service.in @@ -14,6 +14,7 @@ # After=pipewire.socket is not needed, as it is already implicit in the # socket-service relationship, see systemd.socket(5). Requires=pipewire.socket +ConditionUser=!root [Service] LockPersonality=yes --- a/src/daemon/systemd/user/pipewire.socket +++ b/src/daemon/systemd/user/pipewire.socket @@ -1,5 +1,6 @@ [Unit] Description=PipeWire Multimedia System Sockets +ConditionUser=!root [Socket] Priority=6