Linux Blog

Easy Keyboard & Mouse Sharing with QuickSynergy

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 6:30 am on Wednesday, April 6, 2011

I’ve written before about using one computers keyboard and mouse across multiple computers by using x2vnc and x2x, there is however another tool called Synergy. I never really messed around with it because of x2x and x2vnc but it is a valuable tool worth mentioning. QuickSynergy is available in most repositories that is a handy little tool to get your computers set up using Synergy and as the name suggests; quickly. If you apt-yum-get-fu it it will install all your dependencies for you and make setup a breeze.

Take a look at the screenshots:
(Read on …)

A Windows Box, A Linux Box, Two Monitors Sharing One Keyboard and Mouse.

Filed under: Quick Linux Tutorials — TheLinuxBlog.com at 7:15 pm on Wednesday, November 7, 2007

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.

Two Screens, Two Linux Boxes – One Keyboard and Mouse

Filed under: General Linux,Quick Linux Tutorials — TheLinuxBlog.com at 8:50 am on Wednesday, September 26, 2007

Ever wished you could use your keyboard and mouse on another computer? In this article I will show you how.
To read it it should take about 60 seconds. In this time I’ll show you how to use one keyboard and mouse on two Linux machines. I’ll cover how to use the same keyboard and mouse on a Linux and Windows machine in another article.

Ready? Lets go!

First Decide which keyboard and mouse you want to use across multiple monitors on different machines and sit at that computer. The program needed to get this to work is called x2x.
As of this writing the stable version is 1.27

Download the stable version from http://x2x.dottedmag.net/

wget http://x2x.dottedmag.net/releases/x2x-1.27.tar.gz

Extract The Source code

tar xvzf x2x-1.27.tar.gz

Compile x2x

./configure && make && make install

If x2x compiled without any errors you should be good to run the program.
On the computer you want to use your primary keyboard and mouse on do the following:
Find out your IP

/sbin/ifconfig ethX

Run xhost to allow clients to connect to your display:

xhost +

Going back to your original computer decide which side of the monitor you want your mouse to jump to the other computer on. It will either be North, South, East or West. If your second linux box is on your left like mine, it will be west.
Now lets get the two computers connected with the same keyboard and mouse:

x2x 192.168.X.X:0.0 -west

Thats all there is to it. You should be able to mouse over the right of your screen and see your mouse cursor on the other computer.