So x2x is something I've known about for many many years. It's a program that lets you control multiple X displays with one set of inputs.
Let's say you have a Linux machine under your desk. You have two monitors with two video cards. On one monitor you want to use Gnome, and on the other monitor, you want to use KDE. All you have to do is setup two X servers, one on :0, and the other on :1. Then you use x2x -east or -west depending on which monitor is on the right or left. Now even though you have two separate X servers, you just move the mouse back and forth as if it's one computer using multiple monitors that happen to have separate desktops.
The same things works if you have multiple boxes. Pretend you have three Linux machines under your desk. One of them is a server. On your desk you have three monitors, one for each. Well, there's no need to also have three keyboards and three mice. You don't even need a KVM switch. Just use x2x, and the one keyboard and one mouse can go between all three as if you had one computer with three monitors.
If this intrigues you, there is another program out there called Synergy. It does basically the same thing, but it works for multiple OSes, and not just X servers.
Like I said, I've known about x2x for many years. I've just never thought to use it. Today I realized I was stupid. At work I have a Linux desktop, and I bring my Linux laptop to work and put it next to me. Of course, I've been killing my hands switching to the touchpad and the laptop keyboard. Not necessary! Today I started using x2x. I now use the same mouse and Happy Hacking Keyboard to control my work desktop and personal laptop while at my desk. It's amazing.
Sometimes people go looking for solutions when they don't have problems. i.e: Any cool iPhone apps? Sometimes people have problems, and go looking for the solution in all the wrong places. And sometimes people have a problem, but don't even realize it until the perfect solution just magically appears.
I think an episode on X is in order, but much research is needed.
Comments
EDIT: WOW... completely missed the Synergy mention in Scott's post. DOH.
Thanks Scott!