Hi.

I've made a note on the blog post you cited, saying that `ConditionUser=!root` should not be added.

The point of the system service *is* after all to be started by root.

On 11/10/2021 21.41, Joel Miller wrote:
OS: openSuSE Leap 15.3; KDE plasma desktop

To enable a system instance of pulseaudio, I made the following file modifications suggested on the freedesktop.org (https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/) and rudd-o websites (https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users):

Per freedesktop.org:
    set autospawn = no in /etc/pulse/client.conf
    added "root" and "jm" to pulse-access

Per rudd-o:
    in /etc/systemd/system/pulseaudio.service, modified text for [service] and [Install] (see rudd-o)
    used systemctl to enable, start, and check the status of pulseaudio

The status request yields the following:

linux-6:/etc/systemd/system # systemctl --system status pulseaudio.service
● pulseaudio.service - Sound Service
     Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: disabled)
     Active: inactive (dead)
TriggeredBy: ● pulseaudio.socket
  Condition: start condition failed at Wed 2021-10-06 12:16:38 EDT; 4s ago
             └─ ConditionUser=!root was not met

* * *

Your suggestions and advice are welcome.

Joel
973 736 8306


--
Rudd-O
    https://rudd-o.com/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to