Re: Start condition failed - ConditionUser=!root not met

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

 



Tanu -

Thank you.  I made the changes you suggested (removed pulseaudio.socket from two locations where I found the file: /etc/systemd/system/and /etc/systemd/system/sockets.targets.wants.  In the file pulseaudio.service, I commented out the lines "Requires=pulseaudio.socket"; "ConditionUser=!root" and "Also=pulseaudio.socket".  Please note that there also two occurrences of this file: /etc/systemd/system/and /etc/systemd/system/multi-user.targets.wants. Perhaps the second occurrences are system-generated.

I then had sound from the web browser!  VLC was still providing sound as before (but I gather not using pulsesaudio).  After logging out then logging back in (not rebooting), there was no web browser sound and a new error:  Failed to load module "module-x11-publish".  This also occurred after rebooting and booting from a cold start. After the reboot, a further error arose: Error opening PCM device front:0: Device or resource busy.  Also, the /var/run/.pulse cookie does exist.  The systemctl status reports in full are at https://susepaste.org/99540079 .  I'm unable to determine what I did to cause these errors.

Joel

973 736 8306


From: pulseaudio-discuss <pulseaudio-discuss-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Tanu Kaskinen <tanuk@xxxxxx>
Sent: Tuesday, October 12, 2021 5:16 AM
To: General PulseAudio Discussion <pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met
 
On Mon, 2021-10-11 at 22:19 +0000, Joel wrote:
> 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?

You don't need pulseaudio.socket if you're starting pulseaudio at boot,
so remove that file and from pulseaudio.service remove the
"Requires=pulseaudio.socket" and "Also=pulseaudio.socket" lines. Also
remove the "ConditionUser=!root" line.

-- Tanu


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux