On 6/22/21 2:20 PM, Bengt Gördén wrote:
On 2021-06-22 20:18, Mark Hounschell wrote:
You can't even run those commands as root. Try it.
# pactl list cards;pactl list sinks Connection failure: Connection refused pa_context_connect() failed: Connection refused Connection failure: Connection refused pa_context_connect() failed: Connection refused
After "su" ing to root: # pactl list cards XDG_RUNTIME_DIR (/run/user/5076) is not owned by us (uid 0), but by uid 5076! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) Connection failure: Connection refused pa_context_connect() failed: Connection refused # pactl list sinks XDG_RUNTIME_DIR (/run/user/5076) is not owned by us (uid 0), but by uid 5076! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) Connection failure: Connection refused pa_context_connect() failed: Connection refused Mark