You are not logged in.
I have tried many many solutions on the internet but none of them work.
I am running Sway, with xdg-desktop-portal installed as well as various implementations of it. However by testing screen sharing on https://mozilla.github.io/webrtc-landing/gum_test.html, window and screen selection does not work. And journalctl outputs errors as can be seen below. Any ideas? I will be thankful for any suggestions
wayland 1.23.1-1
sway 1:1.10.1-2
xdg-desktop-portal 1.20.0-1
xdg-desktop-portal-gtk 1.15.2-1
xdg-desktop-portal-kde 6.3.3-1
xdg-desktop-portal-wlr 0.7.1-1
bemenu-wayland 0.6.23-1Mar 15 20:12:58 wispy-laptop xdg-desktop-por[9732]: A backend call failed: No such interface 'org.freedesktop.impl.portal.ScreenCast' at object path '/org/freedesktop/portal/desktop'
Mar 15 20:12:58 wispy-laptop sway[9160]: [9154:9154:0315/201258.759778:ERROR:screen_capture_portal_interface.cc(78)] Failed to request the session subscription.
Mar 15 20:12:58 wispy-laptop xdg-desktop-por[9732]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_197/webrtc_session124866084'
Mar 15 20:12:58 wispy-laptop sway[9160]: [9154:9154:0315/201258.760281:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3I have also tried KDE on Wayland, and gUM test failed on it as well.
Last edited by Wispy (2025-03-15 17:31:20)
Offline
Must be related to something else on your system. Just tested the site you linked with Firefox on KDE Plasma Wayland and screen sharing worked fine here, both in screen and in window mode.
Offline
Sure, but what could it be?
Offline
I believe you need pipewire as well.
Offline
Hey, thanks for the reply, but I already have pipewire
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stThis hinges on the (used) portal implementation, there's an initial problem for sure.
Also the used browser will matter - and whether it's running as native wayland client or via xwayland.
Online
the same issue for me xdg-desktop-portal can't find any interface, no file chooser dialogue, nothing works from any app, happened after gnome 48 update
Mar 25 09:53:56 max-laptop xdg-desktop-por[5068]: Backend call failed: No such interface “org.freedesktop.impl.portal.FileChooser” on object at path /org/freedesktop/portal/desktop
Mar 25 09:54:45 max-laptop xdg-desktop-por[5068]: A backend call failed: No such interface “org.freedesktop.impl.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
Mar 25 09:54:45 max-laptop xdg-desktop-por[5068]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_96/webrtc_session177874067”
Mar 25 09:54:47 max-laptop xdg-desktop-por[5068]: A backend call failed: No such interface “org.freedesktop.impl.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
Mar 25 09:54:47 max-laptop xdg-desktop-por[5068]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_96/webrtc_session1071054924”Last edited by ksim (2025-03-25 09:57:35)
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stThis hinges on the (used) portal implementation, there's an initial problem for sure.
Also the used browser will matter - and whether it's running as native wayland client or via xwayland.
Thanks for the response, Seth.
Here's the boot journal: http://0x0.st/8eqp.txt
I noticed it choose kde for Screencast for some reason but I don't think it should be a problem?
Mar 27 10:36:27 wispy-laptop xdg-desktop-por[792]: Choosing kde.portal for org.freedesktop.impl.portal.ScreenCast via the deprecated UseIn keyOffline
It ends up using the kde portal implementation, but you want xdg-desktop-portal-wlr
printenvand nudge it towards wlr, https://wiki.archlinux.org/title/XDG_De … figuration
Online