How to Use Synergy to Share a Single Keyboard & Mouse Between Multiple Macs & Computers

Apr 13, 2012 - 40 Comments

Share single keyboard and mouse multiple Macs

Want to share a single keyboard and mouse between multiple Macs? How about using a keyboard and mouse attached to your Mac to control an additional PC running Windows or Linux, and even being able to share copy and paste data between the different operating systems? You can do that with the help of a great free tool called Synergy, and setting it up is easier than you might think.

Requirements

  • Mac OS X: Download SynergyKM (free) and install it on all Macs involved
  • Windows & Linux (Optional): download Synergy client (free) if you wish to share a keyboard and mouse with a PC
  • Each computer must be on the same local network

Confirm that SynergyKM and Synergy is installed on each computer you wish to share a keyboard and mouse between. Nearly every major operating system is supported, including Mac OS X Snow Leopard, OS X Lion, OS X Mountain Lion, Windows XP through Windows 7, Ubuntu Linux, Fedora Linux, amongst others, but this walkthrough will cover the setup with SynergyKM from a Mac standpoint. The only difference when connecting a Windows or Linux machine is the respective interface used to setup the connection.

For the purpose of this walkthrough, we’ll define the primary Mac with the attached keyboard and mouse as the “host server” and any connected Macs sharing that keyboard and mouse as a “client”. This is a multiple step setup process, starting with the host server and moving to each client from there.

Share a Single Mouse & Keyboard Between Multiple Macs with SynergyKM

From the Host Server:

  • Open System Preferences and click the “SynergyKM” control panel
  • Under “General” choose “Share my keyboard and mouse” and click the “Turn Synergy On” button
  • Share Keyboard and Mouse in Synergy

  • Now click the “Server Configuration” tab, this is where you will set up the arrangement and orientation of each computer
  • Click the [+] button to add computers. First add the host server and name it after the machines network Sharing name (example: MacBookPro), then add more screens as appropriate, naming each after their respective network share names and place them according to their physical layout
  • SynergyKM Configuration

  • On the host server machine, confirm that Synergy is turned on from the General tab and then move to the client computers

The host server status should now be waiting for client connections.

From the Client Computers:

  • Open System Preferences and click the “SynergyKM” control panel
  • Click on “General” tab and select “Connect to a shared keyboard and mouse”
  • Client SynergyKM Configuration

  • Click the “Client Configuration” tab and enter the hostname of the Server (example: MacBookPro), alternatively you can enter the host machines IP address
  • Go back to the “General” tab and click “Turn Synergy On”

The “Status” shown at the bottom of SynergyKM host and client machines should now say “Connected”.

That’s it! You are now free to drag the mouse cursor between each computer. Keyboard control follows the cursor as does the clipboard. Screen savers will typically sync, as does waking each Mac from a screen saver, though a password must be entered on each individual Mac if a lock screen is used.

It’s very important to name each entry to match the machines network Sharing name. Find the names by clicking on the “Sharing” panel in System Preferences on each Mac, it will be next to “Computer Name”. If you encounter problems with setup or connections, it is almost certainly related to the naming of either the host server or the clients.

If you have an iPad but no extra Mac or PC laying around, you can use the third party app Air Display in a similar manner, though it basically just extends the desktop.

Topmost Mac picture borrowed from a past Mac setups post.

Update: Some users are experiencing issues setting up SynergyKM as a server in OS X Lion. If you are running into problems setting it up you may want to try limiting the Lion machine to a client function rather than a server, and running server either on a PC or another version of Mac OS X. Alternatively, you can also use Teleport but Teleport is limited to sharing keyboards between Macs only.

.

Related articles:

Posted by: William Pearson in Mac OS, Tips & Tricks

40 Comments

