Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met
Tanu - Thank you for your response. Please note - I have very little experience with pulseaudio and alsa, except as a user. When it comes to the configuration, I'm a complete novice and concluded that I made a mistake somewhere by copying these files. Yes, I copied the file from user library and it does contain the following lines (16 & 17): Requires=pulseaudio.socket ConditionUser=!root Here is a link to the complete pulseaudio.service file: https://susepaste.org/20298491 I gather that the comments preceding those lines hint at the problem I created. For completeness, here is a link to the modified client.conf file: https://susepaste.org/83477827 What do you suggest I do here? Joel 973 736 8306 From: pulseaudio-discuss on behalf of Tanu Kaskinen Sent: Monday, October 11, 2021 6:03 PM To: General PulseAudio Discussion Subject: Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met On Mon, 2021-10-11 at 15:41 -0400, 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 Does /etc/systemd/system/pulseaudio.service contain "ConditionUser=!root"? The systemctl status output looks like it does, but that doesn't make sense in a system service (and the rudd-o page doesn't contain that line, so I don't know why you would have that, unless you copied the user service to the system service, but in your list of modifications you didn't say that you did so). The systemctl output also indicates that pulseaudio.service was triggered by pulseaudio.socket, so check also that (the system version of) pulseaudio.socket doesn't contain "ConditionUser=!root". Again, rudd-o doesn't instruct you to set up a socket activation unit, nor did you mention doin that in your message, so I don't understand why pulseaudio.socket would be involved at all. -- Tanu
Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met
On Mon, 2021-10-11 at 15:41 -0400, 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 Does /etc/systemd/system/pulseaudio.service contain "ConditionUser=!root"? The systemctl status output looks like it does, but that doesn't make sense in a system service (and the rudd-o page doesn't contain that line, so I don't know why you would have that, unless you copied the user service to the system service, but in your list of modifications you didn't say that you did so). The systemctl output also indicates that pulseaudio.service was triggered by pulseaudio.socket, so check also that (the system version of) pulseaudio.socket doesn't contain "ConditionUser=!root". Again, rudd-o doesn't instruct you to set up a socket activation unit, nor did you mention doin that in your message, so I don't understand why pulseaudio.socket would be involved at all. -- Tanu
Re: [pulseaudio-discuss] Force SRC even when sample rates are the same
On Mon, 2021-10-11 at 19:03 +0300, Timur Aydin wrote: > Hello folks, > > Is there a way to force pulse audio to use SRC even when the input and > output sample rates are the same? No. -- Tanu
[pulseaudio-discuss] Start condition failed - ConditionUser=!root not met
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
[pulseaudio-discuss] Force SRC even when sample rates are the same
Hello folks, Is there a way to force pulse audio to use SRC even when the input and output sample rates are the same? -- Timur Aydın TEL: 536 939 65 88