feschber / lan-mouse

mouse & keyboard sharing via LAN
GNU General Public License v3.0
2.34k stars 64 forks source link

Not working between debian computers in GNOME 46 #103

Open svillar opened 5 months ago

svillar commented 5 months ago

This is what I got in the first PC:

INFO  lan_mouse::config] using config: "/home/me/.config/lan-mouse/config.toml"
INFO  lan_mouse] release bind: [KeyA, KeyS, KeyD, KeyF]
INFO  lan_mouse::config] using config: "/home/me/.config/lan-mouse/config.toml"
INFO  lan_mouse] release bind: [KeyA, KeyS, KeyD, KeyF]
INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
INFO  lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry
INFO  lan_mouse::capture::libei] creating input capture session
INFO  lan_mouse::capture] x11 input capture not available: not implemented
ERROR lan_mouse::capture] falling back to dummy input capture
INFO  lan_mouse::emulate::libei] requesting permission for input emulation
INFO  lan_mouse::emulate::xdg_desktop_portal] requesting permission for input emulation
INFO  lan_mouse::emulate] using xdg-remote-desktop-portal input emulation
INFO  lan_mouse::server] running service
INFO  lan_mouse::dns] resolving pc2.lan ...
WARN  lan_mouse::frontend::gtk::window] could not find client with handle 0
INFO  lan_mouse::dns] pc2.lan: adding ip 192.168.1.12
svillar commented 5 months ago

Hmm I noticed that xdg-desktop-portal-gnome is still in v44.2, might it be the reason?

feschber commented 5 months ago

https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/blob/main/NEWS

yeah, seems so.

svillar commented 5 months ago

Thanks, closing this then.

svillar commented 3 months ago

I've installed version 46.1 from Debian experimental and I'm still unable to connect. This is what I get

[2024-05-28T17:22:07Z INFO  lan_mouse] release bind: [KeyA, KeyS, KeyD, KeyF]
[2024-05-28T17:22:07Z INFO  lan_mouse::config] using config: "/home/user/.config/lan-mouse/config.toml"
[2024-05-28T17:22:07Z INFO  lan_mouse] release bind: [KeyA, KeyS, KeyD, KeyF]
[2024-05-28T17:22:07Z INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
[2024-05-28T17:22:07Z INFO  lan_mouse::emulate] wayland backend not available: the requested global was not found in the registry
[2024-05-28T17:22:07Z INFO  lan_mouse::capture::libei] creating input capture session
[2024-05-28T17:22:07Z INFO  lan_mouse::capture] libei input capture not available: Portal request didn't succeed: Other
[2024-05-28T17:22:07Z INFO  lan_mouse::capture] layer_shell input capture not available: zwlr_layer_shell_v1 >= v3 not supported - required to display a surface at the edge of the screen
[2024-05-28T17:22:07Z INFO  lan_mouse::capture] x11 input capture not available: not implemented
[2024-05-28T17:22:07Z ERROR lan_mouse::capture] falling back to dummy input capture
[2024-05-28T17:22:07Z INFO  lan_mouse::emulate::libei] requesting permission for input emulation
[2024-05-28T17:22:11Z INFO  lan_mouse::emulate] libei not available: Portal request failed: org.freedesktop.portal.Error.Failed: GDBus.Error:org.freedesktop.portal.Error.Failed: Failed to connect to EIS
[2024-05-28T17:22:11Z INFO  lan_mouse::emulate::xdg_desktop_portal] requesting permission for input emulation
[2024-05-28T17:22:14Z INFO  lan_mouse::emulate] using xdg-remote-desktop-portal input emulation
[2024-05-28T17:22:14Z INFO  lan_mouse::server] running service
[2024-05-28T17:22:14Z INFO  lan_mouse::dns] resolving host2.lan ...
[2024-05-28T17:22:14Z WARN  lan_mouse::frontend::gtk::window] could not find client with handle 0
[2024-05-28T17:22:14Z INFO  lan_mouse::dns] host2.lan: adding ip 192.168.1.100