• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tsukasa no Hibi

Cloudy Sky. Occasional Rain.

You are here: Home / Blog / Synergy 1 Pro on Linux clients – Automatically start before logon with LightDM

Synergy 1 Pro on Linux clients – Automatically start before logon with LightDM

2021-09-15 by tsukasa Leave a Comment

This is just a very quick and dirty how-to for getting Synergy 1 Pro to run on LightDM before logging in. All the other instructions I have found haven’t really worked out for me, so let this be my best try…

Step 1: Setting up

Before we can set up LightDM’s configuration we first need to create a PEM cert and configuration with the root user, as that is what is my LightDM process is running as.

Log into a normal interactive X session. Start the graphical Synergy 1 Pro client via “sudo synergy”, generate a certificate and set the client up in a way that it actually can connect and is approved by the server.

Step 2: Adjust LightDM’s configuration

I am on Arch, so my configuration sits in /etc/lightdm/lightdm.conf. Open the configuration and add the following block:

[SeatDefaults]
greeter-setup-script=/usr/bin/synergyc --daemon --name <CLIENT_NAME> --enable-crypto --tls-cert /root/.synergy/SSL/Synergy.pem <SERVER_IP/HOST>:24800

Step 3

There is no step 3.

Whenever a session gets terminated, the synergy client will also briefly be killed and respawned for the lightdm greeter. I have found no reason to setup anything other than the greeter-setup-script.

Filed Under: Blog Tagged With: Linux

Reader Interactions

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Tags

.net AutoHotkey Bitcasa Blog C# Docker Fonts Fun Google Chrome Hardware How To Life Linux Mono Mplayer Music My NAS nVidia OBS OpenEdge OpenSSH Palaver Pangya! Portable App PowerShell Programming Quote RaiDrive Reminder Scripting Software Streaming Technology Tips twitter Video Virtualization VMware Web Windows Wine WordPress Wuala YouTube ZNC

Cool stuff

  • AdiIRC
  • Affinity Designer
  • Affinity Photo
  • AquaSnap
  • Arch Linux
  • Archive Team
  • ConEmu
  • Debian
  • Directory Opus
  • Far Manager
  • FileLocator Pro
  • Fluent Search
  • foobar2000
  • Forte Agent
  • IRCCloud
  • ISBoxer
  • Jetbrains Rider
  • Newsblur
  • OBS Studio
  • Obsidian.md
  • RaiDrive
  • Sublime
  • SyncBackPro
  • The Semware Editor
  • True Launch Bar
  • Vivaldi
  • Wavebox
  • WinHex
  • WinRAR
  • WinSCP
  • XYplorer
  • ZNC
  • Zoom Player Max

Semantic Web

  • Mastodon
  • Tsukasa no Hibi
  • Tsukasa no Hibi Sitemap

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Footer

About

Going since 2004, Tsukasa no Hibi is my personal blog about technology, media and sometimes society.

More about Tsukasa no Hibi

WordPress · Log in