When firejail is enabled system wide in Gnome, you will not be able to share your desktop screen via Firefox.
Solution
This can be fixed by allowing the required DBUS message in Linux.
- Create a local Firejail Firefox configuration file.
touch ~/.config/firejail/firefox.local
- Add the following contents to the firefox.local file:
dbus-user.talk org.freedesktop.portal.Desktop
- Use the following Test Page to verify Screen Capture is allowed.
https://mozilla.github.io/webrtc-landing/gum_test.html
Source:
https://wiki.archlinux.org/title/Screen_capture#Via_the_WebRTC_protocol
https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_sharing
1 Like