You are not logged in.

#1 2021-10-21 15:47:27

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

pipewire and allowing multiple users to share a PulseAudio daemon

Given that the pulseaudio package conflicts with the pipewire-pulse package and there is no /etc/pulse/default.pa file in the pipewire package how do I go about accomplishing Allowing multiple users to share a PulseAudio daemon as detailed here https://wiki.archlinux.org/title/PulseA … dio_daemon?

Do I just bruteforce copy default.pa from pulseaudio and modify it as required or is the missing /etc/pulse/default.pa file considered a bug in pipewire-pulse, security issues notwithstanding?

Offline

#2 2021-10-21 16:52:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,331

Re: pipewire and allowing multiple users to share a PulseAudio daemon

The pipewire-pulse server implementation is not entirely a drop in replacement  and you can't use all pulse functionalities. So trying to directly copy a default.pa somewhere won't help you, pipewire-pulse doesn't parse it.

In the case you should be able to replicate this with the relevant pipewire functionalities:

https://gitlab.freedesktop.org/pipewire … figuration
https://gitlab.freedesktop.org/pipewire … otocol-tcp

Offline

#3 2022-06-16 18:13:59

fedon
Member
From: Prague
Registered: 2022-06-16
Posts: 1

Re: pipewire and allowing multiple users to share a PulseAudio daemon

Fortunately pactl still works. I use session autostart to allow all local users to access audio with following command:
pactl load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
But one can use whatever line he put in default.pa.

Last edited by fedon (2022-06-16 18:19:25)

Offline

Board footer

Powered by FluxBB