If you read my first 60 second tutorial on using one keyboard and mouse on multiple computers you would know that using two linux boxes with one keyboard and mouse is easy. This blog will show you how to do the same thing but with a Linux box and a Windows box.
So lets get started.
The program to use this time is actually a hack of the x2x program. It is called x2vnc and you guessed it, it connects an X keyboard and mouse to a VNC client.
On your Windows desktop download and install the RealVNC server from http://www.realvnc.com/cgi-bin/download.cgi
Make sure that the vnc server is running (You should see a white icon in the tray.)
Find the ip of your Windows box (windows key + r > cmd > ipconfig)
At your linux box do the following:
Download, Compile and install x2vnc:
owen@linux-blog-lappy:~$ wget http://fredrik.hubbe.net/x2vnc/x2vnc-1.7.2.tar.gz
owen@linux-blog-lappy:~$ tar xvzf x2vnc-1.7.2.tar.gz & cd x2vnc-1.7.2/
owen@linux-blog-lappy:~/x2vnc-1.7.2$ ./configure && make && sudo make_install
Launching x2vnc. Once installed The syntax for x2vnc is very simular to that of x2x.
x2vnc [options] host:display
It will either be North, South, East or West. If your windows box is on your right use east.
owen@linux-blog-lappy:~$ x2vnc -east 192.168.X.X:0
Thats all there is to it. You should be able to mouse over the right of your screen and see your mouse cursor on your windows box.