mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 06:06:07 -06:00
[GH-ISSUE #69] Client not responding, releasing pointer! #21
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#21
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 @xf- on GitHub (Jan 12, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/69
I tried a lot of things, but I can't get it to work
Setup
X11 -> Wayland
Wayland -> X11
Wayland -> Wayland
Both systems use KDE, libei installed, xdg-dekstop-portal...
Error
Error occurs if I try to enter the other screen. Did most tests from Wayland to Wayland. Also, I selected
Yesfor permissionInput devices@feschber commented on GitHub (Jan 12, 2024):
Okay so device a) should have device b) added and activated and device b) should have device a) added and activated.
If it still doesn't work, you likely have to enable udp port 4242 in your firewall.
@xf- commented on GitHub (Jan 12, 2024):
I got it running, I always tried a server/client setup, so I run the connection only on one side. Now I started
Connectionsthem on both and it works. I'm switched from barrier and was used to that setup.@feschber commented on GitHub (Jan 12, 2024):
Good to hear!
@VPavliashvili commented on GitHub (Apr 9, 2024):
@xf- Hello
sorry asking on closed thread, but I have same error and could not resolve in any way. Can you share your solution/config with me please? been trying this for several hours. Also I am trying to make this work on hyprland->hyprland
@feschber commented on GitHub (Apr 9, 2024):
Hi @VPavliashvili , did you configure both devices? You need to add and activate the corresponding device on both sides (this is not yet done automatically).
Otherwise, could you send a debug log from both sides? You do not need a config file at all for this.
You can generate one by running with
LAN_MOUSE_LOG_LEVEL=debuglike this:And just in case: Do you have a firewall running? If that is the case, check that you have configured the firewall
@VPavliashvili commented on GitHub (Apr 9, 2024):
Hi @feschber, thanks for your time
here are logs for both hosts, the files are named accordingly
host_dorthonion.log
host_parthGalen.log
These are output of
LAN_MOUSE_LOG_LEVEL=debug cargo runcommand and both are run without config.toml files at $XDG_HOME_CONFIG. I can provide logs with config files if you need too.Also I could not understand client and host relationship here since both machine seems to be client and host at the same time and can you clarify that what does exactly client and host mean in terms of this software?
As for firewall, firewalld was running only on one machine(on parthGalen in particular) and I configured it accordingly
@feschber commented on GitHub (Apr 9, 2024):
I dont see any
AddClientandActivaterequests inhost_dorthonion.log.You need to add parthGalen on that client and activate it as well.
@feschber commented on GitHub (Apr 9, 2024):
And
dorthonioncan apparently not be resolved. Please check that your hostname is correct. (cat /etc/hostnameshould give you the correct hostname)@VPavliashvili commented on GitHub (Apr 9, 2024):
I have added
parthGalenondorthonion. And I have addeddorthoniononparthGalen. I am certain that host names are correct but still getting could not resolve host warning messages. I have no idea what to do tbh@feschber commented on GitHub (Apr 9, 2024):
can you check if they can be manually resolved via
nslookup dorthonion/nslookup parthGalen?@VPavliashvili commented on GitHub (Apr 9, 2024):
apparently this is the output for both cases
** server can't find parthGalen: NXDOMAIN** server can't find dorthonion: NXDOMAINI don't know how this stuff works but I can say that both machiens are on the same wifi router's network
@feschber commented on GitHub (Apr 9, 2024):
You know how the saying goes? “it’s always dns”. Unfortunately I can not really help you with this. You should figure out, why dns can not resolve your hosts.
You can however still use lan-mouse if you configure the ip addresses in
~/.config/lan-mouse/config.tomlsomething like this:@VPavliashvili commented on GitHub (Apr 9, 2024):
Oh yes it finally worked after configuring it right and disabling firewall on parthGalen. Thank you so much for your help and your time.
@feschber commented on GitHub (Apr 9, 2024):
no problem, glad I could help!