mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3891] How to allow firefox (or any sandbox) to access the pulseaudio process? #2441
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ibhagwan on GitHub (Jan 13, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3891
Perhaps more of a usage / understanding issue rather than a bug.
Running latest firejail version 0.9.64 on Void Linux and I get no sound using Firefox, I believe it's due to firefox unable to access PulseAudio (v14.0.3).
My pulse audio is started by running
start-pulseaudio-x11within my~/.xprofile.I looked into all past issues regarding PulseAudio and different apps and tried many different suggestions, the latest "no sound in Zoom" issue suggested that pulse isn't running inside the sandbox and here is where I got confused as it seems that running
firejail sh -c "ps -ef"returns only the process of the shell - so how does firefox (or any other app for that matter) access pulse or any other process?I tried many different troubleshooting steps I found in other issues:
--noprofile--nopulseauto--allusers--no-blacklistswitchesfirecfg --fix-soundenable-memfd = yesto my~/.config/pulse/client.conf(even though it's the pulse default anyway...)private-etcline containingpulsein/etc/firejail/firefox-common.profileNone of the above resulted in sound within firefox.
The below is my attempt to communicate with the pulse daemon using the
pacmdfrom within a firejail:Does anyone know what I got wrong or how to allow the sandbox access to an already existing pulse audio daemon?
@ibhagwan commented on GitHub (Jan 14, 2021):
Solved by running pulseaudio as a service with
--system.