Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

x2vnc allows the console (keyboard and mouse) on an X terminal to be used to control another console running a VNC server.

x2vnc allows the console (keyboard and mouse) on an X terminal to be used to control another console running a VNC server. It also provides ancillary functions like clipboard sharing.

The software was developed in 1998 by Fredrik Hubinette, based on source code from x2x and VNC.

What it does.
This program will let you use two screens on two different computers as if they were connected to the same computer. Even if one of the computers runs Windows 95/98/NT and the other one runs X-windows. If they are both running Windows, you probably want to use Win2VNC instead.
Personally, I have two computers, both with linux installed, but I often have to run Windows 95 or Windows NT when working, and I just got tired of switching between the two keyboards. Therefore I wrote this program. While running this program I can move the mouse pointer beyond the right edge of my X display, and then the pointer will appear on the screen on the other computer. If you have ever used x2x or a computer with two graphics cards, you know what I am talking about.

How it works.
The program will open a small (one pixel wide) window on the edge of your screen. Moving the pointer into this window will trigger the program to take over your mouse and send mouse movements and keystrokes though the RFB protocol to a VNC server running on another machine. When the pointer is moved back towards the opposite edge on the other screen, the mouse is then released again.
The operation itself is almost identical to x2x, but most of the code was actually borrowed from the program vncviewer. 

As the name x2vnc implies, x2vnc can only send events from an X-windows based display to any VNC server. VNC servers can run on Microsoft Windows 95/98/NT/2000/XP. x2vnc will not run without X-windows. Please note that the normal VNC server for X windows does not control the mouse on the screen itself, but creates a virtual server in memory instead. If you wish to control an X11 display with x2vnc, you need to use x11vnc, but it's probably easier to just use x2x instead.



Changes since version 1.7.1
  • Fixed some bugs
Changes since version 1.6.1
  • Now re-connects automatically
  • New input capture method which handles odd screen sizes better
  • Added -tunnel and -via for automatic SSH tunneling
  • Further fixes for cut'n'paste. (Should now work with java and on 64 bit platforms.)
  • Randr support allow x2vnc to detect when the screen is rotated
Changes since version 1.6
  • Added Martin Dorey's patch which fixes cut'n'paste for Java (and other) applications.
  • Fixed a bug in -navhack
Changes since version 1.5.1
  • Added some patches from Grant McDorman to allow proper cut'n'paste between x2vnc and Konsole/gnome-terminal.
  • Honor $DESTDIR to make packaging easier.
  • Added a workaround to make cut'n'paste work better with old VNC servers.
  • Since all new VNC servers already support wheel emulation themseleves, x2vnc doesn't translate wheel events to arrow up/down anymore unless -wheelhack is specified.
  • Added -navhack which is similar to -wheelhack, except it translates button 6 & 7 to Alt+Left/Right.
  • Added -debug to debug key events
  • Allow -edgewidth 0 to turn off edge-flipping
Changes since version 1.4
  • Now traps grabkey errors, no more X errors.
  • Xinerama support, allows x2vnc to work sanely on multi-head X displays.
  • If stdin is not a tty, read password with fgets() instead of getpass(). This allows scripts to feed in the password.
  • New arguments -noblank and -lockdelay allows you to keep screen savers from activating while using your computers.
Changes since version 1.31
  • Added hotkey functionality.
  • Added Macintosh mode.
  • Included a patch for -trimsel.
  • Implemented -scrollines
  • Fixed a glitch which made the pointer appear briefly at the wrong side of the screen.
  • Implemented a grab timeout to allow xscreensaver to activate gracefully.
  • Added -desktop option.
  • AltGr should now work properly.
  • move remote cursor to resting place immediately when connecting to confuse the user less. (Thanks to Patrick Cheng)
  • Included tkx2vnc, a x2vnc frontend written by David Noble (In contrib directory)
Changes since version 1.3
  • Fixed an off-by-one error that made it impossible to get to the last pixel on the screen with the mouse pointer. This of course made it hard to access the Task Bar on the Windows computer.
Changes since version 1.2
  • Cut'n'paste should now work properly
  • Reversed the mouse wheel direction. (Use -reversewheel for old behaviour)
  • Added a autoconf 'configure' script to make it easier to compile
  • Fixed some -edgewidth problems
Changes since version 1.1
  • SHIFT-TAB should now work on HP-UX
  • Applied the mouse-wheel patch, can be disabled with -nowheel (and fixed a bug in the mouse-wheel patch)
  • Added a man page
  • Made -passwd create the password file if it does not exist
  • Added makefile rules for making rpms
Changes since version 1.0
  • SHIFT-TAB should now work
  • Should now work with xlock and other evil X programs.
  • new option -edgewidth should make it work on Digital Unix X servers.
  • When mouse leaves Win32 machine, it parks the mouse pointer on that machine in a place where you can hardly see it.
  • Applied a patch from Grant McDorman that should make x2vnc work with multiple-screen X servers.
  • Fixed a bug which made x2vnc not work with certain window managers. (Like enlightenment) Thanks to Brad Fitzpatrick for helping me with this one.

Custom Search

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
Share on Google Plus

About Hugo Repetto

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment


Post a Comment