User:Maffblaster/Drafts/Synergy

From Gentoo Wiki
Jump to: navigation, search
Resources

Synergy is open source, cross platform software used to manage multiple X11 clients with a single keyboard and mouse. It can be thought of as a KVM - but only supporting keyboard and mouse. Although the website says prompts support though purchasing "Basic" and "Pro" versions, the same functionality can be replicated through a little elbow grease.

There are currently two versions of Synergy being maintained: 1.x and 2.x. The 2.x branch appears to be still in beta.

Installation

USE flags

USE flags for x11-misc/synergy Lets you easily share a single mouse and keyboard between multiple computers

libressl Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)

Emerge

root #emerge --ask x11-misc/synergy

Configuration

Files

  • /etc/synergy.conf - Global (system wide) configuration file.
  • ~/.synergy - Local (per user) configuration directory.

Service

Encryption

The Synergy wiki upstream provides details for enabling encryption between the client/server connection(s).

In short, copy the bundled encryption plugin to the Synergy user's home directory:

user $mkdir -p ~/.synergy/plugins
user $cp /usr/lib64/synergy/plugins/libns.so ~/.synergy/plugins

Next, generate the certificate:

Usage

There are a few executable files that are merged after the compilation:

  • /usr/bin/syntool
  • /usr/bin/synergyc
  • /usr/bin/synergys
  • /usr/bin/qsynergy

Invocation

Removal

Unmerge

root #emerge --ask --depclean --verbose x11-misc/synergy

See also

  • TigerVNC — a client/server software package allowing remote network access to graphical desktops.

External resources