Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] I can't use him #122

Closed
mystery4f opened this issue May 5, 2024 · 12 comments
Closed

[Help] I can't use him #122

mystery4f opened this issue May 5, 2024 · 12 comments

Comments

@mystery4f
Copy link

I can't use him! My two windows connect and then nothing happens

@mystery4f
Copy link
Author

(lan-mouse.exe:11616): GLib-GIO-WARNING **: 21:04:35.522: win32 session dbus binary not found
[2024-05-05T13:04:36Z DEBUG lan_mouse::frontend::gtk] connecting to lan-mouse-socket
[2024-05-05T13:04:36Z DEBUG lan_mouse::server::frontend_task] frontend: Enumerate
[2024-05-05T13:04:36Z DEBUG lan_mouse::frontend] json: {"Enumerate":[]}, len: 16
[2024-05-05T13:04:36Z DEBUG lan_mouse::frontend::gtk] connected to lan-mouse-socket
[2024-05-05T13:04:40Z DEBUG lan_mouse::frontend::gtk::window] requesting {"AddClient":[null,4242,"Left"]}
[2024-05-05T13:04:40Z DEBUG lan_mouse::server::frontend_task] frontend: AddClient(None, 4242, Left)
[2024-05-05T13:04:40Z INFO lan_mouse::server::frontend_task] adding client [left] @ {}
[2024-05-05T13:04:40Z DEBUG lan_mouse::server::frontend_task] add_client 0
[2024-05-05T13:04:40Z DEBUG lan_mouse::frontend] json: {"NotifyClientCreate":{"hostname":null,"fix_ips":[],"handle":0,"ips":[],"port":4242,"pos":"Left"}}, len: 98
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend::gtk::client_row::imp] state change -> requesting update
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend::gtk::window] requesting update: UpdateClient(0, None, 4242, Left)
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend::gtk::window] requesting {"UpdateClient":[0,null,4242,"Left"]}
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend::gtk::window] requesting activate: ActivateClient(0, true)
[2024-05-05T13:04:41Z DEBUG lan_mouse::server::frontend_task] frontend: UpdateClient(0, None, 4242, Left)
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend::gtk::window] requesting {"ActivateClient":[0,true]}
[2024-05-05T13:04:41Z DEBUG lan_mouse::server::frontend_task] client updated: ClientState { client: Client { hostname: None, fix_ips: [], handle: 0, ips: {}, port: 4242, pos: Left }, active: false, active_addr: None, alive: false, pressed_keys: {} }
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend] json: {"NotifyClientUpdate":{"hostname":null,"fix_ips":[],"handle":0,"ips":[],"port":4242,"pos":"Left"}}, len: 98
[2024-05-05T13:04:41Z DEBUG lan_mouse::server::frontend_task] frontend: ActivateClient(0, true)
[2024-05-05T13:04:41Z DEBUG lan_mouse::frontend] json: {"NotifyClientActivate":[0,true]}, len: 33
[2024-05-05T13:04:41Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(ClientEvent(Create(0, Left)))
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend::gtk::client_row::imp] state change -> requesting update
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend::gtk::window] requesting update: UpdateClient(0, Some("d6"), 4242, Left)
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend::gtk::window] requesting {"UpdateClient":[0,"d6",4242,"Left"]}
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend::gtk::window] requesting activate: ActivateClient(0, false)
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::frontend_task] frontend: UpdateClient(0, Some("d6"), 4242, Left)
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend::gtk::window] requesting {"ActivateClient":[0,false]}
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::frontend_task] client updated: ClientState { client: Client { hostname: Some("d6"), fix_ips: [], handle: 0, ips: {}, port: 4242, pos: Left }, active: true, active_addr: None, alive: false, pressed_keys: {} }
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend] json: {"NotifyClientUpdate":{"hostname":"d6","fix_ips":[],"handle":0,"ips":[],"port":4242,"pos":"Left"}}, len: 98
[2024-05-05T13:04:50Z INFO lan_mouse::dns] resolving d6 ...
[2024-05-05T13:04:50Z INFO lan_mouse::dns] d6: adding ip 192.168.137.1
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(ClientEvent(Destroy(0)))
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(ClientEvent(Create(0, Left)))
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::frontend_task] frontend: ActivateClient(0, false)
[2024-05-05T13:04:50Z DEBUG lan_mouse::frontend] json: {"NotifyClientActivate":[0,false]}, len: 34
[2024-05-05T13:04:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(ClientEvent(Destroy(0)))
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend::gtk::client_row::imp] state change -> requesting update
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend::gtk::window] requesting update: UpdateClient(0, Some("d6"), 4242, Left)
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend::gtk::window] requesting {"UpdateClient":[0,"d6",4242,"Left"]}
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend::gtk::window] requesting activate: ActivateClient(0, true)
[2024-05-05T13:04:51Z DEBUG lan_mouse::server::frontend_task] frontend: UpdateClient(0, Some("d6"), 4242, Left)
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend::gtk::window] requesting {"ActivateClient":[0,true]}
[2024-05-05T13:04:51Z DEBUG lan_mouse::server::frontend_task] client updated: ClientState { client: Client { hostname: Some("d6"), fix_ips: [], handle: 0, ips: {192.168.137.1}, port: 4242, pos: Left }, active: false, active_addr: None, alive: false, pressed_keys: {} }
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend] json: {"NotifyClientUpdate":{"hostname":"d6","fix_ips":[],"handle":0,"ips":["192.168.137.1"],"port":4242,"pos":"Left"}}, len: 113
[2024-05-05T13:04:51Z DEBUG lan_mouse::server::frontend_task] frontend: ActivateClient(0, true)
[2024-05-05T13:04:51Z DEBUG lan_mouse::frontend] json: {"NotifyClientActivate":[0,true]}, len: 33

