mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.66k stars 379 forks source link

Pulseaudio cookie not present with pulseaudio mode 'socket' #507

Open calliecameron opened 1 year ago

calliecameron commented 1 year ago

In mode 'socket', PULSE_COOKIE is set, but the cookie file is never copied to the corresponding location in share. pactl info gives access denied, and sound doesn't work. The cookie is only copied in TCP mode, which as far as I can see doesn't use the cookie.

If I manually copy ~/.config/pulse/cookie to the right location while in socket mode, sound starts working.

mviereck commented 7 months ago

Thank you for the report and finding the issue behind. It should be fixed now.

However, my current system (Debian bookworm) also uses pipewire. This causes another issue with pulseaudio socket mode. #527 So, the cookie is shared now, but I cannot check if it works on a clean pulseaudio system without pipewire.