Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok, so I want to install synergy on both the Ubuntu Desktop and Server editions.

Technically the server would not have a mouse but I've heard of a program called GPM that you can install.

So, is it possible to run Synergy on both a desktop and server system?

share|improve this question
Wouldn't it be a lot easier to use one of the virtual desktops on your desktop and open a Terminal session (SSH connection to server) there? That's how I do it :p. – wimvds Feb 10 '12 at 8:02
Can you explain? I'm still relatively new when it comes to Ubuntu and Linux in general. Are you referring to the installation of VirutalBox or something? – Muhnamana Feb 10 '12 at 14:24
up vote 2 down vote accepted

Synergy Needs a GUI

Synergy (see also here) lets you "join" up multiple desktop interfaces on different machines, letting you treat them as though they were different screens on the same machine (even though they are not). You can use the same keyboard and mouse for each.

If you use arrow keys to control your mouse pointer, that shouldn't be a problem for Synergy.

However, Synergy will only work on machines that have desktop interfaces running.

If a server system has a mouse pointer (even from an attached mouse) but it has no GUI running, Synergy will not work. (And it wouldn't make sense for it to work. If you want a console to operate seamlessly as part of a single GUI, just SSH in to the server from the desktop machine.)

Web searches for synergy "command-line only" and similar strings return results because the Synergy client executable (for some OSes) is a command-line-only executable--that is, it doesn't have its own GUI.

To verify to a reasonable degree of sureness that Synergy requires a GUI to be running, I consulted its source code. In this file, you can see that a host's operating system determines if the CScreen object is instantiated from the CMSWindowsScreen, CXWindowsScreen, or COSXScreen subclases. X Windows is the GUI in most Unix-like systems, including all GNU/Linux systems (which includes Ubuntu). You may have heard of it referred to as X11 (which is the most common of its several names).

While that doesn't rigorously prove that a Synergy screen on an Ubuntu machine needs to have a GUI running, it constitutes significant confirming evidence to an otherwise consistent understanding of what Synergy does and does not do, which I believe to be cogent.

A Server Can Have a GUI

I said Synergy won't work if a GUI isn't running. But an Ubuntu Server system can run a GUI:

On the other hand there are some good reasons to avoid installing and using a GUI on a production server system (see also this part of the ServerGUI page).

If your Ubuntu Server system has a GUI running, Synergy should work fine. (Similarly, if you have an Ubuntu desktop system with no GUI--equally possible--Synergy will not work.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.