惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
博客园 - 司徒正美
V
Visual Studio Blog
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
D
Docker
Vercel News
Vercel News
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
爱范儿
爱范儿
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
Screen sharing not working / Multimedia and Games
tekstryder · 2026-06-12 · via Arch Linux Forums

#1 2026-06-11 18:32:40

endless
Member
Registered: 2025-09-06
Posts: 27

Screen sharing not working

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)

#2 2026-06-11 19:45:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,937

Re: Screen sharing not working

Is this some wayland compositor? Which? Does it work on an X11 session?

#3 2026-06-11 20:25:55

endless
Member
Registered: 2025-09-06
Posts: 27

Re: Screen sharing not working

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)

#5 Today 18:12:21

Rikaisan
Member
Registered: Today
Posts: 1

Re: Screen sharing not working

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)

#7 Today 18:20:49

tekstryder
Member
Registered: 2013-02-14
Posts: 549

Re: Screen sharing not working

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.