[GH-ISSUE #362] Broken Pipe os error 32 causing lan-mouse to disable input capture #190

Open
opened 2026-05-05 22:13:20 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Saithe6 on GitHub (Jan 15, 2026).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/362

I'm on Fedora 42 connecting to nixos and the lan-mouse pipe just seems to be breaking on my fedora machine after a few minutes of it working. here's the stderr and stdout from the lan-mouse daemon. Both machines are running hyprland.

[2026-01-15T10:52:23Z INFO lan_mouse::config] using config: "/home/saithe/.config/lan-mouse/config.toml"
[2026-01-15T10:52:23Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2026-01-15T10:52:23Z INFO lan_mouse] Press [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] to release the mouse
[2026-01-15T10:52:23Z INFO lan_mouse::server::emulation_task] creating input emulation...
[2026-01-15T10:52:23Z INFO input_emulation] using emulation backend: wlroots
[2026-01-15T10:52:23Z WARN input_capture] input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: xdg-desktop-portal: A portal frontend implementing org.freedesktop.portal.InputCapture was not found [2026-01-15T10:52:23Z INFO input_capture] using capture backend: layer-shell [2026-01-15T10:52:47Z INFO lan_mouse::server] added client 0 [2026-01-15T10:52:47Z INFO lan_mouse::server] update pos 0 left -> right [2026-01-15T10:52:47Z INFO lan_mouse::dns] resolving (0) `nixos` ... [2026-01-15T10:52:47Z INFO lan_mouse::dns] nixos: adding ip 192.168.1.40 [2026-01-15T10:52:50Z INFO lan_mouse::server] activated client 0 (right) [2026-01-15T10:54:04Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2026-01-15T11:01:35Z WARN lan_mouse::server::capture_task] input capture exited: error while capturing input: `io error: `Broken pipe (os error 32)

the input-capture-portal doesn't seem to be the issue? just because I assume that would break it immediately.

Originally created by @Saithe6 on GitHub (Jan 15, 2026). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/362 I'm on Fedora 42 connecting to nixos and the lan-mouse pipe just seems to be breaking on my fedora machine after a few minutes of it working. here's the stderr and stdout from the lan-mouse daemon. Both machines are running hyprland. > [2026-01-15T10:52:23Z INFO lan_mouse::config] using config: "/home/saithe/.config/lan-mouse/config.toml" [2026-01-15T10:52:23Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2026-01-15T10:52:23Z INFO lan_mouse] Press [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] to release the mouse [2026-01-15T10:52:23Z INFO lan_mouse::server::emulation_task] creating input emulation... [2026-01-15T10:52:23Z INFO input_emulation] using emulation backend: wlroots [2026-01-15T10:52:23Z WARN input_capture] input-capture-portal input capture backend unavailable: error creating input-capture-portal backend: `xdg-desktop-portal: `A portal frontend implementing `org.freedesktop.portal.InputCapture` was not found`` [2026-01-15T10:52:23Z INFO input_capture] using capture backend: layer-shell [2026-01-15T10:52:47Z INFO lan_mouse::server] added client 0 [2026-01-15T10:52:47Z INFO lan_mouse::server] update pos 0 left -> right [2026-01-15T10:52:47Z INFO lan_mouse::dns] resolving (0) `nixos` ... [2026-01-15T10:52:47Z INFO lan_mouse::dns] nixos: adding ip 192.168.1.40 [2026-01-15T10:52:50Z INFO lan_mouse::server] activated client 0 (right) [2026-01-15T10:54:04Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2026-01-15T11:01:35Z WARN lan_mouse::server::capture_task] input capture exited: error while capturing input: `io error: `Broken pipe (os error 32)`` the input-capture-portal doesn't seem to be the issue? just because I assume that would break it immediately.
Author
Owner

@feschber commented on GitHub (Feb 7, 2026):

No, the input-capture portal is not being used here.
Could you add what version of Hyprland you are using?

<!-- gh-comment-id:3864358892 --> @feschber commented on GitHub (Feb 7, 2026): No, the input-capture portal is not being used here. Could you add what version of Hyprland you are using?
Author
Owner

@Saithe6 commented on GitHub (Feb 10, 2026):

At the time I was on Fedora 42 and Hyprland 45.2 and now I'm on Fedora 43 and Hyprland 53.3, testing this rn.

Image
<!-- gh-comment-id:3879086930 --> @Saithe6 commented on GitHub (Feb 10, 2026): At the time I was on Fedora 42 and Hyprland 45.2 and now I'm on Fedora 43 and Hyprland 53.3, testing this rn. <img width="1920" height="497" alt="Image" src="https://github.com/user-attachments/assets/44812c61-8871-4032-b5a3-fbd7067a9b9c" />
Author
Owner

@feschber commented on GitHub (Feb 10, 2026):

Could you check the latest pre-release? The version you are using seems to be very old (a new release is coming soon!)

<!-- gh-comment-id:3881268938 --> @feschber commented on GitHub (Feb 10, 2026): Could you check the latest pre-release? The version you are using seems to be very old (a new release is coming soon!)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#190
No description provided.