Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

Synergy crashes when launched on startup by Systemd


Recommended Posts

Aaron Rumbold
I have Synergy configured as a Systemd Unit. It works fine when started after login: [code] Jun 10 10:37:49 aaron-desktop.home systemd[1]: Starting Synergy keyboard and mouse sharing... Jun 10 10:37:49 aaron-desktop.home systemd[1]: Started Synergy keyboard and mouse sharing. Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] NOTE: started client Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] NOTE: connecting to 'aaron-workstation.home': 10.0.4.111:24800 Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] INFO: OpenSSL 1.0.1e-fips 11 Feb 2013 Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] NOTE: server fingerprint: FE:73:0C:AA:37:29:52:76:E1:A2:A4:83:79:B7:19:C2:D0:ED:18:CA Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] INFO: connected to secure socket Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] INFO: server ssl certificate info: /CN=Synergy Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD Jun 10 10:37:49 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:37:49] NOTE: connected to server Jun 10 10:38:53 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:38:53] INFO: entering screen Jun 10 10:38:53 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:38:53] INFO: clipboard was updated Jun 10 10:38:53 aaron-desktop.home synergyc[1545]: Synergy 1.8.0: [2016-06-10T10:38:53] INFO: clipboard was updated[/code] I have been trying to get it to launch automatically after lightdm has started so I can use my workstation controls to login: [color=#4000BF]/etc/systemd/system/synergy.service[/color] [code] [Unit] Description=Synergy keyboard and mouse sharing Requires=lightdm.service After=lightdm.service [Service] Type=forking ExecStart=/usr/bin/synergyc --daemon --name aaron-desktop.home --enable-crypto aaron-workstation.home:24800 [Install] WantedBy=graphical.target [/code] Error Details: [color=#400080][b]Synergy 1.8.0: [2016-06-10T10:25:14] WARNING: secondary screen unavailable: unable to open screen[/b][/color] [code] Jun 10 10:25:14 aaron-desktop.home synergyc[952]: Synergy 1.8.0: [2016-06-10T10:25:14] WARNING: secondary screen unavailable: unable to open screen Jun 10 10:25:14 aaron-desktop.home systemd[1]: synergy.service: Main process exited, code=dumped, status=11/SEGV Jun 10 10:25:14 aaron-desktop.home systemd[1]: synergy.service: Unit entered failed state. Jun 10 10:25:14 aaron-desktop.home systemd[1]: synergy.service: Failed with result 'core-dump'. Jun 10 10:25:15 aaron-desktop.home systemd[1]: synergy.service: Service hold-off time over, scheduling restart. Jun 10 10:25:15 aaron-desktop.home systemd[1]: synergy.service: Start request repeated too quickly. Jun 10 10:25:15 aaron-desktop.home systemd[1]: Failed to start Synergy keyboard and mouse sharing. Jun 10 10:25:15 aaron-desktop.home systemd[1]: synergy.service: Unit entered failed state. Jun 10 10:25:15 aaron-desktop.home systemd[1]: synergy.service: Failed with result 'start-limit'. -- Reboot -- Jun 10 10:36:24 aaron-desktop.home systemd[1]: Starting Synergy keyboard and mouse sharing... Jun 10 10:36:25 aaron-desktop.home systemd[1]: Started Synergy keyboard and mouse sharing. Jun 10 10:36:31 aaron-desktop.home synergyc[837]: Synergy 1.8.0: [2016-06-10T10:36:31] WARNING: secondary screen unavailable: unable to open screen Jun 10 10:36:31 aaron-desktop.home systemd[1]: synergy.service: Main process exited, code=dumped, status=11/SEGV Jun 10 10:36:31 aaron-desktop.home systemd[1]: synergy.service: Unit entered failed state. Jun 10 10:36:31 aaron-desktop.home systemd[1]: synergy.service: Failed with result 'core-dump'. Jun 10 10:37:08 aaron-desktop.home systemd[1]: Starting Synergy keyboard and mouse sharing... Jun 10 10:37:08 aaron-desktop.home systemd[1]: Started Synergy keyboard and mouse sharing. Jun 10 10:37:08 aaron-desktop.home synergyc[1015]: Synergy 1.8.0: [2016-06-10T10:37:08] WARNING: secondary screen unavailable: unable to open screen Jun 10 10:37:08 aaron-desktop.home systemd[1]: synergy.service: Main process exited, code=dumped, status=11/SEGV Jun 10 10:37:08 aaron-desktop.home systemd[1]: synergy.service: Unit entered failed state. Jun 10 10:37:08 aaron-desktop.home systemd[1]: synergy.service: Failed with result 'core-dump'. Jun 10 10:37:49 aaron-desktop.home systemd[1]: Starting Synergy keyboard and mouse sharing... Jun 10 10:37:49 aaron-desktop.home systemd[1]: Started Synergy keyboard and mouse sharing.[/code] does anyone have any insights as to how we could get this to run? I'm running Fedora 23 XFCE on both machines.
Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...