[GH-ISSUE #165] Sharing make disappear mouse pointer and make unusable the keyboard + have to hard reset pc #70

Closed
opened 2026-05-05 22:07:56 -06:00 by gitea-mirror · 17 comments
Owner

Originally created by @dontlookherepls on GitHub (Jul 30, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/165

Happening between two devices running the latest plasma installment

More precisely:
On my host machine while i put the credential of my client machine logs looks positive, but once i hit, with my mouse pointer, my screen edge suddenly nothing works anymore and I have to hard reset my PC.

[2024-07-30T21:19:00Z WARN  lan_mouse::config] Continuing without config file ...
[2024-07-30T21:19:00Z INFO  lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt]
[2024-07-30T21:19:00Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
[2024-07-30T21:19:00Z INFO  lan_mouse::server] running service
[2024-07-30T21:19:00Z INFO  lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry
[2024-07-30T21:19:00Z INFO  lan_mouse::emulate::libei] requesting permission for input emulation

(lan-mouse:2192): Adwaita-WARNING **: 23:19:00.554: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[2024-07-30T21:19:03Z INFO  lan_mouse::emulate] using libei input emulation
[2024-07-30T21:19:03Z INFO  lan_mouse::emulate::libei] libei version 1
[2024-07-30T21:19:03Z INFO  lan_mouse::capture] using libei input capture
[2024-07-30T21:19:05Z INFO  lan_mouse::server::frontend_task] added client 0
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] resolving thinkpad ...
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] resolving thinkpad ...
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] resolving thinkpad ...
[2024-07-30T21:19:22Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
[2024-07-30T21:19:27Z INFO  lan_mouse::dns] resolving thinkpad ...
[2024-07-30T21:19:27Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
Originally created by @dontlookherepls on GitHub (Jul 30, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/165 Happening between two devices running the latest plasma installment More precisely: On my host machine while i put the credential of my client machine logs looks positive, but once i hit, with my mouse pointer, my screen edge suddenly nothing works anymore and I have to hard reset my PC. ``` [2024-07-30T21:19:00Z WARN lan_mouse::config] Continuing without config file ... [2024-07-30T21:19:00Z INFO lan_mouse] release bind: [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] [2024-07-30T21:19:00Z INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse [2024-07-30T21:19:00Z INFO lan_mouse::server] running service [2024-07-30T21:19:00Z INFO lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry [2024-07-30T21:19:00Z INFO lan_mouse::emulate::libei] requesting permission for input emulation (lan-mouse:2192): Adwaita-WARNING **: 23:19:00.554: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. [2024-07-30T21:19:03Z INFO lan_mouse::emulate] using libei input emulation [2024-07-30T21:19:03Z INFO lan_mouse::emulate::libei] libei version 1 [2024-07-30T21:19:03Z INFO lan_mouse::capture] using libei input capture [2024-07-30T21:19:05Z INFO lan_mouse::server::frontend_task] added client 0 [2024-07-30T21:19:22Z INFO lan_mouse::dns] resolving thinkpad ... [2024-07-30T21:19:22Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 [2024-07-30T21:19:22Z INFO lan_mouse::dns] resolving thinkpad ... [2024-07-30T21:19:22Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 [2024-07-30T21:19:22Z INFO lan_mouse::dns] resolving thinkpad ... [2024-07-30T21:19:22Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 [2024-07-30T21:19:27Z INFO lan_mouse::dns] resolving thinkpad ... [2024-07-30T21:19:27Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 ```
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

Are you using the latest version of lan-mouse?

<!-- gh-comment-id:2259250331 --> @feschber commented on GitHub (Jul 30, 2024): Are you using the latest version of lan-mouse?
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Ok the officials arch repos installed lan-mouse 0.8 something... (even if I updated the whole system 10 min prior to installing the program). Now that problem doesn't persist anymore but I can't manage to make it work anyway.


[2024-07-30T21:35:52Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:35:53Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:35:53Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!

Edit 2
Maybe this gives more insight on the issue

[2024-07-30T21:33:54Z WARN input_emulation] wlroots backend wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry

<!-- gh-comment-id:2259252717 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Ok the officials arch repos installed lan-mouse 0.8 something... (even if I updated the whole system 10 min prior to installing the program). Now that problem doesn't persist anymore but I can't manage to make it work anyway. ``` [2024-07-30T21:35:52Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:35:53Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:35:53Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! ``` Edit 2 Maybe this gives more insight on the issue `[2024-07-30T21:33:54Z WARN input_emulation] wlroots backend wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry`
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

Yes, It was just updated today. You can use 0.9.1 from lan-mouse-bin / lan-mouse-git on the AUR until it lands in the official repos.

As for "client not responding, releasing pointer": Make sure to configure both sides i.e. add + activate Device A on device B and vice versa.

This behaviour is confusing and I'm planning to change it (#164)

  1. no thats just a warning (and maybe it should not be a warning)
<!-- gh-comment-id:2259257137 --> @feschber commented on GitHub (Jul 30, 2024): Yes, It was just updated today. You can use 0.9.1 from lan-mouse-bin / lan-mouse-git on the AUR until it lands in the official repos. As for "client not responding, releasing pointer": Make sure to configure both sides i.e. add + activate Device A on device B and vice versa. This behaviour is confusing and I'm planning to change it (#164) 2) no thats just a warning (and maybe it should not be a warning)
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Thank you now I'm going to it.

<!-- gh-comment-id:2259259832 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Thank you now I'm going to it.
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

https://archlinux.org/packages/extra/x86_64/lan-mouse/

Actually, it seems like 0.9.1 already landed in the repos. This should include the fix for plasma 6.1

<!-- gh-comment-id:2259260135 --> @feschber commented on GitHub (Jul 30, 2024): https://archlinux.org/packages/extra/x86_64/lan-mouse/ Actually, it seems like 0.9.1 already landed in the repos. This should include the fix for plasma 6.1
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

https://archlinux.org/packages/extra/x86_64/lan-mouse/

Actually, it seems like 0.9.1 already landed in the repos. This should include the fix for plasma 6.1

yep already installed on both devices but the issue persist.

<!-- gh-comment-id:2259261486 --> @dontlookherepls commented on GitHub (Jul 30, 2024): > https://archlinux.org/packages/extra/x86_64/lan-mouse/ > > Actually, it seems like 0.9.1 already landed in the repos. This should include the fix for plasma 6.1 yep already installed on both devices but the issue persist.
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

Thank you now I'm going to it.

I'm not quite sure what you mean? So it still does not work?
Just to be sure: Could you run killall lan-mouse and run it again on both devices to make sure the new version is actually running?

<!-- gh-comment-id:2259264762 --> @feschber commented on GitHub (Jul 30, 2024): > Thank you now I'm going to it. I'm not quite sure what you mean? So it still does not work? Just to be sure: Could you run `killall lan-mouse` and run it again on both devices to make sure the new version is actually running?
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Yeah sorry it's late so my brain read something completely different.

I've performed the command but still:


[2024-07-30T21:47:47Z INFO  input_emulation] using emulation backend: libei
[2024-07-30T21:47:47Z INFO  input_capture] using capture backend: input-capture-portal
[2024-07-30T21:47:47Z INFO  lan_mouse::server::capture_task] []
[2024-07-30T21:48:11Z INFO  lan_mouse::server] added client 0
[2024-07-30T21:48:21Z INFO  lan_mouse::dns] resolving (0) `thinkpad` ...
[2024-07-30T21:48:21Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
[2024-07-30T21:48:21Z INFO  lan_mouse::dns] resolving (0) `thinkpad` ...
[2024-07-30T21:48:21Z INFO  lan_mouse::dns] thinkpad: adding ip 192.168.1.115
[2024-07-30T21:48:25Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:25Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:26Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:26Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:44Z WARN  lan_mouse::server::emulation_task] ignoring events from client 192.168.1.127:4242
[2024-07-30T21:48:44Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:45Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:45Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-07-30T21:48:46Z WARN  lan_mouse::server::ping_task] client not responding, releasing pointer!

Should I unistall libei ?

<!-- gh-comment-id:2259270579 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Yeah sorry it's late so my brain read something completely different. I've performed the command but still: ``` [2024-07-30T21:47:47Z INFO input_emulation] using emulation backend: libei [2024-07-30T21:47:47Z INFO input_capture] using capture backend: input-capture-portal [2024-07-30T21:47:47Z INFO lan_mouse::server::capture_task] [] [2024-07-30T21:48:11Z INFO lan_mouse::server] added client 0 [2024-07-30T21:48:21Z INFO lan_mouse::dns] resolving (0) `thinkpad` ... [2024-07-30T21:48:21Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 [2024-07-30T21:48:21Z INFO lan_mouse::dns] resolving (0) `thinkpad` ... [2024-07-30T21:48:21Z INFO lan_mouse::dns] thinkpad: adding ip 192.168.1.115 [2024-07-30T21:48:25Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:25Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:26Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:26Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:44Z WARN lan_mouse::server::emulation_task] ignoring events from client 192.168.1.127:4242 [2024-07-30T21:48:44Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:45Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:45Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-07-30T21:48:46Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! ``` Should I unistall libei ?
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

No everything is working fine on this end.
Could you show a log from the other device?

<!-- gh-comment-id:2259273126 --> @feschber commented on GitHub (Jul 30, 2024): No everything is working fine on this end. Could you show a log from the other device?
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Yes give me a couple of minutes for logging with github into the other pc

<!-- gh-comment-id:2259274700 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Yes give me a couple of minutes for logging with github into the other pc
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

hold on: I think there is something wrong with your dns.
DNS says thinkpad has ip 192.168.1.115 but the events are coming from 192.168.1.127

<!-- gh-comment-id:2259275057 --> @feschber commented on GitHub (Jul 30, 2024): hold on: I think there is something wrong with your dns. DNS says thinkpad has ip 192.168.1.115 but the events are coming from 192.168.1.127
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

YES I've noticed right now, turns out that my thinkpad was using my wireless connection

<!-- gh-comment-id:2259276026 --> @dontlookherepls commented on GitHub (Jul 30, 2024): YES I've noticed right now, turns out that my thinkpad was using my wireless connection
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

You could manually configure the ips with a config like this:

[left]
hostname = "thinkpad"
ips = ["192.168.1.127", "192.168.1.115"]
<!-- gh-comment-id:2259277699 --> @feschber commented on GitHub (Jul 30, 2024): You could manually configure the ips with a config like this: ```toml [left] hostname = "thinkpad" ips = ["192.168.1.127", "192.168.1.115"] ```
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Do I have to make a folder in .config/ ?

<!-- gh-comment-id:2259284261 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Do I have to make a folder in .config/ ?
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

yeah

mkdir ~/.config/lan-mouse/
<!-- gh-comment-id:2259285319 --> @feschber commented on GitHub (Jul 30, 2024): yeah ```sh mkdir ~/.config/lan-mouse/ ```
Author
Owner

@feschber commented on GitHub (Jul 30, 2024):

or fix your dns ^^

<!-- gh-comment-id:2259285886 --> @feschber commented on GitHub (Jul 30, 2024): or fix your dns ^^
Author
Owner

@dontlookherepls commented on GitHub (Jul 30, 2024):

Now everything works perfectly. I'll fix asap my dns 😅

PS: Thanks for your time and help !

<!-- gh-comment-id:2259294086 --> @dontlookherepls commented on GitHub (Jul 30, 2024): Now everything works perfectly. I'll fix asap my dns 😅 PS: Thanks for your time and help !
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#70
No description provided.