Using x2vnc

What is x2vnc?

x2vnc is a dual-screen hack. It "will let you use two screens on two different computers as if they were connected to the same computer. The computer with the 'main' keyboard must be running X-window, and the second computer should have a VNC server running which will update the contents on the actual screen.


The scenario: I sit at my desk, with my workstation that runs X. I have my laptop beside me (to the right) which also runs X. I keep having to lean over and use the mouse and keyboard on my laptop which is a pain (I'm a student! I'm lazy!).

It'd be nice if I could "link" the keyboard and mouse of my workstation to my laptop so I could control everything from the one machine. x2vnc lets me do this.


(Note: In the above, workstation_name is the DNS name of the workstation. It could also be the IP address. The same applies for laptop_name)

Now if you move your mouse to the far right of your screen and keep going, your mouse should appear on the laptop. The workstation's keyboard will also "type" on to the laptop. It's just as though your keyboard and mouse are connected to the same two machines.


Page written by DavidRamsden

LinuxHints/UsingX2vnc (last edited 2006-05-01 14:19:49 by 81)