Hello all,
I am using sway which I launch from a TTY (no gdm). Screen sharing via firefox works if I open a terminal and run `/usr/libexec/xdg-desktop-portal --replace` in it (xdg-desktop-portal-wlr is used for that).
However, if I let systemd launch xdg-desktop-portal, screencasting does not work:
Thanks in advance
I am using sway which I launch from a TTY (no gdm). Screen sharing via firefox works if I open a terminal and run `/usr/libexec/xdg-desktop-portal --replace` in it (xdg-desktop-portal-wlr is used for that).
However, if I let systemd launch xdg-desktop-portal, screencasting does not work:
I suspect this has something to do with me not using graphical-session.target, but I cannot figure it out exactly. My workaround (launching in a terminal) is OK, but I would like to learn and understand…> journalctl --user -u xdg-desktop-portal -f
déc. 11 10:58:04 tour-nicoco-infernale xdg-desktop-por[9975]: A backend call failed: No such interface 'org.freedesktop.impl.portal.ScreenCast' at object path '/org/freedesktop/portal/desktop'
déc. 11 10:58:04 tour-nicoco-infernale xdg-desktop-por[9975]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_165/webrtc_session1430862925'
Thanks in advance
Statistics: Posted by nicoco — 2024-12-11 10:01 — Replies 1 — Views 41