mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 06:06:07 -06:00
[GH-ISSUE #269] Can't get it to work on latest git (or stable version on arch) from arch to arch. Different errors for Desktop and Laptop #137
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Froidoh on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/269
Hello!
I use lan-mouse git on both of my machines (same commit). Using
archwithnirias the environmentNow, I used lan-mouse in the past with sway, no problem. It does not work with sway either, currently!
Note that I switched the port, but, well... it doesn't work with the default port either.
From my desktop, when I try to go to my laptop, I get this:
While the other way around I get this:
What am I doing wrong, what can I do to fix this?
@feschber commented on GitHub (Feb 21, 2025):
Did you authorize the device you want to use?
Say, you want to control device
Ausing deviceB, then you have to copy the certificat fingerprint of deviceBand authorize it on deviceAusing theAuthorizebutton.It should look something like this on the receiving end:
@Froidoh commented on GitHub (Feb 21, 2025):
First off: Thank you very much for taking the time to answer!
So this is mandatory now but wasn't before? In any case, I did, while it was running, then disabled the connection again and reenabled it... to no avail.
I have connections configured though... also it didn't save the fingerprints after a restart, so I'll need to manually put them in the config?
@feschber commented on GitHub (Feb 21, 2025):
The reason it was not mandatory before is because the traffic was unencrypted.
Yes, you currently need to either enter the fingerprint every time or put it in your config file. (see https://github.com/feschber/lan-mouse?tab=readme-ov-file#example-config)
You now need to configure the connection on the "controling" device only and authorize these devices on the "controlled" devices.
@Froidoh commented on GitHub (Feb 21, 2025):
@feschber thanks a bunch!
It works one way now... I can control the desktop from the laptop, but the other way around it says: "connection timed out"... it's weird.
I copied the config and of course I changed the fingerprint and the name of the controlling device. It's all correct, but no luck in the important direction so far!
Anyway, it's probably a layer 8 problem at this point (pebkac), so feel free to close this!
@feschber commented on GitHub (Feb 22, 2025):
Are you using niri on both ends? What does the log say?
@Froidoh commented on GitHub (May 23, 2025):
Yes, on both sides. I need to check the log again... on the desktop it says "connection timed out"
Maybe it's because I have 3 monitors on the desktop... (no weird flex, just a weird guess)
@Froidoh commented on GitHub (Aug 14, 2025):
So, finally found time to check again.
Latest build:
Desktop says, when I move the mouse over to where the laptop should be:
[2025-08-14T11:47:29Z INFO input_capture::layer_shell] adding capture for position right - using outputs: ["DP-3"] [2025-08-14T11:47:30Z WARN lan_mouse::capture] releasing capture: not connected [2025-08-14T11:47:30Z INFO lan_mouse::connect] client 0 connecting ... [2025-08-14T11:47:30Z INFO lan_mouse::connect] client (0) connecting ... (ips: [192.168.87.232:4243]) [2025-08-14T11:47:30Z INFO lan_mouse::connect] connecting to 192.168.87.232:4243 ... [2025-08-14T11:47:30Z INFO lan_mouse::service] entering client 0 ... [2025-08-14T11:47:35Z WARN lan_mouse::connect] failed to connect to 192.168.87.232:4243:Connection timed out``Laptop says:
connecting to [fd73:...]
failed to connect to [fd73:...] address family not supported by protocol (os error 97)
@feschber commented on GitHub (Feb 7, 2026):
Sorry for the late reply, this somehow got lost.
Seems like your DNS is only resolving IPv6 addresses.
Could you try manually adding an IPv4 and see if that works?
@Froidoh commented on GitHub (Feb 8, 2026):
Yes, if I use the IP address instead of the hostname, it works. Thanks.
@feschber commented on GitHub (Feb 8, 2026):
Still weird that IPv6 doesn't work though ...