[GH-ISSUE #69] Client not responding, releasing pointer! #21

Closed
opened 2026-05-05 22:04:26 -06:00 by gitea-mirror · 14 comments
Owner

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

INFO  lan_mouse::dns] dnsname: adding ip 192.168.12.123
WARN  lan_mouse::server] client not responding, releasing pointer!

Error occurs if I try to enter the other screen. Did most tests from Wayland to Wayland. Also, I selected Yes for permission Input devices

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** ``` INFO lan_mouse::dns] dnsname: adding ip 192.168.12.123 WARN lan_mouse::server] client not responding, releasing pointer! ``` Error occurs if I try to enter the other screen. Did most tests from Wayland to Wayland. Also, I selected `Yes` for permission `Input devices`
Author
Owner

@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.

<!-- gh-comment-id:1888899132 --> @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.
Author
Owner

@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 Connections them on both and it works. I'm switched from barrier and was used to that setup.

<!-- gh-comment-id:1888922233 --> @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 `Connections` them on both and it works. I'm switched from barrier and was used to that setup.
Author
Owner

@feschber commented on GitHub (Jan 12, 2024):

Good to hear!

<!-- gh-comment-id:1888949264 --> @feschber commented on GitHub (Jan 12, 2024): Good to hear!
Author
Owner

@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

<!-- gh-comment-id:2045944674 --> @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
Author
Owner

@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=debug like this:

LAN_MOUSE_LOG_LEVEL=debug cargo run

And just in case: Do you have a firewall running? If that is the case, check that you have configured the firewall

<!-- gh-comment-id:2045967695 --> @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=debug` like this: ```sh LAN_MOUSE_LOG_LEVEL=debug cargo run ``` And just in case: Do you have a firewall running? If that is the case, check that you have [configured the firewall](https://github.com/feschber/lan-mouse#manual-installation)
Author
Owner

@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 run command 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

<!-- gh-comment-id:2046035064 --> @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](https://github.com/feschber/lan-mouse/files/14923752/host_dorthonion.log) [host_parthGalen.log](https://github.com/feschber/lan-mouse/files/14923753/host_parthGalen.log) These are output of `LAN_MOUSE_LOG_LEVEL=debug cargo run` command 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
Author
Owner

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

I dont see any AddClient and Activate requests in host_dorthonion.log.
You need to add parthGalen on that client and activate it as well.

<!-- gh-comment-id:2046047746 --> @feschber commented on GitHub (Apr 9, 2024): I dont see any `AddClient` and `Activate` requests in `host_dorthonion.log`. You need to add parthGalen on that client and activate it as well.
Author
Owner

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

And dorthonion can apparently not be resolved. Please check that your hostname is correct. (cat /etc/hostname should give you the correct hostname)

<!-- gh-comment-id:2046061063 --> @feschber commented on GitHub (Apr 9, 2024): And `dorthonion` can apparently not be resolved. Please check that your hostname is correct. (`cat /etc/hostname` should give you the correct hostname)
Author
Owner

@VPavliashvili commented on GitHub (Apr 9, 2024):

I have added parthGalen on dorthonion. And I have added dorthonion on parthGalen. 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

<!-- gh-comment-id:2046074974 --> @VPavliashvili commented on GitHub (Apr 9, 2024): I have added `parthGalen` on `dorthonion`. And I have added `dorthonion` on `parthGalen`. 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
Author
Owner

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

can you check if they can be manually resolved via nslookup dorthonion / nslookup parthGalen?

<!-- gh-comment-id:2046079584 --> @feschber commented on GitHub (Apr 9, 2024): can you check if they can be manually resolved via `nslookup dorthonion` / `nslookup parthGalen`?
Author
Owner

@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: NXDOMAIN
I don't know how this stuff works but I can say that both machiens are on the same wifi router's network

<!-- gh-comment-id:2046089850 --> @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: NXDOMAIN` I don't know how this stuff works but I can say that both machiens are on the same wifi router's network
Author
Owner

@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.toml something like this:

# dorthonion
[right]
hostname = "parthGalen"
ips = [ "<ip-of-parthGalen>" ]
# parthGalen
[left]
hostname = "dorthonion"
ips = [ "<ip-of-dorthonion>" ]
<!-- gh-comment-id:2046110621 --> @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.toml` something like this: ```toml # dorthonion [right] hostname = "parthGalen" ips = [ "<ip-of-parthGalen>" ] ``` ```toml # parthGalen [left] hostname = "dorthonion" ips = [ "<ip-of-dorthonion>" ] ```
Author
Owner

@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.

<!-- gh-comment-id:2046130647 --> @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.
Author
Owner

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

no problem, glad I could help!

<!-- gh-comment-id:2046142167 --> @feschber commented on GitHub (Apr 9, 2024): no problem, glad I could 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#21
No description provided.