
























I logged in to my hyprland setup and I tried to screen share my screen in discord but couldn't, after searching for the problem I tried to do the same in obs and didn't work either so i knew the problem wasn't discord's but something in the system, after searching further more I found this problem with pipewire :
[E][19:29:27.116768] mod.protocol-native | [module-protocol-: 790 lock_socket()] server 0x55584fcdfd00: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][19:29:27.117399] pw.conf | [ conf.c: 607 load_module()] 0x55584fc9e4f0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][19:29:27.120054] default | [ pipewire.c: 124 main()] failed to create context: Resource temporarily unavailable
I tried searching for the solutions but couldn't find something that helped me , the problem is that the sound is still working everything about it is also working the only thing that is not is the screen sharing , my screen don't show up in obs and in discord it won't let me share my screen
please help!!
Edit: I forgot to say that the services of pipewire and wireplumber are running even though I can't diable them or reload them for some unknown reason, it tells me Failed to reload pipewire.service: Unit pipewire.service not found.
Last edited by endless (2026-06-11 20:26:40)
Is this some wayland compositor? Which? Does it work on an X11 session?
i searched further more and I found out that the problem wasn't in pipewire, because originally the broken screen sharing is what I intented and intend to fix,so I'll change the title.
from what I found I have a problem of xdg-desktop-portal not launching due to graphical-session.target not being activated and therefore xdg-desktop-portable-hyprland not launching either.
I also found that the problem could be tied to me launching hyprland from sddm and the services not launching correctly due to that
I didn't search in the internet yet I just asked chatgpt till i found this, if there is a solution you know i am glad to hear it .
edit: I have this two to launch in my startup :
hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE")
hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
Last edited by endless (2026-06-11 20:30:25)
Had the same issue, to fix it either use uwsm to manage the Hyprland session or downgrade xdg-desktop-portal to 1.20.4-1 (for now)
Rikaisan wrote:
to fix it either use uwsm to manage the Hyprland session
No. UWSM is actively discouraged by the project.
Rikaisan wrote:
or downgrade xdg-desktop-portal to 1.20.4-1 (for now)
Definitely no.
Read the links posted in #4 above and create a simple drop-in for xdg-desktop-portal.service.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。