On Ubuntu System:
If you are using the Synaptic Package Manager, simply do the search for synergy and install the "Synergy" and "QuickSynergy" package. If you are using the command prompt, type in "sudo aptitude install synergy quicksynergy" Start the QuickSynergy on the host machine (the one with the mouse and keyboard you want to use) from Applications -> Accessories -> QuickSynergy. Enter the name of the client machine (the one without keyboard and mouse) in one of the directional boxes (if you don't know the name of the client machine, logon to the client machine and type in 'hostname' in a terminal to get it). Then click "Execute" button on the Host machine.
On Windows System:
On Windows run synergy by double clicking on the synergy file. This brings up a dialog. Configure the server:
Now click Test. The server will start and you'll see a console window with log messages telling you about synergy's progress. If an error occurs you'll get one or more dialog boxes telling you what the errors are; read the errors to determine the problem then correct them and try Test again. See Step 5 for typical errors.
On Ubuntu System:
Install the Synergy and QuickSynergy. Run the QuickSynergy on the client machine. Type in the IP_address of the Host machine in the "Use" tab. Click on the "Execute" button and you should be connected to the Host machine.
On Windows System:
Download and install Synergy from here: http://sourceforge.net/projects/synergy2/files/ Startup the Synergy and select "Use another computer's shared keyboard and mouse (client)" and type in the IP_address of the Host machine in the field "Other Computer's Host Name:"