Author Topic: Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing  (Read 2513 times)

gemini_user

  • Newbie
  • *
  • Posts: 8
    • View Profile
I've just been playing with Synergy on my Gemini's Debian installation.  It's so you can share your (desktop) keyboard and mouse - dragging it off the edge of the screen onto the Gemini's desktop for remote control - and much easier to click around the interface.

Code: [Select]
$ sudo apt install synergy quicksynergy
Then find the QuickSynergy icon in the Accessories menu for simple config.

And you can download the Windows/MacOS apps here: https://sourceforge.net/projects/synergy-st...ource=directory

(There is also a commercial version: https://symless.com/synergy

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing
« Reply #1 on: July 03, 2018, 09:55:40 pm »
Quote from: gemini_user
I've just been playing with Synergy on my Gemini's Debian installation.  It's so you can share your (desktop) keyboard and mouse - dragging it off the edge of the screen onto the Gemini's desktop for remote control - and much easier to click around the interface.

Code: [Select]
$ sudo apt install synergy quicksynergy
Then find the QuickSynergy icon in the Accessories menu for simple config. And you can download the Windows/MacOS apps here: https://sourceforge.net/projects/synergy-st...ource=directory (There is also a commercial version: https://symless.com/synergy

Thanx, thought I'd try this out. I installed on Windows box and the Gemini. I start the Windows box, checked as server, it appears to "listen"

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
[2018-07-03T21:29:16] INFO: starting server
[2018-07-03T21:29:16] INFO: config file: C:/Users/sniro/AppData/Local/Temp/Synergy.l12672
[2018-07-03T21:29:16] INFO: log level: INFO
[2018-07-03T21:29:16] INFO: service command updated
[2018-07-03T21:29:17] INFO: starting new process
[2018-07-03T21:29:17] INFO: activeDesktop:Default
[2018-07-03T21:29:17] INFO: starting new process
[2018-07-03T21:29:17] INFO: drag and drop enabled
[2018-07-03T21:29:17] NOTE: started server, waiting for clients
[2018-07-03T21:29:17] INFO: watchdog status: ok[/div]

Then I set the Gemini as client, enter the server IP using the value shown on the desktop, then start.

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']NOTE: starting client
NOTE: config file: /tmp/qt_temp.ik8635
NOTE: log level: INFO
2018-07-03T21:33:55 INFO: Synergy 1.4.16 Client on Linux 3.18.41+ #7 SMP PREEMPT Wed May 30 16:45:45 MSK 2018 aarch64 /build/synergy-HlJtqw/synergy-1.4.16/src/lib/synergy/CClientApp.cpp,157
2018-07-03T21:33:55 NOTE: started client /build/synergy-HlJtqw/synergy-1.4.16/src/lib/synergy/CClientApp.cpp,472
2018-07-03T21:33:55 NOTE: connecting to '192.168.1.47': 192.168.1.47:24800 /build/synergy-HlJtqw/synergy-1.4.16/src/lib/client/CClient.cpp,145
2018-07-03T21:33:58 WARNING: failed to connect to server: No route to host /build/synergy-HlJtqw/synergy-1.4.16/src/lib/synergy/CClientApp.cpp,378[/div]

It appears to start the client, try to connect, then fail. It continues to try to connect and fail... and repeats again, and again... AM I doing something wrong? Any ideas re what to do next?
Thanx for your help!

gemini_user

  • Newbie
  • *
  • Posts: 8
    • View Profile
Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing
« Reply #2 on: July 04, 2018, 02:49:59 am »
Quote
WARNING: failed to connect to server: No route to host

It looks like your Gemini can't reach the Windows PC.   Can you ping it? etc?

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing
« Reply #3 on: July 04, 2018, 06:09:05 pm »
Quote from: gemini_user
Quote
WARNING: failed to connect to server: No route to host
It looks like your Gemini can't reach the Windows PC.   Can you ping it? etc?

Yes, I can ping...
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']gemini@localhost:~$ ping 192.168.1.19
PING 192.168.1.19 (192.168.1.19) 56(84) bytes of data.
64 bytes from 192.168.1.19: icmp_seq=1 ttl=128 time=10.9 ms
64 bytes from 192.168.1.19: icmp_seq=2 ttl=128 time=10.0 ms[/div]

On the desktop/server it appears to reference an ssl error:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\'][2018-07-04T17:52:32] INFO: OpenSSL 1.0.2o 27 Mar 2018
[
2018-07-04T17:52:47] E
R
ROR: ssl err
o
r occurred (syst
e
m ca
l
l failure)
[
2018-07-04T17:52:47] ERROR: eof violates ssl protocol
[2018-07-04T17:52:47] ERROR: failed to accept secure socket
[2018-07-04T17:52:47] INFO: client connection may not be secure
[2018-07-04T17:52:48] INFO: OpenSSL 1.0.2o 27 Mar 2018
[
2018-07-04T17:53:
0
3] ERROR: ss
l
erro
r
occurred (sy
s
tem call failure)[/div]

By the way, how do you connect the two?

gemini_user

  • Newbie
  • *
  • Posts: 8
    • View Profile
Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing
« Reply #4 on: July 06, 2018, 04:51:52 am »
Quote from: SNi
Quote from: gemini_user
Quote
WARNING: failed to connect to server: No route to host
It looks like your Gemini can't reach the Windows PC.   Can you ping it? etc?

Yes, I can ping...
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']gemini@localhost:~$ ping 192.168.1.19
PING 192.168.1.19 (192.168.1.19) 56(84) bytes of data.
64 bytes from 192.168.1.19: icmp_seq=1 ttl=128 time=10.9 ms
64 bytes from 192.168.1.19: icmp_seq=2 ttl=128 time=10.0 ms[/div]

On the desktop/server it appears to reference an ssl error:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\'][2018-07-04T17:52:32] INFO: OpenSSL 1.0.2o 27 Mar 2018
[
2018-07-04T17:52:47] E
R
ROR: ssl err
o
r occurred (syst
e
m ca
l
l failure)
[
2018-07-04T17:52:47] ERROR: eof violates ssl protocol
[2018-07-04T17:52:47] ERROR: failed to accept secure socket
[2018-07-04T17:52:47] INFO: client connection may not be secure
[2018-07-04T17:52:48] INFO: OpenSSL 1.0.2o 27 Mar 2018
[
2018-07-04T17:53:
0
3] ERROR: ss
l
erro
r
occurred (sy
s
tem call failure)[/div]

By the way, how do you connect the two?

I'm guessing the SSL error is because you enabled the encryption setting?  Just a guess.  Lots of threads if you google 'synergy ssl error' - eg https://symless.com/forums/topic/3144-error...m-call-failure/

And how did I connect the two?  By running the server on my desktop and the client on my Gemini...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Handy Linux (and Windoze/Mac) app: Synergy - for Keyboard/Mouse sharing
« Reply #5 on: July 06, 2018, 01:14:43 pm »
Quote from: gemini_user
And how did I connect the two?  By running the server on my desktop and the client on my Gemini...

Well, actually, by "connected" I was wondering if USB-C on left of Gemini to Desktop USB, USB-C to HDMI on right of Gemini to Desktop; both on wireless network, etc.