[GH-ISSUE #114] windows input caputure not available: not implemed. #43

Closed
opened 2026-05-05 22:06:20 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @ZhangSanMo on GitHub (Apr 26, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/114

readme.md metioned that: it support windows input caputure, but actually not.
Version is 0.7.3.

Originally created by @ZhangSanMo on GitHub (Apr 26, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/114 readme.md metioned that: it support windows input caputure, but actually not. Version is 0.7.3.
Author
Owner

@kyrlon commented on GitHub (Apr 26, 2024):

I was able to not get an error for no windows support by downloading the pre-release dev release build version:

[2024-04-26T03:24:00Z WARN  lan_mouse::config] C:\Users\kyrlon\AppData\Local\lan-mouse\config.toml: The system cannot find the path specified. (os error 3)
[2024-04-26T03:24:00Z WARN  lan_mouse::config] Continuing without config file ...
[2024-04-26T03:24:00Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-04-26T03:24:00Z WARN  lan_mouse::config] C:\Users\kyrlon\AppData\Local\lan-mouse\config.toml: The system cannot find the path specified. (os error 3)
[2024-04-26T03:24:00Z WARN  lan_mouse::config] Continuing without config file ...
[2024-04-26T03:24:00Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-04-26T03:24:00Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse

(lan-mouse.exe:19624): GLib-GIO-WARNING **: 23:24:00.553: win32 session dbus binary not found
[2024-04-26T03:24:00Z INFO  lan_mouse::server] running service
[2024-04-26T03:24:06Z INFO  lan_mouse::server::frontend_task] adding client [left] @ {}
[2024-04-26T03:24:25Z INFO  lan_mouse::dns] resolving 192.168.1.29 ...
[2024-04-26T03:24:25Z INFO  lan_mouse::dns] 192.168.1.29: adding ip 192.168.1.29
[2024-04-26T03:25:18Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-04-26T03:25:18Z WARN  lan_mouse::capture::windows] e: no available capacity

However, even after enabling all firewall options for both in-bound and outbound for UDP port 4242, I am not able to get a Windows 10 PC A <---> Windows 10 PC B connection between my PC and laptop on my home network

Here is a screenshot of my firewall rules for inbound:
inbound

Here is for outbound:
outbound

Here is what I have set for my connection from PC A (minus the hostname):

PC A

Also, I noticed when attempting to fill in the form when the GUI is not MAX window size, it gets somewhat not viewable or distorted. The image below is what I see (or don't see):

disorted_gui

<!-- gh-comment-id:2078576198 --> @kyrlon commented on GitHub (Apr 26, 2024): I was able to not get an error for no windows support by downloading the [pre-release](https://github.com/feschber/lan-mouse/releases/tag/latest) dev release build version: ``` [2024-04-26T03:24:00Z WARN lan_mouse::config] C:\Users\kyrlon\AppData\Local\lan-mouse\config.toml: The system cannot find the path specified. (os error 3) [2024-04-26T03:24:00Z WARN lan_mouse::config] Continuing without config file ... [2024-04-26T03:24:00Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-04-26T03:24:00Z WARN lan_mouse::config] C:\Users\kyrlon\AppData\Local\lan-mouse\config.toml: The system cannot find the path specified. (os error 3) [2024-04-26T03:24:00Z WARN lan_mouse::config] Continuing without config file ... [2024-04-26T03:24:00Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-04-26T03:24:00Z INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse (lan-mouse.exe:19624): GLib-GIO-WARNING **: 23:24:00.553: win32 session dbus binary not found [2024-04-26T03:24:00Z INFO lan_mouse::server] running service [2024-04-26T03:24:06Z INFO lan_mouse::server::frontend_task] adding client [left] @ {} [2024-04-26T03:24:25Z INFO lan_mouse::dns] resolving 192.168.1.29 ... [2024-04-26T03:24:25Z INFO lan_mouse::dns] 192.168.1.29: adding ip 192.168.1.29 [2024-04-26T03:25:18Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-04-26T03:25:18Z WARN lan_mouse::capture::windows] e: no available capacity ``` However, even after enabling all firewall options for both in-bound and outbound for UDP port 4242, I am not able to get a Windows 10 PC A <---> Windows 10 PC B connection between my PC and laptop on my home network Here is a screenshot of my firewall rules for inbound: ![inbound](https://github.com/feschber/lan-mouse/assets/25754667/e8f384c0-3acd-4058-a036-a68a58afc357) Here is for outbound: ![outbound](https://github.com/feschber/lan-mouse/assets/25754667/28076bd2-52ea-41a7-bef1-9291995f8e2f) Here is what I have set for my connection from PC A (minus the hostname): ![PC A](https://github.com/feschber/lan-mouse/assets/25754667/f2de77eb-a7a6-49a2-98c9-ea1c6a68fda3) Also, I noticed when attempting to fill in the form when the GUI is not MAX window size, it gets somewhat not viewable or distorted. The image below is what I see (or don't see): ![disorted_gui](https://github.com/feschber/lan-mouse/assets/25754667/2c6e3e18-181c-4526-8ed6-98b7df9ea072)
Author
Owner

@ZhangSanMo commented on GitHub (Apr 26, 2024):

Thanks very much.It seems working fine with pre-release version.

<!-- gh-comment-id:2078586714 --> @ZhangSanMo commented on GitHub (Apr 26, 2024): Thanks very much.It seems working fine with **pre-release** version.
Author
Owner

@feschber commented on GitHub (Apr 26, 2024):

Yeah I haven't made a release yet because there's still some minor issues with windows input capture.

As for the broken UI, you can get it to work correctly by compiling from source until I figure out where to put the icons in order to be displayed correctly.

<!-- gh-comment-id:2079003102 --> @feschber commented on GitHub (Apr 26, 2024): Yeah I haven't made a release yet because there's still some minor issues with windows input capture. As for the broken UI, you can get it to work correctly by compiling from source until I figure out where to put the icons in order to be displayed correctly.
Author
Owner

@kyrlon commented on GitHub (Apr 26, 2024):

@ZhangSanMo How are you running this? I must be missing something on my windows machines. I connect but nothing happens. Do I need to toggle on both the host and client machine?

@feschber and thanks for the suggestion and great repo. I can be patient for the kinks to be worked out for windows. I might try and compile from source to finally give rust a try.

<!-- gh-comment-id:2079393870 --> @kyrlon commented on GitHub (Apr 26, 2024): @ZhangSanMo How are you running this? I must be missing something on my windows machines. I connect but nothing happens. Do I need to toggle on both the host and client machine? @feschber and thanks for the suggestion and great repo. I can be patient for the kinks to be worked out for windows. I might try and compile from source to finally give rust a try.
Author
Owner

@feschber commented on GitHub (Apr 26, 2024):

@kyrlon there is an issue with the dns-resolver on windows, make sure you wait long enough (until it shows something like 2024-04-26T13:30:07Z INFO lan_mouse::dns] iridium: adding ip 192.168.178.141 in the log)

<!-- gh-comment-id:2079402923 --> @feschber commented on GitHub (Apr 26, 2024): @kyrlon there is an [issue](https://github.com/hickory-dns/hickory-dns/issues/1968) with the dns-resolver on windows, make sure you wait long enough (until it shows something like `2024-04-26T13:30:07Z INFO lan_mouse::dns] iridium: adding ip 192.168.178.141 ` in the log)
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#43
No description provided.