@mystery4f
Copy link
Author

Reading the log seems to go well, but nothing works...

@feschber
Copy link
Owner

feschber commented May 5, 2024

Are you using the latest git version? Release 0.7.3 does not yet work.

@mystery4f
Copy link
Author

Are you using the latest git version? Release 0.7.3 does not yet work.

Which version should I use? 0.7.2? Thank you. I'll try

@feschber
Copy link
Owner

feschber commented May 5, 2024

Try the latest pre release

@mystery4f
Copy link
Author

Try the latest pre release

There's a response! But can't get past the screen...
I was watching this right now, #69 (the client not responding, releasing pointer!)

[2024-05-05T15:05:21Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release)
[2024-05-05T15:05:43Z DEBUG lan_mouse::capture::windows] ENTERED @ (1046, 995) -> (1046, 1000)
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 29, state: 1, scancode: KeyLeftCtrl
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftCtrl}
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 125, state: 1, scancode: KeyLeftMeta
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftCtrl}
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 56, state: 1, scancode: KeyLeftAlt
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftAlt, KeyLeftCtrl}
[2024-05-05T15:05:43Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release)
[2024-05-05T15:05:49Z DEBUG lan_mouse::capture::windows] ENTERED @ (822, 999) -> (828, 1003)
[2024-05-05T15:05:50Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-05-05T15:05:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release)
[2024-05-05T15:05:54Z WARN lan_mouse::server::emulation_task] ignoring events from client 192.168.137.1:4242
[2024-05-05T15:06:22Z DEBUG lan_mouse::capture::windows] ENTERED @ (1489, 996) -> (1489, 1000)
[2024-05-05T15:06:22Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!
[2024-05-05T15:06:22Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release)
[2024-05-05T15:06:24Z DEBUG lan_mouse::capture::windows] ENTERED @ (1065, 998) -> (1066, 1000)
[2024-05-05T15:06:25Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!

@mystery4f
Copy link
Author

Try the latest pre release

There's a response! But can't get past the screen... I was watching this right now, #69 (the client not responding, releasing pointer!)

[2024-05-05T15:05:21Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:43Z DEBUG lan_mouse::capture::windows] ENTERED @ (1046, 995) -> (1046, 1000) [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 29, state: 1, scancode: KeyLeftCtrl [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftCtrl} [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 125, state: 1, scancode: KeyLeftMeta [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftCtrl} [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 56, state: 1, scancode: KeyLeftAlt [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftAlt, KeyLeftCtrl} [2024-05-05T15:05:43Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:49Z DEBUG lan_mouse::capture::windows] ENTERED @ (822, 999) -> (828, 1003) [2024-05-05T15:05:50Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:05:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:54Z WARN lan_mouse::server::emulation_task] ignoring events from client 192.168.137.1:4242 [2024-05-05T15:06:22Z DEBUG lan_mouse::capture::windows] ENTERED @ (1489, 996) -> (1489, 1000) [2024-05-05T15:06:22Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:06:22Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:06:24Z DEBUG lan_mouse::capture::windows] ENTERED @ (1065, 998) -> (1066, 1000) [2024-05-05T15:06:25Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!

#69 I tried to open the firewall ports and protocols on both computers and then restart them, but...

image

@mystery4f
Copy link
Author

Try the latest pre release

There's a response! But can't get past the screen... I was watching this right now, #69 (the client not responding, releasing pointer!)
[2024-05-05T15:05:21Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:43Z DEBUG lan_mouse::capture::windows] ENTERED @ (1046, 995) -> (1046, 1000) [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 29, state: 1, scancode: KeyLeftCtrl [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftCtrl} [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 125, state: 1, scancode: KeyLeftMeta [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftCtrl} [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] key: 56, state: 1, scancode: KeyLeftAlt [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] {KeyLeftMeta, KeyLeftAlt, KeyLeftCtrl} [2024-05-05T15:05:43Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:05:43Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:49Z DEBUG lan_mouse::capture::windows] ENTERED @ (822, 999) -> (828, 1003) [2024-05-05T15:05:50Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:05:50Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:05:54Z WARN lan_mouse::server::emulation_task] ignoring events from client 192.168.137.1:4242 [2024-05-05T15:06:22Z DEBUG lan_mouse::capture::windows] ENTERED @ (1489, 996) -> (1489, 1000) [2024-05-05T15:06:22Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer! [2024-05-05T15:06:22Z DEBUG lan_mouse::server::capture_task] input capture notify rx: Some(Release) [2024-05-05T15:06:24Z DEBUG lan_mouse::capture::windows] ENTERED @ (1065, 998) -> (1066, 1000) [2024-05-05T15:06:25Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!

#69 I tried to open the firewall ports and protocols on both computers and then restart them, but...

image

@feschber help

@feschber
Copy link
Owner

feschber commented May 5, 2024

This might not be intuitive but you need to add device A on device B and device B on device A (and activate them on both ends). Did you do that?

@mystery4f
Copy link
Author

This might not be intuitive but you need to add device A on device B and device B on device A (and activate them on both ends). Did you do that?

pc1.log

pc2.log

@feschber
Copy link
Owner

feschber commented May 6, 2024

Could you send a full log for both pcs, there seems to be part of it missing at the beginning?

And I dont see an activate command.

You need to

connect mcr
activate <id>

Where is the id you get from the connect command

@mystery4f
Copy link
Author

Oh, my God, I'm missing a crucial step, and I'm sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants