I have two separate computers (two monitors and two cpu's) with Ubuntu 16.04 on both the computers. So, how can i connect these two computers with one keyboard and mouse..??

Any suggestions are welcome.

  • Why do you want to do something like that? Can't you just use one computer with 2 monitors and duplicate the screen? – Cristian Vrinceanu Feb 11 at 10:14
  • No. I have running simulations and calculations. So i have two computers (two cpu's and two monitors). I need to use them with one keyboard and one mouse. Is this possible..?? How..?? – D.H.N Feb 11 at 11:50
  • Google "KVM switch". – Jos Feb 11 at 12:14

Logitech offers "easy switch" in their mx performance mice: https://www.logitech.com/assets/54026/13/mx-anywhere-2-setup-guide.png

I believe they should have the same mechanism for their higher-tier keyboards, but I can't find anything via google except K811

To work with this you would need 4 receivers total (for two input devices, each computer having two receivers connected)

if you're looking for a software-only solution, I don't think there is any.


Synergy will do what you want. There used to be a free version but now it's only available as paid software. It's configured by setting one computer up as a client, the other as a server, then configuring the physical layout of your monitors. This then allows a single keyboard and mouse to control the two separate PCs, which also includes clipboard sharing.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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