dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] browser screen cast does not work

Open anikmar opened this issue 6 months ago • 2 comments

Describe the bug

17:08:06 home-fed systemd[3211]: Dependency failed for xdg-desktop-portal.service - Portal service. 17:08:06 home-fed systemd[3211]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.

local fix:

  • add this "exec-once=systemctl --user start --ignore-dependencies xdg-desktop-portal" to ~/.config/hypr/conf/hyprland.conf

Steps to reproduce

  1. open https://telemost.yandex.ru/
  2. push the button "create new meeting"
  3. push the button "demonstration"

Expected behavior

A window for selecting a monitor/application window for demonstration should appear.

Screenshots

No response

Distribution

Other (please specify below)

If Other, specify

Fedora Linux 44

Additional context

  1. Linux 7.0.6-200.fc44.x86_64
  2. Hyprland 0.55.1 (Wayland)
  3. Firefox 150.0.3

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

anikmar avatar May 14 '26 14:05 anikmar

It’s funny that you say this because just yesterday I was tying to set up a proctoring extension in my browser for my online college classes. I had to set it all up on my windows pc so that I could stream my screen. Very invasive process I know. I hope this gets figured out in the future.

kazi-kaz avatar May 14 '26 16:05 kazi-kaz

Ran into this on Arch + Hyprland 0.55.4 too and spent way too long tracking it down tbh

The issue seems to be that Hyprland never activates graphical-session.target so both xdg-desktop-portal.service and xdg-desktop-portal-hyprland.service never start that breaks screencasting everywhere for me meet, discord, OBS

Also One thing to note: fixing only xdg-desktop-portal-hyprland isn't enough I tried that first, but xdg-desktop-portal.service (the D-Bus service apps actually talk to) still failed with the same dependency issue Both needed to be started

@anikmar's --ignore-dependencies workaround works, just include both services:

exec-once = systemctl --user start --ignore-dependencies xdg-desktop-portal-hyprland.service xdg-desktop-portal.service

Tested this on my setup and it fixed the issue on boot with no manual steps afterwards

I originally went down the systemd override route (removing Requisite=/PartOf= from the units) before realizing --ignore-dependencies achieves the same thing with much less hassle

I'm making a pr here for this :p

Vic-41148 avatar Jun 17 '26 10:06 Vic-41148