Re: Unable to screen share with SwayWM using Wayland and Pipewire
Reply #1 –
I followed what was done in this Artix Forum post, https://forum.artixlinux.org/index.php/topic,3205.msg20898.html#msg20898, and changed "Exec=sway" to "Exec=env XDG_CURRENT_DESKTOP=sway dbus-run-session sway" and rebooted.
Now when I run `jitsi-meet-desktop` in the terminal to see the output, I get different output when trying to screenshare:
[3278:0815/231706.815086:ERROR:screen_capture_portal_interface.cc(48)] Failed to request session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
[3278:0815/231706.815110:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3
Error occurred in handler for 'jitsi-screen-sharing-get-sources': Failed to get sources.
[3278:0815/231708.783477:ERROR:screen_capture_portal_interface.cc(48)] Failed to request session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
[3278:0815/231708.783500:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3
Error occurred in handler for 'jitsi-screen-sharing-get-sources': Failed to get sources.
Looks like I'm getting closer. Any ideas or suggestions?