---
name: "x2vnc"
section: "1x"
platform: "linux"
package: "x2vnc"
version: "1.3-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/x2vnc/1x"
---

# x2vnc(1x)

a dual-screen hack

## NAME

x2vnc - a dual-screen hack

## SYNOPSIS

**x2vnc** \[ **-display** *display* \] \[ **-shared** \] \[ **-resurface** \]\
 \[ **-north** \] \[ **-south** \] \[ **-east** \] \[ **-west** \]\
 \[ **-passwdfile** *passwd-file* \] \[ **-edgewidth** *width* \]\
 \[ **-nowheel** \] \[ **-reversewheel** \] *host:0*

## DESCRIPTION

*x2vnc* will let you use two screens on two different computers as if they were connected to the same computer. The computer with the 'main' keboard must be running X-window, and the second computer should have a VNC server running which will update the contents on the actual screen. This means *Xvnc* is not suitable, but *WinVNC* is.

For up-to-date information on x2vnc, see the x2vnc home page: **http://fredrik.hubbe.net/x2vnc.html**

- **-display** *display*

  The X windows display to connect from.

- **-shared**

  Allow multiple connections to the same VNC server.

- **-north**, **-south**, **-east**, **-west**,

  Determine which edge leads to the other screen.

- **-passwdfile** *password-file*

  With this option you can start x2vnc without entering a password. The file is created by **vncpasswd** which comes with the X-windows VNC software.  If the file does not exist, *x2vnc* will ask for a password and create the file.

- **-resurface**

  This option will cause the trigger window to re-surface automatically if it is covered up by another window.

- **-edgewidth**

  This is a workaround for some X servers which do not allow the mouse to go all the way to the edge of the screen. By setting this to 2 or greater, the mouse will be able to reach the x2vnc window and thus warp to the windows machine. The default value is 1.

- **-nowheel**

  Disable mouse wheel emulation. Without this option your wheel will work like arrow up/down, with this option x2vnc will send them as mouse-button 4/5.

- **-reversewheel**

  Invert the up/down direction of the mouse wheel emulation.

## BUGS

Alt-Gr does not work.

## AUTHOR

Fredrik Hübinette, hubbe@hubbe.net
