diff options
author | runge <runge> | 2008-05-08 01:23:45 +0000 |
---|---|---|
committer | runge <runge> | 2008-05-08 01:23:45 +0000 |
commit | abbdf92a704790374a12d6da5125b4e95595aaac (patch) | |
tree | 55fdb539e7b9d2e0447668f1dad77c96df22aeb1 | |
parent | d8812f8c85fcd83412c6ad275d10ce1c43f22240 (diff) | |
download | libtdevnc-abbdf92a704790374a12d6da5125b4e95595aaac.tar.gz libtdevnc-abbdf92a704790374a12d6da5125b4e95595aaac.zip |
x11vnc: add UltraVNC repeater proxy support. fix to setp gui
mode. -threads is now strongly discouraged. Read PORT= in url.
User can set nolisten for Xvfb in -create mode. clean up
wait_for_client() to some degree.
-rw-r--r-- | x11vnc/ChangeLog | 6 | ||||
-rw-r--r-- | x11vnc/README | 4140 | ||||
-rw-r--r-- | x11vnc/connections.c | 126 | ||||
-rw-r--r-- | x11vnc/gui.c | 7 | ||||
-rw-r--r-- | x11vnc/help.c | 54 | ||||
-rw-r--r-- | x11vnc/options.c | 2 | ||||
-rw-r--r-- | x11vnc/scan.c | 17 | ||||
-rw-r--r-- | x11vnc/sslhelper.c | 21 | ||||
-rw-r--r-- | x11vnc/ssltools.h | 18 | ||||
-rwxr-xr-x | x11vnc/tkx11vnc | 46 | ||||
-rw-r--r-- | x11vnc/tkx11vnc.h | 46 | ||||
-rw-r--r-- | x11vnc/user.c | 1977 | ||||
-rw-r--r-- | x11vnc/x11vnc.1 | 57 | ||||
-rw-r--r-- | x11vnc/x11vnc.c | 17 | ||||
-rw-r--r-- | x11vnc/x11vnc_defs.c | 2 |
15 files changed, 3542 insertions, 2994 deletions
diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog index 8b97fe5..11ff1b3 100644 --- a/x11vnc/ChangeLog +++ b/x11vnc/ChangeLog @@ -1,3 +1,9 @@ +2008-05-07 Karl Runge <runge@karlrunge.com> + * x11vnc: add UltraVNC repeater proxy support. fix to setp gui + mode. -threads is now strongly discouraged. Read PORT= in url. + User can set nolisten for Xvfb in -create mode. clean up + wait_for_client() to some degree. + 2008-01-31 Karl Runge <runge@karlrunge.com> * x11vnc: during speeds estimate, guard against client disconnecting. ssvnc sync. diff --git a/x11vnc/README b/x11vnc/README index 50053b3..7756f0b 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Mon Feb 18 10:17:50 EST 2008 +x11vnc README file Date: Wed May 7 20:58:51 EDT 2008 The following information is taken from these URLs: @@ -43,7 +43,7 @@ x11vnc: a VNC server for real X displays x0rfbserver build problems centered around esoteric C++ toolkits. x11vnc is written in plain C and needs only standard libraries and so should work on nearly all Unixes. I also added some enhancements to - improve the interactive response, add many features, etc. + improve the interactive response, add many features, and etc. This page including the [21]FAQ contains much information [22][*]; solutions to many problems; and interesting applications, but @@ -58,15 +58,16 @@ x11vnc: a VNC server for real X displays SSVNC: An x11vnc side-project provides an [26]Enhanced TightVNC Viewer package (SSVNC) for Unix, Windows, and Mac OS X with automatic - SSL and/or SSH tunnelling support, SSL Certificate creation; and on - Unix: NewFBSize, ZRLE, cursor alphablending, and low color modes - support. Also on Unix the UltraVNC File Transfer, Text Chat, Single - Window, Server Input, and 1/n Scaling extensions are supported. This - bundle could be placed on, say, a USB memory stick for SSL/SSH VNC - viewing from nearly any networked computer. Please help test out some - recently added features: automatic service tunnelling via SSH for: - CUPS and SMB Printing, ESD/ARTSD Audio, and SMB (Windows/Samba) - filesystem mounting; Port Knocking; and the sshvnc/tsvnc modes. + SSL and/or SSH tunnelling support, SSL Certificate creation, saved + connection profiles, and built-in Proxy support. And for the Unix + viewer: NewFBSize, ZRLE, cursor alphablending, and low color modes. + Also on Unix the UltraVNC File Transfer, Text Chat, Single Window, + Server Input, and 1/n Scaling extensions are supported. This bundle + could be placed on, say, a USB memory stick for SSL/SSH VNC viewing + from nearly any networked computer. Please help test out some recently + added features: automatic service tunnelling via SSH for: CUPS and SMB + Printing, ESD/ARTSD Audio, and SMB (Windows/Samba) filesystem + mounting; Port Knocking; and the sshvnc/tsvnc modes. _________________________________________________________________ @@ -87,7 +88,7 @@ x11vnc: a VNC server for real X displays For Unix, the traditional VNC implementation includes a "virtual" X11 server Xvnc (usually launched via the vncserver command) that is not associated with a physical display, but provides a "fake" one X11 - clients (xterm, mozilla, etc.) can attach to. A remote user then + clients (xterm, firefox, etc.) can attach to. A remote user then connects to Xvnc via the VNC client vncviewer from anywhere on the network to view and interact with the whole virtual X11 desktop. @@ -129,9 +130,9 @@ x11vnc: a VNC server for real X displays Step 1. By some means log in to far-away.east and get a command shell running there. You can use ssh, or even rlogin, telnet, or any other - method to do this. The x11vnc process needs to be run on the same - machine the X server process is running on (otherwise things would be - extremely slow). + method to do this. We do this because the x11vnc process needs to be + run on the same machine the X server process is running on (otherwise + things would be extremely slow). Step 2. In that far-away.east shell (with command prompt "far-away>" in this example) run x11vnc directed at the far-away.east X session @@ -140,8 +141,8 @@ x11vnc: a VNC server for real X displays far-away> x11vnc -display :0 You could have also set the environment variable DISPLAY=:0 instead of - using -display. This step attaches x11vnc to the far-away.east:0 X - display (i.e. no viewer clients yet). + using "-display :0". This step attaches x11vnc to the far-away.east:0 + X display (i.e. no viewer clients yet). Common Gotcha: To get X11 permissions right, you may also need to set the XAUTHORITY environment variable (or use the [35]-auth option) to @@ -233,7 +234,8 @@ x11vnc: a VNC server for real X displays In some cases the remote SSH server will not run commands with the same $PATH that you normally have in your shell there. In this case click on Options -> Advanced -> X11VNC Options, and type in the - location of the x11vnc binary under "Full Path". + location of the x11vnc binary under "Full Path". (End of Super + Shortcut) Desktop Sharing: The above more or less assumed nobody was sitting at @@ -243,7 +245,7 @@ x11vnc: a VNC server for real X displays other people to view and interact with his desktop. Perhaps the user gives a demo or presentation this way (using the telephone for vocal communication). A "Remote Help Desk" mode would be similar: a - technician remotely connects to the user's desktop to interactively + technician connects remotely to the user's desktop to interactively solve a problem the user is having. For these cases it should be obvious how it is done. The above steps @@ -311,15 +313,15 @@ x11vnc: a VNC server for real X displays even start up x11vnc as well. The [57]Terminal Services mode of SSVNC is perhaps the easiest way to - use x11vnc (either with or without encryption). You just need to have - x11vnc available in $PATH on the remote side (and can SSH to the - host), and then on the viewer-side you type something like: + use x11vnc. You just need to have x11vnc available in $PATH on the + remote side (and can SSH to the host), and then on the viewer-side you + type something like: tsvnc fred@far-away.east - eveything else is done automatically for you. Normally this will start - a virtual Terminal Services X session (RAM-only), but if you already - have a real X session up on the physical hardware it will find that - one for you. + everything else is done automatically for you. Normally this will + start a virtual Terminal Services X session (RAM-only), but if you + already have a real X session up on the physical hardware it will find + that one for you. Gateways: If the machine you SSH into is not the same machine with the X display you wish to view (e.g. your company provides incoming @@ -356,17 +358,17 @@ x11vnc: a VNC server for real X displays One thing that can be done is to redirect a port on the Firewall/Router to, say, the SSH port (22) on an inside machine (how to do this depends on your particular Firewall/Router, often the - router config URL is http://192.168.100.1). This way you reach these - computers from anywhere on the Internet and use x11vnc to view X - sessions running on them. + router config URL is http://192.168.100.1 See [61]www.portforward.com + for more info). This way you reach these computers from anywhere on + the Internet and use x11vnc to view X sessions running on them. Suppose you configured the Firewall/Router to redirect these ports to two internal machines: - Port 12300 -> jills-pc, Port 22 (SSH) - Port 12301 -> freds-pc, Port 22 (SSH) + Port 12300 -> 192.168.1.3, Port 22 (SSH) + Port 12301 -> 192.168.1.4, Port 22 (SSH) - (or perhaps internal IP's like 192.168.2.33 instead of "jills-pc") - Then the ssh's would look something like: + (where 192.168.1.3 is "jills-pc" and 192.168.1.4 is "freds-pc".) Then + the ssh's would look something like: sitting-here> ssh -t -p 12300 -L 5900:localhost:5900 jill@far-away.east 'x11v nc -localhost -display :0' sitting-here> ssh -t -p 12301 -L 5900:localhost:5900 fred@far-away.east 'x11v @@ -374,7 +376,7 @@ nc -localhost -display :0' Where far-away.east means the hostname (or IP) that the Router/Firewall is using (for home setups this is usually the IP - gotten from your ISP via DHCP, the site [61]http://www.whatismyip.com/ + gotten from your ISP via DHCP, the site [62]http://www.whatismyip.com/ is a convenient way to determine what it is). It is a good idea to add some obscurity to accessing your system via @@ -382,10 +384,10 @@ nc -localhost -display :0' If you can't remember it, or are otherwise not worried about port scanners detecting the presence of your SSH server and there is just one internal PC involved you could map 22: - Port 22 -> jills-pc, Port 22 (SSH) + Port 22 -> 192.168.1.3, Port 22 (SSH) Again, this SSH gateway access can be done automatically for you via - the "Proxy/Gateway" setting in [62]SSVNC. And under the "Remote SSH + the "Proxy/Gateway" setting in [63]SSVNC. And under the "Remote SSH Command" setting you can enter the x11vnc -localhost -display :0. Host-Level-Firewalls: even with the hardware Firewall/Router problem @@ -398,12 +400,12 @@ nc -localhost -display :0' VNC Ports and Firewalls: The above discussion was for configuring the Firewall/Router to let in port 22 (SSH), but the same thing can be done for the default VNC port 5900: - Port 5900 -> jills-pc, Port 5900 (VNC) - Port 5901 -> freds-pc, Port 5900 (VNC) + Port 5900 -> 192.168.1.3, Port 5900 (VNC) + Port 5901 -> 192.168.1.4, Port 5900 (VNC) - (or perhaps internal IP's like 192.168.2.33 instead of "jills-pc"). - This could be used for normal, unencrypted connections and also for - [63]SSL encrypted ones. + (where 192.168.1.3 is "jills-pc" and 192.168.1.4 is "freds-pc".) This + could be used for normal, unencrypted connections and also for [64]SSL + encrypted ones. The the VNC displays to enter in the VNC viewer would be, say, "far-away.east:0" to reach jills-pc and "far-away.east:1" to reach @@ -416,7 +418,7 @@ nc -localhost -display :0' vncviewer 24.56.78.93:0 The IP address would need to be communicated to the person running the - VNC Viewer. The site [64]http://www.whatismyip.com/ can help here. + VNC Viewer. The site [65]http://www.whatismyip.com/ can help here. _________________________________________________________________ @@ -425,7 +427,7 @@ nc -localhost -display :0' above port and display numbers may change a bit (e.g. -> 5901 and :1). However, if you "know" port 5900 will be free on the local and remote machines, you can easily automate the above two steps by using the - x11vnc option [65]-bg (forks into background after connection to the + x11vnc option [66]-bg (forks into background after connection to the display is set up) or using the -f option of ssh. Some example scripts are shown below. Feel free to try the ssh -C to enable its compression and see if that speeds things up noticeably. @@ -458,7 +460,7 @@ done #2. Another method is to start the VNC viewer in listen mode "vncviewer -listen" and have x11vnc initiate a reverse connection - using the [66]-connect option: + using the [67]-connect option: #!/bin/sh # usage: x11vnc_ssh <host>:<xdisplay> # e.g.: x11vnc_ssh snoopy.peanuts.com:0 @@ -501,7 +503,7 @@ export VNC_VIA_CMD vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Of course if you already have the x11vnc running waiting for - connections (or have it started out of [67]inetd(8)), you can simply + connections (or have it started out of [68]inetd(8)), you can simply use the TightVNC "vncviewer -via gateway host:port" in its default mode to provide secure ssh tunnelling. _________________________________________________________________ @@ -509,38 +511,38 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. VNC password file: Also note in the #1. example script that the - [68]option "-rfbauth .vnc/passwd" provides additional protection by + [69]option "-rfbauth .vnc/passwd" provides additional protection by requiring a VNC password for every VNC viewer that connects. The - vncpasswd or storepasswd programs, or the x11vnc [69]-storepasswd + vncpasswd or storepasswd programs, or the x11vnc [70]-storepasswd option can be used to create the password file. x11vnc also has the - slightly less secure [70]-passwdfile and "-passwd XXXXX" [71]options + slightly less secure [71]-passwdfile and "-passwd XXXXX" [72]options to specify passwords. Very Important: It is up to YOU to tell x11vnc to use password protection (-rfbauth or -passwdfile), it will NOT do it for you - automatically or force you to (use [72]-usepw if you want to be forced + automatically or force you to (use [73]-usepw if you want to be forced to). The same goes for encrypting the channel between the viewer and - x11vnc: it is up to you to use ssh, stunnel, [73]-ssl mode, a VPN, - etc. (use the [74]Enhanced TightVNC Viewer (SSVNC) GUI if you want to + x11vnc: it is up to you to use ssh, stunnel, [74]-ssl mode, a VPN, + etc. (use the [75]Enhanced TightVNC Viewer (SSVNC) GUI if you want to be forced to use SSL or SSH). For additional safety, also look into - the -allow and -localhost [75]options and building x11vnc with - [76]tcp_wrappers support to limit host access. + the -allow and -localhost [76]options and building x11vnc with + [77]tcp_wrappers support to limit host access. _________________________________________________________________ Tunnelling x11vnc via SSL: One can also encrypt the VNC traffic using an SSL tunnel such as - [77]stunnel (also [78]stunnel.mirt.net) or using the built-in - (Mar/2006) [79]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer + [78]stunnel (also [79]stunnel.mirt.net) or using the built-in + (Mar/2006) [80]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer is also provided in the x11vnc package (and https can be used to download it). Although not as ubiquitous as ssh, SSL tunnelling still provides a - useful alternative. See [80]this FAQ on -ssl and -stunnel modes for + useful alternative. See [81]this FAQ on -ssl and -stunnel modes for details and examples. - The [81]Enhanced TightVNC Viewer (SSVNC) bundles contain some + The [82]Enhanced TightVNC Viewer (SSVNC) bundles contain some convenient utilities to automatically set up an SSL tunnel from the viewer-side (i.e. to connect to "x11vnc -ssl ..."). And many other enhancements too. @@ -548,42 +550,43 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Downloading x11vnc: - x11vnc is a contributed program to the [82]LibVNCServer project at + x11vnc is a contributed program to the [83]LibVNCServer project at SourceForge.net. I use libvncserver for all of the VNC aspects; I couldn't have done without it. The full source code may be found and downloaded (either file-release tarball or CVS tree) from the above - link. As of Oct 2007, the [83]x11vnc-0.9.3.tar.gz source package is - released (recommended download). The [84]x11vnc 0.9.3 release notes. + link. As of Oct 2007, the [84]x11vnc-0.9.3.tar.gz source package is + released (recommended download). The [85]x11vnc 0.9.3 release notes. The x11vnc package is the subset of the libvncserver package needed to build the x11vnc program. Also, you can get a copy of my latest, - bleeding edge [85]x11vnc-0.9.4.tar.gz tarball to build the most up to + bleeding edge [86]x11vnc-0.9.4.tar.gz tarball to build the most up to date one. - Precompiled Binaries/Packages: See the [86]FAQ below for information + Precompiled Binaries/Packages: See the [87]FAQ below for information about where you might obtain a precompiled x11vnc binary from 3rd parties and some ones I create. VNC Viewers: To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try these links: - * [87]http://www.tightvnc.com/download.html - * [88]http://www.realvnc.com/download-free.html - * [89]http://sourceforge.net/projects/cotvnc/ - * [90]http://www.ultravnc.com/ - * [91]Our Enhanced TightVNC Viewer (SSVNC) + * [88]http://www.tightvnc.com/download.html + * [89]http://www.realvnc.com/download-free.html + * [90]http://sourceforge.net/projects/cotvnc/ + * [91]http://www.ultravnc.com/ + * [92]Our Enhanced TightVNC Viewer (SSVNC) + [ssvnc.gif] - More tools: Here is a rsh/ssh wrapper script rx11vnc that attempts to + More tools: Here is a ssh/rsh wrapper script rx11vnc that attempts to automatically do the above Steps 1-3 for you (provided you have - rsh/ssh login permission on the machine x11vnc is to be run on). The + ssh/rsh login permission on the machine x11vnc is to be run on). The above example would be: "rx11vnc far-away.east:0" typed into a shell on sitting-here.west. Also included is an experimental script rx11vnc.pl that attempts to tunnel the vnc traffic through an ssh port redirection (and does not assume port 5900 is free). Have a look at them to see what they do and customize as needed: - * [92]rx11vnc wrapper script - * [93]rx11vnc.pl wrapper script to tunnel traffic thru ssh + * [93]rx11vnc wrapper script + * [94]rx11vnc.pl wrapper script to tunnel traffic thru ssh _________________________________________________________________ @@ -614,8 +617,8 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Note: Currently gcc is recommended to build libvncserver. In some cases it will build with non-gcc compilers, but the resulting binary sometimes fails to run properly. For Solaris pre-built gcc binaries - are at [94]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc - binaries are [95]here. + are at [95]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc + binaries are [96]here. However, one user reports it does work fine when built with Sun Studio 10, so YMMV. In fact, here is a little build script to do this on @@ -635,12 +638,12 @@ export MAKE AM_CFLAGS $MAKE In general you can use the "make -e" trick if you don't like - libvncserver's choice of AM_CFLAGS. See the [96]build scripts below + libvncserver's choice of AM_CFLAGS. See the [97]build scripts below for more ideas. Scripts similar to the above have been shown to work with vendor C compilers on HP-UX (ccom: HP92453-01) and Tru64 (Compaq C V6.5-011). - You can find information on [97]Misc. Build problems here. + You can find information on [98]Misc. Build problems here. _________________________________________________________________ @@ -678,9 +681,9 @@ r/sfw; make' If your system does not have these libraries at all you can get the source for the libraries to build them: libjpeg is available at - [98]ftp://ftp.uu.net/graphics/jpeg/ and zlib at - [99]http://www.gzip.org/zlib/. See also - [100]http://www.sunfreeware.com/ for Solaris binary packages of these + [99]ftp://ftp.uu.net/graphics/jpeg/ and zlib at + [100]http://www.gzip.org/zlib/. See also + [101]http://www.sunfreeware.com/ for Solaris binary packages of these libraries as well as for gcc. Normally they will install into /usr/local but you can install them anywhere with the --prefix=/path/to/anywhere, etc. @@ -751,7 +754,7 @@ ls -l ./x11vnc/x11vnc script. If you need to build on Solaris 2.5.1 or earlier or other older Unix - OS's, see [101]this workaround FAQ. + OS's, see [102]this workaround FAQ. Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in @@ -787,7 +790,7 @@ make up by the configure and make. - Building on Mac OS X: There is now [102]native Mac OS X support for + Building on Mac OS X: There is now [103]native Mac OS X support for x11vnc by using the raw framebuffer feature. This mode does not use or need X11 at all. To build you may need to disable X11: ./configure --without-x ... @@ -801,7 +804,7 @@ make OpenSSL: Starting with version 0.8.3 x11vnc can now be built with - [103]SSL support. For this to be enabled the libssl.so library needs + [104]SSL support. For this to be enabled the libssl.so library needs to be available at build time. So you may need to have additional CPPFLAGS and LDFLAGS items if your libssl.so is in a non-standard place. @@ -816,55 +819,64 @@ make 0.9.3 released in Oct 2007! Please help test and debug the 0.9.4 version for release sometime in - Winter 2007. + Spring 2008. The version 0.9.4 beta tarball is kept here: - [104]x11vnc-0.9.4.tar.gz + [105]x11vnc-0.9.4.tar.gz There are also some Linux, Solaris, Mac OS X, and other OS test - binaries [105]here. Please kick the tires and report bugs, performance - regressions, undesired behavior, etc. to [106]me. + binaries [106]here. Please kick the tires and report bugs, performance + regressions, undesired behavior, etc. to [107]me. - To aid testing of the [107]built-in SSL support for x11vnc, a number + To aid testing of the [108]built-in SSL support for x11vnc, a number of VNC Viewer packages for Unix, Mac OS X, and Windows have been created that provide SSL Support for the TightVNC Viewer (this is done - by [108]wrapper scripts and a GUI that start STUNNEL, [109]more - details here). It should be pretty convenient for automatic SSL and - SSH connections. It is described and can be downloaded from the - [110]Enhanced TightVNC Viewer (SSVNC) page. + by [109]wrapper scripts and a GUI that start [110]STUNNEL). It should + be pretty convenient for automatic SSL and SSH connections. It is + described in detail at and can be downloaded from the [111]Enhanced + TightVNC Viewer (SSVNC) page. Here are some features that will appear in the 0.9.4 release: - * Improvements to the [111]-find and [112]-create X session finding + * Improvements to the [112]-find and [113]-create X session finding or creating modes: new desktop types and service redirection options. Personal cupsd daemon and SSH port redirection helper for - use with [113]SSVNC's Terminal Services feature. - * Reverse VNC connections via [114]-connect work in the [115]-find, - [116]-create and related [117]-display WAIT:... FINDCREATEDISPLAY - modes. - * Reverse VNC connections via [118]-connect (either normal or SSL) - can use a Web Proxy or a SOCKS proxy (or even a CGI script) to - make the outgoing connection. See: [119]-proxy. - * The [120]-finddpy and [121]-listdpy utilities help to debug and - configure the [122]-find, [123]-create, and [124]-display WAIT:... + use with [114]SSVNC's Terminal Services feature. + * Reverse VNC connections via [115]-connect work in the [116]-find, + [117]-create and related [118]-display WAIT:... modes. + * Reverse VNC connections (either normal or SSL) can use a Web Proxy + or a SOCKS proxy, or a SSH connection, or even a CGI URL to make + the outgoing connection. See: [119]-proxy. Forward connections can + also use: [120]-ssh. + * Reverse VNC connections via the [121]UltraVNC repeater proxy + (either normal or SSL) are supported. Use either the + "[122]-connect repeater=ID:NNNN+host:port" or "[123]-connect + repeater://host:port+ID:NNNN" notation. The [124]SSVNC VNC viewer + also supports the UltraVNC repeater. + * Support for the ZYWRLE encoding, this is the RealVNC ZRLE encoding + extended to do motion video and photo regions more efficiently by + way of a Wavelet based transformation. + * The [125]-finddpy and [126]-listdpy utilities help to debug and + configure the [127]-find, [128]-create, and [129]-display WAIT:... modes. * Some automatic detection of screen resizes are handled even if the - [125]-xrandr option is not supplied. - * The [126]-autoport options gives more control over the VNC port + [130]-xrandr option is not supplied. + * The [131]-autoport options gives more control over the VNC port x11vnc chooses. - * Pasting of the selection/clipboard into remote applications has - been improved. + * The [132]-ping secs can be used to help keep idle connections + alive. + * Pasting of the selection/clipboard into remote applications (e.g. + Java) has been improved. + * Fixed a bug if a client disconnects during the 'speed-estimation' + phase. * To unset Caps_Lock, Num_Lock and raise all keys in the X server - use [127]-clear_all. + use [133]-clear_all. * Usage with dvorak keyboards has been improved. See also: - [128]-xkb. - * Support for the ZYWRLE encoding, this is the RealVNC ZRLE encoding - extended to do motion video and photo regions more efficiently by - way of a Wavelet based transformation. + [134]-xkb. Here are some features that appeared in the 0.9.3 release: - * [129]Viewer-side pixmap caching. A large area of pixels (at least + * [135]Viewer-side pixmap caching. A large area of pixels (at least 2-3 times as big as the framebuffer itself; the bigger the better... default is 10X) is placed below the framebuffer to act as a buffer/cache area for pixel data. The VNC CopyRect encoding @@ -872,7 +884,7 @@ make Until we start modifying viewers you will be able to see the cache area if you scroll down (this makes it easier to debug!). For testing the default is "-ncache 10". The unix Enhanced TightVNC - Viewer [130]ssvnc has a nice [131]-ycrop option to help hide the + Viewer [136]ssvnc has a nice [137]-ycrop option to help hide the pixel cache area from view. @@ -885,14 +897,14 @@ make * If UltraVNC file transfer or chat is detected, then VNC clients are "pinged" more often to prevent these side channels from becoming serviced too infrequently. - * In [132]-unixpw mode in the username and password dialog no text + * In [138]-unixpw mode in the username and password dialog no text will be echoed if the first character sent is "Escape". This enables a convenience feature in SSVNC to send the username and password automatically. Here are some features that appeared in the 0.9.1 release: - * The [133]UltraVNC Java viewer has been enhanced to support SSL (as + * The [139]UltraVNC Java viewer has been enhanced to support SSL (as the TightVNC viewer had been previously). The UltraVNC Java supports ultravnc filetransfer, and so can be used as a VNC viewer on Unix that supports ultravnc filetransfer. It is in the @@ -903,12 +915,12 @@ make Some other bugs in the UltraVNC Java viewer were fixed and a few improvements to the UI made. * A new Unix username login mode for VNC Viewers authenticated via a - Client SSL Certificate: "[134]-users sslpeer=". The emailAddress + Client SSL Certificate: "[140]-users sslpeer=". The emailAddress subject field is inspected for username@hostname and then acts as though "-users +username" has been supplied. This way the Unix - username is identified by (ie.. simply extracted from) the Client - SSL Certificate. This could be useful with [135]-find, - [136]-create and [137]-svc modes if you are also have set up and + username is identified by (i.e. simply extracted from) the Client + SSL Certificate. This could be useful with [141]-find, + [142]-create and [143]-svc modes if you are also have set up and use VNC Client SSL Certificate authentication. * For external display finding/creating programs (e.g. WAIT:cmd=...) if the VNC Viewer is authenticated via a Client SSL Certificate, @@ -917,40 +929,40 @@ make Here are some features that appeared in the 0.9 release: - * [138]VNC Service advertising via mDNS / ZeroConf / BonJour with - the [139]Avahi client library. Enable via "[140]-avahi". + * [144]VNC Service advertising via mDNS / ZeroConf / BonJour with + the [145]Avahi client library. Enable via "[146]-avahi". * Implementations of UltraVNC's TextChat, SingleWindow, and - ServerInput extensions (requires ultravnc viewer or [141]ssvnc + ServerInput extensions (requires ultravnc viewer or [147]ssvnc Unix viewer). They toggle the selection of a single window - ([142]-id), and disable (friendly) user input and viewing (monitor + ([148]-id), and disable (friendly) user input and viewing (monitor blank) at the VNC server. - * Short aliases "[143]-find", "[144]-create", "[145]-svc", and - "[146]-xdmsvc" for commonly used FINDCREATEDISPLAY usage modes. + * Short aliases "[149]-find", "[150]-create", "[151]-svc", and + "[152]-xdmsvc" for commonly used FINDCREATEDISPLAY usage modes. * Reverse VNC connections (viewer listening) now work in SSL - ([147]-ssl) mode. + ([153]-ssl) mode. * New options to control the Monitor power state and keyboard/mouse - grabbing: [148]-forcedpms, [149]-clientdpms, [150]-noserverdpms, - and [151]-grabalways. + grabbing: [154]-forcedpms, [155]-clientdpms, [156]-noserverdpms, + and [157]-grabalways. * A simple way to emulate inetd(8) to some degree via the - "[152]-loopbg" option. - * Monitor the accuracy of XDAMAGE and apply "[153]-noxdamage" if it - is not working well. OpenGL applications like like [154]beryl and + "[158]-loopbg" option. + * Monitor the accuracy of XDAMAGE and apply "[159]-noxdamage" if it + is not working well. OpenGL applications like like [160]beryl and MythTv have been shown to make XDAMAGE not work properly. * For Java SSL connections involving a router/firewall port - redirection, an option [155]-httpsredir to spare the user from + redirection, an option [161]-httpsredir to spare the user from needing to include &PORT=NNN in the browser URL. Here are some features that appeared in the 0.8.4 release: - * Native [156]Mac OS X Aqua/Quartz support. (i.e. OSXvnc + * Native [162]Mac OS X Aqua/Quartz support. (i.e. OSXvnc alternative; some activities are faster) - * A [157]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY + * A [163]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY -unixpw ..." that will Create a new X session (either virtual or real and with or without a display manager, e.g. kdm) for the user if it cannot find the user's X session display via the FINDDISPLAY - method. See the [158]-svc and the [159]-xdmsvc aliases. - * x11vnc can act as a VNC [160]reflector/repeater using the - "[161]-reflect host:N" option. Instead of polling an X display, + method. See the [164]-svc and the [165]-xdmsvc aliases. + * x11vnc can act as a VNC [166]reflector/repeater using the + "[167]-reflect host:N" option. Instead of polling an X display, the remote VNC Server host:N is connected to and re-exported via VNC. This is intended for use in broadcasting a display to many (e.g. > 16; classroom or large demo) VNC viewers where bandwidth @@ -958,16 +970,16 @@ make number of repeaters. * Wireframe copyrect detection for local user activity (e.g. someone sitting at the physical display moving windows) Use - [162]-nowireframelocal to disable. - * The "[163]-N" option couples the VNC Display number to the X + [168]-nowireframelocal to disable. + * The "[169]-N" option couples the VNC Display number to the X Display number. E.g. if your X DISPLAY is :2 then the VNC display will be :2 (i.e. using port 5902). If that port is taken x11vnc will exit. - * Option [164]-nodpms to avoid problems with programs like KDE's + * Option [170]-nodpms to avoid problems with programs like KDE's kdesktop_lock that keep restarting the screen saver every few seconds. * To automatically fix the common mouse motion problem on XINERAMA - (multi-headed) displays, the [165]-xwarppointer option is enabled + (multi-headed) displays, the [171]-xwarppointer option is enabled by default when XINERAMA is active. If you have a Mac please try out the native Mac OS X support, build @@ -977,62 +989,62 @@ make Here are some features that appeared in the 0.8.3 release: - * The [166]-ssl option provides SSL encryption and authentication - natively via the [167]www.openssl.org library. One can use from a + * The [172]-ssl option provides SSL encryption and authentication + natively via the [173]www.openssl.org library. One can use from a simple self-signed certificate server certificate up to full CA and client certificate authentication schemes. - * Similar to -ssl, the [168]-stunnel option starts up a SSL tunnel + * Similar to -ssl, the [174]-stunnel option starts up a SSL tunnel server stunnel (that must be installed separately on the system: - [169]www.stunnel.org [170]stunnel.mirt.net ) to allow only + [175]www.stunnel.org [176]stunnel.mirt.net ) to allow only encrypted SSL connections from the network. - * The [171]-sslverify option allows for authenticating VNC clients + * The [177]-sslverify option allows for authenticating VNC clients via their certificates in either -ssl or -stunnel modes. * Certificate creation and management tools are provide in the - [172]-sslGenCert, [173]-sslGenCA, and [174]related options. + [178]-sslGenCert, [179]-sslGenCA, and [180]related options. * An SSL enabled Java applet VNC Viewer applet is provided in classes/ssl/VncViewer.jar. In addition to normal HTTP, the applet may be loaded into the web browser via HTTPS (HTTP over SSL). (one can use the VNC port, e.g. https://host:5900/, or also the - separate [175]-https port option). A wrapper shell script - [176]ss_vncviewer is also provided that sets up a stunnel - client-side tunnel on Unix systems. See [177]Enhanced TightVNC + separate [181]-https port option). A wrapper shell script + [182]ss_vncviewer is also provided that sets up a stunnel + client-side tunnel on Unix systems. See [183]Enhanced TightVNC Viewer (SSVNC) for other SSL/SSH viewer possibilities. - * The [178]-unixpw option supports Unix username and password - authentication (a simpler variant is the [179]-unixpw_nis option + * The [184]-unixpw option supports Unix username and password + authentication (a simpler variant is the [185]-unixpw_nis option that works in environments where the encrypted passwords are - readable, e.g. NIS). The [180]-ssl or [181]-localhost + - [182]-stunnel options are enforced in this mode to prevent + readable, e.g. NIS). The [186]-ssl or [187]-localhost + + [188]-stunnel options are enforced in this mode to prevent password sniffing. As a convenience, these requirements are lifted if a SSH tunnel can be deduced (but -localhost still applies). - * Coupling [183]-unixpw with "[184]-display WAIT:cmd=FINDDISPLAY" or + * Coupling [189]-unixpw with "[190]-display WAIT:cmd=FINDDISPLAY" or "-display WAIT:cmd=FINDCREATEDISPLAY" provides a way to allow a user to login with their UNIX password and have their display - connected to [185]automatically. See the [186]-svc and the - [187]-xdmsvc aliases. - * Hooks are provided in the [188]-unixpw_cmd and "[189]-passwdfile + connected to [191]automatically. See the [192]-svc and the + [193]-xdmsvc aliases. + * Hooks are provided in the [194]-unixpw_cmd and "[195]-passwdfile cmd:,custom:..." options to allow you to supply your own authentication and password lookup programs. * x11vnc can be configured and built to not depend on X11 libraries - "./configure --without-x" for [190]-rawfb only operation (e.g. + "./configure --without-x" for [196]-rawfb only operation (e.g. embedded linux console devices). - * The [191]-rotate option enables you to rotate or reflect the + * The [197]-rotate option enables you to rotate or reflect the screen before exporting via VNC. This is intended for use on handhelds and other devices where the rotation orientation is not "natural". - * The "[192]-ultrafilexfer" alias is provided and improved UltraVNC + * The "[198]-ultrafilexfer" alias is provided and improved UltraVNC filetransfer rates have been achieved. - * Under the "[193]-connect_or_exit host" option x11vnc will exit + * Under the "[199]-connect_or_exit host" option x11vnc will exit immediately unless the reverse connection to host succeeds. The "-rfbport 0" option disables TCP listening for connections (useful for this mode). - * The "[194]-rawfb rand" and "-rawfb none" options are useful for + * The "[200]-rawfb rand" and "-rawfb none" options are useful for testing automation scripts, etc., without requiring a full desktop. - * Reduced spewing of information at startup, use "[195]-verbose" + * Reduced spewing of information at startup, use "[201]-verbose" (also "-v") to turn it back on for debugging or if you are going to send me a problem report. - Here are some [196]Previous Release Notes + Here are some [202]Previous Release Notes _________________________________________________________________ Some Notes: @@ -1059,11 +1071,13 @@ make protocol.) I suggest using xsetroot, dtstyle or similar utility to set a solid background while using x11vnc. You can turn the pretty background image back on when you are using the display directly. - Update: As of Feb/2005 x11vnc has the [197]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [203]-solid [color] option that works on recent GNOME, KDE, and CDE and also on classic X (background - image is on the root window). + image is on the root window). Update: As of Oct/2007 x11vnc has the + [204]-ncache option that does a reasonable job caching the background + (and other) pixmap data on the viewer side. - I also find the [198]TightVNC encoding gives the best response for my + I also find the [205]TightVNC encoding gives the best response for my usage (Unix <-> Unix over cable modem). One needs a tightvnc-aware vncviewer to take advantage of this encoding. @@ -1075,17 +1089,17 @@ make is X11's default listening port). Had port 5900 been taken by some other application, x11vnc would have next tried 5901. That would mean the viewer command above should be changed to vncviewer - far-away.east:1. You can force the port with the "[199]-rfbport NNNN" + far-away.east:1. You can force the port with the "[206]-rfbport NNNN" option where NNNN is the desired port number. If that port is already - taken, x11vnc will exit immediately. The "[200]-N" option will try to + taken, x11vnc will exit immediately. The "[207]-N" option will try to match the VNC display number to the X display. (also see the "SunRay Gotcha" note below) Options: x11vnc has (far too) many features that may be activated - via its [201]command line options. Useful options are, e.g., -scale to + via its [208]command line options. Useful options are, e.g., -scale to do server-side scaling, and -rfbauth passwd-file to use VNC password protection (the vncpasswd or storepasswd programs, or the x11vnc - [202]-storepasswd option can be used to create the password file). + [209]-storepasswd option can be used to create the password file). Algorithm: How does x11vnc do it? Rather brute-forcedly: it continuously polls the X11 framebuffer for changes using @@ -1113,7 +1127,7 @@ make first testing out the programs. You get an interesting recursive/feedback effect where vncviewer images keep popping up each one contained in the previous one and slightly shifted a bit by the - window manager decorations. There will be an [203]even more + window manager decorations. There will be an [210]even more interesting effect if -scale is used. Also, if the XKEYBOARD is supported and the XBell "beeps" once, you get an infinite loop of beeps going off. Although all of this is mildly exciting it is not @@ -1123,8 +1137,8 @@ make Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [204]SunRay - session. Here are some [205]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [211]SunRay + session. Here are some [212]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -1136,10 +1150,10 @@ make than you normally do to minimize the effects (e.g. do fullpage paging rather than line-by-line scrolling, and move windows in a single, quick motion). Recent work has provided the - [206]-scrollcopyrect and [207]-wireframe speedups using the + [213]-scrollcopyrect and [214]-wireframe speedups using the CopyRect VNC encoding and other things, but they only speed up - certain activities, not all. - * A rate limiting factor for x11vnc performance is that video + some activities, not all. + * A rate limiting factor for x11vnc performance is that graphics hardware is optimized for writing, not reading (x11vnc reads the video framebuffer for the screen image data). The difference can be a factor of 10 to 1000, and so it usually takes about 0.5-1 sec @@ -1148,9 +1162,10 @@ make activity changes most of the screen (e.g. moving or iconifying a large window) there is a delay of 0.5-1 sec while x11vnc reads the changed regions in. - Note: A quick way to get a 2X speedup for x11vnc is to switch from - depth 24 (32bpp) to depth 16 (16bpp). You get a 4X speedup going - to 8bpp, but the lack of color cells is usually unacceptable. + Note: A quick way to get a 2X speedup of this for x11vnc is to + switch from depth 24 (32bpp) to depth 16 (16bpp). You get a 4X + speedup going to 8bpp, but the lack of color cells is usually + unacceptable. To get a sense of the read and write speeds of your video card, you can run benchmarks like: x11perf -getimage500, x11perf -putimage500, x11perf -shmput500 and for XFree86 displays with @@ -1160,10 +1175,11 @@ make have seen a few cases where the hardware fb read speed is greater than 65 MB/sec: on high end graphics workstations from SGI and Sun, and also from a Linux user using nvidia proprietary drivers - for his nvidia video card. If you have a card with a fast read - speed please send us the details. + for his nvidia video card. Update 2008: thankfully, these sped up + drivers are becoming more common on Linux and *BSD systems and + that makes x11vnc run somewhat more quickly. On XFree86/Xorg it is actually possible to increase the - framebuffer read speed considerably (5-100 times) by using the + framebuffer read speed considerably (10-100 times) by using the Shadow Framebuffer (a copy of the framebuffer is kept in main memory and this can be read much more quickly). To do this one puts the line Option "ShadowFB" "true" in the Device section of @@ -1179,20 +1195,22 @@ make 1024x768x16" x11vnc can poll Xvfb efficiently via main memory. It's not exactly clear why one would want to do this instead of using vncserver/Xvnc, (perhaps to take advantage of an x11vnc - feature, such as framebuffer scaling), but we mention it because - it may be of use for special purpose applications. You may need to - use the "-cc 4" option to force Xvfb to use a TrueColor visual - instead of DirectColor. + feature, such as framebuffer scaling or built-in SSL encryption), + but we mention it because it may be of use for special purpose + applications. You may need to use the "-cc 4" option to force Xvfb + to use a TrueColor visual instead of DirectColor. See also the + description of the [215]-create option that does all of this + automatically for you. Also, a faster and more accurate way is to use the "dummy" XFree86/Xorg device driver (or our Xdummy wrapper script). See - [208]this FAQ for details. + [216]this FAQ for details. * Somewhat surprisingly, the X11 mouse (cursor) shape is write-only and cannot be queried from the X server. So traditionally in x11vnc the cursor shape stays fixed at an arrow. (see the "-cursor - X" and "-cursor some" [209]options, however, for a partial hack + X" and "-cursor some" [217]options, however, for a partial hack for the root window, etc.). However, on Solaris using the SUN_OVL overlay extension, x11vnc can show the correct mouse cursor when - the [210]-overlay option is also supplied. A similar thing is done + the [218]-overlay option is also supplied. A similar thing is done on IRIX as well when -overlay is supplied. More generally, as of Dec/2004 x11vnc supports the new XFIXES extension (in Xorg and Solaris 10) to query the X server for the @@ -1200,18 +1218,18 @@ make with transparency (alpha channel) need to approximated to solid RGB values (some cursors look worse than others). * Audio from applications is of course not redirected (separate - redirectors do exist, e.g. esd [211]the FAQ on this below.) The - XBell() "beeps" will work if the X server supports the XKEYBOARD - extension. (Note that on Solaris XKEYBOARD is disabled by default. - Passing +kb to Xsun enables it). - * The scroll detection algorithm for the [212]-scrollcopyrect option + redirectors do exist, e.g. esd, see [219]the FAQ on this below.) + The XBell() "beeps" will work if the X server supports the + XKEYBOARD extension. (Note that on Solaris XKEYBOARD is disabled + by default. Passing +kb to Xsun enables it). + * The scroll detection algorithm for the [220]-scrollcopyrect option can give choppy or bunched up transient output and occasionally painting errors. - * Using -threads can expose some bugs in libvncserver. + * Using -threads can expose some bugs/crashes in libvncserver. - Please feel free to [213]contact me if you have any questions, + Please feel free to [221]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [214]this link + Also, some people ask if they can make a donation, see [222]this link for that. _________________________________________________________________ @@ -1220,379 +1238,379 @@ make [Building and Starting] - [215]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [223]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed (null)" or "Xlib: connection to ":0.0" refused by server Xlib: No protocol specified" and then exits. What do I need to do? - [216]Q-2: I can't get x11vnc and/or libvncserver to compile. + [224]Q-2: I can't get x11vnc and/or libvncserver to compile. - [217]Q-3: I just built x11vnc successfully, but when I use it my + [225]Q-3: I just built x11vnc successfully, but when I use it my keystrokes and mouse button clicks are ignored (I am able to move the mouse though). - [218]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [226]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [219]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [227]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [220]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [228]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [221]Q-7: How can I see all of x11vnc's command line options and + [229]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [222]Q-8: I don't like typing arcane command line options every time I + [230]Q-8: I don't like typing arcane command line options every time I start x11vnc. What can I do? Is there a config file? Or a GUI? - [223]Q-9: How can I get the GUI to run in the System Tray, or at least + [231]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [224]Q-10: How can I get x11vnc to listen on a different port besides + [232]Q-10: How can I get x11vnc to listen on a different port besides the default VNC port (5900)? - [225]Q-11: My Firewall/Router doesn't allow VNC Viewers to connect to + [233]Q-11: My Firewall/Router doesn't allow VNC Viewers to connect to x11vnc. - [226]Q-12: Is it possible for a VNC Viewer and a VNC Server to connect + [234]Q-12: Is it possible for a VNC Viewer and a VNC Server to connect to each other even though both are behind Firewalls that block all incoming connections? - [227]Q-13: Can I make x11vnc more quiet and also go into the + [235]Q-13: Can I make x11vnc more quiet and also go into the background after starting up? - [228]Q-14: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [236]Q-14: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with the error message like: "Broken pipe". I'm using the -forever mode and I want x11vnc to keep running. - [229]Q-15: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. + [237]Q-15: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. - [230]Q-16: KDE's krdc VNC viewer cannot connect to x11vnc. + [238]Q-16: KDE's krdc VNC viewer cannot connect to x11vnc. - [231]Q-17: Are there any build-time customizations possible, e.g. + [239]Q-17: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [232]Q-18: I have two separate machine displays in front of me, one + [240]Q-18: I have two separate machine displays in front of me, one Windows the other X11: can I use x11vnc in combination with Win2VNC in dual-screen mode to pass the keystrokes and mouse motions to the X11 display? - [233]Q-19: I am running Win2VNC on my Windows machine and "x11vnc + [241]Q-19: I am running Win2VNC on my Windows machine and "x11vnc -nofb" on Unix to pass keyboard and mouse to the Unix monitor. Whenever I start Win2VNC it quickly disconnects and x11vnc says: rfbProcessClientNormalMessage: read: Connection reset by peer - [234]Q-20: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect + [242]Q-20: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect mouse and keyboard input to it from Windows and X11 machines via Win2VNC and x2vnc, respectively? [Color Issues] - [235]Q-21: The X display I run x11vnc on is only 8 bits per pixel + [243]Q-21: The X display I run x11vnc on is only 8 bits per pixel (bpp) PseudoColor (i.e. only 256 distinct colors). The x11vnc colors may start out OK, but after a while they are incorrect in certain windows. - [236]Q-22: Color problems: Why are the colors for some windows + [244]Q-22: Color problems: Why are the colors for some windows incorrect in x11vnc? BTW, my X display has nice overlay/multi-depth visuals of different color depths: e.g. there are both depth 8 and 24 visuals available at the same time. - [237]Q-23: I am on a high color system (depth >= 24) but I seem to + [245]Q-23: I am on a high color system (depth >= 24) but I seem to have colormap problems. They either flash or everything is very dark. - [238]Q-24: How do I figure out the window id to supply to the -id + [246]Q-24: How do I figure out the window id to supply to the -id windowid option? - [239]Q-25: Why don't menus or other transient windows come up when I + [247]Q-25: Why don't menus or other transient windows come up when I am using the -id windowid option to view a single application window? - [240]Q-26: My X display is depth 24 at 24bpp (instead of the normal + [248]Q-26: My X display is depth 24 at 24bpp (instead of the normal depth 24 at 32bpp). I'm having lots of color and visual problems with x11vnc and/or vncviewer. What's up? [Xterminals] - [241]Q-27: Can I use x11vnc to view and interact with an Xterminal + [249]Q-27: Can I use x11vnc to view and interact with an Xterminal (e.g. NCD) that is not running UNIX and so x11vnc cannot be run on it directly? - [242]Q-28: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [250]Q-28: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? [Sun Rays] - [243]Q-29: I'm having trouble using x11vnc with my Sun Ray session. + [251]Q-29: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [244]Q-30: How do I stop x11vnc once it is running in the background? + [252]Q-30: How do I stop x11vnc once it is running in the background? - [245]Q-31: Can I change settings in x11vnc without having to restart + [253]Q-31: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [246]Q-32: How do I create a VNC password for use with x11vnc? + [254]Q-32: How do I create a VNC password for use with x11vnc? - [247]Q-33: Can I make it so -storepasswd doesn't show my password on + [255]Q-33: Can I make it so -storepasswd doesn't show my password on the screen? - [248]Q-34: Can I have two passwords for VNC viewers, one for full + [256]Q-34: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [249]Q-35: Can I have as many full-access and view-only passwords as I + [257]Q-35: Can I have as many full-access and view-only passwords as I like? - [250]Q-36: Does x11vnc support Unix usernames and passwords? Can I + [258]Q-36: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - [251]Q-37: Can I supply an external program to provide my own custom + [259]Q-37: Can I supply an external program to provide my own custom login method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) usernames and passwords)? - [252]Q-38: Why does x11vnc exit as soon as the VNC viewer disconnects? + [260]Q-38: Why does x11vnc exit as soon as the VNC viewer disconnects? And why doesn't it allow more than one VNC viewer to connect at the same time? - [253]Q-39: Can I limit which machines incoming VNC clients can connect + [261]Q-39: Can I limit which machines incoming VNC clients can connect from? - [254]Q-40: How do I build x11vnc/libvncserver with libwrap + [262]Q-40: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [255]Q-41: Can I have x11vnc only listen on one network interface + [263]Q-41: Can I have x11vnc only listen on one network interface (e.g. internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - [256]Q-42: Now that -localhost implies listening only on the loopback + [264]Q-42: Now that -localhost implies listening only on the loopback interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - [257]Q-43: Can I fine tune what types of user input are allowed? E.g. + [265]Q-43: Can I fine tune what types of user input are allowed? E.g. have some users just be able to move the mouse, but not click or type anything? - [258]Q-44: Can I prompt the user at the local X display whether the + [266]Q-44: Can I prompt the user at the local X display whether the incoming VNC client should be accepted or not? Can I decide to make some clients view-only? How about running an arbitrary program to make the decisions? - [259]Q-45: I start x11vnc as root because it is launched via inetd(8) + [267]Q-45: I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user? - [260]Q-46: I use a screen-lock when I leave my workstation (e.g. + [268]Q-46: I use a screen-lock when I leave my workstation (e.g. xscreensaver or xlock). When I remotely access my workstation desktop via x11vnc I can unlock the desktop fine, but I am worried people will see my activities on the physical monitor. What can I do to prevent this, or at least make it more difficult? - [261]Q-47: Can I have x11vnc automatically lock the screen when I + [269]Q-47: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? [Encrypted Connections] - [262]Q-48: How can I tunnel my connection to x11vnc via an encrypted + [270]Q-48: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [263]Q-49: How can I tunnel my connection to x11vnc via an encrypted + [271]Q-49: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [264]Q-50: How can I tunnel my connection to x11vnc via an encrypted + [272]Q-50: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [265]Q-51: Does x11vnc have built-in SSL tunneling? + [273]Q-51: Does x11vnc have built-in SSL tunneling? - [266]Q-52: How do I use VNC Viewers with built-in SSL tunneling? + [274]Q-52: How do I use VNC Viewers with built-in SSL tunneling? - [267]Q-53: How do I use the Java applet VNC Viewer with built-in SSL + [275]Q-53: How do I use the Java applet VNC Viewer with built-in SSL tunneling when going through a Web Proxy? - [268]Q-54: Can Apache web server act as a gateway for users to connect + [276]Q-54: Can Apache web server act as a gateway for users to connect via SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? - [269]Q-55: Can I create and use my own SSL Certificate Authority (CA) + [277]Q-55: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [270]Q-56: How can I run x11vnc as a "service" that is always + [278]Q-56: How can I run x11vnc as a "service" that is always available? - [271]Q-57: How can I use x11vnc to connect to an X login screen like + [279]Q-57: How can I use x11vnc to connect to an X login screen like xdm, GNOME gdm, KDE kdm, or CDE dtlogin? (i.e. nobody is logged into an X session yet). - [272]Q-58: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [280]Q-58: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [273]Q-59: Can I have x11vnc advertise its VNC service and port via + [281]Q-59: Can I have x11vnc advertise its VNC service and port via mDNS / Zeroconf (e.g. Avahi) so VNC viewers on the local network can detect it automatically? - [274]Q-60: Can I have x11vnc allow a user to log in with her UNIX + [282]Q-60: Can I have x11vnc allow a user to log in with her UNIX username and password and then have it find her X session display on that machine and then connect to it? How about starting an X session if one cannot be found? - [275]Q-61: Can I have x11vnc restart itself after it terminates? + [283]Q-61: Can I have x11vnc restart itself after it terminates? - [276]Q-62: How do I make x11vnc work with the Java VNC viewer applet + [284]Q-62: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [277]Q-63: Are reverse connections (i.e. the VNC server connecting to + [285]Q-63: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [278]Q-64: Can reverse connections be made to go through a Web or + [286]Q-64: Can reverse connections be made to go through a Web or SOCKS proxy or SSH? - [279]Q-65: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [287]Q-65: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real display, but for a virtual one I keep around). - [280]Q-66: How can I use x11vnc on "headless" machines? Why might I + [288]Q-66: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [281]Q-67: I have lots of memory, but why does x11vnc fail with + [289]Q-67: I have lots of memory, but why does x11vnc fail with shmget: No space left on device or Minor opcode of failed request: 1 (X_ShmAttach)? - [282]Q-68: How can I make x11vnc use less system resources? + [290]Q-68: How can I make x11vnc use less system resources? - [283]Q-69: How can I make x11vnc use MORE system resources? + [291]Q-69: How can I make x11vnc use MORE system resources? - [284]Q-70: I use x11vnc over a slow link with high latency (e.g. + [292]Q-70: I use x11vnc over a slow link with high latency (e.g. dialup modem or broadband), is there anything I can do to speed things up? - [285]Q-71: Does x11vnc support the X DAMAGE Xserver extension to find + [293]Q-71: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [286]Q-72: My OpenGL application shows no screen updates unless I + [294]Q-72: My OpenGL application shows no screen updates unless I supply the -noxdamage option to x11vnc. - [287]Q-73: When I drag windows around with the mouse or scroll up and + [295]Q-73: When I drag windows around with the mouse or scroll up and down things really bog down (unless I do the drag in a single, quick motion). Is there anything to do to improve things? - [288]Q-74: Why not do something like wireframe animations to avoid the + [296]Q-74: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [289]Q-75: Can x11vnc try to apply heuristics to detect when a window + [297]Q-75: Can x11vnc try to apply heuristics to detect when a window is scrolling its contents and use the CopyRect encoding for a speedup? - [290]Q-76: Can x11vnc do client-side caching of pixel data? I.e. so + [298]Q-76: Can x11vnc do client-side caching of pixel data? I.e. so when that pixel data is needed again it does not have to be retransmitted over the network. [Mouse Cursor Shapes] - [291]Q-77: Why isn't the mouse cursor shape (the little icon shape + [299]Q-77: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? - [292]Q-78: When using XFIXES cursorshape mode, some of the cursors + [300]Q-78: When using XFIXES cursorshape mode, some of the cursors look really bad with extra black borders around the cursor and other cruft. How can I improve their appearance? - [293]Q-79: In XFIXES mode, are there any hacks to handle cursor + [301]Q-79: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [294]Q-80: Why does the mouse arrow just stay in one corner in my + [302]Q-80: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - [295]Q-81: Can I take advantage of the TightVNC extension to the VNC + [303]Q-81: Can I take advantage of the TightVNC extension to the VNC protocol where Cursor Positions Updates are sent back to all connected clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - [296]Q-82: Is it possible to swap the mouse buttons (e.g. left-handed + [304]Q-82: Is it possible to swap the mouse buttons (e.g. left-handed operation), or arbitrarily remap them? How about mapping button clicks to keystrokes, e.g. to partially emulate Mouse wheel scrolling? [Keyboard Issues] - [297]Q-83: How can I get my AltGr and Shift modifiers to work between + [305]Q-83: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [298]Q-84: When I try to type a "<" (i.e. less than) instead I get ">" + [306]Q-84: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [299]Q-85: When I try to type a "<" (i.e. less than) instead I get + [307]Q-85: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [300]Q-86: I'm using an "international" keyboard (e.g. German "de", or + [308]Q-86: I'm using an "international" keyboard (e.g. German "de", or Danish "dk") and the -modtweak mode works well if the VNC viewer is run on a Unix/Linux machine with a similar keyboard. But if I run the VNC viewer on Unix/Linux with a different keyboard (e.g. "us") or Windows with any keyboard, I can't type some keys like: "@", "$", "<", ">", etc. How can I fix this? - [301]Q-87: When typing I sometimes get double, triple, or more of my + [309]Q-87: When typing I sometimes get double, triple, or more of my keystrokes repeated. I'm sure I only typed them once, what can I do? - [302]Q-88: The x11vnc -norepeat mode is in effect, but I still get + [310]Q-88: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [303]Q-89: After using x11vnc for a while, I find that I cannot type + [311]Q-89: After using x11vnc for a while, I find that I cannot type some (or any) characters or my mouse clicks and drags no longer have any affect. What happened? - [304]Q-90: The machine where I run x11vnc has an AltGr key, but the + [312]Q-90: The machine where I run x11vnc has an AltGr key, but the local machine where I run the VNC viewer does not. Is there a way I can map a local unused key to send an AltGr? How about a Compose key as well? - [305]Q-91: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [313]Q-91: I have a Sun machine I run x11vnc on. Its Sun keyboard has just one Alt key labelled "Alt" and two Meta keys labelled with little diamonds. The machine where I run the VNC viewer only has Alt keys. How can I send a Meta keypress? (e.g. emacs needs this) - [306]Q-92: Running x11vnc on HP-UX I cannot type "#" I just get a "3" + [314]Q-92: Running x11vnc on HP-UX I cannot type "#" I just get a "3" instead. - [307]Q-93: Can I map a keystroke to a mouse button click on the remote + [315]Q-93: Can I map a keystroke to a mouse button click on the remote machine? - [308]Q-94: How can I get Caps_Lock to work between my VNC viewer and + [316]Q-94: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [309]Q-95: The remote display is larger (in number of pixels) than the + [317]Q-95: The remote display is larger (in number of pixels) than the local display I am running the vncviewer on. I don't like the vncviewer scrollbars, what I can do? - [310]Q-96: Does x11vnc support server-side framebuffer scaling? (E.g. + [318]Q-96: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [311]Q-97: Does x11vnc work with Xinerama? (i.e. multiple monitors + [319]Q-97: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [312]Q-98: Can I use x11vnc on a multi-headed display that is not + [320]Q-98: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [313]Q-99: Can x11vnc show only a portion of the display? (E.g. for a - special purpose rfb application). + [321]Q-99: Can x11vnc show only a portion of the display? (E.g. for a + special purpose application). - [314]Q-100: Does x11vnc support the XRANDR (X Resize, Rotate and + [322]Q-100: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [315]Q-101: Independent of any XRANDR, can I have x11vnc rotate and/or + [323]Q-101: Independent of any XRANDR, can I have x11vnc rotate and/or reflect the screen that the VNC viewers see? (e.g. for a handheld whose screen is rotated 90 degrees). - [316]Q-102: Why is the view in my VNC viewer completely black? Or why + [324]Q-102: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [317]Q-103: I use Linux Virtual Consoles (VC's) to implement 'Fast + [325]Q-103: I use Linux Virtual Consoles (VC's) to implement 'Fast User Switching' between users' sessions (e.g. Betty is on Ctrl-Alt-F7, Bobby is on Ctrl-Alt-F8, and Sid is on Ctrl-Alt-F1: they use those keystrokes to switch between their sessions). How come the view in a @@ -1600,80 +1618,80 @@ make otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [318]Q-104: I am using x11vnc where my local machine has "popup/hidden + [326]Q-104: I am using x11vnc where my local machine has "popup/hidden taskbars" and the remote display where x11vnc runs also has "popup/hidden taskbars" and they interfere and fight with each other. What can I do? - [319]Q-105: Help! x11vnc and my KDE screensaver keep switching each + [327]Q-105: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. - [320]Q-106: I am running the beryl 3D window manager (or MythTv, + [328]Q-106: I am running the beryl 3D window manager (or MythTv, Google Earth, or some other OpenGL app) and I do not get screen updates in x11vnc. - [321]Q-107: Can I use x11vnc to view my VMWare session remotely? + [329]Q-107: Can I use x11vnc to view my VMWare session remotely? [Exporting non-X11 devices via VNC] - [322]Q-108: Can non-X devices (e.g. a raw framebuffer) be viewed (and + [330]Q-108: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? - [323]Q-109: Can I export via VNC a Webcam or TV tuner framebuffer + [331]Q-109: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [324]Q-110: Can I connect via VNC to a Qt-embedded/Qtopia application + [332]Q-110: Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)? - [325]Q-111: Now that non-X11 devices can be exported via VNC using + [333]Q-111: Now that non-X11 devices can be exported via VNC using x11vnc, can I build it with no dependencies on X11 header files and libraries? - [326]Q-112: Does x11vnc support Mac OS X Aqua/Quartz displays natively + [334]Q-112: Does x11vnc support Mac OS X Aqua/Quartz displays natively (i.e. no X11 involved)? - [327]Q-113: Can x11vnc be used as a VNC reflector/repeater to improve + [335]Q-113: Can x11vnc be used as a VNC reflector/repeater to improve performance for the case of a large number of simultaneous VNC viewers (e.g. classroom broadcasting or a large demo)? - [328]Q-114: Can x11vnc be used during a Linux, Solaris, etc. system + [336]Q-114: Can x11vnc be used during a Linux, Solaris, etc. system Installation so the Installation can be done remotely? [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - [329]Q-115: Does the Clipboard/Selection get transferred between the + [337]Q-115: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [330]Q-116: Can I use x11vnc to record a Shock Wave Flash (or other + [338]Q-116: Can I use x11vnc to record a Shock Wave Flash (or other format) video of my desktop, e.g. to record a tutorial or demo? - [331]Q-117: Can I transfer files back and forth with x11vnc? + [339]Q-117: Can I transfer files back and forth with x11vnc? - [332]Q-118: Which UltraVNC extensions are supported? + [340]Q-118: Which UltraVNC extensions are supported? - [333]Q-119: Can x11vnc emulate UltraVNC's Single Click helpdesk mode + [341]Q-119: Can x11vnc emulate UltraVNC's Single Click helpdesk mode for Unix? I.e. something very simple for a naive user to initiate a reverse vnc connection from their Unix desktop to a helpdesk operator's VNC Viewer. - [334]Q-120: Can I (temporarily) mount my local (viewer-side) + [342]Q-120: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? - [335]Q-121: Can I redirect CUPS print jobs from the remote desktop + [343]Q-121: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? - [336]Q-122: How can I hear the sound (audio) from the remote + [344]Q-122: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [337]Q-123: Why don't I hear the "Beeps" in my X session (e.g. when + [345]Q-123: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [338]Q-124: Does x11vnc work with IPv6? + [346]Q-124: Does x11vnc work with IPv6? - [339]Q-125: Thanks for your program and for your help! Can I make a + [347]Q-125: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1686,9 +1704,9 @@ make For the former error, you need to specify the X display to connect to (it also needs to be on the same machine the x11vnc process is to run - on). Set your DISPLAY environment variable or use the [340]-display - option to specify it. Nearly always the correct value will be ":0" (in - fact, x11vnc will now assume :0 if given no other information). + on). Set your DISPLAY environment variable (or use the [348]-display + option) to specify it. Nearly always the correct value will be ":0" + (in fact, x11vnc will now assume :0 if given no other information). For the latter error, you need to set up the X11 permissions @@ -1703,9 +1721,9 @@ make working when you try to start x11vnc via, say, a remote shell. How to Solve: See the xauth(1), Xsecurity(7), and xhost(1) man pages - or [341]this Howto for much info on X11 permissions. For example, you - may need to set your XAUTHORITY environment variable or use the - [342]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. + or [349]this Howto for much info on X11 permissions. For example, you + may need to set your XAUTHORITY environment variable (or use the + [350]-auth option) to point to the correct MIT-MAGIC-COOKIE file (e.g. /home/joe/.Xauthority or /var/gdm/:0.Xauth or /var/lib/kdm/A:0-crWk72K or /tmp/.gdmzndVlR, etc.), or simply be sure you run x11vnc as the correct user (i.e. the user who is logged into the X session you wish @@ -1727,11 +1745,10 @@ make x11vnc -display :0 -auth /var/gdm/:0.Xauth (this is for the display manager gdm and requires root permission to - read the gdm cookie file, see [343]this faq for other display manager - cookie file names). While running x11vnc as root, remember it comes - with no warranty ;-). + read the gdm cookie file, see [351]this faq for other display manager + cookie file names). - Note as of Feb/2007 you can also try the [344]-find option instead of + Note as of Feb/2007 you can also try the [352]-find option instead of "-display ..." and see if that finds your display and Xauthority. Less safe, but to avoid figuring out where the correct XAUTHORITY file @@ -1739,8 +1756,8 @@ make +localhost" then one should be able to attach x11vnc to the session (from the same machine). The person could then type "xhost -localhost" after x11vnc has connected to go back to the default permissions. - Also, for some situations the "-users lurk=" option may be of use - (please read the documentation on the [345]-users option). + Also, for some situations the "-users lurk=" option may soon be of use + (please read the documentation on the [353]-users option). To test out your X11 permissions from a remote shell, set DISPLAY and possibly XAUTHORITY (see your shell's man page, bash(1), tcsh(1), on @@ -1759,7 +1776,7 @@ make properly). Firewalls: Speaking of permissions, it should go without saying that - the host-level [346]firewall will need to be configured to allow + the host-level [354]firewall will need to be configured to allow connections in on a port. E.g. 5900 (default VNC port) or 22 (default SSH port for tunnelling VNC). Most systems these days have firewalls turned on by default, so you will actively have to do something to @@ -1837,11 +1854,11 @@ libssl.so libcrypto.so libcrypt.so the above list may be out of date. So only use the above lists as hints for the package names that are needed. - Have a look at [347]Misc. Build Problems for additional fixes. + Have a look at [355]Misc. Build Problems for additional fixes. Note: there is growing trend in Linux and other distros to slice up core X11 software into more and smaller packages. So be prepared for - more headaches compiling software. + more headaches compiling software... libssl: One user pointed out that if you use a precompiled binary (either one you downloaded or built on another machine) there is a @@ -1855,7 +1872,7 @@ libssl.so libcrypto.so libcrypt.so ii libssl0.9.8 0.9.8a-7ubuntu SSL shared libraries (in fact it should have installed both by default if it knew what it - was doing). See [348]here too. + was doing). See [356]here too. Q-3: I just built x11vnc successfully, but when I use it my keystrokes @@ -1929,7 +1946,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [349]Solaris build script to run the configure command. That + above [357]Solaris build script to run the configure command. That should succeed without failure. Then you have to hand edit the autogenerated rfb/rfbconfig.h file in the source tree, and just before the last #endif at the bottom of that file insert these workaround @@ -1955,7 +1972,7 @@ typedef unsigned int in_addr_t; on other older OS (Solaris, Linux, ...) releases. Here are some notes for similar steps that need to be done to build on - [350]SunOS 4.x + [358]SunOS 4.x Please let us know if you had to use the above workaround (and whether it worked or not). If there is enough demand we will try to push clean @@ -1965,33 +1982,33 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [351]build steps above and [352]FAQ provide enough info + Hopefully the [359]build steps above and [360]FAQ provide enough info for a painless compile for most environments. Please report problems with the x11vnc configure, make, etc. on your system (if your system is known to compile other GNU packages successfully). There are precompiled x11vnc binaries built by other groups that are available at the following locations: - Slackware: (.tgz) [353]http://www.linuxpackages.net/ - - Redhat/Fedora: (.rpm) [354]http://dag.wieers.com/packages/x11vnc/ - [355]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) - [356]http://linux01.gwdg.de/~pbleser/ Gentoo: (info) - [357]http://gentoo-wiki.com/ and [358]http://gentoo-portage.com/ - FreeBSD: (.tbz) [359]http://www.freebsd.org/ - [360]http://www.freshports.org/net/x11vnc NetBSD: (src) - [361]http://pkgsrc.se/x11/x11vnc Arch Linux: (.tgz) - [362]http://www.archlinux.org/ Nokia 770 (.deb) - [363]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp - Zaurus [364]http://www.focv.com/ Debian: (.deb) - [365]http://packages.debian.org/x11vnc (N.B: often unmaintained; might + Slackware: (.tgz) [361]http://www.linuxpackages.net/ + + Redhat/Fedora: (.rpm) [362]http://dag.wieers.com/packages/x11vnc/ + [363]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) + [364]http://linux01.gwdg.de/~pbleser/ Gentoo: (info) + [365]http://gentoo-wiki.com/ and [366]http://gentoo-portage.com/ + FreeBSD: (.tbz) [367]http://www.freebsd.org/ + [368]http://www.freshports.org/net/x11vnc NetBSD: (src) + [369]http://pkgsrc.se/x11/x11vnc Arch Linux: (.tgz) + [370]http://www.archlinux.org/ Nokia 770 (.deb) + [371]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp + Zaurus [372]http://www.focv.com/ Debian: (.deb) + [373]http://packages.debian.org/x11vnc (N.B: often unmaintained; might be better to compile from source) Solaris: (pkg) - [366]http://www.sunfreeware.com/ (N.B: very old; better to compile - from source) OpenBSD: (.tgz) [367]http://www.openbsd.org/ (N.B: very + [374]http://www.sunfreeware.com/ (N.B: very old; better to compile + from source) OpenBSD: (.tgz) [375]http://www.openbsd.org/ (N.B: very old and unmaintained; better to compile from source) If the above binaries don't work and building x11vnc on your OS fails - (and all else fails!) you can try one of [368]My Collection of x11vnc + (and all else fails!) you can try one of [376]My Collection of x11vnc Binaries for various OS's and x11vnc releases. As a general note, the x11vnc program is simple enough you don't @@ -2009,7 +2026,7 @@ typedef unsigned int in_addr_t; If you use a standalone binary like this and also want x11vnc to serve up the Java VNC Viewer jar file (either SSL enabled or regular one), then you will need to extract the classes subdirectory from the source - tarball and point x11vnc to it via the [369]-httpdir option. E.g.: + tarball and point x11vnc to it via the [377]-httpdir option. E.g.: x11vnc -httpdir /path/to/x11vnc-0.8.3/classes/ssl ... @@ -2018,11 +2035,12 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [370]http://www.tightvnc.com/download.html - * [371]http://www.realvnc.com/download-free.html - * [372]http://sourceforge.net/projects/cotvnc/ - * [373]http://www.ultravnc.com/ - * [374]Our Enhanced TightVNC Viewer (SSVNC) + * [378]http://www.tightvnc.com/download.html + * [379]http://www.realvnc.com/download-free.html + * [380]http://sourceforge.net/projects/cotvnc/ + * [381]http://www.ultravnc.com/ + * [382]Our Enhanced TightVNC Viewer (SSVNC) + [ssvnc.gif] @@ -2031,7 +2049,7 @@ typedef unsigned int in_addr_t; Run: x11vnc -opts to list just the option names or run: x11vnc -help for long descriptions about each option. The output is listed - [375]here as well. Yes, x11vnc does have a lot of options, doesn't + [383]here as well. Yes, x11vnc does have a lot of options, doesn't it... @@ -2063,10 +2081,10 @@ display :0 program is needed for operation. The gui is not particularly user-friendly, it just provides a point and click mode to set all the many x11vnc parameters and obtain help on them. It is also very useful - for testing. See the [376]-gui option for more info. Examples: "x11vnc + for testing. See the [384]-gui option for more info. Examples: "x11vnc ... -gui" and "x11vnc ... -gui other:0" in the latter case the gui is displayed on other:0, not the X display x11vnc is polling. There is - also a "[377]-gui tray" system tray mode. + also a "[385]-gui tray" system tray mode. [tkx11vnc.gif] @@ -2103,15 +2121,18 @@ display :0 PORT=59xx line to see which port it found, then subtract 5900 from it for the VNC display number to enter into the VNC Viewer(s). - The "[378]-N" option will try to match the VNC display number to the X + The "[386]-N" option will try to match the VNC display number to the X display (e.g. X11 DISPLAY of :5 (port 6005) will have VNC display :5 (port 5905)). + Also see the "[387]-autoport n" option to indicated at which value the + auto probing should start at. + Q-11: My Firewall/Router doesn't allow VNC Viewers to connect to x11vnc. - See the [379]Firewalls/Routers discussion. + See the [388]Firewalls/Routers discussion. Q-12: Is it possible for a VNC Viewer and a VNC Server to connect to @@ -2125,7 +2146,7 @@ display :0 In the following discussion, we will suppose port 5950 is being used on the relay machine as the VNC port for the rendezvous. - A way to rendezvous is to have the VNC Server start a [380]reverse + A way to rendezvous is to have the VNC Server start a [389]reverse connection to the relay machine: x11vnc -connect third-machine.net:5950 ... @@ -2144,11 +2165,11 @@ display :0 the owner to allow you to install this software (and he would likely need to open his server's firewall to allow the port through). - It is recommended that [381]SSL is used for encryption (e.g. - "[382]-ssl SAVE") when going over the internet. + It is recommended that [390]SSL is used for encryption (e.g. + "[391]-ssl SAVE") when going over the internet. We have a prototype for performing a rendezvous via a Web Server - acting as the relay machine. Download the [383]vncxfer CGI script and + acting as the relay machine. Download the [392]vncxfer CGI script and see the instructions at the top. Once that CGI script is set up on the website, both users go to, say, @@ -2178,7 +2199,7 @@ display :0 port requirement (e.g. use HTTP/CGI itself for the transfer... it is difficult to emulate a full-duplex TCP connection with them.) - See also the [384]Firewalls/Routers discussion and [385]Reverse + See also the [393]Firewalls/Routers discussion and [394]Reverse Connection Proxy discussion. @@ -2206,7 +2227,7 @@ display :0 vncviewer -encodings "copyrect tight zrle hextile" localhost:0 (we assume the old-style -encodings option needs to be used. See - [386]here for details.). + [395]here for details.). If the SSH machine has been configured (see sshd_config(5)) with the option GatewayPorts=yes, then the tunnel set up by the VNC Server will @@ -2216,16 +2237,16 @@ display :0 only runs: vncviewer third-machine.net:33 - In this case we recommend [387]SSL be used for encryption. + In this case we recommend [396]SSL be used for encryption. The creation of both tunnels can be automated. As of Oct/2007 the - [388]-ssh x11vnc option is available and so only this command needs to + [397]-ssh x11vnc option is available and so only this command needs to be run on the VNC Server side: x11vnc -ssh user@third-machine.net:33 ... (the SSH passphrase may need to be supplied). - To automate on the VNC Viewer side, the user can use the [389]Enhanced + To automate on the VNC Viewer side, the user can use the [398]Enhanced TightVNC Viewer (SSVNC) by: * Clicking on 'Use SSH' * Entering user@third-machine.net:33 into 'VNC Host:Display' entry @@ -2242,11 +2263,11 @@ display :0 Q-13: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [390]-q and [391]-bg options, respectively. (also: -quiet is + Use the [399]-q and [400]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[392]-o logfile" option. + the "[401]-o logfile" option. Q-14: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with @@ -2272,8 +2293,8 @@ display :0 Q-16: KDE's krdc VNC viewer cannot connect to x11vnc. - This has been fixed in x11vnc version 0.8.4. More info [393]here, - [394]here, and [395]here. + This has been fixed in x11vnc version 0.8.4. More info [402]here, + [403]here, and [404]here. Q-17: Are there any build-time customizations possible, e.g. change @@ -2281,7 +2302,7 @@ display :0 There are some options. They are enabled by adding something like -Dxxxx=1 to the CPPFLAGS environment variable before running configure - (see the [396]build notes for general background). + (see the [405]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -2338,7 +2359,7 @@ display :0 HARDWIRE_VIEWPASSWD. If set (remember to include the double quotes around the string), they will be used as default values for the -passwd and -viewpasswd options. Of course the strings will exist - unobscured in the x11vnc: the binary better not be readable by + unobscured in the x11vnc binary: it better not be readable by unintendeds. Perhaps this is of use in remote access for an embedded application, etc... @@ -2352,21 +2373,21 @@ display :0 dual-screen mode to pass the keystrokes and mouse motions to the X11 display? - Yes, for best response start up x11vnc with the "[397]-nofb" option + Yes, for best response start up x11vnc with the "[406]-nofb" option (disables framebuffer polling, and does other optimizations) on the secondary display (X11) machine. Then start up Win2VNC on the primary display (Windows) referring it to the secondary display. - This will also work X11 to X11 using [398]x2vnc, however you would + This will also work X11 to X11 using [407]x2vnc, however you would probably just want to avoid VNC and use x2x for that. For reference, here are some links to Win2VNC-like programs for multiple monitor setups: - * [399]Original Win2VNC - * [400]Enhanced Win2VNC and [401]sourceforge link - * [402]x2vnc - * [403]x2x also [404]here - * [405]zvnc (MorphOS) + * [408]Original Win2VNC + * [409]Enhanced Win2VNC and [410]sourceforge link + * [411]x2vnc + * [412]x2x also [413]here + * [414]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). @@ -2386,7 +2407,7 @@ display :0 on your display to be depth 24 TrueColor? Sun machines often have 8+24 overlay/multi-depth visuals, and you can make the default visual depth 24 TrueColor (see fbconfig(1) and Xsun(1)). 2) As of Feb/2004 x11vnc - has the [406]-visual option to allow you to force the framebuffer + has the [415]-visual option to allow you to force the framebuffer visual to whatever you want (this usually messes up the colors unless you are very clever). In this case, the option provides a convenient workaround for the Win2VNC bug: @@ -2400,7 +2421,7 @@ display :0 and keyboard input to it from Windows and X11 machines via Win2VNC and x2vnc, respectively? - Yes, as of Nov/2006 [407]you can. There may be a trick or two you'll + Yes, as of Nov/2006 [416]you can. There may be a trick or two you'll need to do to get the Clipboard exchange between the machines to work. @@ -2411,7 +2432,7 @@ display :0 PseudoColor (i.e. only 256 distinct colors). The x11vnc colors may start out OK, but after a while they are incorrect in certain windows. - Use the [408]-flashcmap option to have x11vnc watch for changes in the + Use the [417]-flashcmap option to have x11vnc watch for changes in the colormap, and propagate those changes back to connected clients. This can be slow (since the whole screen must be updated over the network whenever the colormap changes). This flashing colormap behavior often @@ -2420,16 +2441,16 @@ display :0 example of this. Consider reconfiguring the system to 16 bpp or depth 24 TrueColor if at all possible. - Also note the option [409]-8to24 (Jan/2006) can often remove the need + Also note the option [418]-8to24 (Jan/2006) can often remove the need for flashing the colormap. Everything is dynamically transformed to depth 24 at 32 bpp using the colormaps. There may be painting errors however (see the following FAQ for tips on reducing and correcting them). - In some rare cases the [410]-notruecolor option has corrected colors - on 8bpp displays. The red, green, and blue masks were non-zero in 8bpp - PseudoColor on an obscure setup, and this option corrected the - problems. + In some rare cases (SCO unixware) the [419]-notruecolor option has + corrected colors on 8bpp displays. The red, green, and blue masks were + non-zero in 8bpp PseudoColor on an obscure setup, and this option + corrected the problems. Q-22: Color problems: Why are the colors for some windows incorrect in @@ -2437,13 +2458,13 @@ display :0 different color depths: e.g. there are both depth 8 and 24 visuals available at the same time. - You may want to review the [411]previous question regarding 8 bpp + You may want to review the [420]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [412]-overlay option + On some hardware (Sun/SPARC and SGI), the [421]-overlay option discussed a couple paragraphs down may solve this for you (you may want to skip to it directly). On other hardware the less robust - [413]-8to24 option may help (also discussed below). + [422]-8to24 option may help (also discussed below). Run xdpyinfo(1) to see what the default visual is and what the depths of the other visuals are. Does the default visual have a depth of 8 @@ -2479,7 +2500,7 @@ TrueColor defdepth 24 The -overlay mode: Another option is if the system with overlay visuals is a Sun system running Solaris or SGI running IRIX you can - use the [414]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [423]-overlay x11vnc option (Aug/2004) to have x11vnc use the Solaris XReadScreen(3X11) function to poll the "true view" of the whole screen at depth 24 TrueColor. XReadDisplay(3X11) is used on IRIX. This is useful for Legacy applications (older versions of @@ -2504,7 +2525,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [415]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [424]-8to24 x11vnc option (Jan/2006) is a kludge to try to dynamically rewrite the pixel values so that the 8bpp part of the screen is mapped onto depth 24 TrueColor. This is less robust than the -overlay mode because it is done by x11vnc outside of the X @@ -2518,11 +2539,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [416]-flashcmap to avoid color flashing completely. + [425]-flashcmap to avoid color flashing completely. This scheme is approximate and can often lead to painting errors. You can manually correct most painting errors by pressing 3 Alt_L's in a - row, or by using something like: [417]-fixscreen V=3.0 to + row, or by using something like: [426]-fixscreen V=3.0 to automatically refresh the screen every 3 seconds. Also -fixscreen 8=3.0 has been added to just refresh the non-default visual parts of the screen. @@ -2535,23 +2556,23 @@ TrueColor defdepth 24 nogetimage can give a nice speedup if the default depth 24 X server supports hiding the 8bpp bits in bits 25-32 of the framebuffer data. On very slow machines -8to24 poll=0.2,cachewin=5.0 gives an useful - speedup. See the [418]-8to24 help description for information on + speedup. See the [427]-8to24 help description for information on tunable parameters, etc. Colors still not working correctly? Run xwininfo on the application with the incorrect colors to verify that the depth of its visual is different from the default visual depth (gotten from xdpyinfo). One - possible workaround in this case is to use the [419]-id option to + possible workaround in this case is to use the [428]-id option to point x11vnc at the application window itself. If the application is complicated (lots of toplevel windows and popup menus) this may not be acceptable, and may even crash x11vnc (but not the application). It is theoretically possible to solve this problem in general (see xwd(1) for example), but it does not seem trivial or sufficiently fast - for x11vnc to be able to do so in real time. The [420]-8to24 method + for x11vnc to be able to do so in real time. The [429]-8to24 method does this approximately and is somewhat usable. Fortunately the - [421]-overlay option works for Solaris machines with overlay visuals + [430]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. @@ -2587,9 +2608,9 @@ TrueColor defdepth 24 the desired application window. After clicking, it will print out much information, including the window id (e.g. 0x6000010). Also, the visual and depth of the window printed out is often useful in - debugging x11vnc [422]color problems. + debugging x11vnc [431]color problems. - Also, as of Dec/2004 you can use "[423]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[432]-id pick" to have x11vnc run xwininfo(1) for you and after you click the window it extracts the windowid. Besides "pick" there is also "id:root" to allow you to go back to root window when doing remote-control. @@ -2607,7 +2628,7 @@ TrueColor defdepth 24 you should be able to see these transient windows. If things are not working and you still want to do the single window - polling, try the [424]-sid windowid option ("shifted" windowid). + polling, try the [433]-sid windowid option ("shifted" windowid). Q-26: My X display is depth 24 at 24bpp (instead of the normal depth @@ -2643,7 +2664,7 @@ TrueColor defdepth 24 handle 24bpp from the server, so you may want to use those. They evidently request 32 bpp and libvncserver obliges. - Update: as of Apr/2006 you can use the [425]-24to32 option to have + Update: as of Apr/2006 you can use the [434]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra transformation could slow things down further however. @@ -2653,7 +2674,7 @@ TrueColor defdepth 24 couldn't find suitable pixmap format" so evidently you cannot use 24bpp for the vncviewers to work on that X display. - Note, however, that the Unix viewer in the [426]Enhanced TightVNC + Note, however, that the Unix viewer in the [435]Enhanced TightVNC Viewer (SSVNC) project can handle 24bpp X displays. It does this by requesting a 16bpp pixel format (or 8bpp if the -bgr233 option has been supplied) from the VNC server, and translates that to 24bpp @@ -2668,15 +2689,15 @@ TrueColor defdepth 24 since you will be polling the X display over the network as opposed to over the local hardware. To do this, run x11vnc on a UNIX machine as close as possible network-wise (e.g. same switch) to the Xterminal - machine. Use the [427]-display option to point the display to that of + machine. Use the [436]-display option to point the display to that of the Xterminal (you'll of course need basic X11 permission to do that) - and finally supply the [428]-noshm option (this enables the polling + and finally supply the [437]-noshm option (this enables the polling over the network). The response will likely be sluggish (maybe only one "frame" per second). This mode is not recommended except for "quick checks" of hard to get to X servers. Use something like "-wait 150" to cut down - on the polling rate. You may also need [429]-flipbyteorder if the + on the polling rate. You may also need [438]-flipbyteorder if the colors get messed up due to endian byte order differences. Q-28: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct @@ -2684,7 +2705,7 @@ TrueColor defdepth 24 If the X display machine is a traditional Xterminal (where the X server process runs on the Xterminal box, but all of the X client - applications (mozilla, etc) run on a central server (aka "terminal + applications (firefox, etc) run on a central server (aka "terminal server")), you will need to log into the Xterminal machine (i.e. get a shell running there) and then start the x11vnc program. If the Xterminal Linux/Unix machine is stripped down (e.g. no users besides @@ -2700,7 +2721,7 @@ TrueColor defdepth 24 copied to the Xterminal. If $HOME/.Xauthority is exported via NFS (this is insecure of course, but has been going on for decades), then x11vnc can simply pick it up via NFS (you may need to use the - [430]-auth option to point to the correct file). Other options include + [439]-auth option to point to the correct file). Other options include copying the auth file using scp, or something like: central-server> xauth nextract - xterm123:0 | ssh xterm123 xauth nmerge - @@ -2712,7 +2733,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [431]this note on the "xauth add ..." command. + two hosts, see [440]this note on the "xauth add ..." command. A less secure option is to run something like "xhost +127.0.0.1" while sitting at the Xterminal box to allow cookie-free local access for @@ -2726,7 +2747,7 @@ TrueColor defdepth 24 occasional app more efficiently locally on the Xterminal box (e.g. realplayer). - Not recommended, but as a last resort, you could have x11vnc [432]poll + Not recommended, but as a last resort, you could have x11vnc [441]poll the Xterminal Display over the network. For this you would run a "x11vnc -noshm ..." process on the central-server (and hope the network admin doesn't get angry...) @@ -2755,32 +2776,34 @@ TrueColor defdepth 24 Q-29: I'm having trouble using x11vnc with my Sun Ray session. - The [433]Sun Ray technology is a bit like "VNC done in hardware" (the + The [442]Sun Ray technology is a bit like "VNC done in hardware" (the Sun Ray terminal device, DTU, playing the role of the vncviewer). Completely independent of that, the SunRay user's session is still an X server that speaks the X11 protocol and so x11vnc simply talks to the X server part to export the SunRay desktop to any place in the world (i.e. not only to a Sun Ray terminal device), creating a sort of - "Soft Ray". Please see [434]this discussion of Sun Ray issues for + "Soft Ray". Please see [443]this discussion of Sun Ray issues for solutions to problems. + Also see the [444]Sun Ray Remote Control Toolkit that uses x11vnc. + [Remote Control] Q-30: How do I stop x11vnc once it is running in the background? As of Dec/2004 there is a remote control feature. It can change a huge - amount of things on the fly: see the [435]-remote and [436]-query + number of parameters on the fly: see the [445]-remote and [446]-query options. To shut down the running x11vnc server just type "x11vnc -R stop". To disconnect all clients do "x11vnc -R disconnect:all", etc. - If the [437]-forever option has not been supplied, x11vnc will + If the [447]-forever option has not been supplied, x11vnc will automatically exit after the first client disconnects. In general if you cannot use the remote control, then you will have to kill the x11vnc process This can be done via: "kill NNNNN" (where NNNNN is the x11vnc process id number found from ps(1)), or "pkill x11vnc", or "killall x11vnc" (Linux only). - If you have not put x11vnc in the background via the [438]-bg option + If you have not put x11vnc in the background via the [448]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2790,30 +2813,32 @@ TrueColor defdepth 24 down state in the Xserver. Tapping the stuck key (either via a new x11vnc or at the physical console) will release it from the stuck state. If the keyboard seems to be acting strangely it is often fixed - by tapping Ctrl, Shift, and Alt. Alternatively, the [439]-clear_mods - option and [440]-clear_keys option can be used to release pressed keys - at startup and exit. The option [441]-clear_all will also try to unset + by tapping Ctrl, Shift, and Alt. Alternatively, the [449]-clear_mods + option and [450]-clear_keys option can be used to release pressed keys + at startup and exit. The option [451]-clear_all will also try to unset Caps_Lock, Num_Lock, etc. Q-31: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [442]-remote (same as -R) and [443]-query (same as -Q) - options added in Dec/2004. They allow nearly everything to be changed - dynamically and settings to be queried. Examples: "x11vnc -R shared", - "x11vnc -R forever", "x11vnc -R scale:3/4", "x11vnc -Q modtweak", - "x11vnc -R stop", "x11vnc -R disconnect:all", etc.. These commands do - not start a x11vnc server, but rather communicate with one that is - already running. The X display (X11VNC_REMOTE property) is used as the - communication channel, so the X permissions and DISPLAY must be set up - correctly for communication to be possible. - - There is also a simple Tcl/Tk gui based on this remote control - mechanism. See the [444]-gui option for more info. You will need to + Look at the [452]-remote (an alias is -R) and [453]-query (an alias is + -Q) options added in Dec/2004. They allow nearly everything to be + changed dynamically and settings to be queried. Examples: "x11vnc -R + shared", "x11vnc -R forever", "x11vnc -R scale:3/4", "x11vnc -Q + modtweak", "x11vnc -R stop", "x11vnc -R disconnect:all", etc.. + + These commands do not start a x11vnc server, but rather communicate + with one that is already running. The X display (X11VNC_REMOTE + property) is used as the communication channel, so the X permissions + and DISPLAY must be set up correctly for communication to be possible. + + There is also a simple Tcl/Tk [454]gui based on this remote control + mechanism. See the [455]-gui option for more info. You will need to have Tcl/Tk (i.e. /usr/bin/wish) installed for it to work. It can also - run in the system tray: "-gui tray" or as a standalone icon window: - "-gui icon". + run in the system tray: "-gui tray" or as a standalone small icon + window: "-gui icon". Use "-gui tray=setpass" for a naive user "Share + My Desktop" mode. [Security and Permissions] @@ -2825,12 +2850,12 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [445]option, which is the same functionality of storepasswd. Be sure + [456]option, which is the same functionality of storepasswd. Be sure to quote the "pass" if it contains shell meta characters, spaces, etc. Example: x11vnc -storepasswd 'sword*fish' $HOME/myvncpasswd - You then use the password via the x11vnc option: "[446]-rfbauth + You then use the password via the x11vnc option: "[457]-rfbauth $HOME/myvncpasswd" As of Jan/2006 if you do not supply any arguments: @@ -2842,11 +2867,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [447]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [458]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [448]-usepw option to automatically use any password + You can use the [459]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2878,14 +2903,14 @@ TrueColor defdepth 24 Q-34: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - Yes, as of May/2004 there is the [449]-viewpasswd option to supply the - view-only password. Note the full-access password option [450]-passwd + Yes, as of May/2004 there is the [460]-viewpasswd option to supply the + view-only password. Note the full-access password option [461]-passwd must be supplied at the same time. E.g.: -passwd sword -viewpasswd fish. To avoid specifying the passwords on the command line (where they could be observed via the ps(1) command by any user) you can use the - [451]-passwdfile option to specify a file containing plain text + [462]-passwdfile option to specify a file containing plain text passwords. Presumably this file is readable only by you, and ideally it is located on the machine x11vnc is run on (to avoid being snooped on over the network). The first line of this file is the full-access @@ -2893,7 +2918,7 @@ TrueColor defdepth 24 it is taken as the view-only password. (use "__EMPTY__" to supply an empty one). - View-only passwords currently do not work for the [452]-rfbauth + View-only passwords currently do not work for the [463]-rfbauth password option (standard VNC password storing mechanism). FWIW, note that although the output (usually placed in $HOME/.vnc/passwd) by the vncpasswd or storepasswd programs (or from x11vnc -storepasswd) looks @@ -2906,7 +2931,7 @@ TrueColor defdepth 24 Q-35: Can I have as many full-access and view-only passwords as I like? - Yes, as of Jan/2006 in the libvncserver CVS the [453]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [464]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2916,7 +2941,7 @@ TrueColor defdepth 24 Q-36: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - Update: as of Feb/2006 x11vnc has the [454]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [465]-unixpw option that does this outside of the VNC protocol and libvncserver. The standard su(1) program is used to validate the user's password. A familiar "login:" and "Password:" dialog is presented to the user on a black screen @@ -2926,7 +2951,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [455]-unixpw_nis option for non-shadow-password + There is also the [466]-unixpw_nis option for non-shadow-password (typically NIS environments, hence the name) systems where the traditional getpwnam() and crypt() functions are used instead of su(1). The encrypted user passwords must be accessible to the user @@ -2935,11 +2960,11 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [456]-localhost and 2) [457]-stunnel or - [458]-ssl options. Without these one might send the Unix username and + provide extra security: the 1) [467]-localhost and 2) [468]-stunnel or + [469]-ssl options. Without these one might send the Unix username and password data in clear text over the network which is a very bad idea. They can be relaxed if you want to provide encryption other than - stunnel or [459]-ssl (the constraint is automatically relaxed if + stunnel or [470]-ssl (the constraint is automatically relaxed if SSH_CONNECTION is set and indicates you have ssh-ed in, however the -localhost requirement is still enforced). @@ -2958,13 +2983,13 @@ TrueColor defdepth 24 approximate at best. One approximate method involves starting x11vnc with the - [460]-localhost option. This basically requires the viewer user to log + [471]-localhost option. This basically requires the viewer user to log into the workstation where x11vnc is running via their Unix username and password, and then somehow set up a port redirection of his vncviewer connection to make it appear to emanate from the local machine. As discussed above, ssh is useful for this: "ssh -L 5900:localhost:5900 user@hostname ..." See the ssh wrapper scripts - mentioned [461]elsewhere on this page. [462]stunnel does this as well. + mentioned [472]elsewhere on this page. [473]stunnel does this as well. Of course a malicious user could allow other users to get in through his channel, but that is a problem with every method. Another thing to @@ -2975,7 +3000,7 @@ TrueColor defdepth 24 traditional way would be to further require a VNC password to supplied (-rfbauth, -passwd, etc) and only tell the people allowed in what the VNC password is. A scheme that avoids a second password involves using - the [463]-accept option that runs a program to examine the connection + the [474]-accept option that runs a program to examine the connection information to determine which user is connecting from the local machine. That may be difficult to do, but, for example, the program could use the ident service on the local machine (normally ident @@ -3011,7 +3036,7 @@ exit 1 # reject it method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) usernames and passwords)? Yes, there are several possibilities. For background see the FAQ on - the [464]-accept where an external program may be run to decide if a + the [475]-accept where an external program may be run to decide if a VNC client should be allowed to try to connect and log in. If the program (or local user prompted by a popup) answers "yes", then -accept proceeds to the normal VNC and x11vnc authentication methods, @@ -3019,40 +3044,40 @@ exit 1 # reject it To provide more direct coupling to the VNC client's username and/or supplied password the following options were added in Sep/2006: - * [465]-unixpw_cmd command - * [466]-passwdfile cmd:command - * [467]-passwdfile custom:command + * [476]-unixpw_cmd command + * [477]-passwdfile cmd:command + * [478]-passwdfile custom:command In each case "command" is an external command run by x11vnc. You supply it. For example, it may couple to your LDAP system or other servers you set up. - For [468]-unixpw_cmd the normal [469]-unixpw Login: and Password: + For [479]-unixpw_cmd the normal [480]-unixpw Login: and Password: prompts are supplied to the VNC viewer and the strings the client returns are then piped into "command" as the first two lines of its standard input. If the command returns success, i.e. exit(0), the VNC client is accepted, otherwise it is rejected. - For "[470]-passwdfile cmd:command" the command is run and it returns a - password list (like a password file, see the [471]-passwdfile + For "[481]-passwdfile cmd:command" the command is run and it returns a + password list (like a password file, see the [482]-passwdfile read:filename mode). Perhaps a dynamic, one-time password is retrieved from a server this way. - For "[472]-passwdfile custom:command" one gets complete control over + For "[483]-passwdfile custom:command" one gets complete control over the VNC challenge-response dialog with the VNC client. x11vnc sends out a string of random bytes (16 by the VNC spec) and the client returns the same number of bytes in a way the server can verify only the authorized user could have created. The VNC protocol specifies DES encryption with a password. If you are willing to modify the VNC viewers, you can have it be anything you want, perhaps a less - crackable MD5 hash scheme or one-time pad. The program will read from - its standard input the size of the challenge-response, then the - challenge bytes followed by the response bytes. If the command then - returns success, i.e. exit(0), the VNC client is accepted, otherwise - it is rejected. - - In all cases the "RFB_*" enviornment variables are set as under - [473]-accept. These variables can provide useful information for the + crackable MD5 hash scheme or one-time pad. Your program will read from + its standard input the size of the challenge-response followed by a + newline, then the challenge bytes followed by the response bytes. If + your command then returns success, i.e. exit(0), the VNC client is + accepted, otherwise it is rejected. + + In all cases the "RFB_*" environment variables are set as under + [484]-accept. These variables can provide useful information for the externally supplied program to use. @@ -3062,15 +3087,15 @@ exit 1 # reject it These defaults are simple safety measures to avoid someone unknowingly leaving his X11 desktop exposed (to the internet, say) for long - periods of time. Use the [474]-forever option (aka -many) to have + periods of time. Use the [485]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [475]-shared option to have x11vnc allow multiple clients to + Use the [486]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([476]see - above), stunnel, [477]-ssl, or a VPN to authenticate and encrypt the + Recommended additional safety measures include using ssh ([487]see + above), stunnel, [488]-ssl, or a VPN to authenticate and encrypt the viewer connections or to at least use the -rfbauth passwd-file - [478]option to use VNC password protection (or [479]-passwdfile) It is + [489]option to use VNC password protection (or [490]-passwdfile) It is up to YOU to apply these security measures, they will not be done for you automatically. @@ -3078,7 +3103,7 @@ exit 1 # reject it Q-39: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [480]-allow and [481]-localhost options to limit + Yes, look at the [491]-allow and [492]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -3090,7 +3115,7 @@ exit 1 # reject it Note that -localhost achieves the same thing as "-allow 127.0.0.1" For more control, build libvncserver with libwrap support - [482](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [493](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. @@ -3110,7 +3135,7 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [483]inetd you do not need to build + Note that if you run x11vnc out of [494]inetd you do not need to build x11vnc with libwrap support because the /usr/sbin/tcpd reference in /etc/inetd.conf handles the tcp_wrappers stuff. @@ -3119,15 +3144,15 @@ exit 1 # reject it internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - As of Mar/2005 there is the "[484]-listen ipaddr" option that enables + As of Mar/2005 there is the "[495]-listen ipaddr" option that enables this. For ipaddr either supply the desired network interface's IP address (or use a hostname that resolves to it) or use the string "localhost". For additional filtering simultaneously use the - "[485]-allow host1,..." option to allow only specific hosts in. + "[496]-allow host1,..." option to allow only specific hosts in. This option is useful if you want to insure that no one can even begin a dialog with x11vnc from untrusted network interfaces (e.g. ppp0). - The option [486]-localhost now implies "-listen localhost" since that + The option [497]-localhost now implies "-listen localhost" since that is what most people expect it to do. @@ -3135,7 +3160,7 @@ exit 1 # reject it interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - To do this specify "[487]-allow localhost". Unlike [488]-localhost + To do this specify "[498]-allow localhost". Unlike [499]-localhost this will leave x11vnc listening on all interfaces (but of course only allowing in local connections, e.g. ssh redirs). Then you can later run "x11vnc -R allowonce:somehost" or use to gui to permit a one-shot @@ -3146,11 +3171,12 @@ exit 1 # reject it some users just be able to move the mouse, but not click or type anything? - As of Feb/2005, the [489]-input option allows you to do this. "K", - "M", "B", and "C" stand for Keystroke, Mouse-motion, Button-clicks, - and Clipboard, respectively. The setting: "-input M" makes attached - viewers only able to move the mouse. "-input KMBC,M" lets normal - clients do everything and enables view-only clients to move the mouse. + As of Feb/2005, the [500]-input option allows you to do this. "K", + "M", "B", "C", and "F" stand for Keystroke, Mouse-motion, + Button-clicks, Clipboard, and File-Transfer, respectively. The + setting: "-input M" makes attached viewers only able to move the + mouse. "-input KMBC,M" lets normal clients do everything and enables + view-only clients to move the mouse. These settings can also be applied on a per-viewer basis via the remote control mechanism or the GUI. E.g. x11vnc -R input:hostname:M @@ -3161,11 +3187,12 @@ exit 1 # reject it some clients view-only? How about running an arbitrary program to make the decisions? - Yes, look at the "[490]-accept command" option, it allows you to + Yes, look at the "[501]-accept command" option, it allows you to specify an external command that is run for each new client. (use quotes around the command if it contains spaces, etc.). If the - external command returns 0 the client is accepted, otherwise the - client is rejected. See below how to also accept clients view-only. + external command returns 0 (success) the client is accepted, otherwise + with any other return code the client is rejected. See below how to + also accept clients view-only. The external command will have the RFB_CLIENT_IP environment variable set to the client's numerical IP address, RFB_CLIENT_PORT its port @@ -3176,13 +3203,13 @@ exit 1 # reject it will be an id number, and RFB_CLIENT_COUNT the number of other clients currently connected. RFB_MODE will be "accept". - As a special case, "-accept popup" will instruct x11vnc to create its - own simple popup window. To accept the client press "y" or click mouse - on the "Yes" button. To reject the client press "n" or click mouse on - the "No" button. To accept the client View-only, press "v" or click - mouse on the "View" button. If the [491]-viewonly option has been - supplied, the "View" action will not be present: the whole display is - view only in that case. + Built-in Popup Window: As a special case, "-accept popup" will + instruct x11vnc to create its own simple popup window. To accept the + client press "y" or click mouse on the "Yes" button. To reject the + client press "n" or click mouse on the "No" button. To accept the + client View-only, press "v" or click mouse on the "View" button. If + the [502]-viewonly option has been supplied, the "View" action will + not be present: the whole display is view only in that case. The popup window times out after 120 seconds, to change this behavior use "-accept popup:N" where N is the number of seconds (use 0 for no @@ -3196,14 +3223,15 @@ exit 1 # reject it program to prompt the user whether the client should be accepted or not. This requires that you have xmessage installed and available via PATH. In case it is not already on your system, the xmessage program - is available at [492]ftp://ftp.x.org/ + is available at [503]ftp://ftp.x.org/ + (End of Built-in Popup Window:) To include view-only decisions for the external commands, prefix the command something like this: "yes:0,no:*,view:3 mycommand ..." This associates the three actions: yes(accept), no(reject), and - view(accept-view-only), with the numerical return codes. Use "*" - instead of a number to set the default action (e.g. in case the - external command returns an unexpected return code). + view(accept-view-only), with the numerical return (i.e. exit()) codes. + Use "*" instead of a number to set the default action (e.g. in case + the external command returns an unexpected return code). Here is an example -accept script called accept_or_lock. It uses xmessage and xlock (replace with your screen lock command, maybe it is @@ -3235,7 +3263,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [493]dtVncPopup for use + Stefan Radman has written a nice dtksh script [504]dtVncPopup for use in CDE environments to do the same sort of thing. Information on how to use it is found at the top of the file. He encourages you to provide feedback to him to help improve the script. @@ -3244,15 +3272,15 @@ exit 1 popup is being run, so attached clients will not receive screen updates, etc during this period. - To run a command when a client disconnects, use the "[494]-gone + To run a command when a client disconnects, use the "[505]-gone command" option. This is for the user's convenience only: the return code of the command is not interpreted by x11vnc. The same environment variables are set as in "-accept command" (except that RFB_MODE will be "gone"). - As of Jan/2006 the "[495]-afteraccept command" option will run the + As of Jan/2006 the "[506]-afteraccept command" option will run the command only after the VNC client has been accepted and authenticated. - Like -gone the return code is not interprted. RFB_MODE will be + Like -gone the return code is not interpreted. RFB_MODE will be "afteraccept"). @@ -3260,7 +3288,7 @@ exit 1 display manager like gdm(1). Can I have x11vnc later switch to a different user? - As of Feb/2005 x11vnc has the [496]-users option that allows things + As of Feb/2005 x11vnc has the [507]-users option that allows things like this. Please read the documentation on it (also in the x11vnc -help output) carefully for features and caveats. It's use can often decrease security unless care is taken. @@ -3285,7 +3313,7 @@ exit 1 In any event, as of Jun/2004 there is an experimental utility to make it more difficult for nosey people to see your x11vnc activities. The - source for it is [497]blockdpy.c The idea behind it is simple (but + source for it is [508]blockdpy.c The idea behind it is simple (but obviously not bulletproof): when a VNC client attaches to x11vnc put the display monitor in the DPMS "off" state, if the DPMS state ever changes immediately start up the screen-lock program. The x11vnc user @@ -3301,8 +3329,8 @@ exit 1 bulletproof. A really robust solution would likely require X server and perhaps even video hardware support. - The blockdpy utility is launched by the [498]-accept option and told - to exit via the [499]-gone option (the vnc client user should + The blockdpy utility is launched by the [509]-accept option and told + to exit via the [510]-gone option (the vnc client user should obviously re-lock the screen before disconnecting!). Instructions can be found in the source code for the utility at the above link. Roughly it is something like this: @@ -3311,17 +3339,17 @@ exit 1 but please read the top of the file. Update: As of Feb/2007 there is some builtin support for this: - [500]-forcedpms and [501]-clientdpms however, they are probably less + [511]-forcedpms and [512]-clientdpms however, they are probably less robust than the above blockdpy.c scheme, since if the person floods the physical machine with mouse or pointer input he can usually see flashes of the screen before the monitor is powered off again. See - also the [502]-grabkbd, [503]-grabptr, and [504]-grabalways options. + also the [513]-grabkbd, [514]-grabptr, and [515]-grabalways options. Q-47: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [505]-gone option under CDE to run a + Yes, a user mentions he uses the [516]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -3331,7 +3359,7 @@ exit 1 x11vnc -display :0 -forever -gone 'xlock &' x11vnc -display :0 -forever -gone 'xlock -mode blank &' - Here is a scheme using the [506]-afteraccept option (in version 0.8) + Here is a scheme using the [517]-afteraccept option (in version 0.8) to unlock the screen after the first valid VNC login and to lock the screen after the last valid VNC login disconnects: x11vnc -display :0 -forever -shared -afteraccept ./myxlocker -gone ./myxlocke @@ -3372,21 +3400,21 @@ exec @ARGV; Q-48: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - See the description earlier on this page on [507]how to tunnel VNC via + See the description earlier on this page on [518]how to tunnel VNC via SSH from Unix to Unix. A number of ways are described along with some issues you may encounter. Other secure encrypted methods exists, e.g. stunnel, IPSEC, various VPNs, etc. - See also the [508]Enhanced TightVNC Viewer (SSVNC) page where much of + See also the [519]Enhanced TightVNC Viewer (SSVNC) page where much of this is now automated. Q-49: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [509]Above we described how to tunnel VNC via SSH from Unix to Unix, + [520]Above we described how to tunnel VNC via SSH from Unix to Unix, you may want to review it. To do this from Windows using Putty it would go something like this: * In the Putty dialog window under 'Session' enter the hostname or @@ -3407,11 +3435,11 @@ exec @ARGV; :0 (plus other cmdline options) in the 'Remote command' Putty setting under 'Connections/SSH'. - See also the [510]Enhanced TightVNC Viewer (SSVNC) page where much of + See also the [521]Enhanced TightVNC Viewer (SSVNC) page where much of this is now automated via the Putty plink utility. - For extra protection feel free to run x11vnc with the [511]-localhost - and [512]-rfbauth/[513]-passwdfile options. + For extra protection feel free to run x11vnc with the [522]-localhost + and [523]-rfbauth/[524]-passwdfile options. If the machine you SSH into via Putty is not the same machine with the X display you wish to view (e.g. your company provides incoming SSH @@ -3419,11 +3447,11 @@ exec @ARGV; dialog setting to: 'Destination: otherhost:5900', Once logged in, you'll need to do a second login (ssh or rsh) to the workstation machine 'otherhost' and then start up x11vnc on it. This can also be - automated by [514]Chaining SSH's. + automated by [525]Chaining SSH's. - As discussed [515]above another option is to first start the VNC + As discussed [526]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[516]-connect localhost" option to establish the reverse connection. + "[527]-connect localhost" option to establish the reverse connection. In this case a Remote port redirection (not Local) is needed for port 5500 instead of 5900 (i.e. 'Source port: 5500' and 'Destination: localhost:5500' for a Remote connection). @@ -3433,7 +3461,7 @@ exec @ARGV; channel using an external tool like stunnel? It is possible to use a "lighter weight" encryption setup than SSH or - IPSEC. SSL tunnels such as [517]stunnel (also [518]stunnel.mirt.net) + IPSEC. SSL tunnels such as [528]stunnel (also [529]stunnel.mirt.net) provide an encrypted channel without the need for Unix users, passwords, and key passphrases required for ssh (and at the other extreme SSL can also provide a complete signed certificate chain of @@ -3441,12 +3469,12 @@ exec @ARGV; often let its port through, ssh is frequently the path of least resistance (it also nicely manages public keys for you). - Update: As of Feb/2006 x11vnc has the options [519]-ssl, - [520]-stunnel, and [521]-sslverify to provide integrated SSL schemes. - They are discussed [522]in the Next FAQ (you may want to skip to it + Update: As of Feb/2006 x11vnc has the options [530]-ssl, + [531]-stunnel, and [532]-sslverify to provide integrated SSL schemes. + They are discussed [533]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [523]stunnel but the general idea + Here are some basic examples using [534]stunnel but the general idea for any SSL tunnel utility is the same: * Start up x11vnc and constrain it to listen on localhost. * Then start up the SSL tunnel running on the same machine to @@ -3470,7 +3498,7 @@ exec @ARGV; The above two commands are run on host "far-away.east". The stunnel.pem is the self-signed PEM file certificate created when - stunnel is built. One can also create certificates [524]signed by + stunnel is built. One can also create certificates [535]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. @@ -3484,21 +3512,21 @@ exec @ARGV; Then point the viewer to the local tunnel on port 5902: vncviewer -encodings "copyrect tight zrle hextile" localhost:2 - That's it. Note that the [525]ss_vncviewer script can automate this - easily, and so can the [526]Enhanced TightVNC Viewer (SSVNC) package. + That's it. Note that the [536]ss_vncviewer script can automate this + easily, and so can the [537]Enhanced TightVNC Viewer (SSVNC) package. Be sure to use a VNC password because unlike ssh by default the encrypted SSL channel provides no authentication (only privacy). With some extra configuration one could also set up certificates to provide authentication of either or both sides as well (and hence avoid man-in-the-middle attacks). See the stunnel and openssl documentation - and also [527]the key management section for details. + and also [538]the key management section for details. stunnel has also been ported to Windows, and there are likely others to choose from for that OS. Much info for using it on Windows can be - found at the stunnel site and in this [528]article The article also + found at the stunnel site and in this [539]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [529]x11vnc + certificates. (for both server and clients, see also the [540]x11vnc utilities that do this). The default Windows client setup (no certs) is simpler and only 4 files are needed in a folder: stunnel.exe, stunnel.conf, libssl32.dll, libeay32.dll. We used an stunnel.conf @@ -3519,7 +3547,7 @@ connect = far-away.east:5901 As an aside, if you don't like the little "gap" of unencrypted TCP traffic (and a localhost listening socket) on the local machine between stunnel and x11vnc it can actually be closed by having stunnel - start up x11vnc in [530]-inetd mode: + start up x11vnc in [541]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -3557,28 +3585,28 @@ connect = 5900 Regarding VNC viewers that "natively" do SSL unfortunately there do not seem to be many. UltraVNC has an encryption plugin, but we have - not tried it (it does not seem to be SSL, however the [531]SingleClick - UltraVNC Java Viewer is SSL and is compatible with x11vnc's [532]-ssl + not tried it (it does not seem to be SSL, however the [542]SingleClick + UltraVNC Java Viewer is SSL and is compatible with x11vnc's [543]-ssl option and stunnel.) Commercial versions of VNC seem to have some SSL built in, but we haven't tried those either and they probably wouldn't work since the SSL negotiation is likely embedded in the VNC protocol unlike our case where it is external. - Note: as of Mar/2006 libvncserver/x11vnc provides a [533]SSL-enabled - Java applet that can be served up via the [534]-httpdir or [535]-http - options when [536]-ssl is enabled. It will also be served via HTTPS + Note: as of Mar/2006 libvncserver/x11vnc provides a [544]SSL-enabled + Java applet that can be served up via the [545]-httpdir or [546]-http + options when [547]-ssl is enabled. It will also be served via HTTPS via either the VNC port (e.g. https://host:5900/) or a 2nd port via - the [537]-https option. + the [548]-https option. In general current SSL VNC solutions are not particularly "seemless". But it can be done, and with a wrapper script on the viewer side and - the [538]-stunnel or [539]-ssl option on the server side it works well - and is convenient. Here is a simple script [540]ss_vncviewer that + the [549]-stunnel or [550]-ssl option on the server side it works well + and is convenient. Here is a simple script [551]ss_vncviewer that automates running stunnel on the VNC viewer side on Unix a little more carefully than the commands printed above. (One could probably do a similar thing with a .BAT file on Windows in the stunnel folder.) - Update Jul/2006: we now provide an [541]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [552]Enhanced TightVNC Viewer (SSVNC) package that starts up STUNNEL automatically along with some other features. All binaries (stunnel, vncviewer, and some utilities) are provided in the package. It works on Unix, Mac OS X, and Windows. @@ -3586,7 +3614,8 @@ connect = 5900 Q-51: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [542]in the Previous FAQ + You can read about non-built-in methods [553]in the Previous FAQ for + background. SSL tunnels provide an encrypted channel without the need for Unix users, passwords, and key passphrases required for ssh (and at the @@ -3597,22 +3626,24 @@ connect = 5900 Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [543]-ssl and [544]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [545]SSL-enabled + As of Feb/2006 the x11vnc [554]-ssl and [555]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [556]SSL-enabled Java Viewer applet is also provided that can be served via HTTP or HTTPS to automate SSL on the client side. - The [546]-ssl mode uses the [547]www.openssl.org library if available - at build time. The [548]-stunnel mode requires the - [549]www.stunnel.org command stunnel(8) to be installed on the system. + The [557]-ssl mode uses the [558]www.openssl.org library if available + at build time. The [559]-stunnel mode requires the + [560]www.stunnel.org command stunnel(8) to be installed on the system. Both modes require an SSL certificate and key (i.e. .pem file). These - are usually created via the openssl(1) (in fact in for options "-ssl" - or "-stunnel SAVE" it will run openssl for you automatically). So the - SSL is not completely "built-in" since these external tools need to be - installed, but at least x11vnc runs them for you automatically. + are usually created via the openssl(1) program (in fact in for options + "-ssl" or "-stunnel SAVE" it will run openssl for you automatically). + So the SSL is not completely "built-in" since these external tools + need to be installed, but at least x11vnc runs them for you + automatically. - An -stunnel example: + An -stunnel example (note: we recommend -ssl over -stunnel, we show + this only for reference): x11vnc -display :0 -stunnel /path/to/stunnel.pem -passwdfile ~/mypass You'll get output like this: @@ -3645,7 +3676,7 @@ connect = 5900 SSL VNC Viewers:. Viewer-side will need to use SSL as well. See the - [550]next FAQ and [551]here for SSL enabled VNC Viewers to connect to + [561]next FAQ and [562]here for SSL enabled VNC Viewers to connect to the above x11vnc via SSL. @@ -3661,12 +3692,12 @@ connect = 5900 is to encrypt the key with a passphrase (note however this requires supplying the passphrase each time x11vnc is started up). - See the discussion on [552]x11vnc Key Management for some utilities + See the discussion on [563]x11vnc Key Management for some utilities provided for creating and managing certificates and keys and even for creating your own Certificate Authority (CA) for signing VNC server and client certificates. This may be done by importing the certificate into Web Browser or Java plugin keystores, or pointing stunnel to it. - The wrapper script [553]ss_vncviewer provides an example on unix + The wrapper script [564]ss_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -3682,10 +3713,12 @@ connect = 5900 to machines where the VNC Viewer will be run to enable authenticating the x11vnc SSL VNC server to the clients. When authentication takes place this way (or via the more sophisticated CA signing described - [554]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [565]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, the SSL encryption only provides protection against passive network - traffic "sniffing". Nowadays, most people seem mostly concerned about - only the latter (and the default x11vnc SSL modes protect against it.) + traffic "sniffing" (i.e. you are not protected agains M-I-T-M + attacks). Nowadays, most people seem mostly concerned mainly about + passivie sniffing (and the default x11vnc SSL mode protects against + it.) One can test to some degree that SSL is working after starting x11vnc @@ -3712,11 +3745,11 @@ connect = 5900 Notes on using "native" VNC Viewers with SSL: - There aren't any native VNC Viewers that do SSL (ask your viewer + There aren't any native VNC Viewers that do SSL (ask your VNC viewer developer to add the feature). So a tunnel must be setup that you point the VNC Viewer to. This is often STUNNEL. You can do this - [555]manually, or use the [556]ss_vncviewer script on Unix, or the - [557]Enhanced TightVNC Viewer (SSVNC) package on Unix, Windows, or + [566]manually, or use the [567]ss_vncviewer script on Unix, or the + [568]Enhanced TightVNC Viewer (SSVNC) package on Unix, Windows, or MacOSX. See the next section for Java Web browser SSL VNC Viewers (you only need a Java-enabled Web browser for it to work). @@ -3728,24 +3761,24 @@ connect = 5900 The SSL enabled Java VNC Viewer (VncViewer.jar) in the x11vnc package supports only SSL based connections by default. As mentioned above the - [558]-httpdir can be used to specify the path to .../classes/ssl. A + [569]-httpdir can be used to specify the path to .../classes/ssl. A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - [559]-http can be used to try to have it find the directory + [570]-http can be used to try to have it find the directory automatically. - Also note that the [560]SingleClick UltraVNC Java Viewer is compatible - with x11vnc's [561]-ssl SSL mode. (We tested it this way: "java -cp + Also note that the [571]SingleClick UltraVNC Java Viewer is compatible + with x11vnc's [572]-ssl SSL mode. (We tested it this way: "java -cp ./VncViewer.jar VncViewer HOST far-away.east PORT 5900 USESSL 1 TRUSTALL 1") The Java viewer uses SSL to communicate securely with x11vnc. Note that the applet can optionally also be downloaded into your web - browser via HTTPS (i.e. HTTP over SSL). This way the HTML page and the - Java applet itself are delivered securely (as opposed to only the VNC - traffic being encrypted). + browser via HTTPS (which is HTTP over SSL). This way the HTML page and + the Java applet itself are also delivered securely with SSL (as + opposed to only the VNC traffic being encrypted with SSL). For this case the output will be something like this: - x11vnc -ssl -http + x11vnc -ssl SAVE -http ... The SSL VNC desktop is: far-away.east:0 Java SSL viewer URL: https://far-away.east:5900/ @@ -3766,33 +3799,34 @@ connect = 5900 The https service provided thru the actual VNC port (5900 in the above example) can occasionally be slow or unreliable (it has to read some input and try to guess if the connection is VNC or HTTP). If it is - unreliable and you still want to serve the Java applet via https, use - the [562]-https option to get an additional port dedicated to https - (its URL will also be printed in the output). + unreliable for you and you still want to serve the Java applet via + https, use the [573]-https option to get an additional port dedicated + to https (its URL will also be printed in the output). Another possibility is to add the GET applet parameter: https://far-away.east:5900/?GET=1 This will have the VNC Viewer send a special HTTP GET string "GET - /request.https.vnc.connection HTTP/1.0 that x11vnc will more quickly - notice is a request for a VNC connection. Otherwise it must wait for a - timeout to expire before it assumes a VNC connection. + /request.https.vnc.connection HTTP/1.0 that x11vnc will notice more + quickly as a request for a VNC connection. Otherwise it must wait for + a timeout to expire before it assumes a VNC connection. You may also use "urlPrefix=somestring" to have /somestring prepended to /request.https.vnc.connection". Perhaps you are using a web server - [563]proxy scheme to enter a firewall or otherwise have rules applied + [574]proxy scheme to enter a firewall or otherwise have rules applied to the URL. If you need to have any slashes "/" in "somestring" use "_2F_" (a deficiency in libvncserver prevents using the more natural "%2F".) - You apply multiple applet parameters in the regular way, e.g.: + You apply multiple applet parameters in the regular URL way, e.g.: https://far-away.east:5900/?GET=1&urlPrefix=mysubdir&... - Tips on Getting it Working the First Time: It can be a little tricky - getting the SSL VNC Java Viewer working with x11vnc. Here are some - tips to getting working the first time (afterwards you can - incrementally customize). + Tips on Getting SSL Java Applet Working the First Time: + Unfortunately, it can be a little tricky getting the SSL VNC Java + Viewer working with x11vnc. Here are some tips to getting working the + first time (afterwards you can incrementally customize with more + complex settings). * First try it on the LAN: Do NOT try to have it work the first time going through firewalls, Web proxies, home router port redirections, or Apache portal. Just try a direct connection over @@ -3809,17 +3843,17 @@ connect = 5900 http://hostname:5800 in your web browser first before trying https://hostname:5900. x11vnc will print out the ports and URLs it is using, so use the HTTP one it prints out. - * Always Restart the Browser: If you are having problems and have to - repeatedly retry things Always restart the browser (i.e. + * Always Restart the Browser: If you are having failures and have to + repeatedly retry things ALWAYS restart the browser (i.e. completely exit it and then start a new browser process) each time. Otherwise as you are changing things the browser may "remember" failed applet downloads, etc. and just add to the - confusion. If you see it trying to download VncViewer.class - (instead of VncViewer.jar) you know it is really confused and - needs to be restarted. + confusion and irreproducibility. If you see it trying to download + VncViewer.class (instead of VncViewer.jar) you know it is really + confused and needs to be restarted. * Step Lively: If you get Browser or Java VM or VNC Viewer applet dialog boxes saying things like "Do you want to trust this - certificate" or "The hostname does not match the one on the + certificate?" or "The hostname does not match the one on the certificate", etc. just go through them as quickly as possible. x11vnc cannot wait forever for each SSL connection, and so if you dawdle too long inspecting the certs, etc it can lead to problems. @@ -3853,25 +3887,28 @@ connect = 5900 line, and the URL(s) entered in the browser, and anything else you can think of.) - Next, you can add features one by one testing each time. I suggest - first turning on the HTTPS applet download (https://hostname:5900) if - that is what you intend to use. That one gives the most trouble - because of the ambiguity of passing two different protocols (HTTP and - VNC) through the same SSL service port. Next turn on inetd if you - intend to use that (this can be tricky too, be sure to use -oa logfile - and inspect it carefully if there are problems). If you are going to - use non-standard ports (e.g. "-rfbport 443" as root), work on that - next. Then enable the firewall, router port redirection channel (you - will somehow need to be outside to do that, maybe test that through - another VNC session). Then enable "fancy stuff" like "-svc" or + Next, you can add the features you want one by one testing it still + works each time. I suggest first turning on the HTTPS applet download + (https://hostname:5900) if that is what you intend to use. That one + gives the most trouble because of the ambiguity of passing two + different protocols (HTTP and VNC) through the same SSL service port. + + Next, turn on inetd if you intend to use that (this can be tricky too, + be sure to use -oa logfile and inspect it carefully if there are + problems). If you are going to use non-standard ports (e.g. "-rfbport + 443" as root), work on that next. Then enable the firewall, router + port redirection channel (you will somehow need to be outside to do + that, maybe test that through another VNC session). + + Then, if you plan to use them, enable "fancy stuff" like "-svc" or "-unixpw", etc, etc. Be sure to add a password either "-rfbauth" or "-unixpw" or both. If you need to have the web browser use a corporate - [564]Web Proxy (i.e. it cannot connect directly) work on that last. - Ditto for the [565]Apache portal. + [575]Web Proxy (i.e. it cannot connect directly) work on that last. + Ditto for the [576]Apache portal. Router/Firewall port redirs: If you are doing port redirection at - your [566]router to an internal machine running x11vnc AND the + your [577]router to an internal machine running x11vnc AND the internet facing port is different from the internal machine's VNC port, you will need to apply the PORT applet parameter to indicate to the applet the Internet facing port number (otherwise by default the @@ -3879,11 +3916,10 @@ connect = 5900 rejected at the firewall/router). For example: https://far-away.east:443/?GET=1&PORT=443 - (actually, in this case the first ":443" isn't needed because that is - the default port for https; it would be needed for any other port). So - in this example the user configures his router to redirect connections - to port 443 on his Internet side to, say, port 5900 on the internal - machine running x11vnc. + So in this example the user configures his router to redirect + connections to port 443 on his Internet side to, say, port 5900 on the + internal machine running x11vnc. See also the [578]-httpsredir option + that will try to automate this for you. To configure your router to do port redirection, see its instructions. Typically, from the inside you point a web browser to a special URL @@ -3894,8 +3930,9 @@ connect = 5900 configuration. - If you do serve the SSL enabled Java viewer via https be prepared for - quite a number of "are you sure you trust this site?" dialogs: + Tedious Dialogs: If you do serve the SSL enabled Java viewer via https + be prepared for quite a number of "are you sure you trust this site?" + dialogs: * First from the Web browser that cannot verify the self-signed certificate when it downloads index.vnc. * From the Web browser again noting that the common name on the @@ -3917,28 +3954,28 @@ connect = 5900 NOT linger at. If you see in the x11vnc output a request for VncViewer.class instead of VncViewer.jar it is too late... you may need to restart the Web browser to get it to try for the jar again. - You can use the [567]-https option if you want a dedicated port for + You can use the [579]-https option if you want a dedicated port for HTTPS connections instead of sharing the VNC port. To see example x11vnc output for a successful https://host:5900/ - connection with the Java Applet see [568]This Page. + connection with the Java Applet see [580]This Page. Notes on the VNC Viewer ss_vncviewer wrapper script: If you want to use a native VNC Viewer with the SSL enabled x11vnc you will need to run an external SSL tunnel on the Viewer side. There do - not seem to be any native SSL VNC Viewers outside of the x11vnc - package. The basic ideas of doing this were discussed [569]for - external tunnel utilities here. - - The [570]ss_vncviewer script provided with x11vnc can set up the - stunnel tunnel automatically on unix as long as the stunnel command is - installed on the Viewer machine and available in PATH (and vncviewer - too of course). Note that on Debian based system you will need to - install the package stunnel4 not stunnel. You can set the environment - variables STUNNEL and VNCVIEWERCMD to point to the correct programs if - you want to override the defaults. + not seem to be any native SSL VNC Viewers outside of our x11vnc and + [581]SSVNC packages. The basic ideas of doing this were discussed + [582]for external tunnel utilities here. + + The [583]ss_vncviewer script provided with x11vnc and SSVNC can set up + the stunnel tunnel automatically on unix as long as the stunnel + command is installed on the Viewer machine and available in PATH (and + vncviewer too of course). Note that on a Debian based system you will + need to install the package stunnel4 not stunnel. You can set the + environment variables STUNNEL and VNCVIEWERCMD to point to the correct + programs if you want to override the defaults. Here are some examples: 1) ss_vncviewer far-away.east:0 @@ -3955,23 +3992,23 @@ connect = 5900 without question. The second one is as the first, but adds the -encodings options to the vncviewer command line. - The third one requires that the x11vnc server authenticate itself - against the certificate in the file ./server.crt (e.g. one created by - "x11vnc -ssl SAVE" and safely copied to the VNC viewer machine). The - fourth one is for VNC Viewer authentication, it uses ./client.pem to - authenticate itself to x11vnc. One can supply both -verify and -mycert - simultaneously. + The third one requires that the x11vnc server authenticate itself to + the client against the certificate in the file ./server.crt (e.g. one + created by "x11vnc -ssl SAVE" and safely copied to the VNC viewer + machine). The fourth one is for VNC Viewer authentication, it uses + ./client.pem to authenticate itself to x11vnc. One can supply both + -verify and -mycert simultaneously. The fifth one shows that Web proxies can be used if that is the only way to get out of the firewall. If the "double proxy" situation arises - separate the two by commas. See [571]this page for more information on + separate the two by commas. See [584]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [572]here, + If one uses a Certificate Authority (CA) scheme described [585]here, the wrapper script would use the CA cert instead of the server cert: 3') ss_vncviewer -verify ./cacert.crt far-away.east:0 - Update Jul/2006: we now provide an [573]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [586]Enhanced TightVNC Viewer (SSVNC) package that starts up STUNNEL automatically along with some other features. All binaries (stunnel, vncviewer, and some utilities) are provided in the package. It works on Unix, Mac OS X, and Windows. @@ -4010,11 +4047,11 @@ connect = 5900 Proxies that limit CONNECT to ports 443 and 563: - Things become trickier if the proxy restricts which CONNECT ports can - be redirected to. For security, some (most?) proxies only allow port - 443 (HTTPS) and 563 (SNEWS) by default. In this case, the only thing - to do is run x11vnc on that low port, e.g. "-rfbport 443", (or use a - port redirection on, say, a firewall or router port 443 to the + Things become trickier if the Web proxy restricts which CONNECT ports + can be redirected to. For security, some (most?) proxies only allow + port 443 (HTTPS) and 563 (SNEWS) by default. In this case, the only + thing to do is run x11vnc on that low port, e.g. "-rfbport 443", (or + use a port redirection on, say, a firewall or router port 443 to the internal machine). If you do such a redirection to an internal machine and x11vnc is not @@ -4027,19 +4064,21 @@ connect = 5900 <param name=PORT value=443> Since otherwise $PORT will be expanded to 5901 by x11vnc and the - viewer applet will fail to connect to that port. + viewer applet will fail to connect to that port on the firewall. - Another way to acheive the same thing is to use the applet PORT + Another way to achieve the same thing is to use the applet PORT parameter: https://yourmachine.com/proxy.vnc?PORT=443 this is cleaner because it avoids editing the file, but requires more - parameters in the URL. To use the GET [574]trick discussed above, do: + parameters in the URL. See also the [587]-httpsredir option that will + try to automate this for you. To use the GET [588]trick discussed + above, do: https://yourmachine.com/proxy.vnc?GET=1&PORT=443 - Note that the [575]ss_vncviewer stunnel Unix wrapper script and - [576]Enhanced TightVNC Viewer (SSVNC) can use Web proxies as well even + Note that both the [589]ss_vncviewer stunnel Unix wrapper script and + [590]Enhanced TightVNC Viewer (SSVNC) can use Web proxies as well even though they do not involve a Web browser. @@ -4047,7 +4086,7 @@ connect = 5900 SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? Yes. You will need to configure apache to forward these connections. - It is discussed [577]here. This provides a clean alternative to the + It is discussed [591]here. This provides a clean alternative to the traditional method where the user uses SSH to log in through the gateway to create the encrypted port redirection to x11vnc running on her desktop. @@ -4055,7 +4094,7 @@ connect = 5900 Q-55: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [578]this page for how to do this and the utility commands + Yes, see [592]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -4074,14 +4113,14 @@ connect = 5900 need to have sufficient permissions to connect to the X display. Here are some ideas: - * Use the description under "Continuously" in the [579]FAQ on x11vnc + * Use the description under "Continuously" in the [593]FAQ on x11vnc and Display Managers - * Use the description in the [580]FAQ on x11vnc and inetd(8) - * Use the description in the [581]FAQ on Unix user logins and + * Use the description in the [594]FAQ on x11vnc and inetd(8) + * Use the description in the [595]FAQ on Unix user logins and inetd(8) * Start x11vnc from your $HOME/.xsession (or $HOME/.xinitrc or autostart script or ...) - * Although less reliable, see the [582]x11vnc_loop rc.local hack + * Although less reliable, see the [596]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -4103,9 +4142,9 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg X startup scripts (traditionally .xsession/.xinitrc) may have to be in a different directory or have a different basename. One user recommends the description under 'Running Scripts Automatically' at - [583]this link. + [597]this link. - Firewalls: note all methods will require the host-level [584]firewall + Firewalls: note all methods will require the host-level [598]firewall to be configured to allow connections in on a port. E.g. 5900 (default VNC port) or 22 (default SSH port for tunnelling VNC). Most systems these days have firewalls turned on by default, so you will actively @@ -4126,7 +4165,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg while running x11vnc as root, e.g. for the gnome display manager, gdm: x11vnc -auth /var/gdm/:0.Xauth -display :0 - (the [585]-auth option sets the XAUTHORITY variable for you). + (the [599]-auth option sets the XAUTHORITY variable for you). There will be a similar thing for xdm using however a different auth directory path (perhaps something like @@ -4153,7 +4192,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg (BTW, the auth file should be in /var/dt), you'll also need to add something like Dtlogin*grabServer:False to the Xconfig file (/etc/dt/config/Xconfig or /usr/dt/config/Xconfig on Solaris, see - [586]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [600]the example at the end of this FAQ). Then restart dtlogin, e.g.: /etc/init.d/dtlogin stop; /etc/init.d/dtlogin start or reboot. Continuously: Have x11vnc reattach each time the X server is @@ -4200,7 +4239,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg and XAUTHORITY environment variables for the Xsetup script!!! You may also want to force the VNC port with something like "-rfbport - 5900" (or [587]-N) to avoid autoselecting one if 5900 is already + 5900" (or [601]-N) to avoid autoselecting one if 5900 is already taken. _________________________________________________________________ @@ -4216,7 +4255,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg Then restart: /usr/sbin/gdm-restart (or reboot). The KillInitClients=false setting is important: without it x11vnc will be - killed immediately after the user logs in. Here are [588]full details + killed immediately after the user logs in. Here are [602]full details on how to configure gdm _________________________________________________________________ @@ -4258,16 +4297,16 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg If you do not want to deal with any display manager startup scripts, here is a kludgey script that can be run manually or out of a boot - file like rc.local: [589]x11vnc_loop It will need some local + file like rc.local: [603]x11vnc_loop It will need some local customization before running. Because the XAUTHORITY auth file must be guessed by this script, use of the display manager script method - described above is greatly preferred. There is also the [590]-loop + described above is greatly preferred. There is also the [604]-loop option that does something similar. If the machine is a traditional Xterminal you may want to read - [591]this FAQ. + [605]this FAQ. - Firewalls: note all methods will require the host-level [592]firewall + Firewalls: note all methods will require the host-level [606]firewall to be configured to allow connections in on a port. E.g. 5900 (default VNC port) or 22 (default SSH port for tunnelling VNC). Most systems these days have firewalls turned on by default, so you will actively @@ -4283,7 +4322,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [593]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [607]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh @@ -4296,7 +4335,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg and that confuses it greatly, causing it to abort). If you do not use a wrapper script as above but rather call x11vnc directly in /etc/inetd.conf and do not redirect stderr to a file, then you must - specify the -q (aka [594]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [608]-quiet) option: "/usr/local/bin/x11vnc -q -inetd ...". When you supply both -q and -inet and no "-o logfile" then stderr will automatically be closed (to prevent, e.g. library stderr messages leaking out to the viewer). The recommended practice @@ -4304,12 +4343,12 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg script with "2>logfile" redirection because the errors and warnings printed out are very useful in troubleshooting problems. - Note also the need to set XAUTHORITY via [595]-auth to point to the + Note also the need to set XAUTHORITY via [609]-auth to point to the MIT-COOKIE auth file to get permission to connect to the X display (setting and exporting the XAUTHORITY variable accomplishes the same thing). See the x11vnc_loop file in the previous question for more ideas on what that auth file may be, etc. The scheme described in the - [596]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY + [610]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY issue nicely. Note: On Solaris you cannot have the bare number 5900 in @@ -4318,8 +4357,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg Since the process runs as root, it might be a bad idea to have the logfile in a world-writable area like /tmp if there are untrustworthy - users on the machine. Perhaps /var/log is a better place. Also, while - running x11vnc as root, remember it comes with no warranty ;-). + users on the machine. Perhaps /var/log is a better place. Be sure to look at your /etc/hosts.allow and /etc/hosts.deny settings to limit the machines that can connect to this service (your @@ -4370,7 +4408,7 @@ service x11vncservice (or one can replace the -q with say "-o /var/log/x11vnc.log" to capture a log) - The above works nicely for GDM becasue the -auth file is a fixed name. + The above works nicely for GDM because the -auth file is a fixed name. For KDM or XDM the filename varies. Here is one idea for a x11vnc_sh wrapper to try to guess the name: #!/bin/sh @@ -4395,9 +4433,9 @@ exec /usr/local/bin/x11vnc -inetd -o /var/log/x11vnc.log -find -env FD_XDM=1 it automatically? Yes, as of Feb/2007 x11vnc supports mDNS / Zeroconf advertising of its - service via the Avahi client library. Use the option [597]-avahi (same - as [598]-mdns) to enable it. Depending on your setup you may need to - install [599]Avahi (including the development packages), enable the + service via the Avahi client library. Use the option [611]-avahi (same + as [612]-mdns) to enable it. Depending on your setup you may need to + install [613]Avahi (including the development packages), enable the server: avahi-daemon and avahi-dnsconfd, and possibly open up UDP port 5353 on your firewall. @@ -4422,79 +4460,47 @@ exec /usr/local/bin/x11vnc -inetd -o /var/log/x11vnc.log -find -env FD_XDM=1 machine and then connect to it? How about starting an X session if one cannot be found? - The easiest way to do this is via [600]inetd(8) using the [601]-unixpw - and [602]-display WAIT options. The reason inetd(8) makes this easier + The easiest way to do this is via [614]inetd(8) using the [615]-unixpw + and [616]-display WAIT options. The reason inetd(8) makes this easier is that it starts a new x11vnc process for each new user connection. Otherwise a wrapper would have to listen for connections and spawn new - x11vnc's (see [603]this example and also the [604]-loopbg option). + x11vnc's (see [617]this example and also the [618]-loopbg option). Also with inetd(8) users always connect to a fixed VNC display, say - machine:0, and do not need to memorize a special VNC display number + hostname:0, and do not need to memorize a special VNC display number just for their personal use, etc. - Update: Use the [605]-find, [606]-create, [607]-svc, and [608]-xdmsvc + Update: Use the [619]-find, [620]-create, [621]-svc, and [622]-xdmsvc options that are shorthand for common FINDCREATEDISPLAY usage modes (e.g. terminal services) described below. (i.e. just use "-svc" instead of "-display WAIT:cmd=FINDCREATEDISPLAY-Xvfb -unixpw -users unixpw= -ssl SAVE") - The [609]-display WAIT option makes x11vnc wait until a VNC viewer is + The [623]-display WAIT option makes x11vnc wait until a VNC viewer is connected before attaching to the X display. Additionally it can be used to run an external command that returns the DISPLAY and XAUTHORITY data. We provide some useful builtin ones (FINDDISPLAY and FINDCREATEDISPLAY below), but in principle one could supply "-display WAIT:cmd=/path/to/find_display" where the script find_display might - look something like: - #!/bin/sh - - PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin - export PATH - - user=$1 - if [ "X$user" = "X" ]; then - user=$USER - fi - if [ "X$user" = "X" ]; then - user=$LOGNAME - fi - if [ "X$user" = "X" ]; then - echo "" - exit 1 - fi - - display=`who | grep "^${user}[ ][ ]*:[0-9]" | head -1 | awk '{pri -nt $2}'` - if [ "X$display" = "X" ]; then - display=`who | grep "^${user}[ ]" | awk '{print $NF}' | grep '(:[0-9]' - | sed -e 's/[()]//g' | head -1` - if [ "X$display" = "X" ]; then - echo "" - exit 1 - fi - fi - - echo "DISPLAY=$display" - xauth extract - "$display" 2>/dev/null - - exit 0 + look something like [624]this. A default script somewhat like the above is used under "-display - WAIT:cmd=FINDDISPLAY" (same as [610]-find) (use - "WAIT:cmd=FINDDISPLAY-print" to print out the script). The format for - any such command is that it returns DISPLAY=:disp as the first line - and any remaining lines are either XAUTHORITY=file or raw xauth data - (the above example does the latter). If applicable (-unixpw mode), the - program is run as the Unix user name who logged in. + WAIT:cmd=FINDDISPLAY" (same as [625]-find) (use + "WAIT:cmd=FINDDISPLAY-print" to print out the gnarly script). The + format for any such command is that it returns DISPLAY=:disp as the + first line and any remaining lines are either XAUTHORITY=file or raw + xauth data (the above example does the latter). If applicable (-unixpw + mode), the program is run as the Unix user name who logged in. On Linux if the virtual terminal is known the program should append ",VT=n" to the DISPLAY line; a chvt n will be attempted automatically. Or if you only know the X server process ID and suspect a chvt will be needed append ",XPID=n". - Tip: Note that the [611]-find option is an alias for "-display - WAIT:cmd=FINDDISPLAY". + Tip: Note that the [626]-find option is an alias for "-display + WAIT:cmd=FINDDISPLAY". Use it! - The [612]-unixpw option allows [613]UNIX password logins. It + The [627]-unixpw option allows [628]UNIX password logins. It conveniently knows the Unix username whose X display should be found. Here are a couple /etc/inetd.conf examples for this: 5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd @@ -4508,16 +4514,16 @@ xpw= Note the very long lines have been split. An alternative is to use a wrapper script, e.g. /usr/local/bin/x11vnc.sh that has all of the - options. (see also the [614]-svc alias). + options. (see also the [629]-svc alias). In the first one x11vnc is run as user "nobody" and stays user nobody during the whole session. The permissions of the log files and certs directory will need to be set up to allow "nobody" to use them. In the second one x11vnc is run as root and switches to the user that - logs in due to the "[615]-users unixpw=" option. + logs in due to the "[630]-users unixpw=" option. - Note that [616]SSL is required for this mode because otherwise the + Note that [631]SSL is required for this mode because otherwise the Unix password would be passed in clear text over the network. In general -unixpw is not required for this sort of scheme, but it is convenient because it determines exactly who the Unix user is whose @@ -4525,17 +4531,17 @@ xpw= to use some method to work out DISPLAY, XAUTHORITY, etc (perhaps you use multiple inetd ports and hardwire usernames for different ports). - If you really want to disable the SSL or SSH [617]-localhost + If you really want to disable the SSL or SSH [632]-localhost constraints (this is not recommended unless you really know what you are doing: Unix passwords sent in clear text is a very bad idea...) - read the [618]-unixpw documentation. + read the [633]-unixpw documentation. A inetd(8) scheme for a fixed user that doesn't use SSL or unix passwds could be: /usr/local/bin/x11vnc -inetd -users =fred -find -rfbauth /home/fred/.vnc/passwd -o /var/log/x11vnc.log - The "[619]-users =fred" option will cause x11vnc to switch to user + The "[634]-users =fred" option will cause x11vnc to switch to user fred and then find his X display. @@ -4544,7 +4550,7 @@ xpw= FINDDISPLAY method it will create an X server session for the user (i.e. desktop/terminal server). This is the only time x11vnc actually tries to start up an X server. By default it will only try to start up - virtual (non-hardware) X servers: first [620]Xdummy and if that is not + virtual (non-hardware) X servers: first [635]Xdummy and if that is not available then Xvfb. Note that Xdummy requires root permission and only works on Linux whereas Xvfb works just about everywhere. @@ -4554,19 +4560,19 @@ xpw= -display WAIT:cmd=FINDCREATEDISPLAY -prog /usr/local/bin/x11vnc Where the very long lines have been split. This will allow direct SSL - (e.g. [621]ss_vncviewer) access and also Java Web browers access via: + (e.g. [636]ss_vncviewer) access and also Java Web browers access via: https://hostname:5900/. - Tip: Note that the [622]-create option is an alias for "-display + Tip: Note that the [637]-create option is an alias for "-display WAIT:cmd=FINDCREATEDISPLAY-Xvfb". - Tip: Note that [623]-svc is a short hand for the long "-ssl SAVE + Tip: Note that [638]-svc is a short hand for the long "-ssl SAVE -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY" part. Unlike -create, this alias also sets up SSL encryption and Unix password login. Tip: In addition to the usual unixpw parameters, the user can specify - after his username (following a ":" see [624]-display WAIT for + after his username (following a ":" see [639]-display WAIT for details) for FINDCREATEDISPLAY they can add "geom=WxH" or "geom=WxHxD" to specify the width, height, and optionally the color depth. E.g. "fred:geom=800x600" at the login: prompt. Also if the env. var @@ -4603,7 +4609,7 @@ service x11vnc WAIT:cmd=FINDCREATEDISPLAY-X,Xvfb,Xdummy". The "X" one means to try to start up a real, hardware X server, e.g. startx(1) (if there is already a real X server running this may only work on Linux and the - chvt program may [625]need to be run to switch to the correct Linux + chvt program may [640]need to be run to switch to the correct Linux virtual terminal). x11vnc will try to run chvt automatically if it can determine which VT should be switched to. @@ -4630,7 +4636,7 @@ service x11vnc will also typically block UDP (port 177 for XDMCP) by default effectively limiting the UDP connections to localhost. - Tip: Note that [626]-xdmsvc is a short hand for the long "-ssl SAVE + Tip: Note that [641]-xdmsvc is a short hand for the long "-ssl SAVE -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp" part. E.g.: service x11vnc @@ -4681,8 +4687,8 @@ t:5 _________________________________________________________________ - The "-display WAIT:cmd=FINDCREATEDISPLAY" scheme can be used to - provide a "desktop service" (i.e. terminal service) on the machine: + Summary: The "-display WAIT:cmd=FINDCREATEDISPLAY" scheme can be used + to provide a "desktop service" (i.e. terminal service) on the machine: you always get some desktop there, either a real hardware X server or a virtual one (depending on how you set things up). So it provides simple "terminal services" based on Unix username and password. The @@ -4697,15 +4703,15 @@ t:5 Q-61: Can I have x11vnc restart itself after it terminates? One could do this in a shell script, but now there is an option - [627]-loop that makes it easier. Of course when x11vnc restarts it + [642]-loop that makes it easier. Of course when x11vnc restarts it needs to have permissions to connect to the (potentially new) X display. This mode could be useful if the X server restarts often. Use e.g. "-loop5000" to sleep 5000 ms between restarts. Also "-loop2000,5" to sleep 2000 ms and only restart 5 times. - One can also use the [628]-loopbg to emulate inetd(8) to some degree, + One can also use the [643]-loopbg to emulate inetd(8) to some degree, where each connected process runs in the background. It could be - combined, say, with the [629]-svc option to provide simple terminal + combined, say, with the [644]-svc option to provide simple terminal services without using inetd(8). @@ -4713,7 +4719,7 @@ t:5 web browser? To have x11vnc serve up a Java VNC viewer applet to any web browsers - that connect to it, run x11vnc with this [630]option: + that connect to it, run x11vnc with this [645]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -4732,7 +4738,7 @@ t:5 then you can connect to that URL with any Java enabled browser. Feel free to customize the default index.vnc file in the classes directory. - As of May/2005 the [631]-http option will try to guess where the Java + As of May/2005 the [646]-http option will try to guess where the Java classes jar file is by looking in expected locations and ones relative to the x11vnc binary. @@ -4741,6 +4747,15 @@ t:5 either the java or appletviewer commands to run the program. java -cp ./VncViewer.jar VncViewer HOST far-away.east PORT 5900 + Proxies: See the [647]discussion here if the web browser must use a + web proxy to connect to the internet. It is tricky to get Java applets + to work in this case: a signed applet must be used so it can connect + to the proxy and ask for the redirection to the VNC server. One way to + do this is to use the signed SSL one referred to in + classes/ssl/proxy.vnc and set disableSSL=yes (note that this has no + encryption; please use SSL or SSH as discuss elsewhere on this page) + in the URL or the file. + Q-63: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? @@ -4748,7 +4763,7 @@ t:5 As of Mar/2004 x11vnc supports reverse connections. On Unix one starts the VNC viewer in listen mode: "vncviewer -listen" (see your documentation for Windows, etc), and then starts up x11vnc with the - [632]-connect option. To connect immediately at x11vnc startup time + [648]-connect option. To connect immediately at x11vnc startup time use the "-connect host:port" option (use commas for a list of hosts to connect to). The ":port" is optional (default is VNC listening port is 5500). @@ -4757,11 +4772,11 @@ t:5 file is checked periodically (about once a second) for new hosts to connect to. - The [633]-remote control option (aka -R) can also be used to do this + The [649]-remote control option (aka -R) can also be used to do this during an active x11vnc session, e.g.: x11vnc -display :0 -R connect:hostname.domain - Use the "[634]-connect_or_exit" option to have x11vnc exit if the + Use the "[650]-connect_or_exit" option to have x11vnc exit if the reverse connection fails. Also, note the "-rfbport 0" option disables TCP listening for connections (potentially useful for reverse connection mode, assuming you do not want any "forward" connections). @@ -4774,7 +4789,7 @@ x11vnc -display :0 -R connect:hostname.domain X11VNC_REVERSE_CONNECTION_NO_AUTH=1" to x11vnc. Vncconnect command: To use the vncconnect(1) program (from the core - VNC package at www.realvnc.com) specify the [635]-vncconnect option to + VNC package at www.realvnc.com) specify the [651]-vncconnect option to x11vnc (Note: as of Dec/2004 -vncconnect is now the default). vncconnect(1) must be pointed to the same X11 DISPLAY as x11vnc (since it uses X properties to communicate with x11vnc). If you do not have @@ -4793,7 +4808,7 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" proxy or SSH? Yes, as of Oct/2007 x11vnc supports reverse connections through - proxies: use the "[636]-proxy host:port" option. The default is to + proxies: use the "[652]-proxy host:port" option. The default is to assume the proxy is a Web proxy. Note that most Web proxies only allow proxy destination connections to ports 443 (HTTPS) and 563 (SNEWS) and so this might not be too useful unless the proxy has been modified @@ -4813,11 +4828,11 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" connections. An experimental mode is "-proxy http://host:port/..." where the URL - (e.g. a CGI script) is retrieved via the GET method. See [637]-proxy + (e.g. a CGI script) is retrieved via the GET method. See [653]-proxy for more info. Another experimental mode is "-proxy ssh://user@host" in which case a - SSH tunnel is used for the proxying. See [638]-proxy for more info. + SSH tunnel is used for the proxying. See [654]-proxy for more info. Up to 3 proxies may be chained together by listing them by commas e.g.: "-proxy http://host1:port1,socks5://host2:port2" in case one @@ -4834,16 +4849,16 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" support an X server extension you desire, or you want to take advantage of one of x11vnc's unending number of options and features. - One way to acheive this is to have a Xvfb(1) virtual framebuffer X + One way to achieve this is to have a Xvfb(1) virtual framebuffer X server running in the background and have x11vnc attached to it. Another method, faster and more accurate, is to use the "dummy" Device Driver in XFree86/Xorg (see below). In either case, one can view this desktop both remotely and also - [639]locally using vncviewer. Make sure vncviewer's "-encodings raw" + [655]locally using vncviewer. Make sure vncviewer's "-encodings raw" is in effect for local viewing (compression seems to slow things down locally). For local viewing you set up a "bare" window manager that - just starts up vncviewer and nothing else ([640]See how below). + just starts up vncviewer and nothing else ([656]See how below). Here is one way to start up Xvfb: xinit -- /usr/X11R6/bin/Xvfb :1 -cc 4 -screen 0 1024x768x16 @@ -4863,19 +4878,19 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" "screen scrape" it very efficiently (more than, say, 100X faster than normal video hardware). - Update Nov/2006: See the [641]FINDCREATEDISPLAY discussion of the - "[642]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or + Update Nov/2006: See the [657]FINDCREATEDISPLAY discussion of the + "[658]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or Xdummy, or even real ones by changing an option) X servers are started automatically for new users connecting. This provides a "desktop service" for the machine. You either get your real X session or your virtual (Xvfb/Xdummy) one whenever you connect to the machine - (inetd(8) is a nice way to provide this service). The [643]-find, - [644]-create, [645]-svc, and [646]-xdmsvc aliases can also come in + (inetd(8) is a nice way to provide this service). The [659]-find, + [660]-create, [661]-svc, and [662]-xdmsvc aliases can also come in handy here. There are some annoyances WRT Xvfb however. The default keyboard mapping seems to be very poor. One should run x11vnc with - [647]-add_keysyms option to have keysyms added automatically. Also, to + [663]-add_keysyms option to have keysyms added automatically. Also, to add the Shift_R and Control_R modifiers something like this is needed: #!/bin/sh xmodmap -e "keycode any = Shift_R" @@ -4887,7 +4902,7 @@ xmodmap -e "keycode any = Alt_R" xmodmap -e "keycode any = Meta_L" xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L" - (note: these are applied automatically in the [648]FINDCREATEDISPLAY + (note: these are applied automatically in the [664]FINDCREATEDISPLAY mode of x11vnc). Perhaps the Xvfb options -xkbdb or -xkbmap could be used to get a better default keyboard mapping... @@ -4902,11 +4917,11 @@ xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L" The main drawback to this method (besides requiring extra configuration and possibly root permission) is that it also does the - Linux Virtual Console/Terminal (VC/VT) [649]switching even though it + Linux Virtual Console/Terminal (VC/VT) [665]switching even though it does not need to (since it doesn't use a real framebuffer). There are some "dual headed" (actually multi-headed/multi-user) patches to the X server that turn off the VT usage in the X server. Update: As of - Jul/2005 we have an LD_PRELOAD script [650]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [666]Xdummy that allows you to use a stock (i.e. unpatched) Xorg or XFree86 server with the "dummy" driver and not have any VT switching problems! Currently Xdummy needs to be run as root, but with some luck that may be relaxed in the @@ -4934,7 +4949,7 @@ x11vnc -display :5 -rfbport 5905 -bg vncviewer -geometry +0+0 -encodings raw -passwd $HOME/.vnc/passwd localhost:5 The display numbers (VNC and X) will likely be different (you could - also try [651]-find), and you may not need the -passwd. Recent RealVNC + also try [667]-find), and you may not need the -passwd. Recent RealVNC viewers might be this: #!/bin/sh x11vnc -display :5 -rfbport 5905 -bg @@ -4961,7 +4976,7 @@ t:5 An X server can be started on the headless machine (sometimes this requires configuring the X server to not fail if it cannot detect a keyboard or mouse, see the next paragraph). Then you can export that X - display via x11vnc (e.g. see [652]this FAQ) and access it from + display via x11vnc (e.g. see [668]this FAQ) and access it from anywhere on the network via a VNC viewer. Some tips on getting X servers to start on machines without keyboard @@ -4984,10 +4999,10 @@ t:5 cards as it can hold to provide multiple simultaneous access or testing on different kinds of video hardware. - See also the [653]FINDCREATEDISPLAY discussion of the "[654]-display + See also the [669]FINDCREATEDISPLAY discussion of the "[670]-display WAIT:cmd=FINDDISPLAY" option where virtual Xvfb or Xdummy, or real X servers are started automatically for new users connecting. The - [655]-find, [656]-create, [657]-svc, and [658]-xdmsvc aliases can also + [671]-find, [672]-create, [673]-svc, and [674]-xdmsvc aliases can also come in handy here. [Resource Usage and Performance] @@ -5010,7 +5025,7 @@ t:5 19/03/2004 10:10:58 error creating tile-row shm for len=4 19/03/2004 10:10:58 reverting to single_copytile mode - Here is a shell script [659]shm_clear to list and prompt for removal + Here is a shell script [675]shm_clear to list and prompt for removal of your unattached shm segments (attached ones are skipped). I use it while debugging x11vnc (I use "shm_clear -y" to assume "yes" for each prompt). If x11vnc is regularly not cleaning up its shm segments, @@ -5044,40 +5059,40 @@ ied) in /etc/system. See the next paragraph for more workarounds. To minimize the number of shm segments used by x11vnc try using the - [660]-onetile option (corresponds to only 3 shm segments used, and + [676]-onetile option (corresponds to only 3 shm segments used, and adding -fs 1.0 knocks it down to 2). If you are having much trouble with shm segments, consider disabling shm completely via the - [661]-noshm option. Performance will be somewhat degraded but when + [677]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [662]earlier question discussing -noshm). + [678]earlier question discussing -noshm). Q-68: How can I make x11vnc use less system resources? - The [663]-nap (now on by default) and "[664]-wait n" (where n is the + The [679]-nap (now on by default) and "[680]-wait n" (where n is the sleep between polls in milliseconds, the default is 30 or so) option - are good places to start. Something like "[665]-sb 15" will cause + are good places to start. Something like "[681]-sb 15" will cause x11vnc to go into a deep-sleep mode after 15 seconds of no activity (instead of the default 60). Reducing the X server bits per pixel depth (e.g. to 16bpp or even - 8bpp) will further decrease memory I/O and network I/O. The ShadowFB - will make x11vnc's screen polling less severe. Using the [666]-onetile - option will use less memory and use fewer shared memory slots (add - [667]-fs 1.0 for one less slot). + 8bpp) will further decrease memory I/O and network I/O. The ShadowFB X + server setting will make x11vnc's screen polling less severe. Using + the [682]-onetile option will use less memory and use fewer shared + memory slots (add [683]-fs 1.0 for one less slot). Q-69: How can I make x11vnc use MORE system resources? - You can try [668]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [669]-defer as well. Note that if you try to - increase the "frame rate" too much you can bog down the server end - with the extra work it needs to do compressing the framebuffer data, - etc. + You can try [684]-threads (note this mode can be unstable and/or + crash) or dial down the wait time (e.g. -wait 1) and possibly dial + down [685]-defer as well. Note that if you try to increase the "frame + rate" too much you can bog down the server end with the extra work it + needs to do compressing the framebuffer data, etc. That said, it is possible to "stream" video via x11vnc if the video window is small enough. E.g. a 256x192 xawtv TV capture window (using - the x11vnc [670]-id option) can be streamed over a LAN or wireless at + the x11vnc [686]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. @@ -5093,7 +5108,7 @@ ied) * Use a smaller desktop size (e.g. 1024x768 instead of 1280x1024) * Make sure the desktop background is a solid color (the background is resent every time it is re-exposed). Consider using the - [671]-solid [color] option to try to do this automatically. + [687]-solid [color] option to try to do this automatically. * Configure your window manager or desktop "theme" to not use fancy images, shading, and gradients for the window decorations, etc. Disable window animations, etc. Maybe your desktop has a "low @@ -5102,9 +5117,9 @@ ied) -> Use Smooth Scrolling (deselect it). * Avoid small scrolls of large windows using the Arrow keys or scrollbar. Try to use PageUp/PageDown instead. (not so much of a - problem in x11vnc 0.7.2 if [672]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [688]-scrollcopyrect is active and detecting scrolls for the application). - * If the [673]-wireframe option is not available (earlier than + * If the [689]-wireframe option is not available (earlier than x11vnc 0.7.2 or you have disabled it via -nowireframe) then Disable Opaque Moves and Resizes in the window manager/desktop. * However if -wireframe is active (on by default in x11vnc 0.7.2) @@ -5127,7 +5142,7 @@ ied) noticed. VNC viewer parameters: - * Use a [674]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [690]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer with ZRLE encoding is not too bad either; some claim it is faster). * Make sure the tight (or zrle) encoding is being used (look at @@ -5135,8 +5150,8 @@ ied) * Request 8 bits per pixel using -bgr233 (up to 4X speedup over depth 24 TrueColor (32bpp), but colors will be off) * RealVNC 4.x viewer has some extremely low color modes (only 64 and - even 8 colors). The colors are poor, but it is usually noticeably - faster than bgr233 (256 colors). + even 8 colors). [691]SSVNC does too. The colors are poor, but it + is usually noticeably faster than bgr233 (256 colors). * Try increasing the TightVNC -compresslevel (compresses more on server side before sending, but uses more CPU) * Try reducing the TightVNC -quality (increases JPEG compression, @@ -5149,37 +5164,37 @@ ied) file. x11vnc parameters: - * Make sure the [675]-wireframe option is active (it should be on by + * Make sure the [692]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [676]-scrollcopyrect option is active (it should be + * Make sure the [693]-scrollcopyrect option is active (it should be on by default). This detects scrolls in many (but not all) applications an applies the CopyRect encoding for a big speedup. * Enforce a solid background when VNC viewers are connected via - [677]-solid - * Specify [678]-speeds modem to force the wireframe and + [694]-solid + * Specify [695]-speeds modem to force the wireframe and scrollcopyrect heuristic parameters (and any future ones) to those of a dialup modem connection (or supply the rd,bw,lat numerical values that characterize your link). * If wireframe and scrollcopyrect aren't working, try using the more - drastic [679]-nodragging (no screen updates when dragging mouse, + drastic [696]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [680]-fs 1.0 (disables fullscreen updates) - * Try increasing [681]-wait or [682]-defer (reduces the maximum + * Set [697]-fs 1.0 (disables fullscreen updates) + * Try increasing [698]-wait or [699]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [683]-progressive pixelheight mode with the block + * Try the [700]-progressive pixelheight mode with the block pixelheight 100 or so (delays sending vertical blocks since they may change while viewer is receiving earlier ones) - * If you just want to watch one (simple) window use [684]-id (cuts + * If you just want to watch one (simple) window use [701]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [685]-nosel (disables all clipboard selection exchange) - * Use [686]-nocursor and [687]-nocursorpos (repainting the remote + * Set [702]-nosel (disables all clipboard selection exchange) + * Use [703]-nocursor and [704]-nocursorpos (repainting the remote cursor position and shape takes resources and round trips) * On very slow links (e.g. <= 28.8) you may need to increase the - [688]-readtimeout n setting if it sometimes takes more than 20sec + [705]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. - * Do not use [689]-fixscreen to automatically refresh the whole + * Do not use [706]-fixscreen to automatically refresh the whole screen, tap three Alt_L's then the screen has painting errors (rare problem). @@ -5248,7 +5263,7 @@ ied) Note that the DAMAGE extension does not speed up the actual reading of pixels from the video card framebuffer memory, by, say, mirroring them - in main memory. So reading the fb is still painfully [690]slow (e.g. + in main memory. So reading the fb is still painfully [707]slow (e.g. 5MB/sec), and so even using X DAMAGE when large changes occur on the screen the bulk of the time is still spent retrieving them. Not ideal, but use of the ShadowFB XFree86/Xorg option speeds up the reading @@ -5266,45 +5281,45 @@ ied) DAMAGE rectangles to contain real damage. The larger rectangles are only used as hints to focus the traditional scanline polling (i.e. if a scanline doesn't intersect a recent DAMAGE rectangle, the scan is - skipped). You can use the "[691]-xd_area A" option to adjust the size + skipped). You can use the "[708]-xd_area A" option to adjust the size of the trusted DAMAGE rectangles. The default is 20000 pixels (e.g. a 140x140 square, etc). Use "-xd_area 0" to disable the cutoff and trust all DAMAGE rectangles. - The option "[692]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[693]-noxdamage". + The option "[709]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[710]-noxdamage". Q-72: My OpenGL application shows no screen updates unless I supply the -noxdamage option to x11vnc. One user reports in his environment (MythTV using the NVIDIA OpenGL drivers) he gets no updates after the initial screen is drawn unless - he uses the "[694]-noxdamage" option. + he uses the "[711]-noxdamage" option. This seems to be a bug in the X DAMAGE implementation of that driver. You may have to use -noxdamage as well. A way to autodetect this will be tried, probably the best it will do is automatically stop using X DAMAGE. - A developer for [695]MiniMyth reports that the 'alphapulse' tag of the + A developer for [712]MiniMyth reports that the 'alphapulse' tag of the theme G.A.N.T. can also cause problems, and should be avoided when using VNC. - Update: see [696]this FAQ too. + Update: see [713]this FAQ too. Q-73: When I drag windows around with the mouse or scroll up and down things really bog down (unless I do the drag in a single, quick motion). Is there anything to do to improve things? - This problem is primarily due to [697]slow hardware read rates from + This problem is primarily due to [714]slow hardware read rates from video cards: as you scroll or move a large window around the screen changes are much too rapid for x11vnc to keep up them (it can usually only read the video card at about 5-10 MB/sec, so it can take a good fraction of a second to read the changes induce from moving a large window, if this to be done a number of times in succession the window or scroll appears to "lurch" forward). See the description in the - [698]-pointer_mode option for more info. The next bottleneck is + [715]-pointer_mode option for more info. The next bottleneck is compressing all of these changes and sending them out to connected viewers, however the VNC protocol is pretty much self-adapting with respect to that (updates are only packaged and sent when viewers ask @@ -5314,26 +5329,27 @@ ied) default should now be much better than before and dragging small windows around should no longer be a huge pain. If for some reason these changes make matters worse, you can go back to the old way via - the "[699]-pointer_mode 1" option. + the "[716]-pointer_mode 1" option. - Also added was the [700]-nodragging option that disables all screen + Also added was the [717]-nodragging option that disables all screen updates while dragging with the mouse (i.e. mouse motion with a button held down). This gives the snappiest response, but might be undesired in some circumstances when you want to see the visual feedback while dragging (e.g. menu traversal or text selection). - As of Dec/2004 the [701]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [718]-pointer_mode n option was introduced. n=1 is the original mode, n=2 an improvement, etc.. See the -pointer_mode n help for more info. - Also, in some circumstances the [702]-threads option can improve + Also, in some circumstances the [719]-threads option can improve response considerably. Be forewarned that if more than one vncviewer is connected at the same time then libvncserver may not be thread safe (try to get the viewers to use different VNC encodings, e.g. tight and - ZRLE). + ZRLE). This option can be unstable and so as of Feb/2008 it is + disabled by default. Set env. X11VNC_THREADED=1 to re-enable. - As of Apr/2005 two new options (see the [703]wireframe FAQ and - [704]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [720]wireframe FAQ and + [721]scrollcopyrect FAQ below) provide schemes to sweep this problem under the rug for window moves or resizes and for some (but not all) window scrolls. These are the preferred way of avoiding the "lurching" problem, contact me if they are not working. Note on SuSE and some @@ -5357,8 +5373,8 @@ EndSection the window move/resize stops, it returns to normal processing: you should only see the window appear in the new position. This spares you from interacting with a "lurching" window between all of the - intermediate steps. BTW the lurching is due to [705]slow video card - read rates (see [706]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [722]slow video card + read rates (see [723]here too). A displacement, even a small one, of a large window requires a non-negligible amount of time, a good fraction of a second, to read in from the hardware framebuffer. @@ -5366,20 +5382,21 @@ EndSection for -wireframe to do any good. The mode is currently on by default because most people are afflicted - with the problem. It can be disabled with the [707]-nowireframe option + with the problem. It can be disabled with the [724]-nowireframe option (aka -nowf). Why might one want to turn off the wireframing? Since x11vnc is merely guessing when windows are being moved/resized, it may guess poorly for your window-manager or desktop, or even for the way you move the pointer. If your window-manager or desktop already does its own wireframing then this mode is a waste of time and could do the wrong thing occasionally. There may be other reasons the new mode - feels unnatural. If you have very expensive video hardware (SGI) or - are using an in-RAM video framebuffer (SunRay, ShadowFB, Xvfb), the - read rate from that framebuffer may be very fast (100's of MB/sec) and - so you don't really see much lurching: opaque moves look smooth in - x11vnc. Note: ShadowFB is often turned on when you are using the - vesafb or fbdev XFree86 video driver instead of a native one so you - might be using it already and not know. + feels unnatural. If you have very expensive video hardware (SGI, well + now even proprietary Xorg drivers are fast at reading) or are using an + in-RAM video framebuffer (SunRay, ShadowFB, Xvfb), the read rate from + that framebuffer may be very fast (100's of MB/sec) and so you don't + really see much lurching (at least over a fast LAN): opaque moves look + smooth in x11vnc. Note: ShadowFB is often turned on when you are using + the vesafb or fbdev XFree86 video driver instead of a native one so + you might be using it already and not know. The heuristics used to guess window motion or resizing are simple, but are not fool proof: x11vnc is sometimes tricked and so you'll @@ -5411,13 +5428,13 @@ EndSection * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [708]"-wireframe tweaks" option for more details. On a slow + See the [725]"-wireframe tweaks" option for more details. On a slow link, e.g. dialup modem, the parameters may be automatically adjusted for better response. CopyRect encoding: In addition to the above there is the - [709]"-wirecopyrect mode" option. It is also on by default. This + [726]"-wirecopyrect mode" option. It is also on by default. This instructs x11vnc to not only show the wireframe animation, but to also instruct all connected VNC viewers to locally translate the window image data from the original position to the new position on the @@ -5465,7 +5482,7 @@ EndSection requiring the image data to be transmitted over the network. For fast links the speedup is primarily due to x11vnc not having to read the scrolled framebuffer data from the X server (recall that reading from - the hardware framebuffer is [710]slow). + the hardware framebuffer is [727]slow). To do this x11vnc uses the RECORD X extension to snoop the X11 protocol between the X client with the focus window and the X server. @@ -5492,10 +5509,10 @@ EndSection the X server display: if one falls too far behind it could become a mess... - The initial implementation of [711]-scrollcopyrect option is useful in + The initial implementation of [728]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [712]-wireframe - [713]-wirecopyrect [714]options, which are also on by default; and if + environment (especially when combined with the [729]-wireframe + [730]-wirecopyrect [731]options, which are also on by default; and if you are willing to enable the ShadowFB things are very fast). The fact that there aren't long delays or lurches during scrolling is the primary improvement. @@ -5528,10 +5545,10 @@ EndSection One can tap the Alt_L key (Left "Alt" key) 3 times in a row to signal x11vnc to refresh the screen to all viewers. Your VNC-viewer may have its own screen refresh hot-key or button. See - also: [715]-fixscreen + also: [732]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [716]-scr_skip option for ways to tweak this on a + See the [733]-scr_skip option for ways to tweak this on a per-application basis. * Selecting text while dragging the mouse may be slower, especially if the Button-down event happens near the window's edge. This is @@ -5548,7 +5565,7 @@ EndSection because it fails to detect scrolls in it. Sometimes clicking inside the application window or selecting some text in it to force the focus helps. - * When using the [717]-scale option there will be a quick CopyRect + * When using the [734]-scale option there will be a quick CopyRect scroll, but it needs to be followed by a slower "cleanup" update. This is because for a fixed finite screen resolution (e.g. 75 dpi) scaling and copyrect-ing are not exactly independent. Scaling @@ -5561,7 +5578,7 @@ EndSection If you find the -scrollcopyrect behavior too approximate or distracting you can go back to the standard polling-only update method - with the [718]-noscrollcopyrect (or -noscr for short). If you find + with the [735]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -5586,9 +5603,9 @@ EndSection that pixel data is needed again it does not have to be retransmitted over the network. - As of Dec/2006 in the [719]0.9 development tarball there is an + As of Dec/2006 in the [736]0.9 development tarball there is an experimental client-side caching implementation enabled by the - "[720]-ncache n" option. In fact, during the test period it was on by + "[737]-ncache n" option. In fact, during the test period it was on by default with n set to 10. To disable it use "-noncache". It is a simple scheme where a (very large) lower portion of the @@ -5622,7 +5639,7 @@ EndSection rendering...). The Enhanced TightVNC Viewer (SSVNC) Unix viewer has a nice - [721]-ycrop option to help hide the pixel cache area from view. It + [738]-ycrop option to help hide the pixel cache area from view. It will turn on automatically if the framebuffer appears to be very tall (height more than twice the width), or you can supply the actual value for the height. If the screen resized by scaling, etc, the ycrop value @@ -5636,7 +5653,7 @@ EndSection Another drawback of the scheme is that it is VERY memory intensive, the n in "-ncache n" is the factor of increase over the base framebuffer size to use for caching. It is an even integer and should - be fairly large, 6-12, to acheive good response. This usually requires + be fairly large, 6-12, to achieve good response. This usually requires about 50-100MB of additional RAM on both the client and server sides. For example with n=6 a 1280x1024 display will use a framebuffer that is 1280x7168: everything below row 1024 is the pixel buffer cache. @@ -5651,7 +5668,7 @@ EndSection an additional factor of 2 in memory use. However, even in the smallest usage mode with n equal 2 and - [722]-ncache_no_rootpixmap set (this requires only 2X additional + [739]-ncache_no_rootpixmap set (this requires only 2X additional framebuffer memory) there is still a noticable improvement for many activities, although it is not as dramatic as with, say n equal 12 and rootpixmap (desktop background) caching enabled. @@ -5662,7 +5679,7 @@ EndSection be tuned to use less, or the VNC community will extend the protocol to allow caching and replaying of compressed blobs of data. - Another option to experiment with is "[723]-ncache_cr". By specifying + Another option to experiment with is "[740]-ncache_cr". By specifying it, x11vnc will try to do smooth opaque window moves instead of its wireframe. This can give a very nice effect (note: on Unix the realvnc viewer seems to be smoother than the tightvnc viewer), but can lead to @@ -5732,23 +5749,23 @@ EndSection this is because the cursor shape is often downloaded to the graphics hardware (video card), but I could be mistaken. - A simple kludge is provided by the "[724]-cursor X" option that + A simple kludge is provided by the "[741]-cursor X" option that changes the cursor when the mouse is on the root background (or any window has the same cursor as the root background). Note that desktops like GNOME or KDE often cover up the root background, so this won't - work for those cases. Also see the "[725]-cursor some" option for + work for those cases. Also see the "[742]-cursor some" option for additional kludges. Note that as of Aug/2004 on Solaris using the SUN_OVL overlay extension and IRIX, x11vnc can show the correct mouse cursor when the - [726]-overlay option is supplied. See [727]this FAQ for more info. + [743]-overlay option is supplied. See [744]this FAQ for more info. Also as of Dec/2004 XFIXES X extension support has been added to allow exact extraction of the mouse cursor shape. XFIXES fixes the problem of the cursor-shape being write-only: x11vnc can now query the X server for the current shape and send it back to the connected viewers. XFIXES is available on recent Linux Xorg based distros and - [728]Solaris 10. + [745]Solaris 10. The only XFIXES issue is the handling of alpha channel transparency in cursors. If a cursor has any translucency then in general it must be @@ -5756,7 +5773,7 @@ EndSection situations where the cursor transparency can also handled exactly: when the VNC Viewer requires the cursor shape be drawn into the VNC framebuffer or if you apply a patch to your VNC Viewer to extract - hidden alpha channel data under 32bpp. [729]Details can be found here. + hidden alpha channel data under 32bpp. [746]Details can be found here. Q-78: When using XFIXES cursorshape mode, some of the cursors look @@ -5789,17 +5806,17 @@ EndSection for most cursor themes and you don't have to worry about it. In case it still looks bad for your cursor theme, there are (of - course!) some tunable parameters. The "[730]-alphacut n" option lets + course!) some tunable parameters. The "[747]-alphacut n" option lets you set the threshold "n" (between 0 and 255): cursor pixels with alpha values below n will be considered completely transparent while values equal to or above n will be completely opaque. The default is - 240. The "[731]-alphafrac f" option tries to correct individual + 240. The "[748]-alphafrac f" option tries to correct individual cursors that did not fare well with the default -alphacut value: if a cursor has less than fraction f (between 0.0 and 1.0) of its pixels selected by the default -alphacut, the threshold is lowered until f of its pixels are selected. The default fraction is 0.33. - Finally, there is an option [732]-alpharemove that is useful for + Finally, there is an option [749]-alpharemove that is useful for themes where many cursors are light colored (e.g. "whiteglass"). XFIXES returns the cursor data with the RGB values pre-multiplied by the alpha value. If the white cursors look too grey, specify @@ -5825,10 +5842,10 @@ EndSection alpha channel data to libvncserver. However, this data will only be used for VNC clients that do not support the CursorShapeUpdates VNC extension (or have disabled it). It can be disabled for all clients - with the [733]-nocursorshape x11vnc option. In this case the cursor is + with the [750]-nocursorshape x11vnc option. In this case the cursor is drawn, correctly blended with the background, into the VNC framebuffer before being sent out to the client. So the alpha blending is done on - the x11vnc side. Use the [734]-noalphablend option to disable this + the x11vnc side. Use the [751]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -5852,7 +5869,7 @@ EndSection example on how to change the Windows TightVNC viewer to achieve the same thing (send me the patch if you get that working). - This patch is applied to the [735]Enhanced TightVNC Viewer (SSVNC) + This patch is applied to the [752]Enhanced TightVNC Viewer (SSVNC) package we provide. [Mouse Pointer] @@ -5860,9 +5877,9 @@ EndSection Q-80: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - This default takes advantage of a [736]tightvnc extension + This default takes advantage of a [753]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [737]-nocursor + the local VNC viewer. You may disable it with the [754]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -5876,17 +5893,17 @@ EndSection clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - Use the [738]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [755]-cursorpos option when starting x11vnc. A VNC viewer must support the Cursor Positions Updates for the user to see the mouse motions (the TightVNC viewers support this). As of Aug/2004 -cursorpos - is the default. See also [739]-nocursorpos and [740]-nocursorshape. + is the default. See also [756]-nocursorpos and [757]-nocursorshape. Q-82: Is it possible to swap the mouse buttons (e.g. left-handed operation), or arbitrarily remap them? How about mapping button clicks to keystrokes, e.g. to partially emulate Mouse wheel scrolling? - You can remap the mouse buttons via something like: [741]-buttonmap + You can remap the mouse buttons via something like: [758]-buttonmap 13-31 (or perhaps 12-21). Also, note that xmodmap(1) lets you directly adjust the X server's button mappings, but in some circumstances it might be more desirable to have x11vnc do it. @@ -5894,14 +5911,14 @@ EndSection One user had an X server with only one mouse button(!) and was able to map all of the VNC client mouse buttons to it via: -buttonmap 123-111. - Note that the [742]-debug_pointer option prints out much info for + Note that the [759]-debug_pointer option prints out much info for every mouse/pointer event and is handy in solving problems. To map mouse button clicks to keystrokes you can use the alternate format where the keystrokes are enclosed between colons like this :<KeySym>: in place of the mouse button digit. For a sequence of keysyms separate them with "+" signs. Look in the include file - <X11/keysymdef.h>, or use xev(1), or -debug_keyboard to fine the + <X11/keysymdef.h>, or use xev(1), or -debug_keyboard to find the keysym names. Button clicks can also be included in the sequence via the fake keysyms Button1, etc. @@ -5916,7 +5933,7 @@ EndSection Exactly what keystroke "scrolling" events they should be bound to depends on one's taste. If this method is too approximate, one could - consider not using [743]-buttonmap but rather configuring the X server + consider not using [760]-buttonmap but rather configuring the X server to think it has a mouse with 5 buttons even though the physical mouse does not. (e.g. 'Option "ZAxisMapping" "4 5"'). @@ -5946,7 +5963,7 @@ EndSection Q-83: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [744]-modtweak should help here. It is a mode that monitors + The option [761]-modtweak should help here. It is a mode that monitors the state of the Shift and AltGr Modifiers and tries to deduce the correct keycode to send, possibly by sending fake modifier key presses and releases in addition to the actual keystroke. @@ -5955,16 +5972,16 @@ EndSection to get the old behavior). This was done because it was noticed on newer XFree86 setups even on bland "us" keyboards like "pc104 us" XFree86 included a "ghost" key with both "<" and ">" it. This key does - not exist on the keyboard (see [745]this FAQ for more info). Without + not exist on the keyboard (see [762]this FAQ for more info). Without -modtweak there was then an ambiguity in the reverse map keysym => keycode, making it so the "<" symbol could not be typed. - Also see the [746]FAQ about the -xkb option for a more powerful method + Also see the [763]FAQ about the -xkb option for a more powerful method of modifier tweaking for use on X servers with the XKEYBOARD extension. When trying to resolve keyboard mapping problems, note that the - [747]-debug_keyboard option prints out much info for every keystroke + [764]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. @@ -5976,9 +5993,9 @@ EndSection (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [748]-xkb or [749]-sloppy_keys options and see if + Short Cut: Try the [765]-xkb or [766]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [750]-modtweak is now the default) but it is useful reference for + [767]-modtweak is now the default) but it is useful reference for various tricks and so is kept. @@ -6021,17 +6038,17 @@ EndSection -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([751]-modtweak) is a mode that monitors the + settings. The former ([768]-modtweak) is a mode that monitors the state of the Shift and AltGr modifiers and tries to deduce the correct keycode sequence to send. Since Jul/2004 -modtweak is now the default. - The latter ([752]-remap less-comma) is an immediate remapping of the + The latter ([769]-remap less-comma) is an immediate remapping of the keysym less to the keysym comma when it comes in from a client (so when Shift is down the comma press will yield "<"). - See also the [753]FAQ about the -xkb option as a possible workaround + See also the [770]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [754]-debug_keyboard option prints out much info for + Note that the [771]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. @@ -6039,13 +6056,13 @@ EndSection (i.e. an extra comma). This is likely because you press "Shift" then "<" but then released - the Shift key before releasing the "<". Because of a [755]keymapping + the Shift key before releasing the "<". Because of a [772]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [756]-xkb mode, because it works hard to + This should not happen in [773]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [757]-sloppy_keys to attempt a similar type of algorithm. + option [774]-sloppy_keys to attempt a similar type of algorithm. Q-86: I'm using an "international" keyboard (e.g. German "de", or @@ -6069,7 +6086,7 @@ EndSection In both cases no AltGr is sent to the VNC server, but we know AltGr is needed on the physical international keyboard to type a "@". - This all worked fine with x11vnc running with the [758]-modtweak + This all worked fine with x11vnc running with the [775]-modtweak option (it figures out how to adjust the Modifier keys (Shift or AltGr) to get the "@"). However it fails under recent versions of XFree86 (and the X.org fork). These run the XKEYBOARD extension by @@ -6086,7 +6103,7 @@ EndSection * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [759]-xkb option seems to fix all of the missing keys: "@", "<", + The [776]-xkb option seems to fix all of the missing keys: "@", "<", ">", etc.: it is recommended that you try it if you have this sort of problem. Let us know if there are any remaining problems (see the next paragraph for some known problems). If you specify the -debug_keyboard @@ -6094,7 +6111,7 @@ EndSection debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [760]-xkb if it appears that would be beneficial (e.g. if it sees any + [777]-xkb if it appears that would be beneficial (e.g. if it sees any of "@", "<", ">", "[" and similar keys are mapped in a way that needs the -xkb to access them). To disable this automatic check use -noxkb. @@ -6109,7 +6126,7 @@ EndSection was attached to keycode 93 (no physical key generates this keycode) while ISO_Level3_Shift was attached to keycode 113. The keycode skipping option was used to disable the ghost key: - [761]-skip_keycodes 93 + [778]-skip_keycodes 93 * In implementing -xkb we noticed that some characters were still not getting through, e.g. "~" and "^". This is not really an XKEYBOARD problem. What was happening was the VNC viewer was @@ -6127,16 +6144,16 @@ EndSection What to do? In general the VNC protocol has not really solved this problem: what should be done if the VNC viewer sends a keysym not recognized by the VNC server side? Workarounds can possibly be - created using the [762]-remap x11vnc option: + created using the [779]-remap x11vnc option: -remap asciitilde-dead_tilde,asciicircum-dead_circumflex etc. Use -remap filename if the list is long. Please send us your workarounds for this problem on your keyboard. Perhaps we can have x11vnc adjust automatically at some point. Also see the - [763]-add_keysyms option in the next paragraph. - Update: for convenience "[764]-remap DEAD" does many of these + [780]-add_keysyms option in the next paragraph. + Update: for convenience "[781]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [765]-remap, an - option [766]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [782]-remap, an + option [783]-add_keysyms was added. This option instructs x11vnc to bind any unknown Keysyms coming in from VNC viewers to unused Keycodes in the X server. This modifies the global state of the X server. When x11vnc exits it removes the extra keymappings it @@ -6155,20 +6172,20 @@ EndSection Short answer: disable key autorepeating by running the command "xset r off" on the Xserver where x11vnc is run (restore via "xset r on") or - use the new (Jul/2004) [767]-norepeat x11vnc option. You will still + use the new (Jul/2004) [784]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. Update: as of Dec/2004 -norepeat is now the default. Use -repeat to disable it. - Details: suppose you press a key DOWN and it generates changes in - large regions of the screen. The CPU and I/O work x11vnc does for the - large screen change could be longer than your X server's key - autorepeat delay. x11vnc may not get to processing the key UP event - until after the screen work is completed. The X server believes the - key has been held down all this time, and applies its autorepeat - rules. + Details: + suppose you press a key DOWN and it generates changes in large regions + of the screen. The CPU and I/O work x11vnc does for the large screen + change could be longer than your X server's key autorepeat delay. + x11vnc may not get to processing the key UP event until after the + screen work is completed. The X server believes the key has been held + down all this time, and applies its autorepeat rules. Even without inducing changes in large regions of the screen, this problem could arise when accessing x11vnc via a dialup modem or @@ -6179,7 +6196,7 @@ EndSection off", does the problem go away? The workaround is to manually apply "xset r off" and "xset r on" as - needed, or to use the [768]-norepeat (which has since Dec/2004 been + needed, or to use the [785]-norepeat (which has since Dec/2004 been made the default). Note that with X server autorepeat turned off the VNC viewer side of the connection will (nearly always) do its own autorepeating so there is no big loss here, unless someone is also @@ -6190,7 +6207,7 @@ EndSection keystrokes!! Are you using x11vnc to log in to an X session via display manager? - (as described in [769]this FAQ) If so, x11vnc is starting before your + (as described in [786]this FAQ) If so, x11vnc is starting before your session and it disables autorepeat when you connect, but then after you log in your session startup (GNOME, KDE, ...) could be resetting the autorepeat to be on. Or it could be something inside your desktop @@ -6238,11 +6255,11 @@ EndSection pressed one. You need to do this for both the left and right Shift, Alt, Control, etc. keys to be sure. - You can also use the [770]-clear_mods option to try to clear all of + You can also use the [787]-clear_mods option to try to clear all of the modifier keys at x11vnc startup. You will still have to be careful that you do not leave the modifier key pressed down during your session. It is difficult to prevent this problem from occurring (short - of using [771]-remap to prevent sending all of the problem modifier + of using [788]-remap to prevent sending all of the problem modifier keys, which would make the destkop pretty unusable). During a session these x11vnc remote control commands can also help: @@ -6255,16 +6272,16 @@ EndSection Num_Lock down. When these are locked on the remote side it can sometimes lead to strange desktop behavior (e.g. cannot drag or click on windows). As above you may not notice this because the lock isn't - down on the local (Viewer) side. See [772]this FAQ on lock keys - problem. These options may help avoid the problem: [773]-skip_lockkeys - and [774]-capslock. See also [775]-clear_all. + down on the local (Viewer) side. See [789]this FAQ on lock keys + problem. These options may help avoid the problem: [790]-skip_lockkeys + and [791]-capslock. See also [792]-clear_all. Q-90: The machine where I run x11vnc has an AltGr key, but the local machine where I run the VNC viewer does not. Is there a way I can map a local unused key to send an AltGr? How about a Compose key as well? - Something like "[776]-remap Super_R-Mode_switch" x11vnc option may + Something like "[793]-remap Super_R-Mode_switch" x11vnc option may work. Note that Super_R is the "Right Windoze(tm) Flaggie" key; you may want to choose another. The -debug_keyboard option comes in handy in finding keysym names (so does xev(1)). @@ -6287,7 +6304,7 @@ EndSection Since xmodmap(1) modifies the X server mappings you may not want to do this (because it affects local work on that machine). Something like - the [777]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [794]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones needs, and does not modify the X server environment. Note that you cannot send Alt_L in this case, maybe -remap Super_L-Meta_L would be a better choice if the Super_L key is typically unused in Unix. @@ -6307,7 +6324,7 @@ EndSection and similar triple mappings (with two in the AltGr/Mode_switch group) of a keysum to a single keycode. - Use the [778]-nomodtweak option as a workaround. You can also use + Use the [795]-nomodtweak option as a workaround. You can also use xmodmap to correct these mappings in the server, e.g.: xmodmap -e "keycode 47 = 3 numbersign" @@ -6321,7 +6338,7 @@ EndSection This can be done directly in some X servers using AccessX and Pointer_EnableKeys, but is a bit awkward. It may be more convenient to - have x11vnc do the remapping. This can be done via the [779]-remap + have x11vnc do the remapping. This can be done via the [796]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -6330,7 +6347,7 @@ EndSection button "paste" because (using XFree86/Xorg Emulate3Buttons) you have to click both buttons on the touch pad at the same time. This remapping: - [780]-remap Super_R-Button2 + [797]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -6349,13 +6366,13 @@ EndSection Caps_Lock in the viewer your local machine goes into the Caps_Lock on state and sends keysym "A" say when you press "a". x11vnc will then fake things up so that Shift is held down to generate "A". The - [781]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[782]-remap Caps_Lock-None". + [798]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[799]-remap Caps_Lock-None". - Also try the [783]-nomodtweak and [784]-capslock options. + Also try the [800]-nomodtweak and [801]-capslock options. Another useful option that turns off any Lock keys on the remote side - at startup and end is the [785]-clear_all option. During a session you + at startup and end is the [802]-clear_all option. During a session you can run these remote control commands to modify the Lock keys: x11vnc -R clear_locks x11vnc -R clear_all @@ -6384,7 +6401,7 @@ EndSection There may also be scaling viewers out there (e.g. TightVNC or UltraVNC on Windows) that automatically shrink or expand the remote framebuffer to fit the local display. Especially for hand-held devices. See also - [786]this FAQ on x11vnc scaling. + [803]the next FAQ on x11vnc scaling. Q-96: Does x11vnc support server-side framebuffer scaling? (E.g. to @@ -6392,7 +6409,7 @@ EndSection As of Jun/2004 x11vnc provides basic server-side scaling. It is a global scaling of the desktop, not a per-client setting. To enable it - use the "[787]-scale fraction" option. "fraction" can either be a + use the "[804]-scale fraction" option. "fraction" can either be a floating point number (e.g. -scale 0.5) or the alternative m/n fraction notation (e.g. -scale 3/4). Note that if fraction is greater than one the display is magnified. @@ -6403,6 +6420,10 @@ EndSection with scaling on a fast machine the performance degradation is usually not a big issue or even noticeable. + It may help to compile x11vnc with compiler option -O3 or -O4 to speed + up the scaling code. Set the CFLAGS env. var. before running + configure. + Also, if you just want a quick, rough "thumbnail" of the display you can append ":nb" to the fraction to turn on "no blending" mode. E.g.: "-scale 1/3:nb" Fonts will be difficult to read, but the larger @@ -6413,7 +6434,7 @@ EndSection One can also use the ":nb" with an integer scale factor (say "-scale 2:nb") to use x11vnc as a screen magnifier for vision impaired - [788]applications. Since with integer scale factors the framebuffers + [805]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -6439,7 +6460,7 @@ EndSection If one desires per-client scaling for something like 1:1 from a workstation and 1:2 from a smaller device (e.g. handheld), currently the only option is to run two (or more) x11vnc processes with - different scalings listening on separate ports ([789]-rfbport option, + different scalings listening on separate ports ([806]-rfbport option, etc.). Update: As of May/2006 x11vnc also supports the UltraVNC server-side @@ -6449,17 +6470,17 @@ EndSection "-rfbversion 3.6" for this to be recognized by UltraVNC viewers. BTW, whenever you run two or more x11vnc's on the same X display and - use the [790]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [791]"-connect + use the [807]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [808]"-connect file1 -gui ..." with different connect files for each x11vnc you want to control via the gui (or remote-control). The "-connect file1" usage - gives separate communication channels between a x11vnc proces and the + gives separate communication channels between a x11vnc process and the gui process. Otherwise they all share the same X property channels: VNC_CONNECT and X11VNC_REMOTE. Update: As of Mar/2005 x11vnc now scales the mouse cursor with the same scale factor as the screen. If you don't want that, use the - [792]"-scale_cursor frac" option to set the cursor scaling to a + [809]"-scale_cursor frac" option to set the cursor scaling to a different factor (e.g. use "-scale_cursor 1" to keep the cursor at its natural unscaled size). @@ -6481,21 +6502,21 @@ EndSection screen is not rectangular (e.g. 1280x1024 and 1024x768 monitors joined together), then there will be "non-existent" areas on the screen. The X server will return "garbage" image data for these areas and so they - may be distracting to the viewer. The [793]-blackout x11vnc option + may be distracting to the viewer. The [810]-blackout x11vnc option allows you to blacken-out rectangles by manually specifying their WxH+X+Y geometries. If your system has the libXinerama library, the - [794]-xinerama x11vnc option can be used to have it automatically + [811]-xinerama x11vnc option can be used to have it automatically determine the rectangles to be blackened out. (Note on 8bpp PseudoColor displays the fill color may not be black). Update: - [795]-xinerama is now on by default. + [812]-xinerama is now on by default. Some users have reported that the mouse does not behave properly for their Xinerama display: i.e. the mouse cannot be moved to all regions - of the large display. If this happens try using the [796]-xwarppointer + of the large display. If this happens try using the [813]-xwarppointer option. This instructs x11vnc to fake mouse pointer motions using the XWarpPointer function instead of the XTestFakeMotionEvent XTEST function. (This may be due to a bug in the X server for XTEST when - Xinerama is enabled). Update: As of Dec/2006 [797]-xwarppointer will + Xinerama is enabled). Update: As of Dec/2006 [814]-xwarppointer will be applied automatically if Xinerama is detected. To disable use: -noxwarppointer @@ -6518,23 +6539,23 @@ EndSection Note: if you are running on Solaris 8 or earlier you can easily hit up against the maximum of 6 shm segments per process (for Xsun in this case) from running multiple x11vnc processes. You should modify - /etc/system as mentioned in another [798]FAQ to increase the limit. It - is probably also a good idea to run with the [799]-onetile option in + /etc/system as mentioned in another [815]FAQ to increase the limit. It + is probably also a good idea to run with the [816]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [800]-noshm to use no shm segments. + [817]-noshm to use no shm segments. Q-99: Can x11vnc show only a portion of the display? (E.g. for a - special purpose rfb application). + special purpose application). - As of Mar/2005 x11vnc has the "[801]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[818]-clip WxH+X+Y" option to select a rectangle of width W, height H and offset (X, Y). Thus the VNC screen will be the clipped sub-region of the display and be only WxH in size. - One user used -clip to split up a large [802]Xinerama screen into two + One user used -clip to split up a large [819]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [803]-id or [804]-sid options are used. The offset is measured + the [820]-id or [821]-sid options are used. The offset is measured from the upper left corner of the selected window. @@ -6543,7 +6564,7 @@ EndSection just seems to crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [805]-xrandr option to make x11vnc monitor XRANDR events and also trap + [822]-xrandr option to make x11vnc monitor XRANDR events and also trap X server errors if the screen change occurred in the middle of an X call like XGetImage. Once it traps the screen change it will create a new framebuffer using the new screen. @@ -6553,9 +6574,9 @@ EndSection then the viewer will automatically resize. Otherwise, the new framebuffer is fit as best as possible into the original viewer size (portions of the screen may be clipped, unused, etc). For these - viewers you can try the [806]-padgeom option to make the region big + viewers you can try the [823]-padgeom option to make the region big enough to hold all resizes and rotations. We have fixed this problem - for the TightVNC Viewer on Unix: [807]enhanced_tightvnc_viewer + for the TightVNC Viewer on Unix: [824]SSVNC If you specify "-xrandr newfbsize" then vnc viewers that do not support NewFBSize will be disconnected before the resize. If you @@ -6567,7 +6588,7 @@ EndSection reflect the screen that the VNC viewers see? (e.g. for a handheld whose screen is rotated 90 degrees). - As of Jul/2006 there is the [808]-rotate option allow this. E.g's: + As of Jul/2006 there is the [825]-rotate option allow this. E.g's: "-rotate +90", "-rotate -90", "-rotate x", etc. @@ -6596,7 +6617,7 @@ EndSection There does not seem to be an easy way to work around this. Even xwd(1) doesn't work in this case (try it). Something would need to be done at - a lower level, say in the XFree86 X server. Also, using the XFree86 + a lower level, say in the XFree86/Xorg X server. Also, using the Shadow Framebuffer (a copy of the video framebuffer is kept in main memory) does not appear to fix the problem. @@ -6613,7 +6634,7 @@ EndSection When you move the mouse to the edge of the screen where the popups happen, the taskbars interfere with each other in strange ways. This - somtimes happens where the local machine is GNOME or Mac OS X and the + sometimes happens where the local machine is GNOME or Mac OS X and the remote machine is GNOME. Is there a way to temporarily disable one or both of these magic desktop taskbars? @@ -6632,13 +6653,13 @@ EndSection This may be a bug in kdesktop_lock. For now the only workaround is to disable the screensaver. You can try using another one such as - straight xscreensaver (see the instructions [809]here for how to + straight xscreensaver (see the instructions [826]here for how to disable kdesktop_lock). If you have more info on this or see it outside of KDE please let us know. Update: It appears this is due to kdesktop_lock enabling the screen saver when the Monitor is in DPMS low-power state (e.g. standby, - suspend, or off). In Nov/2006 the x11vnc [810]-nodpms option was added + suspend, or off). In Nov/2006 the x11vnc [827]-nodpms option was added as a workaround. Normally it is a good thing that the monitor powers down (since x11vnc can still poll the framebuffer in this state), but if you experience the kdesktop_lock problem you can specify the @@ -6654,16 +6675,16 @@ EndSection This appears to be because the 3D OpenGL/GLX hardware screen updates do not get reported via the XDAMAGE mechanism. So this is a bug in - [811]beryl or XDAMAGE/Xorg or the (possibly 3rd party) video card + [828]beryl or XDAMAGE/Xorg or the (possibly 3rd party) video card driver. - As a workaround apply the [812]-noxdamage option. As of Feb/2007 + As a workaround apply the [829]-noxdamage option. As of Feb/2007 x11vnc will try to autodetect the problem and disable XDAMAGE if is appears to be missing a lot of updates. But if you know you are using - beryl you might as well always supply -noxdamage. Thanks to [813]this + beryl you might as well always supply -noxdamage. Thanks to [830]this user who reported the problem and discovered the workaround. - A developer for [814]MiniMyth reports that the 'alphapulse' tag of the + A developer for [831]MiniMyth reports that the 'alphapulse' tag of the theme G.A.N.T. can also cause problems, and should be avoided when using VNC. @@ -6683,9 +6704,9 @@ EndSection * Fullscreen mode The way VMWare does Fullscreen mode on Linux is to display the Guest - desktop in a separate Virtual Console (e.g. VC 8) (see [815]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [832]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [816]see this discussion + server. So x11vnc cannot access it (however, [833]see this discussion of -rawfb for a possible workaround). x11vnc works fine with "Normal X application window" and "Quick-Switch mode" because these use X. @@ -6706,13 +6727,13 @@ EndSection improve response. One can also cut the display depth (e.g. to 16bpp) in this 2nd X session to improve video performance. This 2nd X session emulates Fullscreen mode to some degree and can be viewed via x11vnc - as long as the VMWare X session [817]is in the active VC. + as long as the VMWare X session [834]is in the active VC. Also note that with a little bit of playing with "xwininfo -all - -children" output one can extract the (non-toplevel) windowid of the + -children" output one can extract the (non-toplevel) window-id of the of the Guest desktop only when VMWare is running as a normal X application. Then one can export just the guest desktop (i.e. without - the VMWare menu buttons) by use of the [818]-id windowid option. The + the VMWare menu buttons) by use of the [835]-id windowid option. The caveats are the X session VMWare is in must be in the active VC and the window must be fully visible, so this mode is not terribly convenient, but could be useful in some circumstances (e.g. running @@ -6728,10 +6749,10 @@ EndSection controlled) via VNC with x11vnc? As of Apr/2005 there is support for this. Two options were added: - "[819]-rawfb string" (to indicate the raw framembuffer device, file, - etc. and its parameters) and "[820]-pipeinput command" (to provide an + "[836]-rawfb string" (to indicate the raw frame buffer device, file, + etc. and its parameters) and "[837]-pipeinput command" (to provide an external program that will inject or otherwise process mouse and - keystroke input). Some useful [821]-pipeinput schemes, VID, CONSOLE, + keystroke input). Some useful [838]-pipeinput schemes, VID, CONSOLE, and UINPUT, have since been built into x11vnc for convenience. This non-X mode for x11vnc is somewhat experimental because it is so @@ -6769,9 +6790,9 @@ EndSection access method). Only use file if map isn't working. BTW, "mmap" is an alias for "map" and if you do not supply a type and the file exists, map is assumed (see the -help output and below for some exceptions to - this). The "snap:" setting applies the [822]-snapfb option with + this). The "snap:" setting applies the [839]-snapfb option with "file:" type reading (this is useful for exporting webcams or TV tuner - video; see [823]the next FAQ for more info). + video; see [840]the next FAQ for more info). Also, if the string is of the form "setup:cmd" then cmd is run and the first line of its output retrieved and used as the rawfb string. This @@ -6815,7 +6836,7 @@ EndSection screen to either shm or a mapped file. The format of these is XWD and so the initial header should be skipped. BTW, since XWD is not strictly RGB the view will only be approximate, but usable. Of course - for the case of Xvfb x11vnc can poll it much better via the [824]X + for the case of Xvfb x11vnc can poll it much better via the [841]X API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it @@ -6844,13 +6865,13 @@ EndSection tty1-tty6), or X graphical display (usually starting at tty7). In addition to the text console other graphical ones may be viewed and interacted with as well, e.g. DirectFB or SVGAlib apps, VMWare non-X - fullscreen, or [825]Qt-embedded apps (PDAs/Handhelds). By default the + fullscreen, or [842]Qt-embedded apps (PDAs/Handhelds). By default the pipeinput mechanisms UINPUT and CONSOLE (keystrokes only) are automatically attempted in this mode under "-rawfb console". The Video4Linux Capture device, /dev/video0, etc is either a Webcam or a TV capture device and needs to have its driver enabled in the - kernel. See [826]this FAQ for details. If specified via "-rawfb Video" + kernel. See [843]this FAQ for details. If specified via "-rawfb Video" then the pipeinput method "VID" is applied (it lets you change video parameters dynamically via keystrokes). @@ -6858,10 +6879,10 @@ EndSection also useful in testing. - All of the above [827]-rawfb options are just for viewing the raw + All of the above [844]-rawfb options are just for viewing the raw framebuffer (although some of the aliases do imply keystroke and mouse pipeinput methods). That may be enough for certain applications of - this feature (e.g. suppose a [828]video camera mapped its framebuffer + this feature (e.g. suppose a [845]video camera mapped its framebuffer into memory and you just wanted to look at it via VNC). To handle the pointer and keyboard input from the viewer users the "-pipeinput cmd" option was added to indicate a helper program to @@ -6899,14 +6920,14 @@ EndSection keystrokes into the Linux console (e.g. the virtual consoles: /dev/tty1, /dev/tty2, etc) in x11vnc/misc/vcinject.pl. It is based on the vncterm/LinuxVNC.c program also in the libvncserver CVS. So to - view and interact with VC #2 (assuming it is the [829]active VC) one + view and interact with VC #2 (assuming it is the [846]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' This assumes your Linux framebuffer device (/dev/fb0) is properly configured. See fbset(8) and other documentation. Try "file:/dev/fb0@WxHxB" as a last resort. Starting with x11vnc 0.8.1, - the above vc injection is built in, as well as WxHxB determination. + the above VC injection is built in, as well as WxHxB determination. Just use something like: x11vnc -rawfb console @@ -6954,7 +6975,7 @@ EndSection better to use the more accurate and faster LinuxVNC program. The advantage x11vnc -rawfb might have is that it can allow interaction with a non-text application, e.g. one based on SVGAlib or - [830]Qt-embedded Also, for example the [831]VMWare Fullscreen mode is + [847]Qt-embedded Also, for example the [848]VMWare Fullscreen mode is actually viewable under -rawfb and can be interacted with if uinput is enabled. @@ -6974,9 +6995,9 @@ EndSection Q-109: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [832]-rawfb option. + Yes, this is possible to some degree with the [849]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [833]previous FAQ on -rawfb + used for the screen image data. See the [850]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -6988,7 +7009,7 @@ EndSection snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [834]-snapfb mode which appears to be necessary. + The "snap:" enforces [851]-snapfb mode which appears to be necessary. The read pointer for video capture devices cannot be repositioned (which would be needed for scanline polling), but you can read a full frame of data from the device. @@ -7010,7 +7031,7 @@ EndSection Many video4linux drivers tend to set the framebuffer to be 24bpp (as opposed to 32bpp). Since this can cause problems with VNC viewers, - etc, the [835]-24to32 option will be automatically imposed when in + etc, the [852]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -7018,7 +7039,7 @@ EndSection wavering in brightness is always happening. This can lead to much network bandwidth consumption for the VNC traffic and also local CPU and I/O resource usage. You may want to experiment with "dialing down" - the framerate via the [836]-wait, [837]-slow_fb, or [838]-defer + the framerate via the [853]-wait, [854]-slow_fb, or [855]-defer options. Decreasing the window size and bpp also helps. @@ -7107,7 +7128,7 @@ EndSection format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [839]-freqtab option to supply your own xawtv channel to + See also the [856]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). @@ -7116,7 +7137,7 @@ EndSection running on my handheld or PC using the Linux console framebuffer (i.e. not X11)? - Yes, the basic method for this is the [840]-rawfb scheme where the + Yes, the basic method for this is the [857]-rawfb scheme where the Linux console framebuffer (usually /dev/fb0) is polled and the uinput driver is used to inject keystrokes and mouse input. Often you will just have to type: @@ -7129,7 +7150,7 @@ EndSection x11vnc -rawfb /dev/fb0@640x480x16 Also, to force usage of the uinput injection method use "-pipeinput - UINPUT". See the [841]-pipeinput description for tunable parameters, + UINPUT". See the [858]-pipeinput description for tunable parameters, etc. One problem with the x11vnc uinput scheme is that it cannot guess the @@ -7142,10 +7163,10 @@ EndSection to get reasonable positioning of the mouse. - Even with the correct acceleration setting there is stil some drift + Even with the correct acceleration setting there is still some drift (probably because of the mouse threshold where the acceleration kicks in) and so x11vnc needs to reposition the cursor from 0,0 about 5 - times a second. See the [842]-pipeinput UINPUT option for tuning + times a second. See the [859]-pipeinput UINPUT option for tuning parameters that can be set (there are some experimental thresh=N tuning parameters as well) @@ -7171,15 +7192,16 @@ EndSection cannot do both the Linux console framebuffer and VNC at the same time, which is often what is desired from VNC. - Update: We are finding some setups like Qtopia the IPAQ do not allow - mouse input via uinput. Please help us debug this problem by trying - x11vnc on your device and letting us know what does and does not work. + Update: We are finding some setups like Qtopia on the IPAQ do not + allow mouse input via uinput. Please help us debug this problem by + trying x11vnc on your device and letting us know what does and does + not work. Q-111: Now that non-X11 devices can be exported via VNC using x11vnc, can I build it with no dependencies on X11 header files and libraries? - Yes, as of Jul/2006 x11vnc enables building for [843]-rawfb only + Yes, as of Jul/2006 x11vnc enables building for [860]-rawfb only support. Just do something like when building: ./configure --without-x (plus any other flags) make @@ -7195,11 +7217,11 @@ EndSection Yes, since Nov/2006 in the development tree (x11vnc-0.8.4 tarball) there is support for native Mac OS X Aqua/Quartz displays using the - [844]-rawfb mechanism described above. The mouse and keyboard input is - acheived via Mac OS X API's. + [861]-rawfb mechanism described above. The mouse and keyboard input is + achieved via Mac OS X API's. - So you can use x11vnc as an alternative to [845]OSXvnc (aka Vine - Server), or [846]Apple Remote Desktop (ARD). Perhaps there is some + So you can use x11vnc as an alternative to [862]OSXvnc (aka Vine + Server), or [863]Apple Remote Desktop (ARD). Perhaps there is some x11vnc feature you'd like to use on Mac OS X, etc. For a number of activities (e.g. window drags) it seems to be faster than OSXvnc. @@ -7209,7 +7231,7 @@ EndSection (XDarwin) running on Mac OS X (people often install this software to display remote X11 apps on their Mac OS X system, or use some old favorites locally such as xterm). However in this case x11vnc will - only work reasonably in single window [847]-id windowid mode (and the + only work reasonably in single window [864]-id windowid mode (and the window may need to have mouse focus). If you do not have the DISPLAY env. variable set, x11vnc will assume @@ -7217,15 +7239,19 @@ EndSection assume an X11 connection. Use "-rawfb console" to force the native display (or unset DISPLAY). + Update: Leopard sets DISPLAY by default in all sessions. Since it + starts with the string "/tmp/" x11vnc will use that to know if it + should ignore it. Use "-display :0.0" to force it. + Building: If you don't have the X11 build and runtime packages installed you will need to build it like this: (cd to the e.g. x11vnc-0.9, source directory) ./configure --without-x make - Win2VNC/x2vnc: One handy use is to use the [848]-nofb mode to + Win2VNC/x2vnc: One handy use is to use the [865]-nofb mode to redirect mouse and keyboard input to a nearby Mac (i.e. one to the - side of your desk) via [849]x2vnc or Win2VNC. See [850]this FAQ for + side of your desk) via [866]x2vnc or Win2VNC. See [867]this FAQ for more info. Options: Here are the Mac OS X specific x11vnc options: @@ -7299,13 +7325,13 @@ rm -f $tmp performance for the case of a large number of simultaneous VNC viewers (e.g. classroom broadcasting or a large demo)? - Yes, as of Feb/2007 there is the "[851]-reflect host:N" option to + Yes, as of Feb/2007 there is the "[868]-reflect host:N" option to connect to the VNC server "host:N" (either another x11vnc or any other VNC server) and re-export it. VNC viewers then connect to the x11vnc(s) running -reflect. The -reflect option is the same as: "-rawfb vnc:host:N". See the - [852]-rawfb description under "VNC HOST" for more details. + [869]-rawfb description under "VNC HOST" for more details. You can replace "host:N" with "listen" or "listen:port" for reverse connections. @@ -7366,20 +7392,18 @@ rm -f $tmp re-exports via VNC to its clients C). However, CopyRect and CursorShape encodings are preserved in the reflection and that helps. Dragging windows with the mouse can be a problem (especially if S is - not doing wireframing somehow, consider [853]-nodragging if the + not doing wireframing somehow, consider [870]-nodragging if the problem is severe) For a really fast reflector/repeater it would have to be implemented from scratch with performance in mind. See these other projects: - [854]http://sourceforge.net/projects/vnc-reflector/, - [855]http://www.tightvnc.com/projector/ (closed source?), - [856]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g -ateway and not a broadcaster?) + [871]http://sourceforge.net/projects/vnc-reflector/, + [872]http://www.tightvnc.com/projector/ (closed source?), Automation via Reverse Connections: Instead of having the R's connect directly to S and then the C's connect directly to the R they should use, some convenience can be achieved by using reverse - connections (the x11vnc "[857]"-connect host1,host2,..." option). + connections (the x11vnc "[873]"-connect host1,host2,..." option). Suppose all the clients "C" are started up in Listen mode: client1> vncviewer -listen client2> vncviewer -listen @@ -7430,7 +7454,7 @@ ateway and not a broadcaster?) If the Solaris install is an older X-based one, there will be a menu for you to get a terminal window. From that window you might be able to retrieve x11vnc.static via wget, scp, or ftp. Remember to do "chmod - 755 ./x11vnc.static" and then find the -auth file as in [858]this FAQ. + 755 ./x11vnc.static" and then find the -auth file as in [874]this FAQ. If it is a Linux install that uses an X server (e.g. SuSE and probably Fedora), then you can often get a shell by pressing Ctrl-Alt-F2 or @@ -7439,9 +7463,9 @@ ateway and not a broadcaster?) wget http://192.168.0.22/x11vnc.static chmod 755 ./x11vnc.static - Find the name of the auth file as in [859]this FAQ. (maybe run "ps + Find the name of the auth file as in [875]this FAQ. (maybe run "ps wwwwaux | grep auth"). Then run it like this: - ./x11vnc.static -forever -nopw -display :0 -auth /tmp/whereever/the/authfile + ./x11vnc.static -forever -nopw -display :0 -auth /tmp/wherever/the/authfile then press Alt-F7 to go back to the X install. You should now be able to connect via a vnc viewer and continue the install. Watch out for @@ -7486,11 +7510,11 @@ ateway and not a broadcaster?) As of Jan/2004 x11vnc supports the "CutText" part of the rfb protocol. Furthermore, x11vnc is able to hold the PRIMARY and CLIPBOARD selection (Xvnc does not seem to do this). If you don't want the - Clipboard/Selection exchanged use the [860]-nosel option. If you don't + Clipboard/Selection exchanged use the [876]-nosel option. If you don't want the PRIMARY selection to be polled for changes use the - [861]-noprimary option. (with a similar thing for CLIPBOARD). You can - also fine-tune it a bit with the [862]-seldir dir option and also - [863]-input. + [877]-noprimary option. (with a similar thing for CLIPBOARD). You can + also fine-tune it a bit with the [878]-seldir dir option and also + [879]-input. You may need to watch out for desktop utilities such as KDE's "Klipper" that do odd things with the selection, clipboard, and @@ -7502,7 +7526,7 @@ ateway and not a broadcaster?) Yes, it is possible with a number of tools that record VNC and transform it to swf format or others. One such popular tool is - [864]pyvnc2swf. There are a number of [865]tutorials on how to do + [880]pyvnc2swf. There are a number of [881]tutorials on how to do this. Another option is to use the vnc2mpg that comes in the LibVNCServer package. An important thing to remember when doing this is that tuning @@ -7517,8 +7541,11 @@ ateway and not a broadcaster?) (and Windows viewers only support filetransfer it appears... but they do work to some degree under Wine on Linux). + The [882]SSVNC Unix VNC viewer supports UltraVNC file transfer by use + of a Java helper program. + TightVNC file transfer is off by default, if you want to enable it use - the [866]-nofilexfer option. + the [883]-nofilexfer option. UltraVNC file transfer is off by default, to enable it use something like "-rfbversion 3.6 -permitfiletransfer" @@ -7541,7 +7568,7 @@ ateway and not a broadcaster?) IMPORTANT: please understand if -ultrafilexfer or -tightfilexfer is specified and you run x11vnc as root for, say, inetd or display manager (gdm, kdm, ...) access and you do not have it switch users via - the [867]-users option, then VNC Viewers that connect are able to do + the [884]-users option, then VNC Viewers that connect are able to do filetransfer reads and writes as *root*. The UltraVNC and TightVNC settings can be toggled on and off inside @@ -7560,7 +7587,7 @@ ateway and not a broadcaster?) these extensions you will need to supply this option to x11vnc: -rfbversion 3.6 - Or use [868]-ultrafilexfer which is an alias for the above option and + Or use [885]-ultrafilexfer which is an alias for the above option and "-permitfiletransfer". UltraVNC evidently treats any other RFB version number as non-UltraVNC. @@ -7572,9 +7599,17 @@ ateway and not a broadcaster?) * 1/n Server Scaling * rfbEncodingUltra compression encoding - To disable SingleWindow and ServerInput use [869]-noultraext (the + The [886]SSVNC Unix VNC viewer supports these UltraVNC extensions. + + To disable SingleWindow and ServerInput use [887]-noultraext (the others are managed by LibVNCServer). See this option too: - [870]-noserverdpms. + [888]-noserverdpms. + + Also, the [889]UltraVNC repeater proxy is supported for use with + reverse connections: "[890]-connect repeater://host:port+ID:NNNN". Use + it for both plaintext and SSL connections. This mode can send any + string before switching to the VNC protocol, and so could be used with + other proxy/gateway tools. Q-119: Can x11vnc emulate UltraVNC's Single Click helpdesk mode for @@ -7582,12 +7617,12 @@ ateway and not a broadcaster?) reverse vnc connection from their Unix desktop to a helpdesk operator's VNC Viewer. - Yes, UltraVNC's [871]Single Click (SC) mode can be done fairly well on + Yes, UltraVNC's [891]Single Click (SC) mode can be done fairly well on Unix. We use the term "helpdesk" below, but it could be any sort of remote assistance you want to set up, e.g. something for Unix-using friends - or family to use. This includes [872]Mac OS X. + or family to use. This includes [892]Mac OS X. Assume you create a helpdesk directory "hd" on your website: http://www.mysite.com/hd (any website that you can upload files to @@ -7643,7 +7678,7 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc So I guess this is about 3-4 clicks (start a terminal and paste) and pressing "Enter" instead of "single click"... - See [873]this page for some variations on this method, e.g. how to add + See [893]this page for some variations on this method, e.g. how to add a password, SSL Certificates, etc. @@ -7655,11 +7690,11 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc A bit of obscurity security could be put in with a -passwd, -rfbauth options, etc. (note that x11vnc will require a password even for - reverse connections). More info [874]here. + reverse connections). More info [894]here. Firewalls: If the helpdesk (you) with the vncviewer is behind a - NAT/Firewall/Router the [875]router will have to be configured to + NAT/Firewall/Router the [895]router will have to be configured to redirect a port (i.e. 5500 or maybe different one if you like) to the vncviewer machine. If the vncviewer machine also has its own host-level firewall, you will have to open up the port there as well. @@ -7669,7 +7704,7 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc configuring a router to do a port redirection (i.e. on your side, the HelpDesk). To avoid modifying either firewall/router, one would need some public (IP address reachable on the internet) redirection/proxy - service. Perhaps such a thing exists. [876]http://sc.uvnc.com provides + service. Perhaps such a thing exists. [896]http://sc.uvnc.com provides this service for their UltraVNC Single Click users. @@ -7705,7 +7740,7 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc As of Apr/2007 x11vnc supports reverse connections in SSL and so we can do this. On the Helpdesk side (Viewer) you will need STUNNEL or - better use the [877]Enhanced TightVNC Viewer (SSVNC) package we + better use the [897]Enhanced TightVNC Viewer (SSVNC) package we provide that automates all of the SSL for you. To do this create a file named "vncs" in the website "hd" directory @@ -7735,11 +7770,11 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc with the hostnames or IP addresses customized to your case. - The only change from the "vnc" above is the addition of the [878]-ssl + The only change from the "vnc" above is the addition of the [898]-ssl option to x11vnc. This will create a temporary SSL cert: openssl(1) will need to be installed on the user's end. A fixed SSL cert file could be used to avoid this (and provide some authentication; more - info [879]here.) + info [899]here.) The naive user will be doing this: wget -qO - http://www.mysite.com/hd/vncs | sh - @@ -7748,7 +7783,7 @@ chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc But before that, the helpdesk operator needs to have "vncviewer -listen" running as before, however he needs an SSL tunnel at his end. - The easiest way to do this is use [880]Enhanced TightVNC Viewer + The easiest way to do this is use [900]Enhanced TightVNC Viewer (SSVNC). Start it, and select Options -> 'Reverse VNC Connection (-listen)'. Then UN-select 'Verify All Certs' (this can be enabled later if you want; you'll need the x11vnc SSL certificate), and click @@ -7778,7 +7813,7 @@ connect = localhost:5501 answer the prompts with whatever you want; you can take the default for all of them if you like. The openssl(1) package must be installed. - See [881]this link and [882]this one too for more info on SSL certs. + See [901]this link and [902]this one too for more info on SSL certs. This creates $HOME/.vnc/certs/server-self:mystunnel.pem, then you would change the "stunnel.cfg" to look something like: foreground = yes @@ -7799,7 +7834,7 @@ connect = localhost:5501 then all bets are off!. More SSL variations and info about certificates can be found - [883]here. + [903]here. OpenSSL libssl.so.0.9.7 problems: @@ -7809,7 +7844,7 @@ connect = localhost:5501 distros are currently a bit of a mess regarding which version of libssl is installed. - You will find the [884]details here. + You will find the [904]details here. Q-120: Can I (temporarily) mount my local (viewer-side) Windows/Samba @@ -7818,7 +7853,7 @@ connect = localhost:5501 You will have to use an external network redirection for this. Filesystem mounting is not part of the VNC protocol. - We show a simple [885]Samba example here. + We show a simple [905]Samba example here. First you will need a tunnel to redirect the SMB requests from the remote machine to the one you sitting at. We use an ssh tunnel: @@ -7858,7 +7893,7 @@ d,ip=127.0.0.1,port=1139 far-away> smbumount /home/fred/smb-haystack-pub At some point we hope to fold some automation for SMB ssh redir setup - into the [886]Enhanced TightVNC Viewer (SSVNC) package we provide (as + into the [906]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep 2006 it is there for testing). @@ -7868,7 +7903,7 @@ d,ip=127.0.0.1,port=1139 You will have to use an external network redirection for this. Printing is not part of the VNC protocol. - We show a simple Unix to Unix [887]CUPS example here. Non-CUPS port + We show a simple Unix to Unix [907]CUPS example here. Non-CUPS port redirections (e.g. LPD) should also be possible, but may be a bit more tricky. If you are viewing on Windows SMB and don't have a local cups server it may be trickier still (see below). @@ -7906,9 +7941,9 @@ d,ip=127.0.0.1,port=1139 http://localhost:6631/ipp/printer-name, ipp://localhost:6631/ipp/printer-name, etc. - If you do not have root privileges, but are running a very recent - (version 1.2 or greater) of the Cups client software, then an easy way - to temporarily switch Cups servers is to create: $HOME/.cupsrc on the + If you do not have root privileges, but are running a recent (version + 1.2 or greater) of the Cups client software, then an easy way to + temporarily switch Cups servers is to create: $HOME/.cupsrc on the remote side with a line like: ServerName localhost:6631 @@ -7916,7 +7951,7 @@ d,ip=127.0.0.1,port=1139 out with a '#' (or rename the cupsrc file), to have normal cups operation. - Sadly, most Cups client software is older (1.1) and does not support + Sadly, Cups client software that is older (1.1) does not support appending the port number, and for newer ones there is a bug preventing it from always working (fixed in 1.2.3). Kludges like these at the command line will work: @@ -7940,7 +7975,7 @@ d,ip=127.0.0.1,port=1139 "localhost". At some point we hope to fold some automation for CUPS ssh redir setup - into the [888]Enhanced TightVNC Viewer (SSVNC) package we provide (as + into the [908]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep 2006 it is there for testing). @@ -8041,7 +8076,7 @@ or: the applications will fail to run because LD_PRELOAD will point to libraries of the wrong wordsize. * At some point we hope to fold some automation for esd or artsd ssh - redir setup into the [889]Enhanced TightVNC Viewer (SSVNC) package + redir setup into the [909]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep/2006 it is there for testing). @@ -8053,14 +8088,14 @@ or: in Solaris, see Xserver(1) for how to turn it on via +kb), and so you won't hear them if the extension is not present. - If you don't want to hear the beeps use the [890]-nobell option. If + If you don't want to hear the beeps use the [910]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [891]redirector such as esd. + trying a [911]redirector such as esd. Q-124: Does x11vnc work with IPv6? - Currently the only way to do this is via [892]inetd. You configure + Currently the only way to do this is via [912]inetd. You configure x11vnc to be run from inetd or xinetd and instruct it to listen on an IPv6 address. For xinetd the setting "flags = IPv6" will be needed. @@ -8069,7 +8104,7 @@ or: connection). Some sort of ipv4-to-ipv6 redirector tool (perhaps even a perl script) could be useful to avoid this. - Also note that not all VNC Viewers are [893]IPv6 enabled, so a + Also note that not all VNC Viewers are [913]IPv6 enabled, so a redirector could even be needed on the client side. @@ -8148,839 +8183,859 @@ References 58. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect 59. http://www.karlrunge.com/x11vnc/chainingssh.html 60. http://www.karlrunge.com/x11vnc/ssvnc.html - 61. http://www.whatismyip.com/ - 62. http://www.karlrunge.com/x11vnc/ssvnc.html - 63. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel - 64. http://www.whatismyip.com/ - 65. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 66. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 67. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 68. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 69. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 70. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 71. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 72. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 73. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 74. http://www.karlrunge.com/x11vnc/ssvnc.html - 75. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 76. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 77. http://www.stunnel.org/ - 78. http://stunnel.mirt.net/ - 79. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 80. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 81. http://www.karlrunge.com/x11vnc/ssvnc.html - 82. http://sourceforge.net/projects/libvncserver/ - 83. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=544195 - 84. http://sourceforge.net/project/shownotes.php?release_id=544195&group_id=32584 - 85. http://www.karlrunge.com/x11vnc/x11vnc-0.9.4.tar.gz - 86. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 87. http://www.tightvnc.com/download.html - 88. http://www.realvnc.com/download-free.html - 89. http://sourceforge.net/projects/cotvnc/ - 90. http://www.ultravnc.com/ - 91. http://www.karlrunge.com/x11vnc/ssvnc.html - 92. http://www.karlrunge.com/x11vnc/rx11vnc - 93. http://www.karlrunge.com/x11vnc/rx11vnc.pl - 94. http://www.sunfreeware.com/ - 95. http://www.karlrunge.com/x11vnc/bins - 96. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 97. http://www.karlrunge.com/x11vnc/miscbuild.html - 98. ftp://ftp.uu.net/graphics/jpeg/ - 99. http://www.gzip.org/zlib/ - 100. http://www.sunfreeware.com/ - 101. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 102. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 103. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 104. http://www.karlrunge.com/x11vnc/x11vnc-0.9.4.tar.gz - 105. http://www.karlrunge.com/x11vnc/bins - 106. mailto:xvml@karlrunge.com - 107. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 108. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 109. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 110. http://www.karlrunge.com/x11vnc/ssvnc.html - 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 113. http://www.karlrunge.com/x11vnc/ssvnc.html - 114. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 117. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 118. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 61. http://www.portforward.com/routers.htm + 62. http://www.whatismyip.com/ + 63. http://www.karlrunge.com/x11vnc/ssvnc.html + 64. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel + 65. http://www.whatismyip.com/ + 66. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 67. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 68. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 69. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 70. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 71. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 72. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 73. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 74. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 75. http://www.karlrunge.com/x11vnc/ssvnc.html + 76. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 77. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 78. http://www.stunnel.org/ + 79. http://stunnel.mirt.net/ + 80. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 81. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 82. http://www.karlrunge.com/x11vnc/ssvnc.html + 83. http://sourceforge.net/projects/libvncserver/ + 84. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=544195 + 85. http://sourceforge.net/project/shownotes.php?release_id=544195&group_id=32584 + 86. http://www.karlrunge.com/x11vnc/x11vnc-0.9.4.tar.gz + 87. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 88. http://www.tightvnc.com/download.html + 89. http://www.realvnc.com/download-free.html + 90. http://sourceforge.net/projects/cotvnc/ + 91. http://www.ultravnc.com/ + 92. http://www.karlrunge.com/x11vnc/ssvnc.html + 93. http://www.karlrunge.com/x11vnc/rx11vnc + 94. http://www.karlrunge.com/x11vnc/rx11vnc.pl + 95. http://www.sunfreeware.com/ + 96. http://www.karlrunge.com/x11vnc/bins + 97. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 98. http://www.karlrunge.com/x11vnc/miscbuild.html + 99. ftp://ftp.uu.net/graphics/jpeg/ + 100. http://www.gzip.org/zlib/ + 101. http://www.sunfreeware.com/ + 102. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 103. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 104. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 105. http://www.karlrunge.com/x11vnc/x11vnc-0.9.4.tar.gz + 106. http://www.karlrunge.com/x11vnc/bins + 107. mailto:xvml@karlrunge.com + 108. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 109. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 110. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 111. http://www.karlrunge.com/x11vnc/ssvnc.html + 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 113. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 114. http://www.karlrunge.com/x11vnc/ssvnc.html + 115. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 118. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay 119. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy - 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-finddpy - 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listdpy - 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 124. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 125. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-autoport - 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all - 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 129. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 130. http://www.karlrunge.com/x11vnc/ssvnc.html - 131. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop - 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 133. http://www.ultravnc.com/ - 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 135. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 136. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 137. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 138. http://www.karlrunge.com/x11vnc/index.html#faq-avahi - 139. http://www.avahi.org/ - 140. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi - 141. http://www.karlrunge.com/x11vnc/ssvnc.html - 142. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 143. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 144. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 145. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 146. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 147. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 148. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms - 149. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms - 150. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms - 151. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabalways - 152. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 153. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 154. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 155. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir - 156. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 157. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 158. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 159. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 160. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 161. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 162. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal - 163. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 164. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 165. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 166. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 167. http://www.openssl.org/ - 168. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 169. http://www.stunnel.org/ - 170. http://stunnel.mirt.net/ - 171. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 172. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert - 173. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA - 174. http://www.karlrunge.com/x11vnc/ssl.html - 175. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 176. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 177. http://www.karlrunge.com/x11vnc/ssvnc.html - 178. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 179. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 180. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 181. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 182. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 183. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 184. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 185. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 186. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 187. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 188. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 189. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 190. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 191. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 192. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer - 193. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit - 194. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 195. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, - 196. http://www.karlrunge.com/x11vnc/prevrels.html - 197. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 198. http://www.tightvnc.com/ - 199. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 200. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 201. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 202. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 203. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 204. http://wwws.sun.com/sunray/index.html - 205. http://www.karlrunge.com/x11vnc/sunray.html - 206. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 207. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 208. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 209. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 210. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 211. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 212. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 213. mailto:xvml@karlrunge.com - 214. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 215. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 216. http://www.karlrunge.com/x11vnc/index.html#faq-build - 217. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 218. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 219. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 220. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 221. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 222. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 223. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 224. http://www.karlrunge.com/x11vnc/index.html#faq-change-port - 225. http://www.karlrunge.com/x11vnc/index.html#faq-firewalls - 226. http://www.karlrunge.com/x11vnc/index.html#faq-firewall-out - 227. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 228. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 229. http://www.karlrunge.com/x11vnc/index.html#faq-tight139 - 230. http://www.karlrunge.com/x11vnc/index.html#faq-krdcprob - 231. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 232. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 233. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 234. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb - 235. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 236. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 237. http://www.karlrunge.com/x11vnc/index.html#faq-directcolor - 238. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 239. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 240. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 241. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 242. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 243. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 244. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 245. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 246. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 247. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 248. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 249. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 250. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 251. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords - 252. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 253. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 254. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 255. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 256. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 257. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 258. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 259. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 260. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 261. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 262. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 263. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 264. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 265. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 266. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 267. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 268. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 269. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 270. http://www.karlrunge.com/x11vnc/index.html#faq-service - 271. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 272. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 273. http://www.karlrunge.com/x11vnc/index.html#faq-avahi - 274. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 275. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 276. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 277. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 278. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy - 279. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 280. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 281. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 282. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 283. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 284. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 285. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 286. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl - 287. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 288. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 289. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 290. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 291. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 292. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 293. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 294. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 295. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 296. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 297. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 298. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 299. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 300. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 301. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 302. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 303. http://www.karlrunge.com/x11vnc/index.html#faq-mod-stuck-down - 304. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 305. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 306. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key - 307. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 308. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 309. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 310. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 311. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 312. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 313. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 314. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 315. http://www.karlrunge.com/x11vnc/index.html#faq-rotate - 316. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 317. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 318. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 319. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver - 320. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 321. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 322. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 323. http://www.karlrunge.com/x11vnc/index.html#faq-video - 324. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 325. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 - 326. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 327. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 328. http://www.karlrunge.com/x11vnc/index.html#faq-os-install - 329. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 330. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf - 331. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 332. http://www.karlrunge.com/x11vnc/index.html#faq-ultravnc - 333. http://www.karlrunge.com/x11vnc/index.html#faq-singleclick - 334. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares - 335. http://www.karlrunge.com/x11vnc/index.html#faq-cups - 336. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 337. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 338. http://www.karlrunge.com/x11vnc/index.html#faq-ipv6 - 339. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 341. http://www.tldp.org/HOWTO/Remote-X-Apps.html - 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 343. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 346. http://www.karlrunge.com/x11vnc/index.html#firewalls - 347. http://www.karlrunge.com/x11vnc/miscbuild.html - 348. http://www.karlrunge.com/x11vnc/index.html#libssl-problems - 349. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 350. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 351. http://www.karlrunge.com/x11vnc/index.html#building - 352. http://www.karlrunge.com/x11vnc/index.html#faq-build - 353. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 354. http://dag.wieers.com/packages/x11vnc/ - 355. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 356. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 357. http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_Sessions - 358. http://gentoo-portage.com/x11-misc/x11vnc - 359. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 360. http://www.freshports.org/net/x11vnc - 361. http://pkgsrc.se/x11/x11vnc - 362. http://www.archlinux.org/packages/search/?q=x11vnc - 363. http://mike.saunby.googlepages.com/ - 364. http://www.focv.com/ipkg/ - 365. http://packages.debian.org/x11vnc - 366. http://www.sunfreeware.com/ - 367. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 368. http://www.karlrunge.com/x11vnc/bins - 369. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 370. http://www.tightvnc.com/download.html - 371. http://www.realvnc.com/download-free.html - 372. http://sourceforge.net/projects/cotvnc/ - 373. http://www.ultravnc.com/ - 374. http://www.karlrunge.com/x11vnc/ssvnc.html - 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 377. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 379. http://www.karlrunge.com/x11vnc/index.html#firewalls - 380. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 381. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel - 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 383. http://www.karlrunge.com/x11vnc/vncxfer - 384. http://www.karlrunge.com/x11vnc/index.html#firewalls - 385. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy - 386. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 387. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel - 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssh - 389. http://www.karlrunge.com/x11vnc/ssvnc.html - 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 393. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389750 - 394. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399408 - 395. http://bugs.kde.org/show_bug.cgi?id=136924 - 396. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 398. http://fredrik.hubbe.net/x2vnc.html - 399. http://www.hubbe.net/~hubbe/win2vnc.html - 400. http://www.deboer.gmxhome.de/ - 401. http://sourceforge.net/projects/win2vnc/ - 402. http://fredrik.hubbe.net/x2vnc.html - 403. http://freshmeat.net/projects/x2x/ - 404. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 405. http://zapek.com/software/zvnc/ - 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 407. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 411. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssh + 121. http://www.uvnc.com/addons/repeater.html + 122. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 124. http://www.karlrunge.com/x11vnc/ssvnc.html + 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-finddpy + 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listdpy + 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 129. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 130. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-autoport + 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ping + 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all + 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 135. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 136. http://www.karlrunge.com/x11vnc/ssvnc.html + 137. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop + 138. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 139. http://www.ultravnc.com/ + 140. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 142. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 143. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 144. http://www.karlrunge.com/x11vnc/index.html#faq-avahi + 145. http://www.avahi.org/ + 146. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi + 147. http://www.karlrunge.com/x11vnc/ssvnc.html + 148. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 149. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 150. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 151. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 152. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 153. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 154. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms + 155. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms + 156. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms + 157. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabalways + 158. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 159. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 160. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 161. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir + 162. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 163. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 164. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 165. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 166. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 167. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 168. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal + 169. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 170. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 171. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 172. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 173. http://www.openssl.org/ + 174. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 175. http://www.stunnel.org/ + 176. http://stunnel.mirt.net/ + 177. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 178. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 179. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA + 180. http://www.karlrunge.com/x11vnc/ssl.html + 181. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 182. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 183. http://www.karlrunge.com/x11vnc/ssvnc.html + 184. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 185. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 186. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 187. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 188. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 189. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 190. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 191. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 192. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 193. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 194. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 195. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 196. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 197. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 198. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer + 199. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 200. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 201. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, + 202. http://www.karlrunge.com/x11vnc/prevrels.html + 203. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 204. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache + 205. http://www.tightvnc.com/ + 206. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 207. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 208. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 209. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 210. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg + 211. http://wwws.sun.com/sunray/index.html + 212. http://www.karlrunge.com/x11vnc/sunray.html + 213. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 214. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 215. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 216. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 217. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 218. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 219. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 220. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 221. mailto:xvml@karlrunge.com + 222. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 223. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 224. http://www.karlrunge.com/x11vnc/index.html#faq-build + 225. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest + 226. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 227. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 228. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 229. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts + 230. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 231. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 232. http://www.karlrunge.com/x11vnc/index.html#faq-change-port + 233. http://www.karlrunge.com/x11vnc/index.html#faq-firewalls + 234. http://www.karlrunge.com/x11vnc/index.html#faq-firewall-out + 235. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg + 236. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe + 237. http://www.karlrunge.com/x11vnc/index.html#faq-tight139 + 238. http://www.karlrunge.com/x11vnc/index.html#faq-krdcprob + 239. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations + 240. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 241. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp + 242. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb + 243. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 244. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 245. http://www.karlrunge.com/x11vnc/index.html#faq-directcolor + 246. http://www.karlrunge.com/x11vnc/index.html#faq-windowid + 247. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id + 248. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp + 249. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 250. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 251. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays + 252. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg + 253. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control + 254. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 255. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho + 256. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 257. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd + 258. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 259. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords + 260. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared + 261. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 262. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 263. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface + 264. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost + 265. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt + 266. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 267. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt + 268. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy + 269. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock + 270. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix + 271. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty + 272. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 273. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 274. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 275. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 276. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 277. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca + 278. http://www.karlrunge.com/x11vnc/index.html#faq-service + 279. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 280. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 281. http://www.karlrunge.com/x11vnc/index.html#faq-avahi + 282. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 283. http://www.karlrunge.com/x11vnc/index.html#faq-loop + 284. http://www.karlrunge.com/x11vnc/index.html#faq-java-http + 285. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 286. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy + 287. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 288. http://www.karlrunge.com/x11vnc/index.html#faq-headless + 289. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 290. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource + 291. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource + 292. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link + 293. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage + 294. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl + 295. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 296. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 297. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 298. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 299. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape + 300. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha + 301. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 302. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow + 303. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions + 304. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt + 305. http://www.karlrunge.com/x11vnc/index.html#faq-altgr + 306. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 307. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy + 308. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 309. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys + 310. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still + 311. http://www.karlrunge.com/x11vnc/index.html#faq-mod-stuck-down + 312. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt + 313. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta + 314. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key + 315. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click + 316. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 317. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 318. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 319. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 320. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen + 321. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen + 322. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 323. http://www.karlrunge.com/x11vnc/index.html#faq-rotate + 324. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen + 325. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 326. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars + 327. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver + 328. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 329. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 330. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 331. http://www.karlrunge.com/x11vnc/index.html#faq-video + 332. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 333. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 + 334. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 335. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 336. http://www.karlrunge.com/x11vnc/index.html#faq-os-install + 337. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard + 338. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf + 339. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 340. http://www.karlrunge.com/x11vnc/index.html#faq-ultravnc + 341. http://www.karlrunge.com/x11vnc/index.html#faq-singleclick + 342. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares + 343. http://www.karlrunge.com/x11vnc/index.html#faq-cups + 344. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 345. http://www.karlrunge.com/x11vnc/index.html#faq-beeps + 346. http://www.karlrunge.com/x11vnc/index.html#faq-ipv6 + 347. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 349. http://www.tldp.org/HOWTO/Remote-X-Apps.html + 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 351. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 354. http://www.karlrunge.com/x11vnc/index.html#firewalls + 355. http://www.karlrunge.com/x11vnc/miscbuild.html + 356. http://www.karlrunge.com/x11vnc/index.html#libssl-problems + 357. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 358. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html + 359. http://www.karlrunge.com/x11vnc/index.html#building + 360. http://www.karlrunge.com/x11vnc/index.html#faq-build + 361. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 362. http://dag.wieers.com/packages/x11vnc/ + 363. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 364. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 365. http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_Sessions + 366. http://gentoo-portage.com/x11-misc/x11vnc + 367. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 368. http://www.freshports.org/net/x11vnc + 369. http://pkgsrc.se/x11/x11vnc + 370. http://www.archlinux.org/packages/search/?q=x11vnc + 371. http://mike.saunby.googlepages.com/ + 372. http://www.focv.com/ipkg/ + 373. http://packages.debian.org/x11vnc + 374. http://www.sunfreeware.com/ + 375. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 376. http://www.karlrunge.com/x11vnc/bins + 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 378. http://www.tightvnc.com/download.html + 379. http://www.realvnc.com/download-free.html + 380. http://sourceforge.net/projects/cotvnc/ + 381. http://www.ultravnc.com/ + 382. http://www.karlrunge.com/x11vnc/ssvnc.html + 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 385. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-autoport + 388. http://www.karlrunge.com/x11vnc/index.html#firewalls + 389. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 390. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel + 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 392. http://www.karlrunge.com/x11vnc/vncxfer + 393. http://www.karlrunge.com/x11vnc/index.html#firewalls + 394. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy + 395. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 396. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel + 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssh + 398. http://www.karlrunge.com/x11vnc/ssvnc.html + 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o + 402. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389750 + 403. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399408 + 404. http://bugs.kde.org/show_bug.cgi?id=136924 + 405. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb + 407. http://fredrik.hubbe.net/x2vnc.html + 408. http://www.hubbe.net/~hubbe/win2vnc.html + 409. http://www.deboer.gmxhome.de/ + 410. http://sourceforge.net/projects/win2vnc/ + 411. http://fredrik.hubbe.net/x2vnc.html + 412. http://freshmeat.net/projects/x2x/ + 413. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 414. http://zapek.com/software/zvnc/ + 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual + 416. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor + 420. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 422. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 426. http://www.karlrunge.com/x11vnc/ssvnc.html - 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 431. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 432. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 433. http://wwws.sun.com/sunray/index.html - 434. http://www.karlrunge.com/x11vnc/sunray.html - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all - 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 447. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 458. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 461. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 462. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 464. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 473. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 476. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 478. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 479. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 482. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 483. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 492. ftp://ftp.x.org/ - 493. http://www.karlrunge.com/x11vnc/dtVncPopup - 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 497. http://www.karlrunge.com/x11vnc/blockdpy.c - 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms - 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms - 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkbd - 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr - 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 431. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid + 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 435. http://www.karlrunge.com/x11vnc/ssvnc.html + 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 440. http://www.karlrunge.com/x11vnc/index.html#xauth_pain + 441. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 442. http://wwws.sun.com/sunray/index.html + 443. http://www.karlrunge.com/x11vnc/sunray.html + 444. http://wiki.sun-rays.org/index.php/Remote_Control_Toolkit + 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys + 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all + 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 454. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd + 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 458. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd + 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd + 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 472. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 473. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel + 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 475. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 484. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared + 487. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 489. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 490. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 493. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 494. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly + 503. ftp://ftp.x.org/ + 504. http://www.karlrunge.com/x11vnc/dtVncPopup 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 507. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 508. http://www.karlrunge.com/x11vnc/ssvnc.html - 509. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 510. http://www.karlrunge.com/x11vnc/ssvnc.html - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 514. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 515. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 517. http://www.stunnel.org/ - 518. http://stunnel.mirt.net/ - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 522. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 523. http://www.stunnel.org/ - 524. http://www.karlrunge.com/x11vnc/ssl.html - 525. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 526. http://www.karlrunge.com/x11vnc/ssvnc.html - 527. http://www.karlrunge.com/x11vnc/ssl.html - 528. http://www.securityfocus.com/infocus/1677 - 529. http://www.karlrunge.com/x11vnc/ssl.html - 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 531. http://sc.uvnc.com/javaviewer/index.html - 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 533. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 540. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 541. http://www.karlrunge.com/x11vnc/ssvnc.html - 542. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 508. http://www.karlrunge.com/x11vnc/blockdpy.c + 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms + 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms + 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkbd + 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 518. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 519. http://www.karlrunge.com/x11vnc/ssvnc.html + 520. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 521. http://www.karlrunge.com/x11vnc/ssvnc.html + 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 525. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh + 526. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 528. http://www.stunnel.org/ + 529. http://stunnel.mirt.net/ + 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 533. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 534. http://www.stunnel.org/ + 535. http://www.karlrunge.com/x11vnc/ssl.html + 536. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 537. http://www.karlrunge.com/x11vnc/ssvnc.html + 538. http://www.karlrunge.com/x11vnc/ssl.html + 539. http://www.securityfocus.com/infocus/1677 + 540. http://www.karlrunge.com/x11vnc/ssl.html + 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 542. http://sc.uvnc.com/javaviewer/index.html 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 545. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 547. http://www.openssl.org/ - 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 549. http://www.stunnel.org/ - 550. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 551. http://www.karlrunge.com/x11vnc/index.html#ssl-vnc-viewers - 552. http://www.karlrunge.com/x11vnc/ssl.html - 553. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 554. http://www.karlrunge.com/x11vnc/ssl.html - 555. http://www.karlrunge.com/x11vnc/index.html#viewer-side-stunnel - 556. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 557. http://www.karlrunge.com/x11vnc/ssvnc.html - 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 560. http://sc.uvnc.com/javaviewer/index.html - 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 563. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 564. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 565. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 566. http://www.karlrunge.com/x11vnc/index.html#firewalls - 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 568. http://www.karlrunge.com/x11vnc/ssl-output.html - 569. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 570. http://www.karlrunge.com/x11vnc/ss_vncviewer - 571. http://www.karlrunge.com/x11vnc/ssl-portal.html - 572. http://www.karlrunge.com/x11vnc/ssl.html - 573. http://www.karlrunge.com/x11vnc/ssvnc.html - 574. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 575. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 576. http://www.karlrunge.com/x11vnc/ssvnc.html - 577. http://www.karlrunge.com/x11vnc/ssl-portal.html - 578. http://www.karlrunge.com/x11vnc/ssl.html - 579. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 580. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 581. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 582. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 583. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset - 584. http://www.karlrunge.com/x11vnc/index.html#firewalls - 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 586. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 588. http://www.jirka.org/gdm-documentation/x241.html - 589. http://www.karlrunge.com/x11vnc/x11vnc_loop - 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 591. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 592. http://www.karlrunge.com/x11vnc/index.html#firewalls - 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 596. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi - 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-mdns - 599. http://www.avahi.org/ - 600. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 603. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 544. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 551. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 552. http://www.karlrunge.com/x11vnc/ssvnc.html + 553. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 556. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 558. http://www.openssl.org/ + 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 560. http://www.stunnel.org/ + 561. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 562. http://www.karlrunge.com/x11vnc/index.html#ssl-vnc-viewers + 563. http://www.karlrunge.com/x11vnc/ssl.html + 564. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 565. http://www.karlrunge.com/x11vnc/ssl.html + 566. http://www.karlrunge.com/x11vnc/index.html#viewer-side-stunnel + 567. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 568. http://www.karlrunge.com/x11vnc/ssvnc.html + 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 571. http://sc.uvnc.com/javaviewer/index.html + 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 574. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 575. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 576. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 577. http://www.karlrunge.com/x11vnc/index.html#firewalls + 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir + 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 580. http://www.karlrunge.com/x11vnc/ssl-output.html + 581. http://www.karlrunge.com/x11vnc/ssvnc.html + 582. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 583. http://www.karlrunge.com/x11vnc/ss_vncviewer + 584. http://www.karlrunge.com/x11vnc/ssl-portal.html + 585. http://www.karlrunge.com/x11vnc/ssl.html + 586. http://www.karlrunge.com/x11vnc/ssvnc.html + 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir + 588. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 589. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 590. http://www.karlrunge.com/x11vnc/ssvnc.html + 591. http://www.karlrunge.com/x11vnc/ssl-portal.html + 592. http://www.karlrunge.com/x11vnc/ssl.html + 593. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 594. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 595. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 596. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop + 597. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset + 598. http://www.karlrunge.com/x11vnc/index.html#firewalls + 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 600. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris + 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 602. http://www.jirka.org/gdm-documentation/x241.html + 603. http://www.karlrunge.com/x11vnc/x11vnc_loop 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 613. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 616. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 620. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 621. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 625. http://www.karlrunge.com/x11vnc/faq-linuxvc - 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 605. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 606. http://www.karlrunge.com/x11vnc/index.html#firewalls + 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 610. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi + 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-mdns + 613. http://www.avahi.org/ + 614. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 617. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 624. http://www.karlrunge.com/x11vnc/find_display.html + 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 628. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit - 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy - 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy - 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy - 639. http://www.karlrunge.com/x11vnc/index.html#localaccess - 640. http://www.karlrunge.com/x11vnc/index.html#localaccess - 641. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 642. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 646. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 647. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 648. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 649. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 650. http://www.karlrunge.com/x11vnc/Xdummy - 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 652. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 653. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 654. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 655. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 656. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 658. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 659. http://www.karlrunge.com/x11vnc/shm_clear - 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 662. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 663. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb - 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 668. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 670. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 674. http://www.tightvnc.com/ - 675. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 676. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 678. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 679. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 680. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 681. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive - 684. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 685. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 687. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 688. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 689. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 690. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 691. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 692. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 693. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 694. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 695. http://linpvr.org/minimyth/ - 696. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 697. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 698. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 699. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 700. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 701. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 702. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 703. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 704. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 705. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 706. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 707. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 708. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 709. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 710. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 711. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 712. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 713. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 714. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 715. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 716. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 717. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 718. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 719. http://www.karlrunge.com/x11vnc/index.html#beta-test - 720. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache - 721. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop - 722. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap - 723. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr - 724. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 725. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 726. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 727. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 728. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 729. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 730. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 731. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 732. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 733. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 734. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 735. http://www.karlrunge.com/x11vnc/ssvnc.html - 736. http://www.tightvnc.com/ - 737. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 738. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 739. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 740. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 741. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 742. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 743. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 744. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 745. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 746. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 747. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 748. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 749. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 750. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 751. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 752. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 753. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 754. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 755. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 756. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 757. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 758. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 759. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 760. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 761. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes - 762. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 763. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 764. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 765. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 766. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 767. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 768. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 769. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 770. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 771. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 772. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 773. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 774. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 775. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all - 776. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 777. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 778. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 631. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 635. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 636. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 639. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 640. http://www.karlrunge.com/x11vnc/faq-linuxvc + 641. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 642. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 646. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 647. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect + 652. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 653. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 654. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 655. http://www.karlrunge.com/x11vnc/index.html#localaccess + 656. http://www.karlrunge.com/x11vnc/index.html#localaccess + 657. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 658. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 659. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 663. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 664. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 665. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 666. http://www.karlrunge.com/x11vnc/Xdummy + 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 668. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 669. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 670. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 674. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 675. http://www.karlrunge.com/x11vnc/shm_clear + 676. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 678. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 679. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap + 680. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 681. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb + 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 684. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 685. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 687. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 688. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 689. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 690. http://www.tightvnc.com/ + 691. http://www.karlrunge.com/x11vnc/ssvnc.html + 692. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 693. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 694. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 695. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds + 696. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 697. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 698. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 699. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 700. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 701. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 702. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 703. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 704. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 705. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout + 706. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 707. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 708. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area + 709. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem + 710. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 711. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 712. http://linpvr.org/minimyth/ + 713. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 714. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 715. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 716. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 717. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 718. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 719. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 720. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 721. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 722. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 723. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 724. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 725. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 726. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 727. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 728. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 729. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 730. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 731. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 732. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 733. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip + 734. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 735. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 736. http://www.karlrunge.com/x11vnc/index.html#beta-test + 737. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache + 738. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop + 739. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap + 740. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr + 741. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 742. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 743. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 744. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode + 745. http://www.karlrunge.com/x11vnc/index.html#solaris10-build + 746. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 747. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut + 748. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac + 749. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove + 750. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 751. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend + 752. http://www.karlrunge.com/x11vnc/ssvnc.html + 753. http://www.tightvnc.com/ + 754. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 755. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos + 756. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 757. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 758. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 759. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer + 760. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 761. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 762. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 763. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 764. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 765. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 766. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 767. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 768. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 769. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 770. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 771. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 772. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 773. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 774. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 775. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 776. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 777. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 778. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes 779. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 780. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 781. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 780. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 781. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap 782. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 783. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 784. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 785. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all - 786. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 787. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 788. http://people.pwf.cam.ac.uk/ssb22/setup/vnc-magnification.html - 789. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 790. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 791. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 792. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 793. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 794. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 795. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 796. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 797. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 798. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 799. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 800. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 801. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 802. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 803. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 804. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 805. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 806. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 807. http://www.karlrunge.com/x11vnc/ssvnc.html - 808. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 809. http://www.jwz.org/xscreensaver/man1.html - 810. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 811. http://www.beryl-project.org/ - 812. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 813. http://www.dslinux.org/blogs/pepsiman/?p=73 - 814. http://linpvr.org/minimyth/ - 815. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 816. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 817. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 818. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 819. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 820. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 821. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 822. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 823. http://www.karlrunge.com/x11vnc/index.html#faq-video - 824. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 825. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 826. http://www.karlrunge.com/x11vnc/index.html#faq-video - 827. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 828. http://www.karlrunge.com/x11vnc/index.html#faq-video - 829. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 830. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 831. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 832. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 783. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 784. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 785. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 786. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 787. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 788. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 789. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 790. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 791. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 792. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all + 793. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 794. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 795. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 796. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 797. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 798. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 799. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 800. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 801. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 802. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_all + 803. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 804. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 805. http://people.pwf.cam.ac.uk/ssb22/setup/vnc-magnification.html + 806. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 807. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 808. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 809. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor + 810. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout + 811. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 812. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 813. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 814. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 815. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 816. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 817. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 818. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip + 819. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 820. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 821. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 822. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr + 823. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom + 824. http://www.karlrunge.com/x11vnc/ssvnc.html + 825. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 826. http://www.jwz.org/xscreensaver/man1.html + 827. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 828. http://www.beryl-project.org/ + 829. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 830. http://www.dslinux.org/blogs/pepsiman/?p=73 + 831. http://linpvr.org/minimyth/ + 832. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc 833. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 834. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 835. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 836. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 837. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 838. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 839. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 840. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 841. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 842. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 843. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 834. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 835. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 836. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 837. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 838. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 839. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 840. http://www.karlrunge.com/x11vnc/index.html#faq-video + 841. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 842. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 843. http://www.karlrunge.com/x11vnc/index.html#faq-video 844. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 845. http://www.redstonesoftware.com/vnc.html - 846. http://www.apple.com/remotedesktop/ - 847. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 848. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 849. http://fredrik.hubbe.net/x2vnc.html - 850. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 851. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 852. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 853. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 854. http://sourceforge.net/projects/vnc-reflector/ - 855. http://www.tightvnc.com/projector/ - 856. http://www.ultravnc.com/addons/repeater.html - 857. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 858. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 859. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 860. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 861. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 862. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 863. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 864. http://www.unixuser.org/~euske/vnc2swf/ - 865. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ - 866. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 867. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 868. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer - 869. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noultraext - 870. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms - 871. http://www.uvnc.com/addons/singleclick.html - 872. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 873. http://www.karlrunge.com/x11vnc/single-click.html - 874. http://www.karlrunge.com/x11vnc/single-click.html - 875. http://www.karlrunge.com/x11vnc/index.html#firewalls - 876. http://sc.uvnc.com/ - 877. http://www.karlrunge.com/x11vnc/ssvnc.html - 878. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 879. http://www.karlrunge.com/x11vnc/single-click.html - 880. http://www.karlrunge.com/x11vnc/ssvnc.html - 881. http://www.karlrunge.com/x11vnc/single-click.html - 882. http://www.karlrunge.com/x11vnc/ssl.html - 883. http://www.karlrunge.com/x11vnc/single-click.html - 884. http://www.karlrunge.com/x11vnc/single-click.html#libssl-problems - 885. http://www.samba.org/ + 845. http://www.karlrunge.com/x11vnc/index.html#faq-video + 846. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 847. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 848. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 849. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 850. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 851. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 852. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 853. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 854. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb + 855. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 856. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab + 857. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 858. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 859. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 860. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 861. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 862. http://www.redstonesoftware.com/vnc.html + 863. http://www.apple.com/remotedesktop/ + 864. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 865. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 866. http://fredrik.hubbe.net/x2vnc.html + 867. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 868. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 869. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 870. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 871. http://sourceforge.net/projects/vnc-reflector/ + 872. http://www.tightvnc.com/projector/ + 873. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 874. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 875. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 876. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 877. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary + 878. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir + 879. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 880. http://www.unixuser.org/~euske/vnc2swf/ + 881. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ + 882. http://www.karlrunge.com/x11vnc/ssvnc.html + 883. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer + 884. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 885. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer 886. http://www.karlrunge.com/x11vnc/ssvnc.html - 887. http://www.cups.org/ - 888. http://www.karlrunge.com/x11vnc/ssvnc.html - 889. http://www.karlrunge.com/x11vnc/ssvnc.html - 890. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 891. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 892. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 893. http://jungla.dit.upm.es/~acosta/paginas/vncIPv6.html + 887. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noultraext + 888. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms + 889. http://www.uvnc.com/addons/repeater.html + 890. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 891. http://www.uvnc.com/addons/singleclick.html + 892. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 893. http://www.karlrunge.com/x11vnc/single-click.html + 894. http://www.karlrunge.com/x11vnc/single-click.html + 895. http://www.karlrunge.com/x11vnc/index.html#firewalls + 896. http://sc.uvnc.com/ + 897. http://www.karlrunge.com/x11vnc/ssvnc.html + 898. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 899. http://www.karlrunge.com/x11vnc/single-click.html + 900. http://www.karlrunge.com/x11vnc/ssvnc.html + 901. http://www.karlrunge.com/x11vnc/single-click.html + 902. http://www.karlrunge.com/x11vnc/ssl.html + 903. http://www.karlrunge.com/x11vnc/single-click.html + 904. http://www.karlrunge.com/x11vnc/single-click.html#libssl-problems + 905. http://www.samba.org/ + 906. http://www.karlrunge.com/x11vnc/ssvnc.html + 907. http://www.cups.org/ + 908. http://www.karlrunge.com/x11vnc/ssvnc.html + 909. http://www.karlrunge.com/x11vnc/ssvnc.html + 910. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell + 911. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 912. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 913. http://jungla.dit.upm.es/~acosta/paginas/vncIPv6.html ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -9910,8 +9965,8 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: (e.g. extra passwords, packet filtering, SSL certificate verification, etc). - Also, it is easy miss the point that unless precautions are taken to - verify SSL Certificates, then the VNC Viewer is vulnerable to + Also, it is easy to miss the point that unless precautions are taken + to verify SSL Certificates, then the VNC Viewer is vulnerable to man-in-the-middle attacks (but not to the more common passive sniffing attacks). _________________________________________________________________ @@ -9924,12 +9979,14 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: or impossible to do entirely inside apache: * A single port, 443 (the default https:// port), is open to the Internet - * It is completely HTTPS/SSL encrypted + * It is HTTPS/SSL encrypted * It handles both VNC traffic and Java VNC Applet downloads. - * The server can also serve normal HTTPS webpages, CGI, etc. + * And the server can also serve normal HTTPS webpages, CGI, etc. - If you are interested in such a solution and are willing to run a - separate helper program (connect_switch) [5]look here. + It is the last item that makes it tricky (otherwise the method + described on this page will work). If you are interested in such a + solution and are willing to run a separate helper program + (connect_switch) [5]look here. _________________________________________________________________ Example: @@ -10264,12 +10321,12 @@ blah,blah... ss_vncviewer -proxy proxy1.foobar.com:8080,www.gateway.east:563 host1:15 For the [23]Enhanced TightVNC Viewer (ssvnc) GUI (it uses ss_vncviewer - on Unix) enter these into the 'VNC Server' entry box: - host1:15 www.gateway.east:563 - host1:15 proxy1.foobar.com:8080,www.gateway.east:563 + on Unix) put 'host1:15' into the 'VNC Server' entry box, and here are + possible Proxy/Gateway entries + Proxy/Gateway: www.gateway.east:563 + Proxy/Gateway: proxy1.foobar.com:8080,www.gateway.east:563 - then click on the 'Connect' button. You can now also put the proxy - item in the separate "Proxy/Gateway" entry box. + then click on the 'Connect' button. _________________________________________________________________ @@ -10689,33 +10746,36 @@ Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer) [1](To Downloads) [2](To Quick Start) - [ssvnc.gif] + [ssvnc.gif] [3]. [4]. - The Enhanced TightVNC Viewer package started as a project to add some - patches to the long neglected Unix TightVNC Viewer. However, now the - front-end GUI and wrapper scripts features dwarf the Unix TightVNC - Viewer patches (see the lists below). + The Enhanced TightVNC Viewer, SSVNC, adds encryption security to VNC + connections. - The project provides a GUI for Windows, Mac OS X, and Unix that + The package provides a GUI for Windows, Mac OS X, and Unix that automatically starts up an STUNNEL SSL tunnel for SSL or ssh for SSH - connections to [3]x11vnc, and then launches the TightVNC Viewer to use - the tunnel. + connections to [5]x11vnc (or other VNC server), and then launches the + TightVNC Viewer to use the encrypted tunnel. It also enables SSL encrypted VNC connections to any other VNC Server running an SSL tunnel, such as STUNNEL, at their end. It can be used to perform SSH tunnelled connections to any VNC Server as well. + The Enhanced TightVNC Viewer package started as a project to add some + patches to the long neglected Unix TightVNC Viewer. However, now the + front-end GUI, encryption, and wrapper scripts features dwarf the Unix + TightVNC Viewer patches (see the lists below). + The short name for this project is "ssvnc" for SSL/SSH VNC Viewer. This is the name of the command to start it. - There is a simplified [4]SSH-Only mode (sshvnc). And an even more - simplified [5]Terminal-Services mode (tsvnc) for use with x11vnc on + There is a simplified [6]SSH-Only mode (sshvnc). And an even more + simplified [7]Terminal-Services mode (tsvnc) for use with x11vnc on the remote side. The tool has many additional features; see the descriptions below. It is a self-contained bundle, you could carry it around on, say, a - [6]USB memory stick / flash drive for secure VNC viewing from almost + [8]USB memory stick / flash drive for secure VNC viewing from almost any machine, Unix, Mac OS X, and Windows (and if you create a directory named "Home" in the toplevel ssvnc directory on the drive your VNC profiles and certs will be kept there as well). @@ -10723,36 +10783,41 @@ Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer) Wrappers and a tcl/tk GUI were written and patches were created for the TightVNC 1.3.9 vnc_unixsrc tree to add these features: * SSL support for connections using the bundled stunnel program. - * Automatic SSH connections from the GUI (system ssh is used on - Unix; bundled plink is used on Windows) + * Automatic SSH connections from the GUI (system ssh is used on Unix + and MacOS X; bundled plink is used on Windows) * Ability to Save and Load VNC profiles for different hosts. * Create or Import SSL Certificates and Private Keys. + * Reverse (viewer listening) VNC connections via SSL and SSH. + * Support for Web [9]Proxies, SOCKS Proxies, and the [10]UltraVNC + repeater proxy (e.g. repeater://host:port+ID:1234). Multiple + proxies may be chained together (3 max). + * Support for SSH Gateway connections and non-standard SSH ports. + * You can also use your own VNC Viewer, e.g. UltraVNC or RealVNC, + with the SSVNC front-end if you like. * Automatic Service tunnelling via SSH for CUPS and SMB Printing, ESD/ARTSD Audio, and SMB (Windows/Samba) filesystem mounting. + * Sets up any additional SSH port redirections that you want. * Port Knocking for "closed port" SSH/SSL connections. In addition to a simple fixed port sequence and one-time-pad implementation, a hook is also provided to run any port knocking client before connecting. - * You can also use your own VNC Viewer, e.g. UltraVNC or RealVNC, - with the front-end if you like. - * Sets up any additional SSH port redirections that you want. * Support for native MacOS X usage with bundled Chicken of the VNC - viewer. - * Reverse (viewer listening) VNC connections via SSL and SSH. - * [7]Dynamic VNC Server Port determination and redirection (using - ssh's builtin SOCKS proxy, -D) for servers like x11vnc that print - out PORT= at startup. + viewer (the Unix X11 viewer is also provided for MacOS X, and is + better IMHO). + * [11]Dynamic VNC Server Port determination and redirection (using + ssh's builtin SOCKS proxy, ssh -D) for servers like x11vnc that + print out PORT= at startup. * Unix Username and Password entry for use with "x11vnc -unixpw" type login dialogs. - * Simplified mode launched by command "[8]sshvnc" that is SSH Only. - * Simplified mode launched by command "[9]tsvnc" that provides a VNC - "Terminal Services" mode (uses x11vnc on the remote side). + * Simplified mode launched by command "[12]sshvnc" that is SSH Only. + * Simplified mode launched by command "[13]tsvnc" that provides a + VNC "Terminal Services" mode (uses x11vnc on the remote side). - [10]Unix TightVNC Viewer improvements (these only apply to the Unix + [14]Unix TightVNC Viewer improvements (these only apply to the Unix VNC viewer): * rfbNewFBSize VNC support (dynamic screen resizing) * ZRLE VNC encoding support (RealVNC's encoding) - * Cursor [11]alphablending with x11vnc at 32bpp (-alpha option) + * Cursor [15]alphablending with x11vnc at 32bpp (-alpha option) * Option "-unixpw ..." for use with "x11vnc -unixpw" type login dialogs. * Support for UltraVNC extensions: 1/n Server side scaling, Text @@ -10761,18 +10826,20 @@ Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer) * UltraVNC File Transfer via an auxiliary Java helper program (java must be in $PATH). Note that x11vnc supports UltraVNC file transfer. + * Connection support for the [16]UltraVNC repeater proxy (-repeater + option). * Extremely low color modes: 64 and 8 colors in 8bpp (-use64/-bgr222, -use8/-bgr111) * Medium color mode: 16bpp mode on a 32bpp Viewer display (-16bpp/-bgr565) - * For use with x11vnc's [12]client-side caching -ncache method use + * For use with x11vnc's [17]client-side caching -ncache method use the cropping option -ycrop n. This will "hide" the large pixel buffer cache below the actual display. Set to the actual height or use -1 for autodetection (also, tall screens, H > 2*W, are autodetected by default). * Scrollbar width setting: -sbwidth n, the default is very thin, 2 pixels, for less distracting -ycrop usage. - * Improvements to the [13]Popup menu, all of these can now be + * Improvements to the [18]Popup menu, all of these can now be changed dynamically via the menu: ViewOnly, Toggle Bell, CursorShape updates, X11 Cursor, Cursor Alphablending, Toggle Tight/ZRLE, Toggle JPEG, FullColor/16bpp/8bpp (256/64/8 colors), @@ -10810,7 +10877,7 @@ Unix and Mac OS X: Unpack the archive: - % gzip -dc ssvnc-1.0.19.tar.gz | tar xvf - + % gzip -dc ssvnc-1.0.20.tar.gz | tar xvf - Run the GUI: @@ -10818,7 +10885,7 @@ Unix and Mac OS X: % ./ssvnc/MacOSX/ssvnc (for Mac OS X) - The smaller file "ssvnc_no_windows-1.0.19.tar.gz" + The smaller file "ssvnc_no_windows-1.0.20.tar.gz" could have been used as well. On MacOSX you could also click on the SSVNC app icon in the Finder. @@ -10828,6 +10895,7 @@ Unix and Mac OS X: have the XDarwin X server installed, you can set DISPLAY before starting ssvnc (or type DISPLAY=... in Host:Disp and hit Return). Then our enhanced TightVNC viewer will be used instead of COTVNC. + Update: there is now a 'Use X11 vncviewer on MacOSX' under Options ... If you want a SSH-only tool (without the distractions of SSL) run @@ -10865,7 +10933,7 @@ Windows: Unzip, using WinZip or a similar utility, the zip file: - ssvnc-1.0.19.zip + ssvnc-1.0.20.zip Run the GUI, e.g.: @@ -10877,7 +10945,7 @@ Windows: select Open, and then OK to launch it. - The smaller file "ssvnc_windows_only-1.0.19.zip" + The smaller file "ssvnc_windows_only-1.0.20.zip" could have been used as well. You can make a Windows shortcut to this program if you want to. @@ -10902,24 +10970,6 @@ Windows: between the two modes. "tsvnc profile-name" and "tsvnc user@hostname" work too. - Important Note for Windows Vista: One user reports that on Windows - Vista if you move or extract the "ssvnc" folder down to the "Program - Files" folder you will be prompted to do this as the Administrator. - But then when you start up ssvnc, as a regular user, it cannot create - files in that folder and so it fails to run properly. We recommend to - not copy or extract the "ssvnc" folder into "Program Files". Rather, - extract it to somewhere you have write permission (e.g. C:\ or your - User dir) and create a Shortcut to ssvnc.exe on the desktop. - - If you must put a launcher file down in "Program Files", perhaps an - "ssvnc.bat" that looks like this: -C: -cd \ssvnc\Windows -start ssvnc.exe - - Update: A simple workaround is now in place where it will copy - everything to a cache directory ss_vnc/cache in your Windows home - directory and run out of there. _________________________________________________________________ The bundle unpacks a directory/folder named: ssvnc. It contains these @@ -10931,14 +10981,14 @@ start ssvnc.exe (the Mac OS X and Unix launchers are simply links to the bin directory). See the README for more information. - The [14]SSH-Only mode launcher program has name sshvnc. The - [15]Terminal Services mode launcher program (assumes x11vnc 0.8.4 or + The [19]SSH-Only mode launcher program has name sshvnc. The + [20]Terminal Services mode launcher program (assumes x11vnc 0.8.4 or later and Xvfb installed on the server machine) has name tsvnc. The Viewer SSL support is done via a wrapper script (bin/ssvnc_cmd that calls bin/util/ss_vncviewer) that starts up the STUNNEL tunnel first and then starts the TightVNC viewer pointed at that tunnel. The - bin/ssvnc program is a GUI front-end to that script. See [16]this FAQ + bin/ssvnc program is a GUI front-end to that script. See [21]this FAQ for more details on SSL tunnelling. In SSH connection mode, the wrappers start up SSH appropriately. @@ -10985,7 +11035,7 @@ start \ssvnc\Windows\ssvnc.exe switch from the regular SSVNC mode, click "Terminal Services" under Options. - This mode requires [17]x11vnc (0.9.3 or later) installed on the remote + This mode requires [22]x11vnc (0.9.3 or later) installed on the remote machine to find, create, and manage the user sessions. SSH is used to create the encrypted and authenticated tunnel. The Xvfb (virtual framebuffer X server) program must also be installed on the remote @@ -11003,7 +11053,7 @@ start \ssvnc\Windows\ssvnc.exe press "Connect"). Normally the Terminal Services sessions created are virtual (RAM-only) - ones (e.g. Xvfb, [18]Xdummy, or Xvnc), however a nice feature is if + ones (e.g. Xvfb, [23]Xdummy, or Xvnc), however a nice feature is if you have a regular X session (i.e displaying on the physical hardware) on the remote machine that you are ALREADY logged into, then the x11vnc run from tsvnc will find it for you as well. @@ -11021,6 +11071,12 @@ start \ssvnc\Windows\ssvnc.exe started desktop and that is more difficult. + Proxies: Web proxies, SOCKS proxies, and the UltraVNC repeater proxy + are supported to allow the SSVNC connection to go through the proxy to + the otherwise unreachable VNC Server. SSH gateway machines can be used + in the same way. Read [24]more about SSVNC proxy support here. + + Dynamic VNC Server Port determination: If you are running SSVNC on Unix and are using SSH to start the remote VNC server and the VNC server prints out the line "PORT=NNNN" to indicate which dynamic port @@ -11045,7 +11101,7 @@ or: PORT= vncserver :4; sleep 15 sessions if called repeatedly. If you use PORT= on Windows, a large random port is selected instead - and the [19]-rfbport option is passed to x11vnc (it does not work with + and the [25]-rfbport option is passed to x11vnc (it does not work with vncserver). @@ -11056,7 +11112,7 @@ or: PORT= vncserver :4; sleep 15 resize when the server does (e.g. "x11vnc -R scale=3/4" remote control command). - The cursor alphablending is [20]described here. + The cursor alphablending is [26]described here. The RealVNC ZRLE encoding is supported, in addition to some low colors modes (16bpp and 8bpp at 256, 64, and even 8 colors, for use on very @@ -11066,7 +11122,7 @@ or: PORT= vncserver :4; sleep 15 The Popup menu (F8) is enhanced with the ability to change many things on the fly. F9 is added as a shortcut to toggle FullScreen mode. - Client Side Caching: The x11vnc [21]client-side caching is handled + Client Side Caching: The x11vnc [27]client-side caching is handled nicely by this viewer. The very large pixel cache below the actual display in this caching method is distracting. Our Unix VNC viewer will automatically try to autodetect the actual display height if the @@ -11079,13 +11135,45 @@ or: PORT= vncserver :4; sleep 15 scrollbars are set to be very thin (2 pixels) to be less distracting. Use the -sbwidth n to make them wider. - Probably nobody is interested in the [22]grabserver patch for old + Probably nobody is interested in the [28]grabserver patch for old window managers when the viewer is in fullscreen mode... This and some other unfixed bugs have been fixed in our patches (fullscreen toggle works with KDE, -x11cursor has been fixed, and the dot cursor has been made smaller). From the -help output: +TightVNC viewer version 1.3.9 (SSVNC) + +Usage: ./vncviewer [<OPTIONS>] [<HOST>][:<DISPLAY#>] + ./vncviewer [<OPTIONS>] [<HOST>][::<PORT#>] + ./vncviewer [<OPTIONS>] -listen [<DISPLAY#>] + ./vncviewer -help + +<OPTIONS> are standard Xt options, or: + -via <GATEWAY> + -shared (set by default) + -noshared + -viewonly + -fullscreen + -noraiseonbeep + -passwd <PASSWD-FILENAME> (standard VNC authentication) + -user <USERNAME> (Unix login authentication) + -encodings <ENCODING-LIST> (e.g. "tight copyrect") + -bgr233 + -owncmap + -truecolour + -depth <DEPTH> + -compresslevel <COMPRESS-VALUE> (0..9: 0-fast, 9-best) + -quality <JPEG-QUALITY-VALUE> (0..9: 0-low, 9-high) + -nojpeg + -nocursorshape + -x11cursor + -autopass + +Option names may be abbreviated, e.g. -bgr instead of -bgr233. +See the manual page for more information. + + Enhanced TightVNC viewer (SSVNC) options: URL http://www.karlrunge.com/x11vnc/ssvnc.html @@ -11185,6 +11273,12 @@ Enhanced TightVNC viewer (SSVNC) options: it is taken as username@password. Otherwise, the program exits with an error. Got all that? + -repeater str This is for use with UltraVNC repeater proxy described + here: http://www.uvnc.com/addons/repeater.html. The "str" + is the ID string to be sent to the repeater. E.g. ID:1234 + In this case host:dpy on the command line is the repeater + server, not the VNC server. The repeater will connect you. + New Popup actions: ViewOnly: ~ -viewonly @@ -11243,7 +11337,7 @@ Enhanced TightVNC viewer (SSVNC) options: _________________________________________________________________ Hopefully this tool will make it convenient for people to help test - and use the [23]built-in SSL support in x11vnc. Extra testing of this + and use the [29]built-in SSL support in x11vnc. Extra testing of this feature is much appreciated!! Thanks. Please Help Test the newly added features: @@ -11256,47 +11350,41 @@ Enhanced TightVNC viewer (SSVNC) options: Server machine, and to mount your local Windows or Samba shares on the remote VNC Server machine. Basically these new features try to automate the tricks described here: - [24]http://www.karlrunge.com/x11vnc/#faq-smb-shares - [25]http://www.karlrunge.com/x11vnc/#faq-cups - [26]http://www.karlrunge.com/x11vnc/#faq-sound + [30]http://www.karlrunge.com/x11vnc/#faq-smb-shares + [31]http://www.karlrunge.com/x11vnc/#faq-cups + [32]http://www.karlrunge.com/x11vnc/#faq-sound _________________________________________________________________ Downloading: This project can be downloaded here, choose the archive file bundle that best suits you (e.g. no source code, windows only, unix only, zip, tar etc): - [27]ssvnc_windows_only-1.0.19.zip Windows Binaries Only. No source incl + [33]ssvnc_windows_only-1.0.20.zip Windows Binaries Only. No source incl uded (~6MB) - [28]ssvnc_no_windows-1.0.19.tar.gz Unix and Mac OS X Only. No Windows bin + [34]ssvnc_no_windows-1.0.20.tar.gz Unix and Mac OS X Only. No Windows bin aries. Source included. (~6MB) - [29]ssvnc_unix_only-1.0.19.tar.gz Unix Binaries Only. No source incl + [35]ssvnc_unix_only-1.0.20.tar.gz Unix Binaries Only. No source incl uded. (~3.5MB) - [30]ssvnc_unix_minimal-1.0.19.tar.gz Unix Minimal. You must supply your ow + [36]ssvnc_unix_minimal-1.0.20.tar.gz Unix Minimal. You must supply your ow n vncviewer and stunnel. (~0.1MB) - [31]ssvnc-1.0.19.tar.gz All Unix, Mac OS X, and Windows binari + [37]ssvnc-1.0.20.tar.gz All Unix, Mac OS X, and Windows binari es and source TGZ. (~11MB) - [32]ssvnc-1.0.19.zip All Unix, Mac OS X, and Windows binari + [38]ssvnc-1.0.20.zip All Unix, Mac OS X, and Windows binari es and source ZIP. (~11MB) - [33]ssvnc_all-1.0.19.zip All Unix, Mac OS X, and Windows binari + [39]ssvnc_all-1.0.20.zip All Unix, Mac OS X, and Windows binari es and source AND full archives in the zip dir. (~15MB) - You can try for an older one by replacing, e.g. ".19" by ".11", etc. + You can try for an older one by replacing, e.g. ".20" by ".15", etc. Here are the corresponding development bundles: - [34]ssvnc_windows_only-1.0.20.zip - [35]ssvnc_no_windows-1.0.20.tar.gz - [36]ssvnc_unix_only-1.0.20.tar.gz - [37]ssvnc_unix_minimal-1.0.20.tar.gz - [38]ssvnc-1.0.20.tar.gz - [39]ssvnc-1.0.20.zip - [40]ssvnc_all-1.0.20.zip + Coming soon... Please help test the UltraVNC File Transfer support in the native Unix VNC viewer! Let us know how it went. A self-extracting and running file for the "ssvnc_unix_minimal" - package is here: [41]ssvnc. Save it as filename "ssvnc", type "chmod + package is here: [40]ssvnc. Save it as filename "ssvnc", type "chmod 755 ./ssvnc", and then launch the GUI via typing "./ssvnc". Note that this "ssvnc_unix_minimal" mode requires you install the "stunnel" and "vncviewer" programs externally (for example, install your distros' @@ -11304,16 +11392,17 @@ es and source AND full archives in the zip dir. (~15MB) Current Unix binaries in the archives: FreeBSD.i386 - Linux.alpha Linux.i686 - Linux.ppc64 Linux.x86_64 - NetBSD.i386 - OpenBSD.i386 + Linux.ppc64 + Linux.alpha SunOS.sun4u SunOS.i86pc Darwin.Power.Macintosh Darwin.i386 + HP-UX.9000 + NetBSD.i386 + OpenBSD.i386 (some of these are out of date because I no longer have access to machines running those OS's). @@ -11336,13 +11425,13 @@ es and source AND full archives in the zip dir. (~15MB) redistribute the above because of cryptographic software they contain or for other reasons. Please check out your situation and information at the following and related sites: - [42]http://www.stunnel.org - [43]http://stunnel.mirt.net - [44]http://www.openssl.org - [45]http://www.chiark.greenend.org.uk/~sgtatham/putty/ - [46]http://www.tightvnc.com - [47]http://www.realvnc.com - [48]http://sourceforge.net/projects/cotvnc/ + [41]http://www.stunnel.org + [42]http://stunnel.mirt.net + [43]http://www.openssl.org + [44]http://www.chiark.greenend.org.uk/~sgtatham/putty/ + [45]http://www.tightvnc.com + [46]http://www.realvnc.com + [47]http://sourceforge.net/projects/cotvnc/ _________________________________________________________________ Here is the toplevel README from the bundle: @@ -11526,7 +11615,7 @@ Unix and Mac OS X: Unpack the archive: - % gzip -dc ssvnc-1.0.19.tar.gz | tar xvf - + % gzip -dc ssvnc-1.0.20.tar.gz | tar xvf - Run the GUI: @@ -11534,7 +11623,7 @@ Unix and Mac OS X: % ./ssvnc/MacOSX/ssvnc (for Mac OS X) - The smaller file "ssvnc_no_windows-1.0.19.tar.gz" + The smaller file "ssvnc_no_windows-1.0.20.tar.gz" could have been used as well. On MacOSX you could also click on the SSVNC app icon in the Finder. @@ -11544,6 +11633,7 @@ Unix and Mac OS X: have the XDarwin X server installed, you can set DISPLAY before starting ssvnc (or type DISPLAY=... in Host:Disp and hit Return). Then our enhanced TightVNC viewer will be used instead of COTVNC. + Update: there is now a 'Use X11 vncviewer on MacOSX' under Options ... If you want a SSH-only tool (without the distractions of SSL) run @@ -11581,7 +11671,7 @@ Windows: Unzip, using WinZip or a similar utility, the zip file: - ssvnc-1.0.19.zip + ssvnc-1.0.20.zip Run the GUI, e.g.: @@ -11593,7 +11683,7 @@ Windows: select Open, and then OK to launch it. - The smaller file "ssvnc_windows_only-1.0.19.zip" + The smaller file "ssvnc_windows_only-1.0.20.zip" could have been used as well. You can make a Windows shortcut to this program if you want to. @@ -11892,52 +11982,51 @@ References 1. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#download 2. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#quickstart - 3. http://www.karlrunge.com/x11vnc/index.html - 4. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc - 5. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc - 6. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#memory-stick - 7. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#dynamic-port - 8. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc - 9. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc - 10. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#unix-patches - 11. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 12. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 13. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#popup - 14. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc - 15. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc - 16. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 17. http://www.karlrunge.com/x11vnc/index.html - 18. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 19. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 20. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 21. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 22. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 23. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 24. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares - 25. http://www.karlrunge.com/x11vnc/index.html#faq-cups - 26. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 27. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.19.zip - 28. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.19.tar.gz - 29. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.19.tar.gz - 30. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.19.tar.gz - 31. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.19.tar.gz - 32. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.19.zip - 33. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.19.zip - 34. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.20.zip - 35. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.20.tar.gz - 36. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.20.tar.gz - 37. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.20.tar.gz - 38. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.20.tar.gz - 39. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.20.zip - 40. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.20.zip - 41. http://www.karlrunge.com/x11vnc/etv/ssvnc - 42. http://www.stunnel.org/ - 43. http://stunnel.mirt.net/ - 44. http://www.openssl.org/ - 45. http://www.chiark.greenend.org.uk/~sgtatham/putty/ - 46. http://www.tightvnc.com/ - 47. http://www.realvnc.com/ - 48. http://sourceforge.net/projects/cotvnc/ + 3. http://www.karlrunge.com/x11vnc/admwtp.html + 4. http://cell.runges.net/b.w + 5. http://www.karlrunge.com/x11vnc/index.html + 6. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc + 7. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc + 8. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#memory-stick + 9. http://www.karlrunge.com/x11vnc/ssvnc-proxies.html + 10. http://www.uvnc.com/addons/repeater.html + 11. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#dynamic-port + 12. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc + 13. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc + 14. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#unix-patches + 15. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 16. http://www.uvnc.com/addons/repeater.html + 17. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 18. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#popup + 19. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#sshvnc + 20. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#tsvnc + 21. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 22. http://www.karlrunge.com/x11vnc/index.html + 23. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 24. http://www.karlrunge.com/x11vnc/ssvnc-proxies.html + 25. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 26. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 27. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 28. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 29. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 30. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares + 31. http://www.karlrunge.com/x11vnc/index.html#faq-cups + 32. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 33. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.20.zip + 34. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.20.tar.gz + 35. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.20.tar.gz + 36. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.20.tar.gz + 37. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.20.tar.gz + 38. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.20.zip + 39. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.20.zip + 40. http://www.karlrunge.com/x11vnc/etv/ssvnc + 41. http://www.stunnel.org/ + 42. http://stunnel.mirt.net/ + 43. http://www.openssl.org/ + 44. http://www.chiark.greenend.org.uk/~sgtatham/putty/ + 45. http://www.tightvnc.com/ + 46. http://www.realvnc.com/ + 47. http://sourceforge.net/projects/cotvnc/ ======================================================================= http://www.karlrunge.com/x11vnc/x11vnc_opts.html: @@ -11950,7 +12039,7 @@ x11vnc: a VNC server for real X displays Here are all of x11vnc command line options: % x11vnc -opts (see below for -help long descriptions) -x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2008-02-17 +x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2008-05-07 x11vnc options: -display disp -auth file -N @@ -12069,7 +12158,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2008-02-17 +x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2008-05-07 (type "x11vnc -opts" to just list the options.) @@ -12478,6 +12567,47 @@ Options: Be careful about the location of this file if x11vnc is running as root (e.g. via gdm(1), etc). + + Repeater mode: Some services provide an intermediate + "vnc repeater": http://www.uvnc.com/addons/repeater.html + (and also http://koti.mbnet.fi/jtko/ for linux port) + that acts as a proxy / gateway. Modes like these requir +e + an initial string to be sent for the reverse connection + before the VNC protocol is started. Here are the ways + to do this: + + -connect pre=some_string+host:port + -connect pre128=some_string+host:port + -connect repeater=ID:1234+host:port + -connect repeater=23.45.67.89::5501+host:port + + SSVNC notation is also supported: + + -connect repeater://host:port+ID:1234 + + As with normal -connect usage, if the repeater port is + not supplied 5500 is assumed. + + The basic idea is between the special tag, e.g. "pre=" + and "+" is the pre-string to be sent. Note that in + this case host:port is the repeater server, NOT the + vnc viewer. Somehow the pre-string tells the repeater + server how to find the vnc viewer and connect you to it. + + In the case pre=some_string+host:port, "some_string" + is simply sent. In the case preNNN=some_string+host:port + "some_string" is sent in a null padded buffer of + length NNN. repeater= is the same as pre250=, this is + the ultravnc repeater buffer size. + + Strings like "\n" and "\r", etc. are expanded to + newline and carriage return. "\c" is expanded to + "," since the connect string is comma separated. + + See also the -proxy option below for additional ways + to plumb reverse connections. + -connect_or_exit str As with -connect, except if none of the reverse connections succeed, then x11vnc shutdowns immediately. @@ -12943,6 +13073,10 @@ Options: and so "-ssl SAVE -redirect host:port" can act as a replacement for stunnel(1). + This mode only allows one redirected connection. + The -forever option does not apply. Use -inetd or + -loop for persistant service. + -display_WAIT :... A special usage mode for the normal -display option. Useful with -unixpw, but can be used independently of it. If the display string begins with WAIT: then @@ -15119,8 +15253,8 @@ t -forcedpms If the system supports the DPMS (Display Power Management Signaling) extension, then try to keep the monitor in a powered off state. This is to prevent - nosey people at the physical display from viewing - what is on the screen. Be sure lock the screen before + nosey people at the physical display from viewing what + is on the screen. Be sure to lock the screen before disconnecting. This method is far from bullet proof, e.g. suppose @@ -15195,7 +15329,11 @@ t -threads Whether or not to use the threaded libvncserver -nothreads algorithm [rfbRunEventLoop] if libpthread is available - Default: -nothreads + Default: -nothreads. NOTE: The -threads mode is now + disabled due to its unstable behavior. Not recommended, + but you can recompile with -DX11VNC_THREADED in + CPPFLAGS if you need to use it. You can also set the + env. variable X11VNC_THREADED=1 -fs f If the fraction of changed tiles in a poll is greater than f, the whole screen is updated. Default: 0.75 diff --git a/x11vnc/connections.c b/x11vnc/connections.c index ae1df82..2381ef2 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -2149,15 +2149,95 @@ static int proxy_connect(char *host, int port) { return psock; } +char *get_repeater_string(char *str, int *len) { + int pren, which = 0; + int prestring_len = 0; + char *prestring = NULL, *ptmp = NULL; + char *equals = strchr(str, '='); + char *plus = strrchr(str, '+'); + + *len = 0; + if (!plus || !equals) { + return NULL; + } + + *plus = '\0'; + if (strstr(str, "repeater=") == str) { + /* ultravnc repeater http://www.uvnc.com/addons/repeater.html */ + prestring_len = 250; + ptmp = (char *) calloc(prestring_len+1, 1); + snprintf(ptmp, 250, "%s", str + strlen("repeater=")); + which = 1; + } else if (strstr(str, "pre=") == str) { + prestring_len = strlen(str + strlen("pre=")); + ptmp = (char *) calloc(prestring_len+1, 1); + snprintf(ptmp, prestring_len+1, "%s", str + strlen("pre=")); + which = 2; + } else if (sscanf(str, "pre%d=", &pren) == 1) { + if (pren > 0 && pren <= 16384) { + prestring_len = pren; + ptmp = (char *) calloc(prestring_len+1, 1); + snprintf(prestring, prestring_len, "%s", equals+1); + which = 3; + } + } + if (ptmp != NULL) { + int i, k = 0; + char *p = ptmp; + prestring = (char *)calloc(prestring_len+1, 1); + /* translate \n to newline, etc. */ + for (i=0; i < prestring_len; i++) { + if (i < prestring_len-1 && *(p+i) == '\\') { + if (*(p+i+1) == 'r') { + prestring[k++] = '\r'; i++; + } else if (*(p+i+1) == 'n') { + prestring[k++] = '\n'; i++; + } else if (*(p+i+1) == 't') { + prestring[k++] = '\t'; i++; + } else if (*(p+i+1) == 'a') { + prestring[k++] = '\a'; i++; + } else if (*(p+i+1) == 'b') { + prestring[k++] = '\b'; i++; + } else if (*(p+i+1) == 'v') { + prestring[k++] = '\v'; i++; + } else if (*(p+i+1) == 'f') { + prestring[k++] = '\f'; i++; + } else if (*(p+i+1) == '\\') { + prestring[k++] = '\\'; i++; + } else if (*(p+i+1) == 'c') { + prestring[k++] = ','; i++; + } else { + prestring[k++] = *(p+i); + } + } else { + prestring[k++] = *(p+i); + } + } + if (which == 2) { + prestring_len = k; + } + if (!quiet) { + rfbLog("-connect prestring: '%s'\n", prestring); + } + free(ptmp); + } + *plus = '+'; + + *len = prestring_len; + return prestring; +} + /* * Do a reverse connect for a single "host" or "host:port" */ extern int ssl_client_mode; -static int do_reverse_connect(char *str) { +static int do_reverse_connect(char *str_in) { rfbClientPtr cl; - char *host, *p; + char *host, *p, *str = str_in, *s = NULL; + char *prestring = NULL; + int prestring_len = 0; int rport = 5500, len = strlen(str); if (len < 1) { @@ -2173,6 +2253,24 @@ static int do_reverse_connect(char *str) { } if (unixpw_in_progress) return 0; + /* look for repeater pre-string */ + if (strchr(str, '=') && strrchr(str, '+') + && (strstr(str, "pre") == str || strstr(str, "repeater=") == str)) { + prestring = get_repeater_string(str, &prestring_len); + str = strrchr(str, '+') + 1; + } else if (strrchr(str, '+') && strstr(str, "repeater://") == str) { + /* repeater://host:port+string */ + /* repeater=string+host:port */ + char *plus = strrchr(str, '+'); + str = (char *) malloc(strlen(str_in)+1); + s = str; + *plus = '\0'; + sprintf(str, "repeater=%s+%s", plus+1, str_in + strlen("repeater://")); + prestring = get_repeater_string(str, &prestring_len); + str = strrchr(str, '+') + 1; + *plus = '+'; + } + /* copy in to host */ host = (char *) malloc(len+1); if (! host) { @@ -2204,10 +2302,15 @@ static int do_reverse_connect(char *str) { rfbLog("reverse_connect: failed to connect to: %s\n", str); return 0; } + if (prestring != NULL) { + write(vncsock, prestring, prestring_len); + free(prestring); + } #define OPENSSL_REVERSE 4 openssl_init(1); accept_openssl(OPENSSL_REVERSE, vncsock); openssl_init(0); + free(host); return 1; } if (use_stunnel) { @@ -2220,17 +2323,17 @@ static int do_reverse_connect(char *str) { } if (unixpw) { - int is_localhost = 0, user_disabled = 0; + int is_localhost = 0, user_disabled_it = 0; if(!strcmp(host, "localhost") || !strcmp(host, "127.0.0.1")) { is_localhost = 1; } if (getenv("UNIXPW_DISABLE_LOCALHOST")) { - user_disabled = 1; + user_disabled_it = 1; } if (! is_localhost) { - if (user_disabled ) { + if (user_disabled_it) { rfbLog("reverse_connect: warning disabling localhost constraint in -unixpw\n"); } else { rfbLog("reverse_connect: error not localhost in -unixpw\n"); @@ -2242,6 +2345,19 @@ static int do_reverse_connect(char *str) { if (connect_proxy != NULL) { int sock = proxy_connect(host, rport); if (sock >= 0) { + if (prestring != NULL) { + write(sock, prestring, prestring_len); + free(prestring); + } + cl = rfbNewClient(screen, sock); + } else { + return 0; + } + } else if (prestring != NULL) { + int sock = rfbConnectToTcpAddr(host, rport); + if (sock >= 0) { + write(sock, prestring, prestring_len); + free(prestring); cl = rfbNewClient(screen, sock); } else { return 0; diff --git a/x11vnc/gui.c b/x11vnc/gui.c index 56975f9..35290b5 100644 --- a/x11vnc/gui.c +++ b/x11vnc/gui.c @@ -558,8 +558,11 @@ void do_gui(char *opts, int sleep) { if ((q = strchr(p, '=')) != NULL) { icon_mode_font = strdup(q+1); } - } else if (!strcmp(p, "full")) { - ; + } else if (strstr(p, "full") == p) { + if (strstr(p, "setp") && 0) { + set_env("X11VNC_ICON_MODE", "2"); + set_env("X11VNC_ICON_SETPASS", "2"); + } } else if (strstr(p, "tray") == p || strstr(p, "icon") == p) { char *q; icon_mode = 1; diff --git a/x11vnc/help.c b/x11vnc/help.c index 0b8e70c..e135d16 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -429,6 +429,46 @@ void print_help(int mode) { " Be careful about the location of this file if x11vnc\n" " is running as root (e.g. via gdm(1), etc).\n" "\n" +"\n" +" Repeater mode: Some services provide an intermediate\n" +" \"vnc repeater\": http://www.uvnc.com/addons/repeater.html\n" +" (and also http://koti.mbnet.fi/jtko/ for linux port)\n" +" that acts as a proxy / gateway. Modes like these require\n" +" an initial string to be sent for the reverse connection\n" +" before the VNC protocol is started. Here are the ways\n" +" to do this:\n" +"\n" +" -connect pre=some_string+host:port\n" +" -connect pre128=some_string+host:port\n" +" -connect repeater=ID:1234+host:port\n" +" -connect repeater=23.45.67.89::5501+host:port\n" +"\n" +" SSVNC notation is also supported:\n" +"\n" +" -connect repeater://host:port+ID:1234\n" +"\n" +" As with normal -connect usage, if the repeater port is\n" +" not supplied 5500 is assumed.\n" +"\n" +" The basic idea is between the special tag, e.g. \"pre=\"\n" +" and \"+\" is the pre-string to be sent. Note that in\n" +" this case host:port is the repeater server, NOT the\n" +" vnc viewer. Somehow the pre-string tells the repeater\n" +" server how to find the vnc viewer and connect you to it.\n" +"\n" +" In the case pre=some_string+host:port, \"some_string\"\n" +" is simply sent. In the case preNNN=some_string+host:port\n" +" \"some_string\" is sent in a null padded buffer of\n" +" length NNN. repeater= is the same as pre250=, this is\n" +" the ultravnc repeater buffer size.\n" +"\n" +" Strings like \"\\n\" and \"\\r\", etc. are expanded to\n" +" newline and carriage return. \"\\c\" is expanded to\n" +" \",\" since the connect string is comma separated.\n" +"\n" +" See also the -proxy option below for additional ways\n" +" to plumb reverse connections.\n" +"\n" "-connect_or_exit str As with -connect, except if none of the reverse\n" " connections succeed, then x11vnc shutdowns immediately.\n" "\n" @@ -896,6 +936,10 @@ void print_help(int mode) { " and so \"-ssl SAVE -redirect host:port\" can act as a\n" " replacement for stunnel(1).\n" "\n" +" This mode only allows one redirected connection.\n" +" The -forever option does not apply. Use -inetd or\n" +" -loop for persistant service.\n" +"\n" "-display WAIT:... A special usage mode for the normal -display option.\n" " Useful with -unixpw, but can be used independently\n" " of it. If the display string begins with WAIT: then\n" @@ -3075,8 +3119,8 @@ void print_help(int mode) { "-forcedpms If the system supports the DPMS (Display Power\n" " Management Signaling) extension, then try to keep the\n" " monitor in a powered off state. This is to prevent\n" -" nosey people at the physical display from viewing\n" -" what is on the screen. Be sure lock the screen before\n" +" nosey people at the physical display from viewing what\n" +" is on the screen. Be sure to lock the screen before\n" " disconnecting.\n" "\n" " This method is far from bullet proof, e.g. suppose\n" @@ -3151,7 +3195,11 @@ void print_help(int mode) { "\n" "-threads Whether or not to use the threaded libvncserver\n" "-nothreads algorithm [rfbRunEventLoop] if libpthread is available\n" -" Default: %s\n" +" Default: %s. NOTE: The -threads mode is now\n" +" disabled due to its unstable behavior. Not recommended,\n" +" but you can recompile with -DX11VNC_THREADED in\n" +" CPPFLAGS if you need to use it. You can also set the\n" +" env. variable X11VNC_THREADED=1\n" "\n" "-fs f If the fraction of changed tiles in a poll is greater\n" " than f, the whole screen is updated. Default: %.2f\n" diff --git a/x11vnc/options.c b/x11vnc/options.c index d1a285d..abda34c 100644 --- a/x11vnc/options.c +++ b/x11vnc/options.c @@ -414,7 +414,7 @@ int verbose = 0; /* threaded vs. non-threaded (default) */ #if LIBVNCSERVER_HAVE_LIBPTHREAD && defined(X11VNC_THREADED) -int use_threads = 1; +int use_threads = 0; /* not 1. now X11VNC_THREADED means enable it at all. */ #else int use_threads = 0; #endif diff --git a/x11vnc/scan.c b/x11vnc/scan.c index 23fd32d..a5a4670 100644 --- a/x11vnc/scan.c +++ b/x11vnc/scan.c @@ -881,7 +881,10 @@ void scale_rect(double factor, int blend, int interpolate, int Bpp, j1 = nfix(j1, ny); j2 = nfix(j2, ny) + 1; - /* special case integer magnification with no blending */ + /* + * special case integer magnification with no blending. + * vision impaired magnification usage is interested in this case. + */ if (mark && ! blend && mag_int && Bpp != 3) { int jmin, jmax, imin, imax; @@ -1122,14 +1125,10 @@ void scale_rect(double factor, int blend, int interpolate, int Bpp, */ if (Bpp == 4) { /* unroll the loops, can give 20% */ - pixave[0] += w * - ((unsigned char) *(src )); - pixave[1] += w * - ((unsigned char) *(src+1)); - pixave[2] += w * - ((unsigned char) *(src+2)); - pixave[3] += w * - ((unsigned char) *(src+3)); + pixave[0] += w * ((unsigned char) *(src )); + pixave[1] += w * ((unsigned char) *(src+1)); + pixave[2] += w * ((unsigned char) *(src+2)); + pixave[3] += w * ((unsigned char) *(src+3)); } else if (Bpp == 2) { /* * 16bpp: trickier with green diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 75d196e..a7466b2 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -1567,6 +1567,9 @@ void accept_openssl(int mode, int presock) { if (screen->httpListenSock >= 0 && screen->httpPort > 0) { have_httpd = 1; } + if (screen->httpListenSock == -2) { + have_httpd = 1; + } if (mode == OPENSSL_HTTPS && ! have_httpd) { rfbLog("SSL: accept_openssl[%d]: no httpd socket for " "-https mode\n", getpid()); @@ -1695,10 +1698,11 @@ void accept_openssl(int mode, int presock) { /* send the failure tag: */ strcpy(tbuf, uniq); - if (https_port_redir < 0) { + if (https_port_redir < 0 || (strstr(buf, "PORT=") || strstr(buf, "port="))) { char *q = strstr(buf, "Host:"); - int fport = 443; + int fport = 443, match = 0; char num[16]; + if (q && strstr(q, "\n")) { q += strlen("Host:") + 1; while (*q != '\n') { @@ -1706,12 +1710,25 @@ void accept_openssl(int mode, int presock) { if (*q == ':' && sscanf(q, ":%d", &p) == 1) { if (p > 0 && p < 65536) { fport = p; + match = 1; break; } } q++; } } + if (!match || !https_port_redir) { + int p; + if (sscanf(buf, "PORT=%d,", &p) == 1) { + if (p > 0 && p < 65536) { + fport = p; + } + } else if (sscanf(buf, "port=%d,", &p) == 1) { + if (p > 0 && p < 65536) { + fport = p; + } + } + } sprintf(num, "HP=%d,", fport); strcat(tbuf, num); } diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h index 5b46339..c056e97 100644 --- a/x11vnc/ssltools.h +++ b/x11vnc/ssltools.h @@ -1400,32 +1400,32 @@ char create_display[] = " else\n" " sxcmd=$have_xinit\n" " fi\n" -" echo \"$sxcmd $sess -- $* -nolisten tcp -auth $authfile $FD_OPTS\" 1>&2\n" +" echo \"$sxcmd $sess -- $* $nolisten -auth $authfile $FD_OPTS\" 1>&2\n" " if [ \"X$have_root\" != \"X\" ]; then\n" -" $sxcmd $sess -- $* -nolisten tcp -auth $authfile $FD_OPTS 1>&2 &\n" +" $sxcmd $sess -- $* $nolisten -auth $authfile $FD_OPTS 1>&2 &\n" " else\n" " if [ \"X$ns\" = \"X0\" ]; then\n" -" $have_nohup sh -c \"$sxcmd $sess -- $* -nolisten tcp -auth $authfile $FD_OPTS\" 1>&2 &\n" +" $have_nohup sh -c \"$sxcmd $sess -- $* $nolisten -auth $authfile $FD_OPTS\" 1>&2 &\n" " else\n" " # Why did we ever sleep before starting the server??\n" -" $have_nohup sh -c \"(sleep $ns; $sxcmd $sess -- $* -nolisten tcp -auth $authfile $FD_OPTS)\" 1>&2 &\n" +" $have_nohup sh -c \"(sleep $ns; $sxcmd $sess -- $* $nolisten -auth $authfile $FD_OPTS)\" 1>&2 &\n" " #result=1\n" " fi\n" " fi\n" " pid=$!\n" " else\n" " # need to emulate startx/xinit ourselves...\n" -" echo \"$* -nolisten tcp -auth $authfile $FD_OPTS\" 1>&2\n" +" echo \"$* $nolisten -auth $authfile $FD_OPTS\" 1>&2\n" " if [ \"X$have_root\" != \"X\" ]; then\n" -" $have_nohup $* -nolisten tcp -auth $authfile $FD_OPTS 1>&2 &\n" +" $have_nohup $* $nolisten -auth $authfile $FD_OPTS 1>&2 &\n" " pid=$!\n" " sleep 3\n" " $have_nohup $sess 1>&2 &\n" " else\n" " if [ \"X$ns\" = \"X0\" ]; then\n" -" $have_nohup sh -c \"$* -nolisten tcp -auth $authfile $FD_OPTS\" 1>&2 &\n" +" $have_nohup sh -c \"$* $nolisten -auth $authfile $FD_OPTS\" 1>&2 &\n" " else\n" -" $have_nohup sh -c \"(sleep $ns; $* -nolisten tcp -auth $authfile $FD_OPTS)\" 1>&2 &\n" +" $have_nohup sh -c \"(sleep $ns; $* $nolisten -auth $authfile $FD_OPTS)\" 1>&2 &\n" " #result=1\n" " fi\n" " pid=$!\n" @@ -1719,6 +1719,8 @@ char create_display[] = "depth=${depth:-16}\n" "geom=${geom:-1280x1024}\n" "\n" +"nolisten=${FD_NOLISTEN:-\"-nolisten tcp\"}\n" +"\n" "if [ \"X$X11VNC_CREATE_GEOM\" != \"X\" -a \"X$FD_GEOM\" = \"X\" ]; then\n" " FD_GEOM=$X11VNC_CREATE_GEOM\n" "fi\n" diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc index 3d4a49f..dffd8d3 100755 --- a/x11vnc/tkx11vnc +++ b/x11vnc/tkx11vnc @@ -671,7 +671,7 @@ of actions: Properties - Brings up the Properties dialog to set some basic parameters. The full tkx11vnc GUI may be accessed - via the \"Advanced ...\" button. Press \"Help ...\" + via the \"Advanced ...\" button. Press \"Help\" in the Properties dialog for more info. Help - Displays this help text. @@ -781,7 +781,7 @@ Password\" empty as well and removes the need for any password to log in. If you set \"ViewOnly Password\" to the empty string that just removes the ViewOnly log in aspect: \"Password\" is still required to log in. - - The \"Help ...\" button shows this help text. + - The \"Help\" button shows this help text. - The \"Advanced ...\" button replaces the Properties dialog with the full tkx11vnc GUI. All dynamic settings can be modified in the full GUI. @@ -4272,7 +4272,7 @@ proc do_props {{msg ""}} { bind $w <KeyPress-Escape> "destroy $w" - pack $b1.apply $b1.cancel $b1.ok -side right -expand 1 + pack $b1.ok $b1.cancel $b1.apply -side left -expand 0 lappend props_buttons $b1.apply $b1.cancel $b1.ok set b2 "$w.buttons2" @@ -4282,12 +4282,12 @@ proc do_props {{msg ""}} { -command "destroy $w; props_advanced" -font $bfont if {! $icon_noadvanced} { lappend props_buttons $b2.advanced - pack $b2.advanced -side right -expand 1 + pack $b2.advanced -side left -expand 0 } - button $b2.help -text "Help ..." -command "menu_help Properties" -font $bfont + button $b2.help -text "Help" -command "menu_help Properties" -font $bfont lappend props_buttons $b2.help - pack $b2.help -side right -expand 1 + pack $b2.help -side left -expand 0 set vp "$w.viewpw" if {$have_labelframes} { @@ -6626,14 +6626,8 @@ get_default_vars dtime D -if {$icon_mode} { - if {$tray_embed} { - make_gui "tray" - } else { - make_gui "icon" - } - dtime G - old_balloon +proc check_setpasswd {} { + global icon_setpasswd if {$icon_setpasswd} { set m "You must specify a Session Password\n" set m "${m}before VNC clients can connect.\n" @@ -6643,9 +6637,33 @@ if {$icon_mode} { do_props $m #push_new_value "unlock" "unlock" 1 0 } +} + +if {0} { + if {[info exists env(X11VNC_ICON_SETPASS)]} { + if {$env(X11VNC_ICON_SETPASS) == "2"} { + global icon_mode_at_startup icon_mode + set icon_mode_at_startup 1 + set icon_mode 2 + } + } +} + +if {$icon_mode} { + if {$icon_mode == 2} { + make_gui "full" + } elseif {$tray_embed} { + make_gui "tray" + } else { + make_gui "icon" + } + dtime G + old_balloon + check_setpasswd } else { make_gui "full" dtime G + check_setpasswd } diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h index 2c76c02..052fe56 100644 --- a/x11vnc/tkx11vnc.h +++ b/x11vnc/tkx11vnc.h @@ -682,7 +682,7 @@ char gui_code[] = ""; "\n" " Properties - Brings up the Properties dialog to set some basic\n" " parameters. The full tkx11vnc GUI may be accessed\n" -" via the \\\"Advanced ...\\\" button. Press \\\"Help ...\\\"\n" +" via the \\\"Advanced ...\\\" button. Press \\\"Help\\\"\n" " in the Properties dialog for more info.\n" " \n" " Help - Displays this help text.\n" @@ -792,7 +792,7 @@ char gui_code[] = ""; "If you set \\\"ViewOnly Password\\\" to the empty string that just removes\n" "the ViewOnly log in aspect: \\\"Password\\\" is still required to log in.\n" "\n" -" - The \\\"Help ...\\\" button shows this help text.\n" +" - The \\\"Help\\\" button shows this help text.\n" " \n" " - The \\\"Advanced ...\\\" button replaces the Properties dialog with the full\n" " tkx11vnc GUI. All dynamic settings can be modified in the full GUI.\n" @@ -4283,7 +4283,7 @@ char gui_code[] = ""; "\n" " bind $w <KeyPress-Escape> \"destroy $w\"\n" "\n" -" pack $b1.apply $b1.cancel $b1.ok -side right -expand 1\n" +" pack $b1.ok $b1.cancel $b1.apply -side left -expand 0\n" " lappend props_buttons $b1.apply $b1.cancel $b1.ok\n" "\n" " set b2 \"$w.buttons2\"\n" @@ -4293,12 +4293,12 @@ char gui_code[] = ""; " -command \"destroy $w; props_advanced\" -font $bfont\n" " if {! $icon_noadvanced} {\n" " lappend props_buttons $b2.advanced\n" -" pack $b2.advanced -side right -expand 1\n" +" pack $b2.advanced -side left -expand 0\n" " }\n" "\n" -" button $b2.help -text \"Help ...\" -command \"menu_help Properties\" -font $bfont\n" +" button $b2.help -text \"Help\" -command \"menu_help Properties\" -font $bfont\n" " lappend props_buttons $b2.help\n" -" pack $b2.help -side right -expand 1\n" +" pack $b2.help -side left -expand 0\n" "\n" " set vp \"$w.viewpw\"\n" " if {$have_labelframes} {\n" @@ -6637,14 +6637,8 @@ char gui_code[] = ""; "\n" "dtime D\n" "\n" -"if {$icon_mode} {\n" -" if {$tray_embed} {\n" -" make_gui \"tray\"\n" -" } else {\n" -" make_gui \"icon\"\n" -" }\n" -" dtime G\n" -" old_balloon\n" +"proc check_setpasswd {} {\n" +" global icon_setpasswd\n" " if {$icon_setpasswd} {\n" " set m \"You must specify a Session Password\\n\" \n" " set m \"${m}before VNC clients can connect.\\n\" \n" @@ -6654,9 +6648,33 @@ char gui_code[] = ""; " do_props $m\n" " #push_new_value \"unlock\" \"unlock\" 1 0\n" " }\n" +"}\n" +"\n" +"if {0} {\n" +" if {[info exists env(X11VNC_ICON_SETPASS)]} {\n" +" if {$env(X11VNC_ICON_SETPASS) == \"2\"} {\n" +" global icon_mode_at_startup icon_mode\n" +" set icon_mode_at_startup 1\n" +" set icon_mode 2\n" +" }\n" +" }\n" +"}\n" +"\n" +"if {$icon_mode} {\n" +" if {$icon_mode == 2} {\n" +" make_gui \"full\"\n" +" } elseif {$tray_embed} {\n" +" make_gui \"tray\"\n" +" } else {\n" +" make_gui \"icon\"\n" +" }\n" +" dtime G\n" +" old_balloon\n" +" check_setpasswd\n" "} else {\n" " make_gui \"full\"\n" " dtime G\n" +" check_setpasswd\n" "}\n" "\n" "\n" diff --git a/x11vnc/user.c b/x11vnc/user.c index 55098ba..c8ba3a5 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -1094,7 +1094,6 @@ rfbBool custom_passwd_check(rfbClientPtr cl, const char *response, int len) { } static void handle_one_http_request(void) { - rfbLog("handle_one_http_request: begin.\n"); if (inetd || screen->httpPort == 0) { int port = find_free_port(5800, 5860); @@ -1111,7 +1110,7 @@ static void handle_one_http_request(void) { http_connections(1); rfbInitServer(screen); - if (! inetd) { + if (!inetd) { int conn = 0; while (1) { if (0) fprintf(stderr, "%d %d %d %d\n", conn, screen->listenSock, screen->httpSock, screen->httpListenSock); @@ -1136,6 +1135,7 @@ static void handle_one_http_request(void) { rfbLog("handle_one_http_request: finished.\n"); return; } else { + /* inetd case: */ #if LIBVNCSERVER_HAVE_FORK pid_t pid; int s_in = screen->inetdSock; @@ -1147,7 +1147,6 @@ static void handle_one_http_request(void) { if (pid < 0) { rfbLog("handle_one_http_request: could not fork.\n"); clean_up_exit(1); - } else if (pid > 0) { int status; pid_t pidw; @@ -1162,7 +1161,6 @@ static void handle_one_http_request(void) { } rfbLog("handle_one_http_request: finished.\n"); return; - } else { int sock = rfbConnectToTcpAddr("127.0.0.1", screen->httpPort); @@ -1322,149 +1320,20 @@ static void vnc_redirect_timeout (int sig) { exit(0); } -extern char find_display[]; -extern char create_display[]; -static XImage ximage_struct; - -int wait_for_client(int *argc, char** argv, int http) { - XImage* fb_image; - int w = 640, h = 480, b = 32; - int w0, h0, i, chg_raw_fb = 0; - char *str, *q, *cmd = NULL; - int db = 0; - char tmp[] = "/tmp/x11vnc-find_display.XXXXXX"; - int tmp_fd = -1, dt = 0; - char *create_cmd = NULL; - char *users_list_save = NULL; - int created_disp = 0; - int ncache_save; - int did_client_connect = 0; - int loop = 0; - time_t start; - char *vnc_redirect_host = "localhost"; - int vnc_redirect_port = -1; - int vnc_redirect_cnt = 0; - char vnc_redirect_test[10]; - - vnc_redirect = 0; - - if (! use_dpy || strstr(use_dpy, "WAIT:") != use_dpy) { - return 0; - } - - if (getenv("WAIT_FOR_CLIENT_DB")) { - db = 1; - } - - for (i=0; i < *argc; i++) { - if (!strcmp(argv[i], "-desktop")) { - dt = 1; - } - if (db) fprintf(stderr, "args %d %s\n", i, argv[i]); - } - if (!quiet && !strstr(use_dpy, "FINDDISPLAY-run")) { - rfbLog("wait_for_client: %s\n", use_dpy); - } - - str = strdup(use_dpy); - str += strlen("WAIT"); - - xdmcp_insert = NULL; - - /* get any leading geometry: */ - q = strchr(str+1, ':'); - if (q) { - *q = '\0'; - if (sscanf(str+1, "%dx%d", &w0, &h0) == 2) { - w = w0; - h = h0; - rfbLog("wait_for_client set: w=%d h=%d\n", w, h); - } - *q = ':'; - str = q; - } - - /* str currently begins with a ':' */ - if (strstr(str, ":cmd=") == str) { - /* cmd=/path/to/mycommand */ - str++; - } else if (strpbrk(str, "0123456789") == str+1) { - /* :0.0 */ - ; - } else { - /* hostname:0.0 */ - str++; - } - - if (db) fprintf(stderr, "str: %s\n", str); - - if (strstr(str, "cmd=") == str) { - if (no_external_cmds || !cmd_ok("WAIT")) { - rfbLog("wait_for_client external cmds not allowed:" - " %s\n", use_dpy); - clean_up_exit(1); - } +static void do_chvt(int vt) { + char chvt[100]; + sprintf(chvt, "chvt %d >/dev/null 2>/dev/null &", vt); + rfbLog("running: %s\n", chvt); + system(chvt); + sleep(2); +} - cmd = str + strlen("cmd="); - if (!strcmp(cmd, "FINDDISPLAY-print")) { - fprintf(stdout, "%s", find_display); - clean_up_exit(0); - } - if (!strcmp(cmd, "FINDDISPLAY-run")) { - char tmp[] = "/tmp/fd.XXXXXX"; - char com[100]; - int fd = mkstemp(tmp); - if (fd >= 0) { - write(fd, find_display, strlen(find_display)); - close(fd); - set_env("FINDDISPLAY_run", "1"); - sprintf(com, "/bin/sh %s -n; rm -f %s", tmp, tmp); - system(com); - } - unlink(tmp); - exit(0); - } - if (!strcmp(str, "FINDCREATEDISPLAY-print")) { - fprintf(stdout, "%s", create_display); - clean_up_exit(0); - } - if (db) fprintf(stderr, "cmd: %s\n", cmd); - if (strstr(str, "FINDCREATEDISPLAY") || strstr(str, "FINDDISPLAY")) { - if (strstr(str, "Xvnc.redirect") || strstr(str, "X.redirect")) { - vnc_redirect = 1; - } - } - if (strstr(cmd, "FINDDISPLAY-vnc_redirect") == cmd) { - int p; - char h[256]; - if (strlen(cmd) >= 256) { - rfbLog("wait_for_client string too long: %s\n", str); - clean_up_exit(1); - } - h[0] = '\0'; - if (sscanf(cmd, "FINDDISPLAY-vnc_redirect=%d", &p) == 1) { - ; - } else if (sscanf(cmd, "FINDDISPLAY-vnc_redirect=%s %d", h, &p) == 2) { - ; - } else { - rfbLog("wait_for_client bad string: %s\n", cmd); - clean_up_exit(1); - } - vnc_redirect_port = p; - if (strcmp(h, "")) { - vnc_redirect_host = strdup(h); - } - vnc_redirect = 2; - rfbLog("wait_for_client: vnc_redirect: %s:%d\n", vnc_redirect_host, vnc_redirect_port); - } - } - +static void setup_fake_fb(XImage* fb_image, int w, int h, int b) { if (fake_fb) { free(fake_fb); } fake_fb = (char *) calloc(w*h*b/8, 1); - fb_image = &ximage_struct; fb_image->data = fake_fb; fb_image->format = ZPixmap; fb_image->width = w; @@ -1483,64 +1352,9 @@ int wait_for_client(int *argc, char** argv, int http) { dpy_y = wdpy_y = h; off_x = 0; off_y = 0; +} - if (! dt) { - char *s; - argv[*argc] = strdup("-desktop"); - *argc = (*argc) + 1; - - if (cmd) { - char *q; - s = choose_title(":0"); - q = strstr(s, ":0"); - if (q) { - *q = '\0'; - } - } else { - s = choose_title(str); - } - rfb_desktop_name = strdup(s); - argv[*argc] = s; - *argc = (*argc) + 1; - } - - ncache_save = ncache; - ncache = 0; - - initialize_allowed_input(); - - if (! multiple_cursors_mode) { - multiple_cursors_mode = strdup("default"); - } - initialize_cursors_mode(); - - initialize_screen(argc, argv, fb_image); - - initialize_signals(); - - if (ssh_str != NULL) { - ssh_remote_tunnel(ssh_str, screen->port); - } - - if (! raw_fb) { - chg_raw_fb = 1; - /* kludge to get RAWFB_RET with dpy == NULL guards */ - raw_fb = (char *) 0x1; - } - - if (cmd && !strcmp(cmd, "HTTPONCE")) { - handle_one_http_request(); - clean_up_exit(0); - } - - if (http && check_httpdir()) { - http_connections(1); - } - - if (cmd && unixpw) { - keep_unixpw = 1; - } - +static void setup_service(void) { if (!inetd) { if (!use_openssl) { announce(screen->port, use_openssl, NULL); @@ -1562,7 +1376,9 @@ int wait_for_client(int *argc, char** argv, int http) { avahi_initialise(); avahi_advertise(name, this_host(), screen->port); } +} +static void check_waitbg(void) { if (getenv("WAITBG")) { #if LIBVNCSERVER_HAVE_FORK && LIBVNCSERVER_HAVE_SETSID int p, n; @@ -1594,91 +1410,9 @@ int wait_for_client(int *argc, char** argv, int http) { clean_up_exit(1); #endif } +} - if (vnc_redirect) { - if (unixpw) { - rfbLog("wait_for_client: -unixpw and Xvnc.redirect not allowed\n"); - clean_up_exit(1); - } - if (client_connect) { - rfbLog("wait_for_client: -connect and Xvnc.redirect not allowed\n"); - clean_up_exit(1); - } - if (inetd) { - if (use_openssl) { - accept_openssl(OPENSSL_INETD, -1); - } - } else { - if (first_conn_timeout) { - if (first_conn_timeout < 0) { - first_conn_timeout = -first_conn_timeout; - } - signal(SIGALRM, vnc_redirect_timeout); - alarm(first_conn_timeout); - } - if (use_openssl) { - accept_openssl(OPENSSL_VNC, -1); - } else { - struct sockaddr_in addr; -#ifdef __hpux - int addrlen = sizeof(addr); -#else - socklen_t addrlen = sizeof(addr); -#endif - if (screen->listenSock < 0) { - rfbLog("wait_for_client: Xvnc.redirect not listening... sock=%d port=%d\n", screen->listenSock, screen->port); - clean_up_exit(1); - } - vnc_redirect_sock = accept(screen->listenSock, (struct sockaddr *)&addr, &addrlen); - } - if (first_conn_timeout) { - alarm(0); - } - } - if (vnc_redirect_sock < 0) { - rfbLog("wait_for_client: vnc_redirect failed.\n"); - clean_up_exit(1); - } - if (!inetd && use_openssl) { - /* check for Fetch Cert closing */ - fd_set rfds; - struct timeval tv; - int nfds; - - usleep(300*1000); - - FD_ZERO(&rfds); - FD_SET(vnc_redirect_sock, &rfds); - - tv.tv_sec = 0; - tv.tv_usec = 200000; - nfds = select(vnc_redirect_sock+1, &rfds, NULL, NULL, &tv); - - rfbLog("wait_for_client: vnc_redirect nfds: %d\n", nfds); - if (nfds > 0) { - int n; - n = read(vnc_redirect_sock, vnc_redirect_test, 1); - if (n <= 0) { - close(vnc_redirect_sock); - vnc_redirect_sock = -1; - rfbLog("wait_for_client: waiting for 2nd connection (Fetch Cert?)\n"); - accept_openssl(OPENSSL_VNC, -1); - if (vnc_redirect_sock < 0) { - rfbLog("wait_for_client: vnc_redirect failed.\n"); - clean_up_exit(1); - } - } else { - vnc_redirect_cnt = n; - } - } - } - goto vnc_redirect_place; - } - - if (inetd && use_openssl) { - accept_openssl(OPENSSL_INETD, -1); - } - +static void setup_client_connect(int *did_client_connect) { if (client_connect != NULL) { char *remainder = NULL; if (inetd) { @@ -1701,7 +1435,7 @@ int wait_for_client(int *argc, char** argv, int http) { rfbLog("wait_for_client: reverse_connect(%s)\n", client_connect); reverse_connect(client_connect); - did_client_connect = 1; + *did_client_connect = 1; } free(client_connect); if (remainder != NULL) { @@ -1711,11 +1445,14 @@ int wait_for_client(int *argc, char** argv, int http) { client_connect = NULL; } } +} +static void loop_for_connect(int did_client_connect) { + int loop = 0; + time_t start = time(NULL); if (first_conn_timeout < 0) { first_conn_timeout = -first_conn_timeout; } - start = time(NULL); while (1) { loop++; @@ -1789,16 +1526,19 @@ int wait_for_client(int *argc, char** argv, int http) { if (! use_threads) { rfbPE(-1); } + screen_check: if (! screen || ! screen->clientHead) { usleep(100 * 1000); continue; } + rfbLog("wait_for_client: got client\n"); break; } +} - +static void do_unixpw_loop(void) { if (unixpw) { if (! unixpw_in_progress) { rfbLog("unixpw but no unixpw_in_progress\n"); @@ -1808,12 +1548,6 @@ int wait_for_client(int *argc, char** argv, int http) { rfbLog("taking unixpw_client off hold.\n"); unixpw_client->onHold = FALSE; } - if (cmd && strstr(cmd, "FINDCREATEDISPLAY") == cmd) { - if (users_list && strstr(users_list, "unixpw=") == users_list) { - users_list_save = users_list; - users_list = NULL; - } - } while (1) { if (shut_down) { clean_up_exit(0); @@ -1831,482 +1565,803 @@ int wait_for_client(int *argc, char** argv, int http) { break; } } +} -if (0) db = 1; - - vnc_redirect_place: - - if (vnc_redirect == 2) { - ; - } else if (cmd) { - char line1[1024]; - char line2[16384]; - char *q; - int n; - int nodisp = 0; - int saw_xdmcp = 0; - char *usslpeer = NULL; - - memset(line1, 0, 1024); - memset(line2, 0, 16384); - - if (users_list && strstr(users_list, "sslpeer=") == users_list) { - int ok = 0; - char *u = NULL, *upeer = NULL; - - if (certret_str) { - char *q, *p, *str = strdup(certret_str); - q = strstr(str, "Subject: "); - if (! q) return 0; - p = strstr(q, "\n"); - if (p) *p = '\0'; - q = strstr(q, "CN="); - if (! q) return 0; - if (! getenv("X11VNC_SSLPEER_CN")) { - p = q; - q = strstr(q, "/emailAddress="); - if (! q) q = strstr(p, "/Email="); - if (! q) return 0; - } - q = strstr(q, "="); - if (! q) return 0; - q++; - p = strstr(q, " "); - if (p) *p = '\0'; - p = strstr(q, "@"); - if (p) *p = '\0'; - p = strstr(q, "/"); - if (p) *p = '\0'; - upeer = strdup(q); - if (strcmp(upeer, "")) { - p = upeer; - while (*p != '\0') { - char c = *p; - if (!isalnum((int) c)) { - *p = '\0'; - break; - } - p++; - } - if (strcmp(upeer, "")) { - ok = 1; - } +static void vnc_redirect_loop(char *vnc_redirect_test, int *vnc_redirect_cnt) { + if (unixpw) { + rfbLog("wait_for_client: -unixpw and Xvnc.redirect not allowed\n"); + clean_up_exit(1); + } + if (client_connect) { + rfbLog("wait_for_client: -connect and Xvnc.redirect not allowed\n"); + clean_up_exit(1); + } + if (inetd) { + if (use_openssl) { + accept_openssl(OPENSSL_INETD, -1); + } + } else { + pid_t pid = 0; + if (screen->httpListenSock >= 0) { +#if LIBVNCSERVER_HAVE_FORK + if ((pid = fork()) > 0) { + close(screen->httpListenSock); + screen->httpListenSock = -2; + usleep(500 * 1000); + } else { + close(screen->listenSock); + screen->listenSock = -1; + while (1) { + usleep(10 * 1000); + rfbHttpCheckFds(screen); } + exit(1); } - if (! ok || !upeer) { - return 0; +#else + clean_up_exit(1); +#endif + } + if (first_conn_timeout) { + if (first_conn_timeout < 0) { + first_conn_timeout = -first_conn_timeout; } - rfbLog("sslpeer unix username extracted from x509 cert: %s\n", upeer); - u = (char *) malloc(strlen(upeer+2)); - u[0] = '\0'; - if (!strcmp(users_list, "sslpeer=")) { - sprintf(u, "+%s", upeer); + signal(SIGALRM, vnc_redirect_timeout); + alarm(first_conn_timeout); + } + if (use_openssl) { + int i; + if (pid == 0) { + accept_openssl(OPENSSL_VNC, -1); } else { - char *p, *str = strdup(users_list); - p = strtok(str + strlen("sslpeer="), ","); - while (p) { - if (!strcmp(p, upeer)) { - sprintf(u, "+%s", upeer); + for (i=0; i < 16; i++) { + accept_openssl(OPENSSL_VNC, -1); + rfbLog("iter %d: vnc_redirect_sock: %d\n", i, vnc_redirect_sock); + if (vnc_redirect_sock >= 0) { break; } - p = strtok(NULL, ","); } - free(str); } - if (u[0] == '\0') { - rfbLog("sslpeer cannot determine user: %s\n", upeer); - free(u); - return 0; + } else { + struct sockaddr_in addr; +#ifdef __hpux + int addrlen = sizeof(addr); +#else + socklen_t addrlen = sizeof(addr); +#endif + if (screen->listenSock < 0) { + rfbLog("wait_for_client: Xvnc.redirect not listening... sock=%d port=%d\n", screen->listenSock, screen->port); + clean_up_exit(1); } - free(u); - usslpeer = upeer; + vnc_redirect_sock = accept(screen->listenSock, (struct sockaddr *)&addr, &addrlen); + } + if (first_conn_timeout) { + alarm(0); } + if (pid > 0) { +#if LIBVNCSERVER_HAVE_FORK + int rc; + pid_t pidw; + rfbLog("wait_for_client: kill TERM: %d\n", (int) pid); + kill(pid, SIGTERM); + usleep(1000 * 1000); /* 1.0 sec */ + pidw = waitpid(pid, &rc, WNOHANG); + if (pidw <= 0) { + usleep(1000 * 1000); /* 1.0 sec */ + pidw = waitpid(pid, &rc, WNOHANG); + } +#else + clean_up_exit(1); +#endif + } + } + if (vnc_redirect_sock < 0) { + rfbLog("wait_for_client: vnc_redirect failed.\n"); + clean_up_exit(1); + } + if (!inetd && use_openssl) { + /* check for Fetch Cert closing */ + fd_set rfds; + struct timeval tv; + int nfds; + + usleep(300*1000); + + FD_ZERO(&rfds); + FD_SET(vnc_redirect_sock, &rfds); + + tv.tv_sec = 0; + tv.tv_usec = 200000; + nfds = select(vnc_redirect_sock+1, &rfds, NULL, NULL, &tv); + + rfbLog("wait_for_client: vnc_redirect nfds: %d\n", nfds); + if (nfds > 0) { + int n; + n = read(vnc_redirect_sock, vnc_redirect_test, 1); + if (n <= 0) { + close(vnc_redirect_sock); + vnc_redirect_sock = -1; + rfbLog("wait_for_client: waiting for 2nd connection (Fetch Cert?)\n"); + accept_openssl(OPENSSL_VNC, -1); + if (vnc_redirect_sock < 0) { + rfbLog("wait_for_client: vnc_redirect failed.\n"); + clean_up_exit(1); + } + } else { + *vnc_redirect_cnt = n; + } + } + } +} - /* only sets environment variables: */ - run_user_command("", latest_client, "env", NULL, 0, NULL); +static void do_vnc_redirect(int created_disp, char *vnc_redirect_host, int vnc_redirect_port, + int vnc_redirect_cnt, char *vnc_redirect_test) { + char *q = strchr(use_dpy, ':'); + int vdpy = -1, sock = -1; + int s_in, s_out, i; + if (vnc_redirect == 2) { + char num[32]; + sprintf(num, ":%d", vnc_redirect_port); + q = num; + } + if (!q) { + rfbLog("wait_for_client: can't find number in X display: %s\n", use_dpy); + clean_up_exit(1); + } + if (sscanf(q+1, "%d", &vdpy) != 1) { + rfbLog("wait_for_client: can't find number in X display: %s\n", q); + clean_up_exit(1); + } + if (vdpy == -1 && vnc_redirect != 2) { + rfbLog("wait_for_client: can't find number in X display: %s\n", q); + clean_up_exit(1); + } + if (vnc_redirect == 2) { + if (vdpy < 0) { + vdpy = -vdpy; + } else if (vdpy < 200) { + vdpy += 5900; + } + } else { + vdpy += 5900; + } + if (created_disp) { + usleep(1000*1000); + } + for (i=0; i < 20; i++) { + sock = rfbConnectToTcpAddr(vnc_redirect_host, vdpy); + if (sock >= 0) { + break; + } + rfbLog("wait_for_client: ...\n"); + usleep(500*1000); + } + if (sock < 0) { + rfbLog("wait_for_client: could not connect to a VNC Server at %s:%d\n", vnc_redirect_host, vdpy); + clean_up_exit(1); + } + if (inetd) { + s_in = fileno(stdin); + s_out = fileno(stdout); + } else { + s_in = s_out = vnc_redirect_sock; + } + if (vnc_redirect_cnt > 0) { + write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); + } + rfbLog("wait_for_client: switching control to VNC Server at %s:%d\n", vnc_redirect_host, vdpy); + raw_xfer(sock, s_in, s_out); +} + +extern char find_display[]; +extern char create_display[]; + +char *setup_cmd(char *str, int *vnc_redirect, char **vnc_redirect_host, int *vnc_redirect_port, int db) { + char *cmd = NULL; + + if (no_external_cmds || !cmd_ok("WAIT")) { + rfbLog("wait_for_client external cmds not allowed:" + " %s\n", use_dpy); + clean_up_exit(1); + } - if (program_name) { - set_env("X11VNC_PROG", program_name); + cmd = str + strlen("cmd="); + if (!strcmp(cmd, "FINDDISPLAY-print")) { + fprintf(stdout, "%s", find_display); + clean_up_exit(0); + } + if (!strcmp(cmd, "FINDDISPLAY-run")) { + char tmp[] = "/tmp/fd.XXXXXX"; + char com[100]; + int fd = mkstemp(tmp); + if (fd >= 0) { + write(fd, find_display, strlen(find_display)); + close(fd); + set_env("FINDDISPLAY_run", "1"); + sprintf(com, "/bin/sh %s -n; rm -f %s", tmp, tmp); + system(com); + } + unlink(tmp); + exit(0); + } + if (!strcmp(str, "FINDCREATEDISPLAY-print")) { + fprintf(stdout, "%s", create_display); + clean_up_exit(0); + } + if (db) fprintf(stderr, "cmd: %s\n", cmd); + if (strstr(str, "FINDCREATEDISPLAY") || strstr(str, "FINDDISPLAY")) { + if (strstr(str, "Xvnc.redirect") || strstr(str, "X.redirect")) { + *vnc_redirect = 1; + } + } + if (strstr(cmd, "FINDDISPLAY-vnc_redirect") == cmd) { + int p; + char h[256]; + if (strlen(cmd) >= 256) { + rfbLog("wait_for_client string too long: %s\n", str); + clean_up_exit(1); + } + h[0] = '\0'; + if (sscanf(cmd, "FINDDISPLAY-vnc_redirect=%d", &p) == 1) { + ; + } else if (sscanf(cmd, "FINDDISPLAY-vnc_redirect=%s %d", h, &p) == 2) { + ; } else { - set_env("X11VNC_PROG", "x11vnc"); + rfbLog("wait_for_client bad string: %s\n", cmd); + clean_up_exit(1); + } + *vnc_redirect_port = p; + if (strcmp(h, "")) { + *vnc_redirect_host = strdup(h); } + *vnc_redirect = 2; + rfbLog("wait_for_client: vnc_redirect: %s:%d\n", *vnc_redirect_host, *vnc_redirect_port); + } + return cmd; +} - if (!strcmp(cmd, "FINDDISPLAY") || - strstr(cmd, "FINDCREATEDISPLAY") == cmd) { - char *nd = ""; - tmp_fd = mkstemp(tmp); - if (tmp_fd < 0) { - rfbLog("wait_for_client: open failed: %s\n", tmp); - rfbLogPerror("mkstemp"); - clean_up_exit(1); - } - chmod(tmp, 0644); - if (getenv("X11VNC_FINDDISPLAY_ALWAYS_FAILS")) { - char *s = "#!/bin/sh\necho _FAIL_\nexit 1\n"; - write(tmp_fd, s, strlen(s)); - } else { - write(tmp_fd, find_display, strlen(find_display)); - } - close(tmp_fd); - nodisp = 1; - - if (strstr(cmd, "FINDCREATEDISPLAY") == cmd) { - char *opts = strchr(cmd, '-'); - char st[] = ""; - char fdgeom[128], fdsess[128], fdopts[128], fdprog[128]; - char fdxsrv[128], fdxdum[128], fdcups[128], fdesd[128]; - char fdnas[128], fdsmb[128], fdtag[128]; - if (opts) { - opts++; - if (strstr(opts, "xdmcp")) { - saw_xdmcp = 1; - } - } else { - opts = st; - } - sprintf(fdgeom, "NONE"); - fdsess[0] = '\0'; - fdgeom[0] = '\0'; - fdopts[0] = '\0'; - fdprog[0] = '\0'; - fdxsrv[0] = '\0'; - fdxdum[0] = '\0'; - fdcups[0] = '\0'; - fdesd[0] = '\0'; - fdnas[0] = '\0'; - fdsmb[0] = '\0'; - fdtag[0] = '\0'; - - if (unixpw && keep_unixpw_opts && keep_unixpw_opts[0] != '\0') { - char *q, *p, *t = strdup(keep_unixpw_opts); - if (strstr(t, "gnome")) { - sprintf(fdsess, "gnome"); - } else if (strstr(t, "kde")) { - sprintf(fdsess, "kde"); - } else if (strstr(t, "twm")) { - sprintf(fdsess, "twm"); - } else if (strstr(t, "fvwm")) { - sprintf(fdsess, "fvwm"); - } else if (strstr(t, "mwm")) { - sprintf(fdsess, "mwm"); - } else if (strstr(t, "cde")) { - sprintf(fdsess, "cde"); - } else if (strstr(t, "dtwm")) { - sprintf(fdsess, "dtwm"); - } else if (strstr(t, "xterm")) { - sprintf(fdsess, "xterm"); - } else if (strstr(t, "wmaker")) { - sprintf(fdsess, "wmaker"); - } else if (strstr(t, "xfce")) { - sprintf(fdsess, "xfce"); - } else if (strstr(t, "enlightenment")) { - sprintf(fdsess, "enlightenment"); - } else if (strstr(t, "Xsession")) { - sprintf(fdsess, "Xsession"); - } else if (strstr(t, "failsafe")) { - sprintf(fdsess, "failsafe"); - } +static char *build_create_cmd(char *cmd, int *saw_xdmcp, char *usslpeer, char *tmp) { + char *create_cmd = NULL; + char *opts = strchr(cmd, '-'); + char st[] = ""; + char fdgeom[128], fdsess[128], fdopts[128], fdprog[128]; + char fdxsrv[128], fdxdum[128], fdcups[128], fdesd[128]; + char fdnas[128], fdsmb[128], fdtag[128]; - q = strstr(t, "ge="); - if (! q) q = strstr(t, "geom="); - if (! q) q = strstr(t, "geometry="); - if (q) { - int ok = 1; - q = strstr(q, "="); - q++; - p = strstr(q, ","); - if (p) *p = '\0'; - p = q; - while (*p) { - if (*p == 'x') { - ; - } else if (isdigit((int) *p)) { - ; - } else { - ok = 0; - break; - } - p++; - } - if (ok && strlen(q) < 32) { - sprintf(fdgeom, q); - if (!quiet) { - rfbLog("set create display geom: %s\n", fdgeom); - } - } - } - q = strstr(t, "cups="); - if (q) { - int p; - if (sscanf(q, "cups=%d", &p) == 1) { - sprintf(fdcups, "%d", p); - } - } - q = strstr(t, "esd="); - if (q) { - int p; - if (sscanf(q, "esd=%d", &p) == 1) { - sprintf(fdesd, "%d", p); - } - } - free(t); - } - if (fdgeom[0] == '\0' && getenv("FD_GEOM")) { - snprintf(fdgeom, 120, "%s", getenv("FD_GEOM")); - } - if (fdsess[0] == '\0' && getenv("FD_SESS")) { - snprintf(fdsess, 120, "%s", getenv("FD_SESS")); - } - if (fdopts[0] == '\0' && getenv("FD_OPTS")) { - snprintf(fdopts, 120, "%s", getenv("FD_OPTS")); - } - if (fdprog[0] == '\0' && getenv("FD_PROG")) { - snprintf(fdprog, 120, "%s", getenv("FD_PROG")); - } - if (fdxsrv[0] == '\0' && getenv("FD_XSRV")) { - snprintf(fdxsrv, 120, "%s", getenv("FD_XSRV")); - } - if (fdcups[0] == '\0' && getenv("FD_CUPS")) { - snprintf(fdcups, 120, "%s", getenv("FD_CUPS")); - } - if (fdesd[0] == '\0' && getenv("FD_ESD")) { - snprintf(fdesd, 120, "%s", getenv("FD_ESD")); - } - if (fdnas[0] == '\0' && getenv("FD_NAS")) { - snprintf(fdnas, 120, "%s", getenv("FD_NAS")); - } - if (fdsmb[0] == '\0' && getenv("FD_SMB")) { - snprintf(fdsmb, 120, "%s", getenv("FD_SMB")); - } - if (fdtag[0] == '\0' && getenv("FD_TAG")) { - snprintf(fdtag, 120, "%s", getenv("FD_TAG")); - } - if (fdxdum[0] == '\0' && getenv("FD_XDUMMY_NOROOT")) { - snprintf(fdxdum, 120, "%s", getenv("FD_XDUMMY_NOROOT")); - } + if (opts) { + opts++; + if (strstr(opts, "xdmcp")) { + *saw_xdmcp = 1; + } + } else { + opts = st; + } + sprintf(fdgeom, "NONE"); + fdsess[0] = '\0'; + fdgeom[0] = '\0'; + fdopts[0] = '\0'; + fdprog[0] = '\0'; + fdxsrv[0] = '\0'; + fdxdum[0] = '\0'; + fdcups[0] = '\0'; + fdesd[0] = '\0'; + fdnas[0] = '\0'; + fdsmb[0] = '\0'; + fdtag[0] = '\0'; - set_env("FD_GEOM", fdgeom); - set_env("FD_OPTS", fdopts); - set_env("FD_PROG", fdprog); - set_env("FD_XSRV", fdxsrv); - set_env("FD_CUPS", fdcups); - set_env("FD_ESD", fdesd); - set_env("FD_NAS", fdnas); - set_env("FD_SMB", fdsmb); - set_env("FD_TAG", fdtag); - set_env("FD_XDUMMY_NOROOT", fdxdum); - set_env("FD_SESS", fdsess); - - if (usslpeer || (unixpw && keep_unixpw_user)) { - char *uu = usslpeer; - if (!uu) { - uu = keep_unixpw_user; - } - create_cmd = (char *) malloc(strlen(tmp)+1 - + strlen("env USER='' ") - + strlen("FD_GEOM='' ") - + strlen("FD_OPTS='' ") - + strlen("FD_PROG='' ") - + strlen("FD_XSRV='' ") - + strlen("FD_CUPS='' ") - + strlen("FD_ESD='' ") - + strlen("FD_NAS='' ") - + strlen("FD_SMB='' ") - + strlen("FD_TAG='' ") - + strlen("FD_XDUMMY_NOROOT='' ") - + strlen("FD_SESS='' /bin/sh ") - + strlen(uu) + 1 - + strlen(fdgeom) + 1 - + strlen(fdopts) + 1 - + strlen(fdprog) + 1 - + strlen(fdxsrv) + 1 - + strlen(fdcups) + 1 - + strlen(fdesd) + 1 - + strlen(fdnas) + 1 - + strlen(fdsmb) + 1 - + strlen(fdtag) + 1 - + strlen(fdxdum) + 1 - + strlen(fdsess) + 1 - + strlen(opts) + 1); - sprintf(create_cmd, "env USER='%s' FD_GEOM='%s' FD_SESS='%s' " - "FD_OPTS='%s' FD_PROG='%s' FD_XSRV='%s' FD_CUPS='%s' " - "FD_ESD='%s' FD_NAS='%s' FD_SMB='%s' FD_TAG='%s' " - "FD_XDUMMY_NOROOT='%s' /bin/sh %s %s", - uu, fdgeom, fdsess, fdopts, fdprog, fdxsrv, - fdcups, fdesd, fdnas, fdsmb, fdtag, fdxdum, tmp, opts); + if (unixpw && keep_unixpw_opts && keep_unixpw_opts[0] != '\0') { + char *q, *p, *t = strdup(keep_unixpw_opts); + if (strstr(t, "gnome")) { + sprintf(fdsess, "gnome"); + } else if (strstr(t, "kde")) { + sprintf(fdsess, "kde"); + } else if (strstr(t, "twm")) { + sprintf(fdsess, "twm"); + } else if (strstr(t, "fvwm")) { + sprintf(fdsess, "fvwm"); + } else if (strstr(t, "mwm")) { + sprintf(fdsess, "mwm"); + } else if (strstr(t, "cde")) { + sprintf(fdsess, "cde"); + } else if (strstr(t, "dtwm")) { + sprintf(fdsess, "dtwm"); + } else if (strstr(t, "xterm")) { + sprintf(fdsess, "xterm"); + } else if (strstr(t, "wmaker")) { + sprintf(fdsess, "wmaker"); + } else if (strstr(t, "xfce")) { + sprintf(fdsess, "xfce"); + } else if (strstr(t, "enlightenment")) { + sprintf(fdsess, "enlightenment"); + } else if (strstr(t, "Xsession")) { + sprintf(fdsess, "Xsession"); + } else if (strstr(t, "failsafe")) { + sprintf(fdsess, "failsafe"); + } + + q = strstr(t, "ge="); + if (! q) q = strstr(t, "geom="); + if (! q) q = strstr(t, "geometry="); + if (q) { + int ok = 1; + q = strstr(q, "="); + q++; + p = strstr(q, ","); + if (p) *p = '\0'; + p = q; + while (*p) { + if (*p == 'x') { + ; + } else if (isdigit((int) *p)) { + ; } else { - create_cmd = (char *) malloc(strlen(tmp) - + strlen("/bin/sh ") + 1 + strlen(opts) + 1); - sprintf(create_cmd, "/bin/sh %s %s", tmp, opts); + ok = 0; + break; } - -if (db) fprintf(stderr, "create_cmd: %s\n", create_cmd); - } - if (getenv("X11VNC_SKIP_DISPLAY")) { - nd = strdup(getenv("X11VNC_SKIP_DISPLAY")); - } - if (unixpw && keep_unixpw_opts && keep_unixpw_opts[0] != '\0') { - char *q, *t = keep_unixpw_opts; - q = strstr(t, "nd="); - if (! q) q = strstr(t, "nodisplay="); - if (q) { - char *t2; - q = strchr(q, '=') + 1; - t = strdup(q); - q = t; - t2 = strchr(t, ','); - if (t2) *t2 = '\0'; - while (*t != '\0') { - if (*t == '-') { - *t = ','; - } - t++; - } - if (!strchr(q, '\'')) { - if (! quiet) rfbLog("set X11VNC_SKIP_DISPLAY: %s\n", q); - nd = q; - } + p++; + } + if (ok && strlen(q) < 32) { + sprintf(fdgeom, q); + if (!quiet) { + rfbLog("set create display geom: %s\n", fdgeom); } } + } + q = strstr(t, "cups="); + if (q) { + int p; + if (sscanf(q, "cups=%d", &p) == 1) { + sprintf(fdcups, "%d", p); + } + } + q = strstr(t, "esd="); + if (q) { + int p; + if (sscanf(q, "esd=%d", &p) == 1) { + sprintf(fdesd, "%d", p); + } + } + free(t); + } + if (fdgeom[0] == '\0' && getenv("FD_GEOM")) { + snprintf(fdgeom, 120, "%s", getenv("FD_GEOM")); + } + if (fdsess[0] == '\0' && getenv("FD_SESS")) { + snprintf(fdsess, 120, "%s", getenv("FD_SESS")); + } + if (fdopts[0] == '\0' && getenv("FD_OPTS")) { + snprintf(fdopts, 120, "%s", getenv("FD_OPTS")); + } + if (fdprog[0] == '\0' && getenv("FD_PROG")) { + snprintf(fdprog, 120, "%s", getenv("FD_PROG")); + } + if (fdxsrv[0] == '\0' && getenv("FD_XSRV")) { + snprintf(fdxsrv, 120, "%s", getenv("FD_XSRV")); + } + if (fdcups[0] == '\0' && getenv("FD_CUPS")) { + snprintf(fdcups, 120, "%s", getenv("FD_CUPS")); + } + if (fdesd[0] == '\0' && getenv("FD_ESD")) { + snprintf(fdesd, 120, "%s", getenv("FD_ESD")); + } + if (fdnas[0] == '\0' && getenv("FD_NAS")) { + snprintf(fdnas, 120, "%s", getenv("FD_NAS")); + } + if (fdsmb[0] == '\0' && getenv("FD_SMB")) { + snprintf(fdsmb, 120, "%s", getenv("FD_SMB")); + } + if (fdtag[0] == '\0' && getenv("FD_TAG")) { + snprintf(fdtag, 120, "%s", getenv("FD_TAG")); + } + if (fdxdum[0] == '\0' && getenv("FD_XDUMMY_NOROOT")) { + snprintf(fdxdum, 120, "%s", getenv("FD_XDUMMY_NOROOT")); + } + + set_env("FD_GEOM", fdgeom); + set_env("FD_OPTS", fdopts); + set_env("FD_PROG", fdprog); + set_env("FD_XSRV", fdxsrv); + set_env("FD_CUPS", fdcups); + set_env("FD_ESD", fdesd); + set_env("FD_NAS", fdnas); + set_env("FD_SMB", fdsmb); + set_env("FD_TAG", fdtag); + set_env("FD_XDUMMY_NOROOT", fdxdum); + set_env("FD_SESS", fdsess); + + if (usslpeer || (unixpw && keep_unixpw_user)) { + char *uu = usslpeer; + if (!uu) { + uu = keep_unixpw_user; + } + create_cmd = (char *) malloc(strlen(tmp)+1 + + strlen("env USER='' ") + + strlen("FD_GEOM='' ") + + strlen("FD_OPTS='' ") + + strlen("FD_PROG='' ") + + strlen("FD_XSRV='' ") + + strlen("FD_CUPS='' ") + + strlen("FD_ESD='' ") + + strlen("FD_NAS='' ") + + strlen("FD_SMB='' ") + + strlen("FD_TAG='' ") + + strlen("FD_XDUMMY_NOROOT='' ") + + strlen("FD_SESS='' /bin/sh ") + + strlen(uu) + 1 + + strlen(fdgeom) + 1 + + strlen(fdopts) + 1 + + strlen(fdprog) + 1 + + strlen(fdxsrv) + 1 + + strlen(fdcups) + 1 + + strlen(fdesd) + 1 + + strlen(fdnas) + 1 + + strlen(fdsmb) + 1 + + strlen(fdtag) + 1 + + strlen(fdxdum) + 1 + + strlen(fdsess) + 1 + + strlen(opts) + 1); + sprintf(create_cmd, "env USER='%s' FD_GEOM='%s' FD_SESS='%s' " + "FD_OPTS='%s' FD_PROG='%s' FD_XSRV='%s' FD_CUPS='%s' " + "FD_ESD='%s' FD_NAS='%s' FD_SMB='%s' FD_TAG='%s' " + "FD_XDUMMY_NOROOT='%s' /bin/sh %s %s", + uu, fdgeom, fdsess, fdopts, fdprog, fdxsrv, + fdcups, fdesd, fdnas, fdsmb, fdtag, fdxdum, tmp, opts); + } else { + create_cmd = (char *) malloc(strlen(tmp) + + strlen("/bin/sh ") + 1 + strlen(opts) + 1); + sprintf(create_cmd, "/bin/sh %s %s", tmp, opts); + } + return create_cmd; +} + +static char *certret_extract() { + char *q, *p, *str = strdup(certret_str); + char *upeer = NULL; + int ok = 0; + + q = strstr(str, "Subject: "); + if (! q) return NULL; + + p = strstr(q, "\n"); + if (p) *p = '\0'; + + q = strstr(q, "CN="); + if (! q) return NULL; - cmd = (char *) malloc(strlen("env X11VNC_SKIP_DISPLAY='' ") - + strlen(nd) + strlen(tmp) + strlen("/bin/sh ") + 1); - sprintf(cmd, "env X11VNC_SKIP_DISPLAY='%s' /bin/sh %s", nd, tmp); + if (! getenv("X11VNC_SSLPEER_CN")) { + p = q; + q = strstr(q, "/emailAddress="); + if (! q) q = strstr(p, "/Email="); + if (! q) return NULL; + } + + q = strstr(q, "="); + if (! q) return NULL; + + q++; + p = strstr(q, " "); + if (p) *p = '\0'; + p = strstr(q, "@"); + if (p) *p = '\0'; + p = strstr(q, "/"); + if (p) *p = '\0'; + + upeer = strdup(q); + + if (strcmp(upeer, "")) { + p = upeer; + while (*p != '\0') { + char c = *p; + if (!isalnum((int) c)) { + *p = '\0'; + break; + } + p++; } + if (strcmp(upeer, "")) { + ok = 1; + } + } + if (! ok) { + upeer = NULL; + } + return upeer; +} - rfbLog("wait_for_client: running: %s\n", cmd); +static void check_nodisplay(char **nd) { + if (unixpw && keep_unixpw_opts && keep_unixpw_opts[0] != '\0') { + char *q, *t = keep_unixpw_opts; + q = strstr(t, "nd="); + if (! q) q = strstr(t, "nodisplay="); + if (q) { + char *t2; + q = strchr(q, '=') + 1; + t = strdup(q); + q = t; + t2 = strchr(t, ','); + if (t2) *t2 = '\0'; + while (*t != '\0') { + if (*t == '-') { + *t = ','; + } + t++; + } + if (!strchr(q, '\'')) { + if (! quiet) rfbLog("set X11VNC_SKIP_DISPLAY: %s\n", q); + *nd = q; + } + } + } +} - if (unixpw) { - int res = 0, k, j, i; - char line[18000]; +static char *get_usslpeer() { + char *u = NULL, *upeer = NULL; - memset(line, 0, 18000); + if (certret_str) { + upeer = certret_extract(); + } + if (!upeer) { + return NULL; + } + rfbLog("sslpeer unix username extracted from x509 cert: %s\n", upeer); - if (keep_unixpw_user && keep_unixpw_pass) { - n = 18000; - res = su_verify(keep_unixpw_user, - keep_unixpw_pass, cmd, line, &n, nodisp); + u = (char *) malloc(strlen(upeer+2)); + u[0] = '\0'; + if (!strcmp(users_list, "sslpeer=")) { + sprintf(u, "+%s", upeer); + } else { + char *p, *str = strdup(users_list); + p = strtok(str + strlen("sslpeer="), ","); + while (p) { + if (!strcmp(p, upeer)) { + sprintf(u, "+%s", upeer); + break; } + p = strtok(NULL, ","); + } + free(str); + } + if (u[0] == '\0') { + rfbLog("sslpeer cannot determine user: %s\n", upeer); + free(u); + return NULL; + } + free(u); + return upeer; +} + +static int do_run_cmd(char *cmd, char *create_cmd, char *users_list_save, int created_disp, int db) { + char tmp[] = "/tmp/x11vnc-find_display.XXXXXX"; + char line1[1024], line2[16384]; + char *q, *usslpeer = NULL; + int n, nodisp = 0, saw_xdmcp = 0; + int tmp_fd = -1; + + memset(line1, 0, 1024); + memset(line2, 0, 16384); + + if (users_list && strstr(users_list, "sslpeer=") == users_list) { + usslpeer = get_usslpeer(); + if (! usslpeer) { + return 0; + } + } + + /* only sets environment variables: */ + run_user_command("", latest_client, "env", NULL, 0, NULL); + + if (program_name) { + set_env("X11VNC_PROG", program_name); + } else { + set_env("X11VNC_PROG", "x11vnc"); + } + + if (!strcmp(cmd, "FINDDISPLAY") || + strstr(cmd, "FINDCREATEDISPLAY") == cmd) { + char *nd = ""; + tmp_fd = mkstemp(tmp); + if (tmp_fd < 0) { + rfbLog("wait_for_client: open failed: %s\n", tmp); + rfbLogPerror("mkstemp"); + clean_up_exit(1); + } + chmod(tmp, 0644); + if (getenv("X11VNC_FINDDISPLAY_ALWAYS_FAILS")) { + char *s = "#!/bin/sh\necho _FAIL_\nexit 1\n"; + write(tmp_fd, s, strlen(s)); + } else { + write(tmp_fd, find_display, strlen(find_display)); + } + close(tmp_fd); + nodisp = 1; + + if (strstr(cmd, "FINDCREATEDISPLAY") == cmd) { + create_cmd = build_create_cmd(cmd, &saw_xdmcp, usslpeer, tmp); + if (db) fprintf(stderr, "create_cmd: %s\n", create_cmd); + } + if (getenv("X11VNC_SKIP_DISPLAY")) { + nd = strdup(getenv("X11VNC_SKIP_DISPLAY")); + } + check_nodisplay(&nd); + + cmd = (char *) malloc(strlen("env X11VNC_SKIP_DISPLAY='' ") + + strlen(nd) + strlen(tmp) + strlen("/bin/sh ") + 1); + sprintf(cmd, "env X11VNC_SKIP_DISPLAY='%s' /bin/sh %s", nd, tmp); + } + + rfbLog("wait_for_client: running: %s\n", cmd); + + if (unixpw) { + int res = 0, k, j, i; + char line[18000]; + + memset(line, 0, 18000); + + if (keep_unixpw_user && keep_unixpw_pass) { + n = 18000; + res = su_verify(keep_unixpw_user, + keep_unixpw_pass, cmd, line, &n, nodisp); + } if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} - if (! res) { - rfbLog("wait_for_client: find display cmd failed\n"); - } + if (! res) { + rfbLog("wait_for_client: find display cmd failed\n"); + } - if (! res && create_cmd) { - FILE *mt = fopen(tmp, "w"); - if (! mt) { - rfbLog("wait_for_client: open failed: %s\n", tmp); - rfbLogPerror("fopen"); - clean_up_exit(1); - } - fprintf(mt, "%s", create_display); - fclose(mt); + if (! res && create_cmd) { + FILE *mt = fopen(tmp, "w"); + if (! mt) { + rfbLog("wait_for_client: open failed: %s\n", tmp); + rfbLogPerror("fopen"); + clean_up_exit(1); + } + fprintf(mt, "%s", create_display); + fclose(mt); - findcreatedisplay = 1; + findcreatedisplay = 1; - if (getuid() != 0) { - /* if not root, run as the other user... */ - n = 18000; - close_exec_fds(); - res = su_verify(keep_unixpw_user, - keep_unixpw_pass, create_cmd, line, &n, nodisp); + if (getuid() != 0) { + /* if not root, run as the other user... */ + n = 18000; + close_exec_fds(); + res = su_verify(keep_unixpw_user, + keep_unixpw_pass, create_cmd, line, &n, nodisp); if (db) fprintf(stderr, "c-res=%d n=%d line: '%s'\n", res, n, line); + } else { + FILE *p; + close_exec_fds(); + rfbLog("wait_for_client: running: %s\n", create_cmd); + p = popen(create_cmd, "r"); + if (! p) { + rfbLog("wait_for_client: popen failed: %s\n", create_cmd); + res = 0; + } else if (fgets(line1, 1024, p) == NULL) { + rfbLog("wait_for_client: read failed: %s\n", create_cmd); + res = 0; } else { - FILE *p; - close_exec_fds(); - rfbLog("wait_for_client: running: %s\n", create_cmd); - p = popen(create_cmd, "r"); - if (! p) { - rfbLog("wait_for_client: popen failed: %s\n", create_cmd); - res = 0; - } else if (fgets(line1, 1024, p) == NULL) { - rfbLog("wait_for_client: read failed: %s\n", create_cmd); + n = fread(line2, 1, 16384, p); + if (pclose(p) != 0) { res = 0; } else { - n = fread(line2, 1, 16384, p); - if (pclose(p) != 0) { - res = 0; - } else { - strncpy(line, line1, 100); - memcpy(line + strlen(line1), line2, n); + strncpy(line, line1, 100); + memcpy(line + strlen(line1), line2, n); if (db) fprintf(stderr, "line1: '%s'\n", line1); - n += strlen(line1); - created_disp = 1; - res = 1; - } + n += strlen(line1); + created_disp = 1; + res = 1; } } - if (res && saw_xdmcp) { - xdmcp_insert = strdup(keep_unixpw_user); - } } - - if (tmp_fd >= 0) { - unlink(tmp); + if (res && saw_xdmcp) { + xdmcp_insert = strdup(keep_unixpw_user); } + } - if (! res) { - rfbLog("wait_for_client: cmd failed: %s\n", cmd); - unixpw_msg("No DISPLAY found.", 3); - clean_up_exit(1); - } + if (tmp_fd >= 0) { + unlink(tmp); + } - /* - * we need to hunt for DISPLAY= since there may be - * a login banner or something at the beginning. - */ - q = strstr(line, "DISPLAY="); - if (! q) { - q = line; - } - n -= (q - line); + if (! res) { + rfbLog("wait_for_client: cmd failed: %s\n", cmd); + unixpw_msg("No DISPLAY found.", 3); + clean_up_exit(1); + } - for (k = 0; k < 1024; k++) { - line1[k] = q[k]; - if (q[k] == '\n') { - k++; - break; - } + /* + * we need to hunt for DISPLAY= since there may be + * a login banner or something at the beginning. + */ + q = strstr(line, "DISPLAY="); + if (! q) { + q = line; + } + n -= (q - line); + + for (k = 0; k < 1024; k++) { + line1[k] = q[k]; + if (q[k] == '\n') { + k++; + break; } - n -= k; - i = 0; - for (j = 0; j < 16384; j++) { - if (j < 16384 - 1) { - /* xauth data, assume pty added CR */ - if (q[k+j] == '\r' && q[k+j+1] == '\n') { - continue; - } + } + n -= k; + i = 0; + for (j = 0; j < 16384; j++) { + if (j < 16384 - 1) { + /* xauth data, assume pty added CR */ + if (q[k+j] == '\r' && q[k+j+1] == '\n') { + continue; } - - line2[i] = q[k+j]; - i++; } + + line2[i] = q[k+j]; + i++; + } if (db) write(2, line, 100); if (db) fprintf(stderr, "\n"); + } else { + FILE *p; + int rc; + close_exec_fds(); + + if (usslpeer) { + char *c; + if (getuid() == 0) { + c = (char *) malloc(strlen("su - '' -c \"") + + strlen(usslpeer) + strlen(cmd) + 1 + 1); + sprintf(c, "su - '%s' -c \"%s\"", usslpeer, cmd); + } else { + c = strdup(cmd); + } + p = popen(c, "r"); + free(c); + } else { - FILE *p; - int rc; - close_exec_fds(); - - if (usslpeer) { - char *c; - if (getuid() == 0) { - c = (char *) malloc(strlen("su - '' -c \"") - + strlen(usslpeer) + strlen(cmd) + 1 + 1); - sprintf(c, "su - '%s' -c \"%s\"", usslpeer, cmd); - } else { - c = strdup(cmd); + p = popen(cmd, "r"); + } + if (! p) { + rfbLog("wait_for_client: cmd failed: %s\n", cmd); + rfbLogPerror("popen"); + if (tmp_fd >= 0) { + unlink(tmp); + } + clean_up_exit(1); + } + if (fgets(line1, 1024, p) == NULL) { + rfbLog("wait_for_client: read failed: %s\n", cmd); + rfbLogPerror("fgets"); + if (tmp_fd >= 0) { + unlink(tmp); + } + clean_up_exit(1); + } + n = fread(line2, 1, 16384, p); + rc = pclose(p); + + if (rc != 0) { + rfbLog("wait_for_client: find display cmd failed\n"); + } + + if (create_cmd && rc != 0) { + FILE *mt = fopen(tmp, "w"); + if (! mt) { + rfbLog("wait_for_client: open failed: %s\n", tmp); + rfbLogPerror("fopen"); + if (tmp_fd >= 0) { + unlink(tmp); } - p = popen(c, "r"); - free(c); - - } else { - p = popen(cmd, "r"); + clean_up_exit(1); } + fprintf(mt, "%s", create_display); + fclose(mt); + + findcreatedisplay = 1; + + rfbLog("wait_for_client: FINDCREATEDISPLAY cmd: %s\n", create_cmd); + + p = popen(create_cmd, "r"); if (! p) { - rfbLog("wait_for_client: cmd failed: %s\n", cmd); + rfbLog("wait_for_client: cmd failed: %s\n", create_cmd); rfbLogPerror("popen"); if (tmp_fd >= 0) { unlink(tmp); @@ -2314,7 +2369,7 @@ if (db) fprintf(stderr, "\n"); clean_up_exit(1); } if (fgets(line1, 1024, p) == NULL) { - rfbLog("wait_for_client: read failed: %s\n", cmd); + rfbLog("wait_for_client: read failed: %s\n", create_cmd); rfbLogPerror("fgets"); if (tmp_fd >= 0) { unlink(tmp); @@ -2322,198 +2377,317 @@ if (db) fprintf(stderr, "\n"); clean_up_exit(1); } n = fread(line2, 1, 16384, p); - rc = pclose(p); - - if (rc != 0) { - rfbLog("wait_for_client: find display cmd failed\n"); - } - - if (create_cmd && rc != 0) { - FILE *mt = fopen(tmp, "w"); - if (! mt) { - rfbLog("wait_for_client: open failed: %s\n", tmp); - rfbLogPerror("fopen"); - if (tmp_fd >= 0) { - unlink(tmp); - } - clean_up_exit(1); - } - fprintf(mt, "%s", create_display); - fclose(mt); - - findcreatedisplay = 1; - - rfbLog("wait_for_client: FINDCREATEDISPLAY cmd: %s\n", create_cmd); - - p = popen(create_cmd, "r"); - if (! p) { - rfbLog("wait_for_client: cmd failed: %s\n", create_cmd); - rfbLogPerror("popen"); - if (tmp_fd >= 0) { - unlink(tmp); - } - clean_up_exit(1); - } - if (fgets(line1, 1024, p) == NULL) { - rfbLog("wait_for_client: read failed: %s\n", create_cmd); - rfbLogPerror("fgets"); - if (tmp_fd >= 0) { - unlink(tmp); - } - clean_up_exit(1); - } - n = fread(line2, 1, 16384, p); - } - if (tmp_fd >= 0) { - unlink(tmp); - } } + if (tmp_fd >= 0) { + unlink(tmp); + } + } if (db) fprintf(stderr, "line1=%s\n", line1); - if (strstr(line1, "DISPLAY=") != line1) { - rfbLog("wait_for_client: bad reply '%s'\n", line1); - if (unixpw) { - unixpw_msg("No DISPLAY found.", 3); - } - clean_up_exit(1); + if (strstr(line1, "DISPLAY=") != line1) { + rfbLog("wait_for_client: bad reply '%s'\n", line1); + if (unixpw) { + unixpw_msg("No DISPLAY found.", 3); } + clean_up_exit(1); + } - if (strstr(line1, ",VT=")) { - int vt; - char *t = strstr(line1, ",VT="); - vt = atoi(t + strlen(",VT=")); - *t = '\0'; - if (7 <= vt && vt <= 15) { - char chvt[100]; - sprintf(chvt, "chvt %d >/dev/null 2>/dev/null &", vt); - rfbLog("running: %s\n", chvt); - system(chvt); - sleep(2); - } - } else if (strstr(line1, ",XPID=")) { - int i, pvt, vt = -1; - char *t = strstr(line1, ",XPID="); - pvt = atoi(t + strlen(",XPID=")); - *t = '\0'; - if (pvt > 0) { - for (i=3; i <= 10; i++) { - int k; - char proc[100]; - char buf[100]; - sprintf(proc, "/proc/%d/fd/%d", pvt, i); + if (strstr(line1, ",VT=")) { + int vt; + char *t = strstr(line1, ",VT="); + vt = atoi(t + strlen(",VT=")); + *t = '\0'; + if (7 <= vt && vt <= 15) { + do_chvt(vt); + } + } else if (strstr(line1, ",XPID=")) { + int i, pvt, vt = -1; + char *t = strstr(line1, ",XPID="); + pvt = atoi(t + strlen(",XPID=")); + *t = '\0'; + if (pvt > 0) { + for (i=3; i <= 10; i++) { + int k; + char proc[100]; + char buf[100]; + sprintf(proc, "/proc/%d/fd/%d", pvt, i); if (db) fprintf(stderr, "%d -- %s\n", i, proc); - for (k=0; k < 100; k++) { - buf[k] = '\0'; - } - - if (readlink(proc, buf, 100) != -1) { - buf[100-1] = '\0'; + for (k=0; k < 100; k++) { + buf[k] = '\0'; + } + + if (readlink(proc, buf, 100) != -1) { + buf[100-1] = '\0'; if (db) fprintf(stderr, "%d -- %s -- %s\n", i, proc, buf); - if (strstr(buf, "/dev/tty") == buf) { - vt = atoi(buf + strlen("/dev/tty")); - if (vt > 0) { - break; - } + if (strstr(buf, "/dev/tty") == buf) { + vt = atoi(buf + strlen("/dev/tty")); + if (vt > 0) { + break; } } } } - if (7 <= vt && vt <= 12) { - char chvt[100]; - sprintf(chvt, "chvt %d >/dev/null 2>/dev/null &", vt); - rfbLog("running: %s\n", chvt); - system(chvt); - sleep(2); - } } - - use_dpy = strdup(line1 + strlen("DISPLAY=")); - q = use_dpy; - while (*q != '\0') { - if (*q == '\n' || *q == '\r') *q = '\0'; - q++; + if (7 <= vt && vt <= 12) { + do_chvt(vt); } - if (line2[0] != '\0') { - if (strstr(line2, "XAUTHORITY=") == line2) { - q = line2; - while (*q != '\0') { - if (*q == '\n' || *q == '\r') *q = '\0'; - q++; - } - if (auth_file) { - free(auth_file); - } - auth_file = strdup(line2 + strlen("XAUTHORITY=")); + } - } else { - xauth_raw_data = (char *)malloc(n); - xauth_raw_len = n; - memcpy(xauth_raw_data, line2, n); + use_dpy = strdup(line1 + strlen("DISPLAY=")); + q = use_dpy; + while (*q != '\0') { + if (*q == '\n' || *q == '\r') *q = '\0'; + q++; + } + if (line2[0] != '\0') { + if (strstr(line2, "XAUTHORITY=") == line2) { + q = line2; + while (*q != '\0') { + if (*q == '\n' || *q == '\r') *q = '\0'; + q++; + } + if (auth_file) { + free(auth_file); + } + auth_file = strdup(line2 + strlen("XAUTHORITY=")); + + } else { + xauth_raw_data = (char *)malloc(n); + xauth_raw_len = n; + memcpy(xauth_raw_data, line2, n); if (db) {fprintf(stderr, "xauth_raw_len: %d\n", n); write(2, xauth_raw_data, n); fprintf(stderr, "\n");} - } } + } - if (usslpeer) { - char *u = (char *) malloc(strlen(usslpeer+2)); - sprintf(u, "+%s", usslpeer); - if (switch_user(u, 0)) { - rfbLog("sslpeer switched to user: %s\n", usslpeer); - } else { - rfbLog("sslpeer failed to switch to user: %s\n", usslpeer); - } - free(u); - - } else if (users_list_save && keep_unixpw_user) { - char *user = keep_unixpw_user; - char *u = (char *)malloc(strlen(user)+1); + if (usslpeer) { + char *u = (char *) malloc(strlen(usslpeer+2)); + sprintf(u, "+%s", usslpeer); + if (switch_user(u, 0)) { + rfbLog("sslpeer switched to user: %s\n", usslpeer); + } else { + rfbLog("sslpeer failed to switch to user: %s\n", usslpeer); + } + free(u); + + } else if (users_list_save && keep_unixpw_user) { + char *user = keep_unixpw_user; + char *u = (char *)malloc(strlen(user)+1); - users_list = users_list_save; + users_list = users_list_save; - u[0] = '\0'; - if (!strcmp(users_list, "unixpw=")) { - sprintf(u, "+%s", user); - } else { - char *p, *str = strdup(users_list); - p = strtok(str + strlen("unixpw="), ","); - while (p) { - if (!strcmp(p, user)) { - sprintf(u, "+%s", user); - break; - } - p = strtok(NULL, ","); + u[0] = '\0'; + if (!strcmp(users_list, "unixpw=")) { + sprintf(u, "+%s", user); + } else { + char *p, *str = strdup(users_list); + p = strtok(str + strlen("unixpw="), ","); + while (p) { + if (!strcmp(p, user)) { + sprintf(u, "+%s", user); + break; } - free(str); - } - - if (u[0] == '\0') { - rfbLog("unixpw_accept skipping switch to user: %s\n", user); - } else if (switch_user(u, 0)) { - rfbLog("unixpw_accept switched to user: %s\n", user); - } else { - rfbLog("unixpw_accept failed to switch to user: %s\n", user); + p = strtok(NULL, ","); } - free(u); + free(str); } + + if (u[0] == '\0') { + rfbLog("unixpw_accept skipping switch to user: %s\n", user); + } else if (switch_user(u, 0)) { + rfbLog("unixpw_accept switched to user: %s\n", user); + } else { + rfbLog("unixpw_accept failed to switch to user: %s\n", user); + } + free(u); + } - if (unixpw) { - char str[32]; + if (unixpw) { + char str[32]; - if (keep_unixpw_user && keep_unixpw_pass) { - strzero(keep_unixpw_user); - strzero(keep_unixpw_pass); - keep_unixpw = 0; + if (keep_unixpw_user && keep_unixpw_pass) { + strzero(keep_unixpw_user); + strzero(keep_unixpw_pass); + keep_unixpw = 0; + } + + if (created_disp) { + snprintf(str, 30, "Created DISPLAY %s", use_dpy); + } else { + snprintf(str, 30, "Using DISPLAY %s", use_dpy); + } + unixpw_msg(str, 2); + } + return 1; +} + +static XImage ximage_struct; + +int wait_for_client(int *argc, char** argv, int http) { + /* ugh, here we go... */ + XImage* fb_image; + int w = 640, h = 480, b = 32; + int w0, h0, i, chg_raw_fb = 0; + char *str, *q, *cmd = NULL; + int db = 0, dt = 0; + char *create_cmd = NULL; + char *users_list_save = NULL; + int created_disp = 0, ncache_save; + int did_client_connect = 0; + char *vnc_redirect_host = "localhost"; + int vnc_redirect_port = -1, vnc_redirect_cnt = 0; + char vnc_redirect_test[10]; + + if (getenv("WAIT_FOR_CLIENT_DB")) { + db = 1; + } + + vnc_redirect = 0; + + if (! use_dpy || strstr(use_dpy, "WAIT:") != use_dpy) { + return 0; + } + + for (i=0; i < *argc; i++) { + if (!strcmp(argv[i], "-desktop")) { + dt = 1; + } + if (db) fprintf(stderr, "args %d %s\n", i, argv[i]); + } + if (!quiet && !strstr(use_dpy, "FINDDISPLAY-run")) { + rfbLog("wait_for_client: %s\n", use_dpy); + } + + str = strdup(use_dpy); + str += strlen("WAIT"); + + xdmcp_insert = NULL; + + /* get any leading geometry: */ + q = strchr(str+1, ':'); + if (q) { + *q = '\0'; + if (sscanf(str+1, "%dx%d", &w0, &h0) == 2) { + w = w0; + h = h0; + rfbLog("wait_for_client set: w=%d h=%d\n", w, h); + } + *q = ':'; + str = q; + } + + /* str currently begins with a ':' */ + if (strstr(str, ":cmd=") == str) { + /* cmd=/path/to/mycommand */ + str++; + } else if (strpbrk(str, "0123456789") == str+1) { + /* :0.0 */ + ; + } else { + /* hostname:0.0 */ + str++; + } + + if (db) fprintf(stderr, "str: %s\n", str); + + if (strstr(str, "cmd=") == str) { + cmd = setup_cmd(str, &vnc_redirect, &vnc_redirect_host, &vnc_redirect_port, db); + } + + fb_image = &ximage_struct; + setup_fake_fb(fb_image, w, h, b); + + if (! dt) { + char *s; + argv[*argc] = strdup("-desktop"); + *argc = (*argc) + 1; + + if (cmd) { + char *q; + s = choose_title(":0"); + q = strstr(s, ":0"); + if (q) { + *q = '\0'; } + } else { + s = choose_title(str); + } + rfb_desktop_name = strdup(s); + argv[*argc] = s; + *argc = (*argc) + 1; + } - if (created_disp) { - snprintf(str, 30, "Created DISPLAY %s", use_dpy); - } else { - snprintf(str, 30, "Using DISPLAY %s", use_dpy); + ncache_save = ncache; + ncache = 0; + + initialize_allowed_input(); + + if (! multiple_cursors_mode) { + multiple_cursors_mode = strdup("default"); + } + initialize_cursors_mode(); + + initialize_screen(argc, argv, fb_image); + + initialize_signals(); + + if (ssh_str != NULL) { + ssh_remote_tunnel(ssh_str, screen->port); + } + + if (! raw_fb) { + chg_raw_fb = 1; + /* kludge to get RAWFB_RET with dpy == NULL guards */ + raw_fb = (char *) 0x1; + } + + if (cmd && !strcmp(cmd, "HTTPONCE")) { + handle_one_http_request(); + clean_up_exit(0); + } + + if (http && check_httpdir()) { + http_connections(1); + } + + if (cmd && unixpw) { + keep_unixpw = 1; + } + + setup_service(); + + check_waitbg(); + + if (vnc_redirect) { + vnc_redirect_loop(vnc_redirect_test, &vnc_redirect_cnt); + } else { + if (inetd && use_openssl) { + accept_openssl(OPENSSL_INETD, -1); + } + + setup_client_connect(&did_client_connect); + + loop_for_connect(did_client_connect); + + if (unixpw) { + if (cmd && strstr(cmd, "FINDCREATEDISPLAY") == cmd) { + if (users_list && strstr(users_list, "unixpw=") == users_list) { + users_list_save = users_list; + users_list = NULL; + } } - unixpw_msg(str, 2); + do_unixpw_loop(); + } + } + + if (vnc_redirect == 2) { + ; + } else if (cmd) { + if (!do_run_cmd(cmd, create_cmd, users_list_save, created_disp, db)) { + return 0; } } else { use_dpy = strdup(str); @@ -2532,61 +2706,8 @@ fprintf(stderr, "\n");} } if (vnc_redirect) { - char *q = strchr(use_dpy, ':'); - int vdpy = -1, sock = -1; - int s_in, s_out, i; - if (vnc_redirect == 2) { - char num[32]; - sprintf(num, ":%d", vnc_redirect_port); - q = num; - } - if (!q) { - rfbLog("wait_for_client: can't find number in X display: %s\n", use_dpy); - clean_up_exit(1); - } - if (sscanf(q+1, "%d", &vdpy) != 1) { - rfbLog("wait_for_client: can't find number in X display: %s\n", q); - clean_up_exit(1); - } - if (vdpy == -1 && vnc_redirect != 2) { - rfbLog("wait_for_client: can't find number in X display: %s\n", q); - clean_up_exit(1); - } - if (vnc_redirect == 2) { - if (vdpy < 0) { - vdpy = -vdpy; - } else if (vdpy < 200) { - vdpy += 5900; - } - } else { - vdpy += 5900; - } - if (created_disp) { - usleep(1000*1000); - } - for (i=0; i < 20; i++) { - sock = rfbConnectToTcpAddr(vnc_redirect_host, vdpy); - if (sock >= 0) { - break; - } - rfbLog("wait_for_client: ...\n"); - usleep(500*1000); - } - if (sock < 0) { - rfbLog("wait_for_client: could not connect to a VNC Server at %s:%d\n", vnc_redirect_host, vdpy); - clean_up_exit(1); - } - if (inetd) { - s_in = fileno(stdin); - s_out = fileno(stdout); - } else { - s_in = s_out = vnc_redirect_sock; - } - if (vnc_redirect_cnt > 0) { - write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); - } - rfbLog("wait_for_client: switching control to VNC Server at %s:%d\n", vnc_redirect_host, vdpy); - raw_xfer(sock, s_in, s_out); + do_vnc_redirect(created_disp, vnc_redirect_host, vnc_redirect_port, + vnc_redirect_cnt, vnc_redirect_test); clean_up_exit(0); } diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index 4e6b698..0b571cb 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -1,8 +1,8 @@ .\" This file was automatically generated from x11vnc -help output. -.TH X11VNC "1" "February 2008" "x11vnc " "User Commands" +.TH X11VNC "1" "May 2008" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.9.4, lastmod: 2008-02-17 + version: 0.9.4, lastmod: 2008-05-07 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -507,6 +507,45 @@ Be careful about the location of this file if x11vnc is running as root (e.g. via .IR gdm (1) , etc). +.IP +Repeater mode: Some services provide an intermediate +"vnc repeater": http://www.uvnc.com/addons/repeater.html +(and also http://koti.mbnet.fi/jtko/ for linux port) +that acts as a proxy / gateway. Modes like these require +an initial string to be sent for the reverse connection +before the VNC protocol is started. Here are the ways +to do this: +.IP +\fB-connect\fR pre=some_string+host:port +\fB-connect\fR pre128=some_string+host:port +\fB-connect\fR repeater=ID:1234+host:port +\fB-connect\fR repeater=23.45.67.89::5501+host:port +.IP +SSVNC notation is also supported: +.IP +\fB-connect\fR repeater://host:port+ID:1234 +.IP +As with normal \fB-connect\fR usage, if the repeater port is +not supplied 5500 is assumed. +.IP +The basic idea is between the special tag, e.g. "pre=" +and "+" is the pre-string to be sent. Note that in +this case host:port is the repeater server, NOT the +vnc viewer. Somehow the pre-string tells the repeater +server how to find the vnc viewer and connect you to it. +.IP +In the case pre=some_string+host:port, "some_string" +is simply sent. In the case preNNN=some_string+host:port +"some_string" is sent in a null padded buffer of +length NNN. repeater= is the same as pre250=, this is +the ultravnc repeater buffer size. +.IP +Strings like "\\n" and "\\r", etc. are expanded to +newline and carriage return. "\\c" is expanded to +"," since the connect string is comma separated. +.IP +See also the \fB-proxy\fR option below for additional ways +to plumb reverse connections. .PP \fB-connect_or_exit\fR \fIstr\fR .IP @@ -1068,6 +1107,10 @@ In fact, the protocol does not even need to be VNC, and so "\fB-ssl\fR \fISAVE \fB-redirect\fR host:port\fR" can act as a replacement for .IR stunnel (1). +.IP +This mode only allows one redirected connection. +The \fB-forever\fR option does not apply. Use \fB-inetd\fR or +\fB-loop\fR for persistant service. .PP \fB-display\fR \fIWAIT:...\fR .IP @@ -3620,8 +3663,8 @@ for details. \fB-nodpms\fR is basically the same as running If the system supports the DPMS (Display Power Management Signaling) extension, then try to keep the monitor in a powered off state. This is to prevent -nosey people at the physical display from viewing -what is on the screen. Be sure lock the screen before +nosey people at the physical display from viewing what +is on the screen. Be sure to lock the screen before disconnecting. .IP This method is far from bullet proof, e.g. suppose @@ -3713,7 +3756,11 @@ for this option if you don't like the 'pipe'. Example: .IP Whether or not to use the threaded libvncserver algorithm [rfbRunEventLoop] if libpthread is available -Default: \fB-nothreads\fR +Default: \fB-nothreads.\fR NOTE: The \fB-threads\fR mode is now +disabled due to its unstable behavior. Not recommended, +but you can recompile with \fB-DX11VNC_THREADED\fR in +CPPFLAGS if you need to use it. You can also set the +env. variable X11VNC_THREADED=1 .PP \fB-fs\fR \fIf\fR .IP diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 5b07ee0..af6b8f2 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -2589,7 +2589,7 @@ int main(int argc, char* argv[]) { } else if (!strcmp(arg, "-connect") || !strcmp(arg, "-connect_or_exit")) { CHECK_ARGC - if (strchr(argv[++i], '/')) { + if (strchr(argv[++i], '/' && !strstr(argv[i], "repeater://"))) { client_connect_file = strdup(argv[i]); } else { client_connect = strdup(argv[i]); @@ -3280,7 +3280,22 @@ int main(int argc, char* argv[]) { } #if LIBVNCSERVER_HAVE_LIBPTHREAD } else if (!strcmp(arg, "-threads")) { +#if defined(X11VNC_THREADED) use_threads = 1; +#else + if (getenv("X11VNC_THREADED")) { + use_threads = 1; + } else { + rfbLog("\n"); + rfbLog("The -threads mode is unstable and not tested or maintained.\n"); + rfbLog("It is disabled in the source code. If you really need\n"); + rfbLog("the feature you can reenable it at build time by setting\n"); + rfbLog("-DX11VNC_THREADED in CPPFLAGS. Or set X11VNC_THREADED=1\n"); + rfbLog("in your runtime environment.\n"); + rfbLog("\n"); + usleep(500*1000); + } +#endif } else if (!strcmp(arg, "-nothreads")) { use_threads = 0; #endif diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index e5f0eca..0bd42d9 100644 --- a/x11vnc/x11vnc_defs.c +++ b/x11vnc/x11vnc_defs.c @@ -15,7 +15,7 @@ int xtrap_base_event_type = 0; int xdamage_base_event_type = 0; /* date +'lastmod: %Y-%m-%d' */ -char lastmod[] = "0.9.4 lastmod: 2008-02-17"; +char lastmod[] = "0.9.4 lastmod: 2008-05-07"; /* X display info */ |