Bug 31977 - Update synergy in Mageia 8 for compatibility with Mageia 9.
Summary: Update synergy in Mageia 8 for compatibility with Mageia 9.
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords: feedback
Depends on:
Blocks:
 
Reported: 2023-05-30 19:08 CEST by Dave Hodgins
Modified: 2024-06-16 23:45 CEST (History)
2 users (show)

See Also:
Source RPM: synergy
CVE:
Status comment:


Attachments
Synergy conf file on system where mouse/keyboard is connected (880 bytes, text/plain)
2023-06-02 15:15 CEST, Dave Hodgins
Details

Description Dave Hodgins 2023-05-30 19:08:07 CEST
The synergy package should be kept in sync on all supported releases. Otherwise
it can not be used to share the mouse/keyboard/clipboard between machines running
different releases.

Mageia 9 has synergy-1.14.5.14-1.mga9.src.rpm. Please update the version in
Mageia 8 to maintain compatibility.

Assigning to David Geiger who did the m9 update.
Comment 1 David GEIGER 2023-05-30 22:38:04 CEST
Assigning to QA,


Packages in 8/Core/Updates_testing:
======================
synergy-gui-1.14.5.14-1.mga8
synergy-1.14.5.14-1.mga8


From SRPMS:
synergy-1.14.5.14-1.mga8.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 2 Dave Hodgins 2023-05-30 23:48:56 CEST
Looks like it should have a README.urpmi file added. On the install
running synergys, where the mouse/keyboard are physically connected
the option screenSaverSync must be removed or commented out, if
present in the synergy.conf file which may be $HOME/.synergy.conf
or /etc/synergy.conf

Otherwise it fails to start the server. Found using debug ...
$ synergys -n desktop --debug DEBUG
which returns ...
[2023-05-30T17:47:34] ERROR: cannot read configuration "/etc/synergy.conf": read error: line 47: unknown argument "screenSaverSync"
Comment 3 Herman Viaene 2023-06-02 14:07:56 CEST
@Dave
I've used synergy a long time ago, and remember to have been fiddling around with the conf settings. Found now https://help.ubuntu.com/community/SynergyHowto which has a sample of the conf file.
I'll try to get the current version working and then do the update on the server side.

CC: (none) => herman.viaene

Comment 4 Herman Viaene 2023-06-02 14:59:51 CEST
Got the current version working with this laptop as server  and desktop PC as client. Some remarks: this installation had no synergy.conf file, neither system wide in/etc nor in the home.
Edited one in ~/.synergy.conf for the server, copying the sample from above mentioned site. Note that I had to use FQDN's. As I have firewall running, I had to open port 24800, then I could travel the mouse pointer from one screen to another.
Updated the server with the new version (this one carries an /etc/synergy.conf file, fine.
Then run the updated server vs the current client and all works OK.
Note: although the site does not mention this, you get nowhere trying to use the synergy-gui since that one refuses to start without a licence key.

Leaving to Dave to check and give the OK.
Comment 5 Morgan Leijström 2023-06-02 15:06:57 CEST
Feedback: see Comment 2

CC: (none) => fri
Keywords: (none) => feedback
Assignee: qa-bugs => geiger.david68210

Comment 6 Dave Hodgins 2023-06-02 15:15:51 CEST
Created attachment 13863 [details]
Synergy conf file on system where mouse/keyboard is connected

It's working for me once the screenSaverSync option is removed. As the conf
file can be in /home, it can't be handled by the package, so should be
documented in a README.urpmi

Attaching my working conf file which is started by ...
$ cat .config/autostart-scripts/synergy 
#!/bin/bash
killall -9 synergys 2>/dev/null
synergys -n desktop --debug FATAL

On my rpi4b, synergyc is started by
$ cat .config/autostart-scripts/synergy 
#!/bin/bash
killall -9 synergyc 2>/dev/null
synergyc --name rp4 --restart --debug FATAL 192.168.10.2

Once the README.urpmi is added, this is ready to validate.
Comment 7 Dave Hodgins 2023-06-02 15:26:31 CEST
The synergy-gui rpm should probably be removed as it is nagware.

The synergy rpm package itself is open source and does work.
Comment 8 David GEIGER 2024-06-16 23:45:15 CEST
Mageia8 is EOL! So closing as OLD!

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.