
X2X - make your laptop and desktop screens share resources
X2X is a great program for users who have two computers and monitors, or a monitor and a laptop, and want to share mouse and keyboard between the two monitors. You have to be using X on both machines. In my case, I have Ubuntu Gustsy on both. To install X2X, on one workstation 1 do:
sudo apt-get install x2x
And on the laptop or second machine do:
sudo apt-get install x2x openssh-server
Now, on worksation 1, just do the following in the command line.
ssh -XC user@laptop x2x -east -to :0.
Make sure to replace "laptop" with the name of your computer, or the IP. You can make a shortcut for this by adding that command to your shortcut.
Reference this article for further explanation
https://help.ubuntu.com/community/X2xHowto
-Chad

X2X Alternative
For those of us that are forced to run Windows or Mac, Synergy might be something that will fit the bill.
I am forced to use an operating system other than Linux but I also have a separate desktop PC with Ubuntu 7.10 right next to it.
Using Synergy I am able to share the keyboard and mouse between the two machines. Additionally I can copy and paste text from one machine to the other as Synergy merges the clipboards of both computers. Too, it will syncronize the screensavers and if screen locking is enabled, only one screen requires a password to unlock them both. All of this, even though I am running two entirely different operating systems.
Did I say two? Yes, I did. That is because I only have two computers running together. However, Synergy is capable of working over several computers at once.
Synergy can be found in the Ubuntu repositories, or at the website here: http://synergy2.sourceforge.net/
There, one can find a quick walkthrough for setting it up along with a FAQ, some tips and more information than I can put in this simple post.
One caveat to keep in mind is that Synergy does not do any authentication or encryption by itself, so you will have to set that up manually. There is information on their website for doing just that.
If using a GUI is more your style, you can find one for Linux and Mac OS here: http://quicksynergy.sourceforge.net/ since the official Synergy website only provides one for Windows.
-Sonny