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.
Download.
Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
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.
Download.
- x2vnc version 1.7.2
- You also need a VNC server to run on the machine you wish to control, such as RealVNC, OSXVNC or x11vnc.
- If you have any problems, try version 1.7.1, 1.6.1, 1.6, 1.5.1, 1.4, 1.31, 1.2, 1.1 or 1.0.
ChangeLog.
Changes since version 1.7.1- Fixed some bugs
- 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
- Added Martin Dorey's patch which fixes cut'n'paste for Java (and other) applications.
- Fixed a bug in -navhack
- 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
- 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.
- 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)
- 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.
- 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
- 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
- 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:
0 comments:
Post a Comment