| « HOWTO: Put grub back when Windows screws it up | HOWTO: Configure Automatic login. » |
So you have two Linux hosts both running X. You also hove two screens and want to control both with one mouse and keyboard. Yes you can do this with a KVM but with a KVM you cannot simply copy/paste between the two machines as well. With x2x you can simply move the mouse to one side of the screen and keep on going and it appears automatically on the other screen.
Follow up:
This is one of those setups that is so so simple the SECOND time around . Now I have it working its really very simple to explain.
Make sure x2x is loaded on both machines, (may only be needed on the 'to'). X2x was working so I stopped playing around and didn't tidy up.
Then on the 'from' host where the keyboard and mouse are create a little script. The script allows you to start up x2x in the sessions config so it is always running and saves having to remember the command if you need to start it up manually.
In my case I'm connecting to a host called to_host and when I move my mouse off the left hand side of the monitor or west, The mouse appears on the to_hosts screen and I'm controlling that host now.
The above all works upto Karmic when there is a bug "somewhere" See this post for a hack to get it going again.