» Comments RSS Feed

  1. […] covered a similar sharing keyboards and mice with Synergy before, but not all users could get it working on their Macs, whereas Teleport definitely works in OS X […]

  2. […] alternative called Synergy lets you share a mouse and keyboard between Windows, Mac OS X, and Linux

  3. Nick Bolton says:

    Hello,

    For all those who are saying “Doesn’t work on Lion” please think about what you’re saying. Synergy *does* work on Lion, and Mountain Lion too (as many users have said).

    It might be that you aren’t using the software correctly, I know it should work out the box, but there can be complications (firewalls, networking issues, having assistive devices disabled, etc) so please get help from our website before saying it doesn’t work specifically on Lion.

    http://synergy-foss.org/help/

    And you should try using the stock GUI provided with Synergy, we worked very hard on it. SynergyKM and QuickSynergy are great pices of software and have helped a great number of people, but were designed to provide the missing GUI for 1.3 (which is now an ancient version).

    The GUI that comes with 1.4 is the same on all platforms (Mac, Windows, and Linux) and is designed specifically to work with 1.4, so by using this you will get the best user experience.

    Thanks for using Synergy!

    Thanks,
    Nick

    • william says:

      Thanks alot. Works perfect.

    • Matt says:

      Thanks, Nick! Fortunately, I read through all the comments and got to yours before I tried following the instructions in the original post. Doing as you said, I used the base Synergy installs on both my Mac and my PC, and did not use SynergyKM. It worked perfectly following the User Guide on your website.

      Server: Mac OS X Lion v10.7.5
      Client: Win 7 Pro SP1 32-bit

      Great software!

  4. […] The single Apple keyboard and wireless Logitech M510 mouse are shared between both computers with the help of Synergy. […]

  5. Carlos says:

    Got mine working as well. Was getting the “Timed Out” error but it had to do with windows firewall.

    Server: Windows 7 Ultimate
    Client: MacBook Pro OSX 10.7.3

  6. noreiga says:

    I got it working on first try. I am specifying each network name both identifier and connection. No problems at all here.

  7. Joseph says:

    Pity, everyone’s saying it works, but it doesn’t work on Lion. At least doesn’t work on my Macbookpro. Can anyone post an instruction here? I am trying to use Macbookpro as server and windows 7 as client. Thanks in advance!

    • BT Barner says:

      Try IP addresses for the connections, and don’t use spaces in the machine names. If all else fails, try using Windows 7 as server and the MacBook Pro as the client.

  8. badchicn says:

    Works fine using 2 Lion machines.

    “Computers on your local network can access your computer at: Earth.local”

    Setup the client hostname to “Name.local”, reboot both machines after you’re done with the setup.

    Few things in the preferences don’t work. After installing the drivers to my razer mouse the scroll works.

    Really nice app.

  9. mrhek says:

    Forgot to mention I am using OS X Lion as a server and using Windows 7 64bit as client.

  10. mrhek says:

    it does work as a server. just remember to:

    Enable access for assistive devices

    Under the “Universal Access” section under “System Preferences”.

    On a side note if you are using a Magic Mouse, you might lose the scroll capabilities on it.

    • Tomo says:

      I had to use the latest beta to get it to work, and often times indeed the scroll gets messed up — what I end up doing is turning the server off and then on again if i need scroll in a client, or just off temporarily if I need it in the server

  11. Kaush says:

    The “fix” for using Synergy as Client + Server in Lion is to use QuickSynergy instead of the stock Synergy. I wrote about this in detail here:

    Get Synergy working with OS X Lion (including modifier keys)

    http://journal.kaush.co/34/get-synergy-working-with-os-x-lion-including-modifier-keys

    Cheers.

  12. MasaYan24 says:

    There are so many complains but not tips or anything to fix.
    I’d rather wait farther reports :P

  13. Sniffy says:

    Works in 10.7.3 but you have to specify IP addresses not aliases.

  14. Brian says:

    Everyone saying it doesn’t work in Lion. IT DOES, it works as a CLIENT in Mac OS X Lion. Not a server.

    All that means is use a PC or an old Mac as the client, and connect to it with the Lion Mac.

    • Will says:

      It works as both client and server, though apparently a lot of users are running into problems setting it up. It works though, I promise!

      • Jeff says:

        Will please post you’re instructions for getting this process to work. It seems out of all the people you are the only one that has this working with no bugs.

  15. Kerry says:

    @Will Good point. Multi-platform. Thanks I use only OS-X so Teleport functions well. I do use Windows as a VM, so in that respect, Teleport is still useful. I’ll still check out Symergy though as I am always open-minded to better ways of doing things if they exist.

  16. Scott says:

    Wow, I am disappointed. I am usually very much a fan of OSXDaily, this is just downright bad reporting.
    This is an open source project from years ago, with ZERO support for the current Mac OS (Lion) let alone for the upcoming OS. It is also unsupported and does not work.
    While I think the idea is great, and if it were a real supported product I would be all over it, and the way this was written that was my expectations. But this is not ready for prime time, and best left to the hackers and people willing to be disappointed.

    Please, a little more research next time.

  17. Joseph says:

    OK, now it not only doesn’t work on Mac Lion, but I am having difficulty to uninstall it. Please, test the stuff before you post on your web site. osxdaily.com so irresponsible.

  18. Joseph says:

    Doesn’t work on Lion. Couldn’t turn the Synergy on. Shows “Status: Error: No configuration available”.

  19. Mick says:

    seemed to fall over at the first hurdle. Couldn’t ‘turn on’ Synergy. Found information that says the ‘beta’ version doesn’t run on Lion?? Spent about 15mins looking for a non-beta version before giving up…. nice idea though….

  20. Jeff says:

    This does not work in Lion. You need at least one Snow Leopard machine to get this to work. They have a bug in their GUI that has not been fixed.

    • Will says:

      It does work in OS X Lion, I am using it right now.

      • Charmingsing says:

        The client runs in OS X Lion but the server doesn’t for me. I solved it by using Windows as the server and Lion as the client.

        • Charmingsing says:

          Never mind I have server running in Lion now, works perfect! :) it gives a connection error but then accepts connections. Must be a bug though it runs.

          • Jeff says:

            Yes you can get it working by killing the process and then hitting start again like I said its a GUI bug but who has time for that bull.

            And you have to do this every time you reboot. But like I said as long as you have 1 snow leopard machine it works fine.

    • Harry T. says:

      If you are using Lion, use http://www.share-mouse.com

      ShareMouse has better Mac support, works in either direction without “server” and “client” and is up and running in a minute.

      Cool extra feature: You can also drag around files from one computer to another.

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site