How To Use 1 Keyboard 1 Mouse with 2 iMacs?

audiotek

macrumors newbie
Original poster
Mar 27, 2015
26
0
I have 2 iMacs

Mid 2009 and a 2011

Without getting a KVM how can I only use 1 mouse and 1 keyboard to access both iMacs? They are both sitting on my desk side by side.

A friend of mine mentioned to connect both iMacs with a Thunderbolt cabler and use F2 to switch between the 2 I tried it but I don't think the 2009 supports that option.

What else could I use?
 

EugW

macrumors G3
Jun 18, 2017
8,446
5,801
I might try Synergy Besides that there's no other easy way? USBC to Display Port works?
Yes, I am using a Monoprice USB-C to DisplayPort dongle for my 2017 iMac, paired with a DisplayPort to Mini-DisplayPort cable from the dongle to the 2010 iMac.

I think for your setup, if you wanted to use your 2009 iMac as a second monitor, all you would need is a Mini-DisplayPort cable. (You wouldn't be connecting via Thunderbolt. You would be connecting via Mini-DisplayPort.)
 

EugW

macrumors G3
Jun 18, 2017
8,446
5,801
OK so that will act as a KVM?
No. My method turns the 2nd iMac into a dumb monitor (ie. extended desktop from 1st iMac).

If you want to use the two iMacs as two separate computers but with a common mouse and keyboard, then you need to run something like Synergy.
 

MacUser2525

macrumors 68020
Mar 17, 2007
2,005
310
Canada
I have 2 iMacs

Mid 2009 and a 2011

Without getting a KVM how can I only use 1 mouse and 1 keyboard to access both iMacs? They are both sitting on my desk side by side.

A friend of mine mentioned to connect both iMacs with a Thunderbolt cabler and use F2 to switch between the 2 I tried it but I don't think the 2009 supports that option.

What else could I use?
Screen sharing would do what you want allowing you to control/use the second machine from the one connected to the mouse and keyboard, best done from the machine with the higher resolution screen.
 

theluggage

macrumors 601
Jul 29, 2011
4,672
3,508
I might try Synergy Besides that there's no other easy way? USBC to Display Port works?
Neither of your iMacs has a USB-C port....!

If you want to run two macs side-by-side, each using their own display, and operate them from a single keyboard and mouse, Synergy is exactly the tool for the job: just move the mouse off the side of one computer's screen and it pops up on the other one, and the keyboard input automatically follows it. There's also limited cut & paste support.

It just needs a network connection between the two macs - WiFi will do fine. Its about $20, or you can waste more than $20 worth of your time trying to find an old, free version or you can spend $20 on a cable that might not actually do what you want...

The other possibility for doing what you want is something like this:

https://www.amazon.co.uk/Plugable-One-Button-Swapping-Between-Computers/dp/B006Z0Q2SI

Basically, a KVM switch without the "V" part. You might consider that over Synergy if...
(1) Synergy doesn't play nicely with some software you're using - most likely games - or the slightest hint of extra latency gets you shot.
(2) You frequently need to use different boot options on the "remote" Mac (e.g. for alternate startup drives) before Synergy would have a chance to start
(3) You don't, for some reason, want the remote machine to always start the Synergy client on boot.

I've actually used one of those together with Synergy for those reasons - but I was juggling 3-4 Macs/Linux/PCs and displays so I'd often need to re-configure Synergy or change boot options.

The other solutions suggested here...

"Screen sharing" would duplicate the screen of one Mac in a window on the screen of the other Mac. Yes, it lets you control one mac from the other, but its not what you want if the screens are side-by-side.

Connecting the second mac using "target display mode" - (https://support.apple.com/en-us/HT204592) makes one Mac act as a second display for the other - doesn't actually solve your display switching problem so you might still need Synergy and/or the USB switch.

If you want to do that, you need to use the 2009 iMac as the "target display" and connect the 2011 iMac to it using a miniDisplayPort-to-miniDisplayPort cable - not a Thunderbolt cable. The 2009 doesn't have Thunderbolt and can't do anything with a Thunderbolt cable. The 2011 can only act as "target display" for other Thunderbolt Macs, but it can output MiniDisplayPort.
 

Anonymous Freak

macrumors 603
Dec 12, 2002
5,241
593
Cascadia
If you want to use your already-owned keyboard and mouse, Synergy or Teleport are the best options. Work best if they are connected via fast network connection (Ethernet to a Gigabit hub/router.)

If you are in the market for a new keyboard/mouse, I've been happy with the Logitech MX Anywhere 2S, which supports Logitech's "Flow" feature - if you have one of their "Flow" capable mice (the MX Anywhere 2S or a few other mice,) plus a supported Logitech keyboard (a few to choose from, in a few different styles,) it can be set up so that you can just "mouse to the edge of the screen" on one computer and the keyboard and mouse actually switch inputs to the other computer.

With Synergy or Teleport, the computer the keyboard/mouse are actually plugged in to (or are wirelessly connected to) has to be on to use them with the other computer - and it can't wake up the other computer. With Logitech's system, it actually switches the connection from one computer to the other, so you can shut off the first computer. And it will wake up the other computer, just as clicking a button on a Bluetooth mouse will wake up the computer it is connected to.

(No compensation from Logitech, just a fan of this tech they have - and I hope other manufacturers do similar with their "multi device" keyboards and mice.)
 

blue_serotta

macrumors newbie
Apr 5, 2020
2
0
If you want to use your already-owned keyboard and mouse, Synergy or Teleport are the best options. Work best if they are connected via fast network connection (Ethernet to a Gigabit hub/router.)

If you are in the market for a new keyboard/mouse, I've been happy with the Logitech MX Anywhere 2S, which supports Logitech's "Flow" feature - if you have one of their "Flow" capable mice (the MX Anywhere 2S or a few other mice,) plus a supported Logitech keyboard (a few to choose from, in a few different styles,) it can be set up so that you can just "mouse to the edge of the screen" on one computer and the keyboard and mouse actually switch inputs to the other computer.

With Synergy or Teleport, the computer the keyboard/mouse are actually plugged in to (or are wirelessly connected to) has to be on to use them with the other computer - and it can't wake up the other computer. With Logitech's system, it actually switches the connection from one computer to the other, so you can shut off the first computer. And it will wake up the other computer, just as clicking a button on a Bluetooth mouse will wake up the computer it is connected to.

(No compensation from Logitech, just a fan of this tech they have - and I hope other manufacturers do similar with their "multi device" keyboards and mice.)
Can anyone confirm that this (e.g. Synergy or a KM switch) DOES NOT work? Again, to be clear, I also have two iMacs, both late 2013, and just use one currently. The second iMac does not have a keyboard or mouse. I want to run both iMacs side-by-side, utilizing my one keyboard, one mouse, and one trackpad. Again, to be clear, I need to be able to boot both iMacs, using one keybd, mouse, trackpad. Ideally, I can get a KM (A/B) switch to boot from iMac A, then iMac B. I'd then have both iMacs running but I think the first iMac would balk when I switched it to iMac B. I cannot see how Synergy would work.
 

Anonymous Freak

macrumors 603
Dec 12, 2002
5,241
593
Cascadia
A keyboard+mouse switch will do what you want for USB keyboard and mouse. And nearly all of them continue to present that a keyboard and mouse is present to the 'other' device if it's a somewhat modern electronic switch that supports hotkey switching. Older "dumb" KVM devices that you have to physically rotate a dial or press physical switches on the device won't, but basically any one sold now will.

Synergy will work once both Macs are booted in to their OSes, but will not give you boot-time access to whichever is the "secondary" device; meaning you couldn't log on to it, even.

Note that KM switches only work for USB keyboards and mice - I've never heard of a Bluetooth KM switch. If you want wireless, or to use an Apple Magic Trackpad, you're out of luck, there is no way to do that easily.

My suggestion was that if you are in the market for *new* keyboard/mouse, look in to Logitech's "Flow-enabled" series which can switch between devices seamlessly like Synergy would, but by actually switching inputs, so are usable at boot-time. And operate over either RF-wireless USB receiver or Bluetooth. (I use it between two Macs and a Windows computer, one Mac and one Windows via Bluetooth, the other Mac via RF USB dongle.)

Also, with 2013 iMacs, you have another feature at your disposal - Connect a Thunderbolt cable between the two and use Target Display Mode to use your second iMac as a second display for the first one! (That's one of my systems.) The second iMac is still running, so can be used a server (which is what I do,) while acting as an extra monitor for your other Mac. (The only caveat is that it only works when both systems are running macOS - if either one is booted to Windows, it won't work. The feature also went away on the "Retina" iMacs, the 4K and 5K models, it only works on the pre-Retina, Thunderbolt-equipped models and the original 27" pre-Thunderbolt models. The pre-Thunderbolt 21.5" models don't work, only the ones with Thunderbolt.)
 

mj_

macrumors 6502a
May 18, 2017
871
520
Austin, TX
My suggestion was that if you are in the market for *new* keyboard/mouse, look in to Logitech's "Flow-enabled" series which can switch between devices seamlessly like Synergy would, but by actually switching inputs, so are usable at boot-time. And operate over either RF-wireless USB receiver or Bluetooth. (I use it between two Macs and a Windows computer, one Mac and one Windows via Bluetooth, the other Mac via RF USB dongle.)
While I absolutely second your suggestion in general I want to add that Logitech Bluetooth devices are not available on Macs with enabled FileVault at boot time as macOS lacks the proper pre-boot drivers. In other words: if you have FileVault enabled and want to use Logitech input devices you will need to use the provided Logitech Unifying Receiver instead of Bluetooth.
 
  • Like
Reactions: blue_serotta

blue_serotta

macrumors newbie
Apr 5, 2020
2
0
Hi Anonymous,
Pardon me for my old, tired thinking. My brain still sees multiple Medusa-like bramble-bushes of cabling between systems and sketchy KVM switches and it's hard to imagine I can cobble a clean, functioning dual iMac system! Can you recommend a specific "Flow-enabled" keyboard + mouse? Is there a trackpad that I can use? (not mandatory, though) I've attached a screenshot of the specifics of the type of iMac I have (the other is dormant but am very certain it is the same).

It's really difficult for me to wrap my head around that when I fire up each computer, each one will see the same peripherals at boot-time, especially if one is already up. Do I still need Synergy in any case?

Can you tell me what kind of Thunderbolt cable I should be looking for if I want to use the Target Display Mode for the second iMac?

Thanks SO much!
 

Attachments

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.