-   Linux - Hardware (
-   -   One keyboard and 2 Linux machines? (

Xeratul 01-29-2013 12:17 AM

One keyboard and 2 Linux machines?

It is not so much related, but well, there is Linux machines.

I would like to use my keyboard on two machines. Have you heard of a switch for keybaords?

It exists for monitors. 1 monitor and 2 pc's.

I would be looking for a switch, similar, for : 1 keyboard and 2 pc's.

If you heard of sthg, please let me know.

Kind regards

pan64 01-29-2013 12:21 AM

I do not really understand it, but of course you can open remote terminals and also you can use 2 DISPLAYs and also you can redirect stdout, stderr....

jamesf 01-29-2013 12:26 AM

The device you're looking for is called a KVM (Keyboard / Video / Mouse) "switch". They exist for both USB and PS/2-style keyboards and mice. They're for sharing keyboard, video, and mouse between multiple machines.

Some motherboards don't like the keyboard and mouse being switched away and some of the better KVMs have hardware that makes the mouse and keyboard appear to exist for all connected computers but only send the keyboard and mouse events to the selected computer. Those are the better KVMs.

You could also use a program like VNC, or log in to from one box to the other via XWindows / XDMCP. You could also use a program like Synergy ( to "share" the keyboard and mouse with the computer whose screen you move the mouse to.

good luck!

whizje 01-29-2013 02:19 AM

If you have 2 pc's with each their own monitor you could use synergy. It enables you to share the keyboard and the mouse, unfortunately it only works under X.

273 01-29-2013 04:40 AM

You can also use vnc and x2vnc to control one machine from the other by sliding the mouse pointer across to it. It can be confusing though and it's not always completely straightforward to set up.

jefro 01-29-2013 04:42 PM

I guess if the keyboard is usb then a usb sharing device may work. Most times one uses a kvm for all of it. I'd guess a kvm would still work for just the keyboard.

Xeratul 02-03-2013 03:42 AM

this is like using ssh -X over different distant machines. so a regular thing, right`?

In my case, one is windows xp and the second is Debian

273 02-03-2013 03:53 AM

I still think win2vnc or x2vnc might be the thing you need:
You set up a VNC server on the machine without a mouse and keyboard and control it from the other machine.

All times are GMT -5. The time now is 09:27 PM.