diff --git a/prepare_x11vnc_dist.sh b/prepare_x11vnc_dist.sh index fad4277..579f0b8 100644 --- a/prepare_x11vnc_dist.sh +++ b/prepare_x11vnc_dist.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="0.9.3" +VERSION="0.9.4" cd "$(dirname "$0")" diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c index ff5a581..a524e65 100644 --- a/x11vnc/8to24.c +++ b/x11vnc/8to24.c @@ -1721,10 +1721,12 @@ if (db24 > 1) fprintf(stderr, "bpp8to24 %d %d %d %d %.4f\n", x1, y1, x2, y2, dno call_count++; /* clip to display just in case: */ - x1 = nfix(x1, dpy_x); - y1 = nfix(y1, dpy_y); - x2 = nfix(x2, dpy_x+1); - y2 = nfix(y2, dpy_y+1); + if (!ncache) { + x1 = nfix(x1, dpy_x); + y1 = nfix(y1, dpy_y); + x2 = nfix(x2, dpy_x+1); + y2 = nfix(y2, dpy_y+1); + } if (wireframe_in_progress) { /* @@ -1765,6 +1767,7 @@ if (db24 > 1) fprintf(stderr, "bpp8to24 %d %d %d %d %.4f\n", x1, y1, x2, y2, dno idx = (int) (*uc); +if (0 && line % 100 == 0 && j % 32 == 0) fprintf(stderr, "%d %d %u x1=%d y1=%d\n", line, j, root_rgb[idx], x1, y1); #if 0 if (do_hibits) { hi = idx << 24; diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog index 058ad18..28e8bcc 100644 --- a/x11vnc/ChangeLog +++ b/x11vnc/ChangeLog @@ -1,3 +1,9 @@ +2007-10-27 Karl Runge + * x11vnc: fix ncache bug and others under -8to24, -ssh + option, socks and other proxies in -proxy option. + compiler warnings. fix TARGETS selection request bug + (java, konsole). + 2007-10-03 Karl Runge * x11vnc: add xfce to createdisplay diff --git a/x11vnc/README b/x11vnc/README index 25d169d..aa96209 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Wed Oct 3 18:57:35 EDT 2007 +x11vnc README file Date: Sat Oct 27 17:28:51 EDT 2007 The following information is taken from these URLs: @@ -193,32 +193,33 @@ x11vnc: a VNC server for real X displays shutdown automatically (or you can use the [41]-forever option to have it wait for additional viewer connections). - Common Gotcha: Nowadays there will likely be a host-level firewall on - the x11vnc side that is blocking remote access to the VNC port (e.g. - 5900). You will either have to open up that port (or a range of ports) - in your firewall administration tool, or try the [42]SSH tunnelling - method below (even still the firewall must allow in the SSH port, 22). + Common Gotcha: Nowadays there will likely be a host-level [42]firewall + on the x11vnc side that is blocking remote access to the VNC port + (e.g. 5900). You will either have to open up that port (or a range of + ports) in your firewall administration tool, or try the [43]SSH + tunnelling method below (even still the firewall must allow in the SSH + port, 22). Shortcut: Of course if you left x11vnc running on far-away.east:0 in a - terminal window with the [43]-forever option or as a [44]service, + terminal window with the [44]-forever option or as a [45]service, you'd only have to do Step 3 as you moved around. Be sure to use a VNC - [45]Password or [46]other measures if you do that. + [46]Password or [47]other measures if you do that. Super Shortcut: Here is a potentially very easy way to get all of it working. * Have x11vnc (0.9.3 or later) available to run on the remote host (i.e. in $PATH). - * Download and unpack a [47]SSVNC bundle (1.0.19 or later, e.g. - [48]ssvnc_no_windows-1.0.19.tar.gz) on the Viewer-side machine. + * Download and unpack a [48]SSVNC bundle (1.0.19 or later, e.g. + [49]ssvnc_no_windows-1.0.19.tar.gz) on the Viewer-side machine. * Start the SSVNC Terminal Services mode GUI: ./ssvnc/bin/tsvnc * Enter your remote username@hostname (e.g. fred@far-away.east) in the "VNC Terminal Server" entry. * Click "Connect". That will do an SSH to username@hostname and start up x11vnc and then - connect a VNC Viewer through the SSH [49]encrypted tunnel. + connect a VNC Viewer through the SSH [50]encrypted tunnel. There are a number of things assumed here, first that you are able to SSH into the remote host; i.e. that you have a Unix account there and @@ -227,7 +228,7 @@ x11vnc: a VNC server for real X displays plink binary is included in the SSVNC bundle). Finally, it is assumed that you are already logged into an X session on the remote machine, e.g. your workstation (otherwise, a virtual X server, e.g. Xvfb, will - be [50]started for you). + be [51]started for you). 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 @@ -248,26 +249,28 @@ x11vnc: a VNC server for real X displays For these cases it should be obvious how it is done. The above steps will work, but more easily the user sitting at far-away.east:0 simply starts up x11vnc from a terminal window, after which the guests would - start their VNC viewers. For this usage mode the "[51]-connect + start their VNC viewers. For this usage mode the "[52]-connect host1,host2" option may be of use to automatically connect to the vncviewers in "-listen" mode on the list of hosts. _________________________________________________________________ - Tunnelling x11vnc via ssh: + Tunnelling x11vnc via SSH: The above example had no security or privacy at all. When logging into remote machines (certainly when going over the internet) it is best to use ssh, or use a VPN (for a VPN, Virtual Private Network, the above - example should be fine). + example should be pretty safe). - For x11vnc one can tunnel the VNC protocol through the encrypted ssh - channel. It would look something like this: + For x11vnc one can tunnel the VNC protocol through an encrypted ssh + channel. It would look something like running the following commands: sitting-here> ssh -t -L 5900:localhost:5900 far-away.east 'x11vnc -localhost -display :0' - (you will likely have to provide passwords/passphrases for the ssh - login) and then in another terminal window on sitting-here run the - command: + (you will likely have to provide passwords/passphrases to login from + sitting-here into your far-away.east Unix account; we assume you have + a login account on far-away.east and it is running the SSH server) + + And then in another terminal window on sitting-here run the command: sitting-here> vncviewer -encodings "copyrect tight zrle hextile" localhost:0 Note: The -encodings option is very important: vncviewer will often @@ -282,24 +285,32 @@ x11vnc: a VNC server for real X displays Note that "x11vnc -localhost ..." limits incoming vncviewer connections to only those from the same machine. This is very natural for ssh tunnelling (the redirection appears to come from the same - machine). Use of a [52]VNC password is also strongly recommended. + machine). Use of a [53]VNC password is also strongly recommended. Note also the -t we used above (force allocate pseudoterminal), it actually seems to improve interactive typing response via VNC! + You may want to add the -C option to ssh to enable compression. The + VNC compression is not perfect, and so this may help a bit. However, + over a fast LAN you probably don't want to enable SSH compression + because it can slow things down. Try both and see which is faster. + + If your username is different on the remote machine use something + like: "fred@far-away.east" in the above ssh command line. + Some VNC viewers will do the ssh tunnelling for you automatically, the - TightVNC vncviewer does this when the "-via far-away.east" option is - supplied to it (this requires x11vnc to be already running on - far-away.east or having it started by [53]inetd(8)). See the 3rd - script example [54]below for more info. + TightVNC Unix vncviewer does this when the "-via far-away.east" option + is supplied to it (this requires x11vnc to be already running on + far-away.east or having it started by [54]inetd(8)). See the 3rd + script example [55]below for more info. - SSVNC: You may also want to look at the [55]Enhanced TightVNC Viewer + SSVNC: You may also want to look at the [56]Enhanced TightVNC Viewer (ssvnc) bundles because they contain scripts and GUIs to automatically set up SSH tunnels (e.g. the GUI, "ssvnc", does it automatically and so does this command: "ssvnc_cmd -ssh user@far-away.east:0") and can even start up x11vnc as well. - The [56]Terminal Services mode of SSVNC is perhaps the easiest way to + 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: @@ -323,46 +334,90 @@ x11vnc: a VNC server for real X displays Once logged in, you'll need to do a second login (ssh, rsh, etc.) to the workstation machine 'OtherHost' and then start up x11vnc on it (if - it isn't already running). (The "[57]-connect gateway:59xx" option may + it isn't already running). (The "[58]-connect gateway:59xx" option may be another alternative here with the viewer already in -listen mode). For an automatic way to use a gateway and have all the network traffic - encrypted (including inside the firewall) see [58]Chaining SSH's. + encrypted (including inside the firewall) see [59]Chaining SSH's. These gateway access modes also can be done automatically for you via - the "Proxy/Gateway" setting in [59]SSVNC (including the Chaining SSH's + the "Proxy/Gateway" setting in [60]SSVNC (including the Chaining SSH's case, "Double Proxy"). - Routers: A lot of people have inexpensive devices for home or office - that act as a Firewall and Router to the machines inside on a private - LAN. One often can configure the Firewall/Router from inside the LAN - via a web browser. + Firewalls/Routers: + + A lot of people have inexpensive devices for home or office that act + as a Firewall and Router to the machines inside on a private LAN. One + can usually configure the Firewall/Router from inside the LAN via a + web browser. + + Often having a Firewall/Router sitting between the vncviewer and + x11vnc will make it impossible for the viewer to connect to x11vnc. 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). This way you - reach these computers from anywhere on the Internet and use x11vnc to - view X sessions running on them. + 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. - Suppose the Firewall/Router was set up to redirect these ports to two - interal machines: + 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) - (or perhaps internal IP's like 192.168.2.33) Then the ssh's would look - something like: - sitting-here> ssh -t -p 12300 -L 5900:localhost:5900 jill@gateway.east 'x11vn -c -localhost -display :0' - sitting-here> ssh -t -p 12301 -L 5900:localhost:5900 fred@gateway.east 'x11vn -c -localhost -display :0' - - Where gateway.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). + (or perhaps internal IP's like 192.168.2.33 instead of "jills-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 +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/ + is a convenient way to determine what it is). + + It is a good idea to add some obscurity to accessing your system via + SSH by using some high random port (e.g. 12300 in the above example). + If you can't remember it, or are otherwised 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) Again, this SSH gateway access can be done automatically for you via - the "Proxy/Gateway" setting in [60]SSVNC. And under the "Remote SSH + the "Proxy/Gateway" setting in [62]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 + solved via a port redirection, most PC systems have their own Host + level "firewalls" enabled to protect users from themselves. I.e. the + system itself blocks all incoming connections. So you will need to see + what is needed to configure it to allow in the port (e.g. 22) that you + desire. E.g. Yast, Firestarter, iptables(1), etc.. + + 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) + + (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. + + 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 + freds-pc. We assume above that x11vnc is using port 5900 (and any + Host-Level-firewalls on jills-pc has been configured to let that port + in). + + For a home system one likely does not have a hostname and would have + to use the IP address, say, "24.56.78.93:0". E.g.: + 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. + _________________________________________________________________ Scripts to automate ssh tunneling: As discussed below, there may be @@ -370,9 +425,10 @@ c -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 [61]-bg (forks into background after connection to the + x11vnc option [65]-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. + are shown below. Feel free to try the ssh -C to enable its compression + and see if that speeds things up noticeably. _________________________________________________________________ #1. A simple example script, assuming no problems with port 5900 being @@ -402,7 +458,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 [62]-connect option: + using the [66]-connect option: #!/bin/sh # usage: x11vnc_ssh : # e.g.: x11vnc_ssh snoopy.peanuts.com:0 @@ -445,7 +501,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 [63]inetd(8)), you can simply + connections (or have it started out of [67]inetd(8)), you can simply use the TightVNC "vncviewer -via gateway host:port" in its default mode to provide secure ssh tunnelling. _________________________________________________________________ @@ -453,38 +509,38 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. VNC password file: Also note in the #1. example script that the - [64]option "-rfbauth .vnc/passwd" provides additional protection by + [68]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 [65]-storepasswd + vncpasswd or storepasswd programs, or the x11vnc [69]-storepasswd option can be used to create the password file. x11vnc also has the - slightly less secure [66]-passwdfile and "-passwd XXXXX" [67]options + slightly less secure [70]-passwdfile and "-passwd XXXXX" [71]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 [68]-usepw if you want to be forced + automatically or force you to (use [72]-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, [69]-ssl mode, a VPN, - etc. (use the [70]Enhanced TightVNC Viewer (SSVNC) GUI if you want to + 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 be forced to use SSL or SSH). For additional safety, also look into - the -allow and -localhost [71]options and building x11vnc with - [72]tcp_wrappers support to limit host access. + the -allow and -localhost [75]options and building x11vnc with + [76]tcp_wrappers support to limit host access. _________________________________________________________________ Tunnelling x11vnc via SSL: One can also encrypt the VNC traffic using an SSL tunnel such as - [73]stunnel (also [74]stunnel.mirt.net) or using the built-in - (Mar/2006) [75]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer + [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 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 [76]this FAQ on -ssl and -stunnel modes for + useful alternative. See [80]this FAQ on -ssl and -stunnel modes for details and examples. - The [77]Enhanced TightVNC Viewer (SSVNC) bundles contain some + The [81]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. @@ -492,29 +548,29 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Downloading x11vnc: - x11vnc is a contributed program to the [78]LibVNCServer project at + x11vnc is a contributed program to the [82]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 Jun 2007, the [79]x11vnc-0.9.2.tar.gz source package is - released (recommended download). The [80]x11vnc 0.9.2 release notes. + 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. 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 [81]x11vnc-0.9.3.tar.gz tarball to build the most up to + bleeding edge [85]x11vnc-0.9.4.tar.gz tarball to build the most up to date one. - Precompiled Binaries/Packages: See the [82]FAQ below for information + Precompiled Binaries/Packages: See the [86]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: - * [83]http://www.tightvnc.com/download.html - * [84]http://www.realvnc.com/download-free.html - * [85]http://sourceforge.net/projects/cotvnc/ - * [86]http://www.ultravnc.com/ - * [87]Our Enhanced TightVNC Viewer (SSVNC) + * [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) [ssvnc.gif] @@ -526,21 +582,21 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. 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: - * [88]rx11vnc wrapper script - * [89]rx11vnc.pl wrapper script to tunnel traffic thru ssh + * [92]rx11vnc wrapper script + * [93]rx11vnc.pl wrapper script to tunnel traffic thru ssh _________________________________________________________________ Building x11vnc: If your OS has libjpeg.so and libz.so in standard locations you can - build as follows (example given for the 0.9.2 release of x11vnc: + build as follows (example given for the 0.9.3 release of x11vnc: replace with the version you downloaded): (un-tar the x11vnc+libvncserver tarball) -# gzip -dc x11vnc-0.9.2.tar.gz | tar -xvf - +# gzip -dc x11vnc-0.9.3.tar.gz | tar -xvf - (cd to the source directory) -# cd x11vnc-0.9.2 +# cd x11vnc-0.9.3 (run configure and then run make) # ./configure @@ -558,8 +614,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 [90]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc - binaries are [91]here. + are at [94]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc + binaries are [95]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 @@ -579,12 +635,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 [92]build scripts below + libvncserver's choice of AM_CFLAGS. See the [96]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 [93]Misc. Build problems here. + You can find information on [97]Misc. Build problems here. _________________________________________________________________ @@ -622,9 +678,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 - [94]ftp://ftp.uu.net/graphics/jpeg/ and zlib at - [95]http://www.gzip.org/zlib/. See also - [96]http://www.sunfreeware.com/ for Solaris binary packages of these + [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 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. @@ -695,7 +751,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 [97]this workaround FAQ. + OS's, see [101]this workaround FAQ. Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in @@ -731,7 +787,7 @@ make up by the configure and make. - Building on Mac OS X: There is now [98]native Mac OS X support for + Building on Mac OS X: There is now [102]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 ... @@ -745,8 +801,8 @@ make OpenSSL: Starting with version 0.8.3 x11vnc can now be built with - [99]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 + [103]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. _________________________________________________________________ @@ -757,47 +813,62 @@ make I'd appreciate any additional testing very much. Thanks to those who suggested features and helped beta test x11vnc - 0.9.2 released in Jun 2007! + 0.9.3 released in Oct 2007! - Please help test and debug the 0.9.3 version for release sometime in - Summer 2007. + Please help test and debug the 0.9.4 version for release sometime in + Winter 2007. - The version 0.9.3 beta tarball is kept here: - [100]x11vnc-0.9.3.tar.gz + The version 0.9.4 beta tarball is kept here: + [104]x11vnc-0.9.4.tar.gz There are also some Linux, Solaris, Mac OS X, and other OS test - binaries [101]here. Please kick the tires and report bugs, performance - regressions, undesired behavior, etc. to [102]me. + binaries [105]here. Please kick the tires and report bugs, performance + regressions, undesired behavior, etc. to [106]me. - To aid testing of the [103]built-in SSL support for x11vnc, a number + To aid testing of the [107]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 [104]wrapper scripts and a GUI that start STUNNEL, [105]more + 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 - [106]Enhanced TightVNC Viewer (SSVNC) page. + [110]Enhanced TightVNC Viewer (SSVNC) page. - Here are some features that will appear in the 0.9.3 release: - * [107]Viewer-side pixmap caching. A large area of pixels (at least + Here are some features that will appear in the 0.9.4 release: + * Improvements to the [111]-find and [112]-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:... + 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 + x11vnc chooses. + * Pasting of the selection/clipboard into remote applications has + been improved. + * Usage with dvorak keyboards has been improved. See also: + [127]-xkb. + + + Here are some features that appeared in the 0.9.3 release: + * [128]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 12X) is placed below the framebuffer to act + better... default is 10X) is placed below the framebuffer to act as a buffer/cache area for pixel data. The VNC CopyRect encoding is used to move it around, so any viewer can take advantage of it. 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 12". The unix Enhanced TightVNC - Viewer [108]ssvnc has a nice [109]-ycrop option to help hide the + testing the default is "-ncache 10". The unix Enhanced TightVNC + Viewer [129]ssvnc has a nice [130]-ycrop option to help hide the pixel cache area from view. - * Improvements to the [110]-find and [111]-create X session finding - or creating modes: new desktop types and service redirection - options. Personal cupds daemon and SSH port redirection helper for - use with [112]SSVNC's Terminal Services feature. - * Reverse VNC connections via [113]-connect work in the [114]-find, - [115]-create and related [116]-display WAIT:... FINDCREATEDISPLAY - modes. - * Some automatic detection of screen resizes even if the - [117]-xrandr option is not supplied. Here are some features that appeared in the 0.9.2 release: @@ -809,14 +880,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 [118]-unixpw mode in the username and password dialog no text + * In [131]-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 [119]UltraVNC Java viewer has been enhanced to support SSL (as + * The [132]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 @@ -827,12 +898,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: "[120]-users sslpeer=". The emailAddress + Client SSL Certificate: "[133]-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 [121]-find, - [122]-create and [123]-svc modes if you are also have set up and + SSL Certificate. This could be useful with [134]-find, + [135]-create and [136]-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, @@ -841,40 +912,40 @@ make Here are some features that appeared in the 0.9 release: - * [124]VNC Service advertising via mDNS / ZeroConf / BonJour with - the [125]Avahi client library. Enable via "[126]-avahi". + * [137]VNC Service advertising via mDNS / ZeroConf / BonJour with + the [138]Avahi client library. Enable via "[139]-avahi". * Implementations of UltraVNC's TextChat, SingleWindow, and - ServerInput extensions (requires ultravnc viewer or [127]ssvnc + ServerInput extensions (requires ultravnc viewer or [140]ssvnc Unix viewer). They toggle the selection of a single window - ([128]-id), and disable (friendly) user input and viewing (monitor + ([141]-id), and disable (friendly) user input and viewing (monitor blank) at the VNC server. - * Short aliases "[129]-find", "[130]-create", "[131]-svc", and - "[132]-xdmsvc" for commonly used FINDCREATEDISPLAY usage modes. + * Short aliases "[142]-find", "[143]-create", "[144]-svc", and + "[145]-xdmsvc" for commonly used FINDCREATEDISPLAY usage modes. * Reverse VNC connections (viewer listening) now work in SSL - ([133]-ssl) mode. + ([146]-ssl) mode. * New options to control the Monitor power state and keyboard/mouse - grabbing: [134]-forcedpms, [135]-clientdpms, [136]-noserverdpms, - and [137]-grabalways. + grabbing: [147]-forcedpms, [148]-clientdpms, [149]-noserverdpms, + and [150]-grabalways. * A simple way to emulate inetd(8) to some degree via the - "[138]-loopbg" option. - * Monitor the accuracy of XDAMAGE and apply "[139]-noxdamage" if it - is not working well. OpenGL applications like like [140]beryl and + "[151]-loopbg" option. + * Monitor the accuracy of XDAMAGE and apply "[152]-noxdamage" if it + is not working well. OpenGL applications like like [153]beryl and MythTv have been shown to make XDAMAGE not work properly. * For Java SSL connections involving a router/firewall port - redirection, an option [141]-httpsredir to spare the user from + redirection, an option [154]-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 [142]Mac OS X Aqua/Quartz support. (i.e. OSXvnc + * Native [155]Mac OS X Aqua/Quartz support. (i.e. OSXvnc alternative; some activities are faster) - * A [143]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY + * A [156]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 [144]-svc and the [145]-xdmsvc aliases. - * x11vnc can act as a VNC [146]reflector/repeater using the - "[147]-reflect host:N" option. Instead of polling an X display, + method. See the [157]-svc and the [158]-xdmsvc aliases. + * x11vnc can act as a VNC [159]reflector/repeater using the + "[160]-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 @@ -882,16 +953,16 @@ make number of repeaters. * Wireframe copyrect detection for local user activity (e.g. someone sitting at the physical display moving windows) Use - [148]-nowireframelocal to disable. - * The "[149]-N" option couples the VNC Display number to the X + [161]-nowireframelocal to disable. + * The "[162]-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 [150]-nodpms to avoid problems with programs like KDE's + * Option [163]-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 [151]-xwarppointer option is enabled + (multi-headed) displays, the [164]-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 @@ -901,62 +972,62 @@ make Here are some features that appeared in the 0.8.3 release: - * The [152]-ssl option provides SSL encryption and authentication - natively via the [153]www.openssl.org library. One can use from a + * The [165]-ssl option provides SSL encryption and authentication + natively via the [166]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 [154]-stunnel option starts up a SSL tunnel + * Similar to -ssl, the [167]-stunnel option starts up a SSL tunnel server stunnel (that must be installed separately on the system: - [155]www.stunnel.org [156]stunnel.mirt.net ) to allow only + [168]www.stunnel.org [169]stunnel.mirt.net ) to allow only encrypted SSL connections from the network. - * The [157]-sslverify option allows for authenticating VNC clients + * The [170]-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 - [158]-sslGenCert, [159]-sslGenCA, and [160]related options. + [171]-sslGenCert, [172]-sslGenCA, and [173]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 [161]-https port option). A wrapper shell script - [162]ss_vncviewer is also provided that sets up a stunnel - client-side tunnel on Unix systems. See [163]Enhanced TightVNC + separate [174]-https port option). A wrapper shell script + [175]ss_vncviewer is also provided that sets up a stunnel + client-side tunnel on Unix systems. See [176]Enhanced TightVNC Viewer (SSVNC) for other SSL/SSH viewer possibilities. - * The [164]-unixpw option supports Unix username and password - authentication (a simpler variant is the [165]-unixpw_nis option + * The [177]-unixpw option supports Unix username and password + authentication (a simpler variant is the [178]-unixpw_nis option that works in environments where the encrypted passwords are - readable, e.g. NIS). The [166]-ssl or [167]-localhost + - [168]-stunnel options are enforced in this mode to prevent + readable, e.g. NIS). The [179]-ssl or [180]-localhost + + [181]-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 [169]-unixpw with "[170]-display WAIT:cmd=FINDDISPLAY" or + * Coupling [182]-unixpw with "[183]-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 [171]automatically. See the [172]-svc and the - [173]-xdmsvc aliases. - * Hooks are provided in the [174]-unixpw_cmd and "[175]-passwdfile + connected to [184]automatically. See the [185]-svc and the + [186]-xdmsvc aliases. + * Hooks are provided in the [187]-unixpw_cmd and "[188]-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 [176]-rawfb only operation (e.g. + "./configure --without-x" for [189]-rawfb only operation (e.g. embedded linux console devices). - * The [177]-rotate option enables you to rotate or reflect the + * The [190]-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 "[178]-ultrafilexfer" alias is provided and improved UltraVNC + * The "[191]-ultrafilexfer" alias is provided and improved UltraVNC filetransfer rates have been achieved. - * Under the "[179]-connect_or_exit host" option x11vnc will exit + * Under the "[192]-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 "[180]-rawfb rand" and "-rawfb none" options are useful for + * The "[193]-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 "[181]-verbose" + * Reduced spewing of information at startup, use "[194]-verbose" (also "-v") to turn it back on for debugging or if you are going to send me a problem report. - Here are some [182]Previous Release Notes + Here are some [195]Previous Release Notes _________________________________________________________________ Some Notes: @@ -983,11 +1054,11 @@ 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 [183]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [196]-solid [color] option that works on recent GNOME, KDE, and CDE and also on classic X (background image is on the root window). - I also find the [184]TightVNC encoding gives the best response for my + I also find the [197]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. @@ -999,17 +1070,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 "[185]-rfbport NNNN" + far-away.east:1. You can force the port with the "[198]-rfbport NNNN" option where NNNN is the desired port number. If that port is already - taken, x11vnc will exit immediately. The "[186]-N" option will try to + taken, x11vnc will exit immediately. The "[199]-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 [187]command line options. Useful options are, e.g., -scale to + via its [200]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 - [188]-storepasswd option can be used to create the password file). + [201]-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 @@ -1037,7 +1108,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 [189]even more + window manager decorations. There will be an [202]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 @@ -1047,8 +1118,8 @@ make Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [190]SunRay - session. Here are some [191]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [203]SunRay + session. Here are some [204]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -1060,7 +1131,7 @@ 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 - [192]-scrollcopyrect and [193]-wireframe speedups using the + [205]-scrollcopyrect and [206]-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 @@ -1109,14 +1180,14 @@ make instead of DirectColor. Also, a faster and more accurate way is to use the "dummy" XFree86/Xorg device driver (or our Xdummy wrapper script). See - [194]this FAQ for details. + [207]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" [195]options, however, for a partial hack + X" and "-cursor some" [208]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 [196]-overlay option is also supplied. A similar thing is done + the [209]-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 @@ -1124,18 +1195,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 [197]the FAQ on this below.) The + redirectors do exist, e.g. esd [210]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 [198]-scrollcopyrect option + * The scroll detection algorithm for the [211]-scrollcopyrect option can give choppy or bunched up transient output and occasionally painting errors. * Using -threads can expose some bugs in libvncserver. - Please feel free to [199]contact me if you have any questions, + Please feel free to [212]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [200]this link + Also, some people ask if they can make a donation, see [213]this link for that. _________________________________________________________________ @@ -1144,442 +1215,453 @@ make [Building and Starting] - [201]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [214]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? - [202]Q-2: I can't get x11vnc and/or libvncserver to compile. + [215]Q-2: I can't get x11vnc and/or libvncserver to compile. - [203]Q-3: I just built x11vnc successfully, but when I use it my + [216]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). - [204]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [217]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [205]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [218]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [206]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [219]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [207]Q-7: How can I see all of x11vnc's command line options and + [220]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [208]Q-8: I don't like typing arcane command line options every time I + [221]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? - [209]Q-9: How can I get the GUI to run in the System Tray, or at least + [222]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [210]Q-10: How can I get x11vnc to listen on a different port besides + [223]Q-10: How can I get x11vnc to listen on a different port besides the default VNC port (5900)? - [211]Q-11: Can I make x11vnc more quiet and also go into the + [224]Q-11: My Firewall/Router doesn't allow VNC Viewers to connect to + x11vnc. + + [225]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? + + [226]Q-13: Can I make x11vnc more quiet and also go into the background after starting up? - [212]Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [227]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. - [213]Q-13: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. + [228]Q-15: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. - [214]Q-14: KDE's krdc VNC viewer cannot connect to x11vnc. + [229]Q-16: KDE's krdc VNC viewer cannot connect to x11vnc. - [215]Q-15: Are there any build-time customizations possible, e.g. + [230]Q-17: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [216]Q-16: I have two separate machine displays in front of me, one + [231]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? - [217]Q-17: I am running Win2VNC on my Windows machine and "x11vnc + [232]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 - [218]Q-18: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect + [233]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] - [219]Q-19: The X display I run x11vnc on is only 8 bits per pixel + [234]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. - [220]Q-20: Color problems: Why are the colors for some windows + [235]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. - [221]Q-21: I am on a high color system (depth >= 24) but I seem to + [236]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. - [222]Q-22: How do I figure out the window id to supply to the -id + [237]Q-24: How do I figure out the window id to supply to the -id windowid option? - [223]Q-23: Why don't menus or other transient windows come up when I + [238]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? - [224]Q-24: My X display is depth 24 at 24bpp (instead of the normal + [239]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] - [225]Q-25: Can I use x11vnc to view and interact with an Xterminal + [240]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? - [226]Q-26: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [241]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] - [227]Q-27: I'm having trouble using x11vnc with my Sun Ray session. + [242]Q-29: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [228]Q-28: How do I stop x11vnc once it is running in the background? + [243]Q-30: How do I stop x11vnc once it is running in the background? - [229]Q-29: Can I change settings in x11vnc without having to restart + [244]Q-31: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [230]Q-30: How do I create a VNC password for use with x11vnc? + [245]Q-32: How do I create a VNC password for use with x11vnc? - [231]Q-31: Can I make it so -storepasswd doesn't show my password on + [246]Q-33: Can I make it so -storepasswd doesn't show my password on the screen? - [232]Q-32: Can I have two passwords for VNC viewers, one for full + [247]Q-34: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [233]Q-33: Can I have as many full-access and view-only passwords as I + [248]Q-35: Can I have as many full-access and view-only passwords as I like? - [234]Q-34: Does x11vnc support Unix usernames and passwords? Can I + [249]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? - [235]Q-35: Can I supply an external program to provide my own custom + [250]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)? - [236]Q-36: Why does x11vnc exit as soon as the VNC viewer disconnects? + [251]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? - [237]Q-37: Can I limit which machines incoming VNC clients can connect + [252]Q-39: Can I limit which machines incoming VNC clients can connect from? - [238]Q-38: How do I build x11vnc/libvncserver with libwrap + [253]Q-40: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [239]Q-39: Can I have x11vnc only listen on one network interface + [254]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? - [240]Q-40: Now that -localhost implies listening only on the loopback + [255]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? - [241]Q-41: Can I fine tune what types of user input are allowed? E.g. + [256]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? - [242]Q-42: Can I prompt the user at the local X display whether the + [257]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? - [243]Q-43: I start x11vnc as root because it is launched via inetd(8) + [258]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? - [244]Q-44: I use a screen-lock when I leave my workstation (e.g. + [259]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? - [245]Q-45: Can I have x11vnc automatically lock the screen when I + [260]Q-47: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? [Encrypted Connections] - [246]Q-46: How can I tunnel my connection to x11vnc via an encrypted + [261]Q-48: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [247]Q-47: How can I tunnel my connection to x11vnc via an encrypted + [262]Q-49: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [248]Q-48: How can I tunnel my connection to x11vnc via an encrypted + [263]Q-50: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [249]Q-49: Does x11vnc have built-in SSL tunneling? + [264]Q-51: Does x11vnc have built-in SSL tunneling? - [250]Q-50: How do I use VNC Viewers with built-in SSL tunneling? + [265]Q-52: How do I use VNC Viewers with built-in SSL tunneling? - [251]Q-51: How do I use VNC Viewers with built-in SSL tunneling when - going through a Web Proxy? + [266]Q-53: How do I use the Java applet VNC Viewer with built-in SSL + tunneling when going through a Web Proxy? - [252]Q-52: Can Apache web server act as a gateway for users to connect + [267]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? - [253]Q-53: Can I create and use my own SSL Certificate Authority (CA) + [268]Q-55: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [254]Q-54: How can I run x11vnc as a "service" that is always + [269]Q-56: How can I run x11vnc as a "service" that is always available? - [255]Q-55: How can I use x11vnc to connect to an X login screen like + [270]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). - [256]Q-56: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [271]Q-58: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [257]Q-57: Can I have x11vnc advertise its VNC service and port via + [272]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? - [258]Q-58: Can I have x11vnc allow a user to log in with her UNIX + [273]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? - [259]Q-59: Can I have x11vnc restart itself after it terminates? + [274]Q-61: Can I have x11vnc restart itself after it terminates? - [260]Q-60: How do I make x11vnc work with the Java VNC viewer applet + [275]Q-62: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [261]Q-61: Are reverse connections (i.e. the VNC server connecting to + [276]Q-63: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [262]Q-62: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [277]Q-64: Can reverse connections be made to go through a Web or + SOCKS proxy or SSH? + + [278]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). - [263]Q-63: How can I use x11vnc on "headless" machines? Why might I + [279]Q-66: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [264]Q-64: I have lots of memory, but why does x11vnc fail with + [280]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)? - [265]Q-65: How can I make x11vnc use less system resources? + [281]Q-68: How can I make x11vnc use less system resources? - [266]Q-66: How can I make x11vnc use MORE system resources? + [282]Q-69: How can I make x11vnc use MORE system resources? - [267]Q-67: I use x11vnc over a slow link with high latency (e.g. + [283]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? - [268]Q-68: Does x11vnc support the X DAMAGE Xserver extension to find + [284]Q-71: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [269]Q-69: My OpenGL application shows no screen updates unless I + [285]Q-72: My OpenGL application shows no screen updates unless I supply the -noxdamage option to x11vnc. - [270]Q-70: When I drag windows around with the mouse or scroll up and + [286]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? - [271]Q-71: Why not do something like wireframe animations to avoid the + [287]Q-74: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [272]Q-72: Can x11vnc try to apply heuristics to detect when a window + [288]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? - [273]Q-73: Can x11vnc do client-side caching of pixel data? I.e. so + [289]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] - [274]Q-74: Why isn't the mouse cursor shape (the little icon shape + [290]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? - [275]Q-75: When using XFIXES cursorshape mode, some of the cursors + [291]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? - [276]Q-76: In XFIXES mode, are there any hacks to handle cursor + [292]Q-79: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [277]Q-77: Why does the mouse arrow just stay in one corner in my + [293]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? - [278]Q-78: Can I take advantage of the TightVNC extension to the VNC + [294]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)? - [279]Q-79: Is it possible to swap the mouse buttons (e.g. left-handed + [295]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] - [280]Q-80: How can I get my AltGr and Shift modifiers to work between + [296]Q-83: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [281]Q-81: When I try to type a "<" (i.e. less than) instead I get ">" + [297]Q-84: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [282]Q-82: When I try to type a "<" (i.e. less than) instead I get + [298]Q-85: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [283]Q-83: I'm using an "international" keyboard (e.g. German "de", or + [299]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? - [284]Q-84: When typing I sometimes get double, triple, or more of my + [300]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? - [285]Q-85: The x11vnc -norepeat mode is in effect, but I still get + [301]Q-88: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [286]Q-86: The machine where I run x11vnc has an AltGr key, but the + [302]Q-89: 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? - [287]Q-87: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [303]Q-90: 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) - [288]Q-88: Running x11vnc on HP-UX I cannot type "#" I just get a "3" + [304]Q-91: Running x11vnc on HP-UX I cannot type "#" I just get a "3" instead. - [289]Q-89: Can I map a keystroke to a mouse button click on the remote + [305]Q-92: Can I map a keystroke to a mouse button click on the remote machine? - [290]Q-90: How can I get Caps_Lock to work between my VNC viewer and + [306]Q-93: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [291]Q-91: The remote display is larger (in number of pixels) than the + [307]Q-94: 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? - [292]Q-92: Does x11vnc support server-side framebuffer scaling? (E.g. + [308]Q-95: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [293]Q-93: Does x11vnc work with Xinerama? (i.e. multiple monitors + [309]Q-96: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [294]Q-94: Can I use x11vnc on a multi-headed display that is not + [310]Q-97: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [295]Q-95: Can x11vnc show only a portion of the display? (E.g. for a + [311]Q-98: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - [296]Q-96: Does x11vnc support the XRANDR (X Resize, Rotate and + [312]Q-99: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [297]Q-97: Independent of any XRANDR, can I have x11vnc rotate and/or + [313]Q-100: 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). - [298]Q-98: Why is the view in my VNC viewer completely black? Or why + [314]Q-101: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [299]Q-99: I use Linux Virtual Consoles (VC's) to implement 'Fast User - Switching' between users' sessions (e.g. Betty is on Ctrl-Alt-F7, + [315]Q-102: 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 VNC viewer connecting to x11vnc is either completely black or otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [300]Q-100: I am using x11vnc where my local machine has "popup/hidden + [316]Q-103: 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 eachother. + "popup/hidden taskbars" and they interfere and fight with each other. What can I do? - [301]Q-101: Help! x11vnc and my KDE screensaver keep switching each + [317]Q-104: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. - [302]Q-102: I am running the beryl 3D window manager (or MythTv, + [318]Q-105: 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. - [303]Q-103: Can I use x11vnc to view my VMWare session remotely? + [319]Q-106: Can I use x11vnc to view my VMWare session remotely? [Exporting non-X11 devices via VNC] - [304]Q-104: Can non-X devices (e.g. a raw framebuffer) be viewed (and + [320]Q-107: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? - [305]Q-105: Can I export via VNC a Webcam or TV tuner framebuffer + [321]Q-108: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [306]Q-106: Can I connect via VNC to a Qt-embedded/Qtopia application + [322]Q-109: 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)? - [307]Q-107: Now that non-X11 devices can be exported via VNC using + [323]Q-110: 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? - [308]Q-108: Does x11vnc support Mac OS X Aqua/Quartz displays natively + [324]Q-111: Does x11vnc support Mac OS X Aqua/Quartz displays natively (i.e. no X11 involved)? - [309]Q-109: Can x11vnc be used as a VNC reflector/repeater to improve + [325]Q-112: 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)? [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - [310]Q-110: Does the Clipboard/Selection get transferred between the + [326]Q-113: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [311]Q-111: Can I use x11vnc to record a Shock Wave Flash (or other + [327]Q-114: 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? - [312]Q-112: Can I transfer files back and forth with x11vnc? + [328]Q-115: Can I transfer files back and forth with x11vnc? - [313]Q-113: Which UltraVNC extensions are supported? + [329]Q-116: Which UltraVNC extensions are supported? - [314]Q-114: Can x11vnc emulate UltraVNC's Single Click helpdesk mode? - I.e. something very simple for a naive user to initiate a reverse vnc - connection from their desktop to a helpdesk operator's VNC Viewer. + [330]Q-117: 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. - [315]Q-115: Can I (temporarily) mount my local (viewer-side) + [331]Q-118: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? - [316]Q-116: Can I redirect CUPS print jobs from the remote desktop + [332]Q-119: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? - [317]Q-117: How can I hear the sound (audio) from the remote + [333]Q-120: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [318]Q-118: Why don't I hear the "Beeps" in my X session (e.g. when + [334]Q-121: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [319]Q-119: Does x11vnc work with IPv6? + [335]Q-122: Does x11vnc work with IPv6? - [320]Q-120: Thanks for your program and for your help! Can I make a + [336]Q-123: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1592,7 +1674,7 @@ 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 [321]-display + on). Set your DISPLAY environment variable or use the [337]-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). @@ -1609,9 +1691,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 [322]this Howto for much info on X11 permissions. For example, you + or [338]this Howto for much info on X11 permissions. For example, you may need to set your XAUTHORITY environment variable or use the - [323]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. + [339]-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 @@ -1633,11 +1715,11 @@ 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 [324]this faq for other display manager + read the gdm cookie file, see [340]this faq for other display manager cookie file names). While running x11vnc as root, remember it comes with no warranty ;-). - Note as of Feb/2007 you can also try the [325]-find option instead of + Note as of Feb/2007 you can also try the [341]-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 @@ -1646,7 +1728,7 @@ make (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 [326]-users option). + (please read the documentation on the [342]-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 @@ -1665,7 +1747,7 @@ make properly). Firewalls: Speaking of permissions, it should go without saying that - the host-level firewall will need to be configured to allow + the host-level [343]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 @@ -1743,7 +1825,7 @@ 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 [327]Misc. Build Problems for additional fixes. + Have a look at [344]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 @@ -1761,7 +1843,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 [328]here too. + was doing). See [345]here too. Q-3: I just built x11vnc successfully, but when I use it my keystrokes @@ -1835,7 +1917,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [329]Solaris build script to run the configure command. That + above [346]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 @@ -1861,7 +1943,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 - [330]SunOS 4.x + [347]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 @@ -1871,31 +1953,31 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [331]build steps above and [332]FAQ provide enough info + Hopefully the [348]build steps above and [349]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) [333]http://www.linuxpackages.net/ + Slackware: (.tgz) [350]http://www.linuxpackages.net/ - Redhat/Fedora: (.rpm) [334]http://dag.wieers.com/packages/x11vnc/ - [335]http://dries.ulyssis.org/rpm/packages/x11vnc Debian: (.deb) - [336]http://packages.debian.org/x11vnc (N.B: old and unmaintained; + Redhat/Fedora: (.rpm) [351]http://dag.wieers.com/packages/x11vnc/ + [352]http://dries.ulyssis.org/rpm/packages/x11vnc Debian: (.deb) + [353]http://packages.debian.org/x11vnc (N.B: old and unmaintained; better to compile from source) SuSE: (.rpm) - [337]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) - [338]http://www.sunfreeware.com/ (N.B: very old; better to compile - from source) FreeBSD: (.tbz) [339]http://www.freebsd.org/ - [340]http://www.freshports.org/net/x11vnc OpenBSD: (.tgz) - [341]http://www.openbsd.org/ (N.B: very old and unmaintained; better - to compile from source) NetBSD: (src) [342]http://pkgsrc.se/x11/x11vnc + [354]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) + [355]http://www.sunfreeware.com/ (N.B: very old; better to compile + from source) FreeBSD: (.tbz) [356]http://www.freebsd.org/ + [357]http://www.freshports.org/net/x11vnc OpenBSD: (.tgz) + [358]http://www.openbsd.org/ (N.B: very old and unmaintained; better + to compile from source) NetBSD: (src) [359]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) - [343]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp - Zaurus [344]http://www.pdaxrom.org/ and [345]http://www.focv.com/ + [360]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp + Zaurus [361]http://www.pdaxrom.org/ and [362]http://www.focv.com/ If the above binaries don't work and building x11vnc on your OS fails - (and all else fails!) you can try one of [346]My Collection of x11vnc + (and all else fails!) you can try one of [363]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 @@ -1913,7 +1995,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 [347]-httpdir option. E.g.: + tarball and point x11vnc to it via the [364]-httpdir option. E.g.: x11vnc -httpdir /path/to/x11vnc-0.8.3/classes/ssl ... @@ -1922,11 +2004,11 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [348]http://www.tightvnc.com/download.html - * [349]http://www.realvnc.com/download-free.html - * [350]http://sourceforge.net/projects/cotvnc/ - * [351]http://www.ultravnc.com/ - * [352]Our Enhanced TightVNC Viewer (SSVNC) + * [365]http://www.tightvnc.com/download.html + * [366]http://www.realvnc.com/download-free.html + * [367]http://sourceforge.net/projects/cotvnc/ + * [368]http://www.ultravnc.com/ + * [369]Our Enhanced TightVNC Viewer (SSVNC) [ssvnc.gif] @@ -1935,7 +2017,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 - [353]here as well. Yes, x11vnc does have a lot of options, doesn't + [370]here as well. Yes, x11vnc does have a lot of options, doesn't it... @@ -1967,10 +2049,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 [354]-gui option for more info. Examples: "x11vnc + for testing. See the [371]-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 "[355]-gui tray" system tray mode. + also a "[372]-gui tray" system tray mode. [tkx11vnc.gif] @@ -2007,22 +2089,151 @@ 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 "[356]-N" option will try to match the VNC display number to the X + The "[373]-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)). - Q-11: Can I make x11vnc more quiet and also go into the background + Q-11: My Firewall/Router doesn't allow VNC Viewers to connect to + x11vnc. + + See the [374]Firewalls/Routers discussion. + + + 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? + + This is very difficult or impossible to do unless a third machine, + reachable by both, is used as a relay. So we assume a third machine is + somehow being used as a relay. + + 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 [375]reverse + connection to the relay machine: + x11vnc -connect third-machine.net:5950 ... + + and the VNC viewer forward connects as usual: + vncviewer third-machine.net:50 + + Or maybe two ports would be involved, e.g. the viewer goes to display + :51 (5951). It depends on the relay software being used. + + What software to run on third-machine? A TCP relay of some sort could + be used... Try a google search on "tcp relay" or "ip relay". However, + note that this isn't a simple redirection because it hooks up two + incoming connections. + + Also, if you are not the admin of third-machine you'd have to convince + 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 [376]SSL is used for encryption (e.g. + "[377]-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 [378]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, + http://somesite.com/vncxfer (or maybe a "/cgi-bin" directory or ".cgi" + suffix must be used). Previously, both have agreed on the same session + name (say by phone or email) , e.g. "5cows", and put that into the + entry form on the vncxfer starting page (hopefully separated by a few + seconds, so the relay helper can fully start up at the first request). + + The page returned tells them the hostname and port number and possible + command to use for forward (VNC Viewer) and reverse (VNC Server, i.e. + x11vnc) connections as described above. + + Also since Oct/2007, x11vnc can connect directly (no web browser), + like this: + x11vnc ... -connect localhost:0 -proxy 'http://somesite.com/vncxfer?session= +5cows&' + + Unfortunately the prototype requires that the Web server's firewall + allow in the port (e.g. 5950) used for the rendezvous. Most web + servers are not configured to do this, so you would need to ask the + admin to do this for you. Nearly all free webspace sites, e.g. + www.zendurl.com, will not allow your CGI script to be an open relay + like this. (If you find one that does allow this, let me know!). + + Maybe someday a clever trick will be thought up to relax the listening + 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 [379]Firewalls/Routers discussion and [380]Reverse + Connection Proxy discussion. + + + SSH method: If both users (i.e. one on Viewer-side and the other on + x11vnc server side) have SSH access to a common machine on the + internet (or otherwise mutually reachable), then SSH plumbing can be + used to solve this problem. The users create SSH tunnels going through + the SSH login machine. + + Instead of assuming port 5900 is free on the SSH machine, we will + assume both users agreed to use 5933. This will illustrate how to use + a different port for the redir. It could be any port, what matters is + that both parties refer to the same one. + + Set up the Tunnel on the VNC Server side: + ssh -t -R 5933:localhost:5900 user@third-machine.net + + Set up the Tunnel on the VNC Viewer side: + ssh -t -L 5900:localhost:5933 user@third-machine.net + + Run Server on the VNC Server side: + x11vnc -rfbport 5900 -localhost ... + + Run Viewer on the VNC Viewer side: + vncviewer -encodings "copyrect tight zrle hextile" localhost:0 + + (we assume the old-style -encodings option needs to be used. See + [381]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 + be reachable directly by the VNC viewer. So in that case the Viewer + side does not need to run any ssh command, but rather only runs: + vncviewer third-machine.net:33 + + In this case we recommend [382]SSL be used for encryption. + + The creation of both tunnels can be automated. As of Oct/2007 the + [383]-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 [384]Enhanced + TightVNC Viewer (SSVNC) by: + * Clicking on 'Use SSH' + * Entering user@third-machine.net:33 into 'VNC Host:Display' entry + box + * Clicking on 'Connect' + + As above, if the SSH GatewayPorts=yes setting is configured the Viewer + side doesn't need to create a SSH tunnel. In SSVNC the Viewer user + could instead select 'Use SSL' and then, e.g., on the Server side + supply "-ssl SAVE" to x11vnc. Then end-to-end SSL encryption would be + used (in addition to the SSH encryption on the Server-side leg). + + + Q-13: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [357]-q and [358]-bg options, respectively. (also: -quiet is + Use the [385]-q and [386]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[359]-o logfile" option. + the "[387]-o logfile" option. - Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with + 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. @@ -2035,7 +2246,7 @@ display :0 since about Jun/2004. - Q-13: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. + Q-15: The Windows TightVNC 1.3.9 Viewer cannot connect to x11vnc. This appears to be fixed in x11vnc version 0.9 and later. If you need to use an earlier version of x11vnc, try using the "-rfbversion 3.7" @@ -2043,18 +2254,18 @@ display :0 by supplying rfb versions 3.7 or 3.3. - Q-14: KDE's krdc VNC viewer cannot connect to x11vnc. + Q-16: KDE's krdc VNC viewer cannot connect to x11vnc. - This has been fixed in x11vnc version 0.8.4. More info [360]here, - [361]here, and [362]here. + This has been fixed in x11vnc version 0.8.4. More info [388]here, + [389]here, and [390]here. - Q-15: Are there any build-time customizations possible, e.g. change + Q-17: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? There are some options. They are enabled by adding something like -Dxxxx=1 to the CPPFLAGS environment variable before running configure - (see the [363]build notes for general background). + (see the [391]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -2120,31 +2331,31 @@ display :0 [Win2VNC Related] - Q-16: I have two separate machine displays in front of me, one Windows + 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? - Yes, for best response start up x11vnc with the "[364]-nofb" option + Yes, for best response start up x11vnc with the "[392]-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 [365]x2vnc, however you would + This will also work X11 to X11 using [393]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: - * [366]Original Win2VNC - * [367]Enhanced Win2VNC and [368]sourceforge link - * [369]x2vnc - * [370]x2x also [371]here - * [372]zvnc (MorphOS) + * [394]Original Win2VNC + * [395]Enhanced Win2VNC and [396]sourceforge link + * [397]x2vnc + * [398]x2x also [399]here + * [400]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). - Q-17: I am running Win2VNC on my Windows machine and "x11vnc -nofb" on + 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 @@ -2159,7 +2370,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 [373]-visual option to allow you to force the framebuffer + has the [401]-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: @@ -2169,22 +2380,22 @@ display :0 this. Since Win2VNC does not use the framebuffer data there should be no problems in doing this. - Q-18: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect mouse + 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? - Yes, as of Nov/2006 [374]you can. There may be a trick or two you'll + Yes, as of Nov/2006 [402]you can. There may be a trick or two you'll need to do to get the Clipboard exchange between the machines to work. [Color Issues] - Q-19: The X display I run x11vnc on is only 8 bits per pixel (bpp) + 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. - Use the [375]-flashcmap option to have x11vnc watch for changes in the + Use the [403]-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 @@ -2193,30 +2404,30 @@ display :0 example of this. Consider reconfiguring the system to 16 bpp or depth 24 TrueColor if at all possible. - Also note the option [376]-8to24 (Jan/2006) can often remove the need + Also note the option [404]-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 [377]-notruecolor option has corrected colors + In some rare cases the [405]-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-20: Color problems: Why are the colors for some windows incorrect in + 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. - You may want to review the [378]previous question regarding 8 bpp + You may want to review the [406]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [379]-overlay option + On some hardware (Sun/SPARC and SGI), the [407]-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 - [380]-8to24 option may help (also discussed below). + [408]-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 @@ -2252,7 +2463,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 [381]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [409]-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 @@ -2277,7 +2488,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [382]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [410]-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 @@ -2291,11 +2502,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [383]-flashcmap to avoid color flashing completely. + [411]-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: [384]-fixscreen V=3.0 to + row, or by using something like: [412]-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. @@ -2308,27 +2519,27 @@ 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 [385]-8to24 help description for information on + speedup. See the [413]-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 [386]-id option to + possible workaround in this case is to use the [414]-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 [387]-8to24 method + for x11vnc to be able to do so in real time. The [415]-8to24 method does this approximately and is somewhat usable. Fortunately the - [388]-overlay option works for Solaris machines with overlay visuals + [416]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. - Q-21: I am on a high color system (depth >= 24) but I seem to have + 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. This can happen if the default Visual (use xdpyinfo to list them) is @@ -2353,22 +2564,22 @@ TrueColor defdepth 24 can make xwud do this for example. - Q-22: How do I figure out the window id to supply to the -id windowid + Q-24: How do I figure out the window id to supply to the -id windowid option? Run the xwininfo program in a terminal. It will ask you to click on 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 [389]color problems. + debugging x11vnc [417]color problems. - Also, as of Dec/2004 you can use "[390]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[418]-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. - Q-23: Why don't menus or other transient windows come up when I am + 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? This is related to the behavior of the XGetImage(3X11) and @@ -2380,10 +2591,10 @@ 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 [391]-sid windowid option ("shifted" windowid). + polling, try the [419]-sid windowid option ("shifted" windowid). - Q-24: My X display is depth 24 at 24bpp (instead of the normal depth + 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? @@ -2416,7 +2627,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 [392]-24to32 option to have + Update: as of Apr/2006 you can use the [420]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra transformation could slow things down further however. @@ -2426,14 +2637,14 @@ 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 [393]Enhanced TightVNC + Note, however, that the Unix viewer in the [421]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 locally. [Xterminals] - Q-25: Can I use x11vnc to view and interact with an Xterminal (e.g. + 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? @@ -2441,18 +2652,18 @@ 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 [394]-display option to point the display to that of + machine. Use the [422]-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 [395]-noshm option (this enables the polling + and finally supply the [423]-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 [396]-flipbyteorder if the + on the polling rate. You may also need [424]-flipbyteorder if the colors get messed up due to endian byte order differences. - Q-26: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct + Q-28: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? If the X display machine is a traditional Xterminal (where the X @@ -2473,7 +2684,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 - [397]-auth option to point to the correct file). Other options include + [425]-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 - @@ -2485,7 +2696,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [398]this note on the "xauth add ..." command. + two hosts, see [426]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 @@ -2499,7 +2710,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 [399]poll + Not recommended, but as a last resort, you could have x11vnc [427]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...) @@ -2526,34 +2737,34 @@ TrueColor defdepth 24 [Sun Rays] - Q-27: I'm having trouble using x11vnc with my Sun Ray session. + Q-29: I'm having trouble using x11vnc with my Sun Ray session. - The [400]Sun Ray technology is a bit like "VNC done in hardware" (the + The [428]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 [401]this discussion of Sun Ray issues for + "Soft Ray". Please see [429]this discussion of Sun Ray issues for solutions to problems. [Remote Control] - Q-28: How do I stop x11vnc once it is running in the background? + 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 [402]-remote and [403]-query + amount of things on the fly: see the [430]-remote and [431]-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 [404]-forever option has not been supplied, x11vnc will + If the [432]-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 [405]-bg option + If you have not put x11vnc in the background via the [433]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2563,15 +2774,15 @@ 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 [406]-clear_mods - option and [407]-clear_keys option can be used to release pressed keys + by tapping Ctrl, Shift, and Alt. Alternatively, the [434]-clear_mods + option and [435]-clear_keys option can be used to release pressed keys at startup and exit. - Q-29: Can I change settings in x11vnc without having to restart it? + Q-31: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [408]-remote (same as -R) and [409]-query (same as -Q) + Look at the [436]-remote (same as -R) and [437]-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", @@ -2582,14 +2793,14 @@ TrueColor defdepth 24 correctly for communication to be possible. There is also a simple Tcl/Tk gui based on this remote control - mechanism. See the [410]-gui option for more info. You will need to + mechanism. See the [438]-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". [Security and Permissions] - Q-30: How do I create a VNC password for use with x11vnc? + Q-32: How do I create a VNC password for use with x11vnc? You may already have one in $HOME/.vnc/passwd if you have used, say, the vncserver program from the regular RealVNC or TightVNC packages @@ -2597,12 +2808,12 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [411]option, which is the same functionality of storepasswd. Be sure + [439]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: "[412]-rfbauth + You then use the password via the x11vnc option: "[440]-rfbauth $HOME/myvncpasswd" As of Jan/2006 if you do not supply any arguments: @@ -2614,11 +2825,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [413]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [441]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [414]-usepw option to automatically use any password + You can use the [442]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2630,7 +2841,7 @@ TrueColor defdepth 24 who do not know better. - Q-31: Can I make it so -storepasswd doesn't show my password on the + Q-33: Can I make it so -storepasswd doesn't show my password on the screen? You can use the vncpasswd program from RealVNC or TightVNC mentioned @@ -2647,17 +2858,17 @@ TrueColor defdepth 24 ~/.mypass" - Q-32: Can I have two passwords for VNC viewers, one for full access + 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 [415]-viewpasswd option to supply the - view-only password. Note the full-access password option [416]-passwd + Yes, as of May/2004 there is the [443]-viewpasswd option to supply the + view-only password. Note the full-access password option [444]-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 - [417]-passwdfile option to specify a file containing plain text + [445]-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 @@ -2665,7 +2876,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 [418]-rfbauth + View-only passwords currently do not work for the [446]-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 @@ -2675,10 +2886,10 @@ TrueColor defdepth 24 straight-forward to work out what to do from the VNC source code. - Q-33: Can I have as many full-access and view-only passwords as I + 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 [419]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [447]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2686,9 +2897,9 @@ TrueColor defdepth 24 You can have x11vnc re-read the file dynamically when it is modified. - Q-34: Does x11vnc support Unix usernames and passwords? Can I further + 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 [420]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [448]-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 @@ -2698,7 +2909,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [421]-unixpw_nis option for non-shadow-password + There is also the [449]-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 @@ -2707,11 +2918,11 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [422]-localhost and 2) [423]-stunnel or - [424]-ssl options. Without these one might send the Unix username and + provide extra security: the 1) [450]-localhost and 2) [451]-stunnel or + [452]-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 [425]-ssl (the constraint is automatically relaxed if + stunnel or [453]-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). @@ -2730,13 +2941,13 @@ TrueColor defdepth 24 approximate at best. One approximate method involves starting x11vnc with the - [426]-localhost option. This basically requires the viewer user to log + [454]-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 [427]elsewhere on this page. [428]stunnel does this as well. + mentioned [455]elsewhere on this page. [456]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 @@ -2747,7 +2958,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 [429]-accept option that runs a program to examine the connection + the [457]-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 @@ -2779,11 +2990,11 @@ exit 1 # reject it always be "root". - Q-35: Can I supply an external program to provide my own custom login + 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)? Yes, there are several possibilities. For background see the FAQ on - the [430]-accept where an external program may be run to decide if a + the [458]-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, @@ -2791,26 +3002,26 @@ 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: - * [431]-unixpw_cmd command - * [432]-passwdfile cmd:command - * [433]-passwdfile custom:command + * [459]-unixpw_cmd command + * [460]-passwdfile cmd:command + * [461]-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 [434]-unixpw_cmd the normal [435]-unixpw Login: and Password: + For [462]-unixpw_cmd the normal [463]-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 "[436]-passwdfile cmd:command" the command is run and it returns a - password list (like a password file, see the [437]-passwdfile + For "[464]-passwdfile cmd:command" the command is run and it returns a + password list (like a password file, see the [465]-passwdfile read:filename mode). Perhaps a dynamic, one-time password is retrieved from a server this way. - For "[438]-passwdfile custom:command" one gets complete control over + For "[466]-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 @@ -2824,33 +3035,33 @@ exit 1 # reject it it is rejected. In all cases the "RFB_*" enviornment variables are set as under - [439]-accept. These variables can provide useful information for the + [467]-accept. These variables can provide useful information for the externally supplied program to use. - Q-36: Why does x11vnc exit as soon as the VNC viewer disconnects? And + 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? 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 [440]-forever option (aka -many) to have + periods of time. Use the [468]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [441]-shared option to have x11vnc allow multiple clients to + Use the [469]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([442]see - above), stunnel, [443]-ssl, or a VPN to authenticate and encrypt the + Recommended additional safety measures include using ssh ([470]see + above), stunnel, [471]-ssl, or a VPN to authenticate and encrypt the viewer connections or to at least use the -rfbauth passwd-file - [444]option to use VNC password protection (or [445]-passwdfile) It is + [472]option to use VNC password protection (or [473]-passwdfile) It is up to YOU to apply these security measures, they will not be done for you automatically. - Q-37: Can I limit which machines incoming VNC clients can connect + Q-39: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [446]-allow and [447]-localhost options to limit + Yes, look at the [474]-allow and [475]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -2862,11 +3073,11 @@ 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 - [448](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [476](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. - Q-38: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) + Q-40: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? Here is one way to pass this information to the configure script: @@ -2882,43 +3093,43 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [449]inetd you do not need to build + Note that if you run x11vnc out of [477]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. - Q-39: Can I have x11vnc only listen on one network interface (e.g. + 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? - As of Mar/2005 there is the "[450]-listen ipaddr" option that enables + As of Mar/2005 there is the "[478]-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 - "[451]-allow host1,..." option to allow only specific hosts in. + "[479]-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 [452]-localhost now implies "-listen localhost" since that + The option [480]-localhost now implies "-listen localhost" since that is what most people expect it to do. - Q-40: Now that -localhost implies listening only on the loopback + 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? - To do this specify "[453]-allow localhost". Unlike [454]-localhost + To do this specify "[481]-allow localhost". Unlike [482]-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 connection from a remote host. - Q-41: Can I fine tune what types of user input are allowed? E.g. have + 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? - As of Feb/2005, the [455]-input option allows you to do this. "K", + As of Feb/2005, the [483]-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 @@ -2928,12 +3139,12 @@ exit 1 # reject it remote control mechanism or the GUI. E.g. x11vnc -R input:hostname:M - Q-42: Can I prompt the user at the local X display whether the + 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? - Yes, look at the "[456]-accept command" option, it allows you to + Yes, look at the "[484]-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 @@ -2952,7 +3163,7 @@ exit 1 # reject it 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 [457]-viewonly option has been + mouse on the "View" button. If the [485]-viewonly option has been supplied, the "View" action will not be present: the whole display is view only in that case. @@ -2968,7 +3179,7 @@ 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 [458]ftp://ftp.x.org/ + is available at [486]ftp://ftp.x.org/ To include view-only decisions for the external commands, prefix the command something like this: "yes:0,no:*,view:3 mycommand ..." This @@ -3007,7 +3218,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [459]dtVncPopup for use + Stefan Radman has written a nice dtksh script [487]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. @@ -3016,23 +3227,23 @@ 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 "[460]-gone + To run a command when a client disconnects, use the "[488]-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 "[461]-afteraccept command" option will run the + As of Jan/2006 the "[489]-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 "afteraccept"). - Q-43: I start x11vnc as root because it is launched via inetd(8) or a + 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? - As of Feb/2005 x11vnc has the [462]-users option that allows things + As of Feb/2005 x11vnc has the [490]-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. @@ -3044,7 +3255,7 @@ exit 1 warranty ;-). - Q-44: I use a screen-lock when I leave my workstation (e.g. + 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 @@ -3057,7 +3268,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 [463]blockdpy.c The idea behind it is simple (but + source for it is [491]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 @@ -3073,8 +3284,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 [464]-accept option and told - to exit via the [465]-gone option (the vnc client user should + The blockdpy utility is launched by the [492]-accept option and told + to exit via the [493]-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: @@ -3083,17 +3294,17 @@ exit 1 but please read the top of the file. Update: As of Feb/2007 there is some builtin support for this: - [466]-forcedpms and [467]-clientdpms however, they are probably less + [494]-forcedpms and [495]-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 [468]-grabkbd, [469]-grabptr, and [470]-grabalways options. + also the [496]-grabkbd, [497]-grabptr, and [498]-grabalways options. - Q-45: Can I have x11vnc automatically lock the screen when I + Q-47: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [471]-gone option under CDE to run a + Yes, a user mentions he uses the [499]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -3103,7 +3314,7 @@ exit 1 x11vnc -display :0 -forever -gone 'xlock &' x11vnc -display :0 -forever -gone 'xlock -mode blank &' - Here is a scheme using the [472]-afteraccept option (in version 0.8) + Here is a scheme using the [500]-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 @@ -3141,24 +3352,24 @@ exec @ARGV; then use -gone "setpgrp xlock &", etc. [Encrypted Connections] - Q-46: How can I tunnel my connection to x11vnc via an encrypted SSH + 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 [473]how to tunnel VNC via + See the description earlier on this page on [501]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 [474]Enhanced TightVNC Viewer (SSVNC) page where much of + See also the [502]Enhanced TightVNC Viewer (SSVNC) page where much of this is now automated. - Q-47: How can I tunnel my connection to x11vnc via an encrypted SSH + Q-49: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [475]Above we described how to tunnel VNC via SSH from Unix to Unix, + [503]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 @@ -3179,11 +3390,11 @@ exec @ARGV; :0 (plus other cmdline options) in the 'Remote command' Putty setting under 'Connections/SSH'. - See also the [476]Enhanced TightVNC Viewer (SSVNC) page where much of + See also the [504]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 [477]-localhost - and [478]-rfbauth/[479]-passwdfile options. + For extra protection feel free to run x11vnc with the [505]-localhost + and [506]-rfbauth/[507]-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 @@ -3191,21 +3402,21 @@ 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 [480]Chaining SSH's. + automated by [508]Chaining SSH's. - As discussed [481]above another option is to first start the VNC + As discussed [509]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[482]-connect localhost" option to establish the reverse connection. + "[510]-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). - Q-48: How can I tunnel my connection to x11vnc via an encrypted SSL + Q-50: How can I tunnel my connection to x11vnc via an encrypted SSL 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 [483]stunnel (also [484]stunnel.mirt.net) + IPSEC. SSL tunnels such as [511]stunnel (also [512]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 @@ -3213,12 +3424,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 [485]-ssl, - [486]-stunnel, and [487]-sslverify to provide integrated SSL schemes. - They are discussed [488]in the Next FAQ (you may want to skip to it + Update: As of Feb/2006 x11vnc has the options [513]-ssl, + [514]-stunnel, and [515]-sslverify to provide integrated SSL schemes. + They are discussed [516]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [489]stunnel but the general idea + Here are some basic examples using [517]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 @@ -3237,40 +3448,40 @@ exec @ARGV; Start up x11vnc listening on port 5900: x11vnc -display :0 -rfbport 5900 -localhost -bg -passwdfile ~/mypass - Then start stunnel (version 3) with this command: + Then start stunnel (version 3, not 4) with this command: stunnel -d 5901 -r 5900 -p /path/to/stunnel.pem 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 [490]signed by + stunnel is built. One can also create certificates [518]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. - Next, on the VNC viewer side we need an SSL tunnel to encrypt the - outgoing connection. The nice thing is any SSL tunnel can be used - because the protocol is a standard. For this example we'll also use - stunnel on the viewer side on Unix. First start up the client-side - stunnel: + SSL Viewers: Next, on the VNC viewer side we need an SSL tunnel to + encrypt the outgoing connection. The nice thing is any SSL tunnel can + be used because the protocol is a standard. For this example we'll + also use stunnel on the viewer side on Unix. First start up the + client-side stunnel (version 3, not 4): stunnel -c -d localhost:5902 -r far-away.east:5901 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 [491]ss_vncviewer script can automate - this.) + That's it. Note that the [519]ss_vncviewer script can automate this + easily, and so can the [520]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 [492]the key management section for details. + and also [521]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 [493]article The article also + found at the stunnel site and in this [522]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [494]x11vnc + certificates. (for both server and clients, see also the [523]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 @@ -3291,7 +3502,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 [495]-inetd mode: + start up x11vnc in [524]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -3329,34 +3540,36 @@ 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). 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 [496]SSL-enabled - Java applet that can be served up via the [497]-httpdir or [498]-http - options when [499]-ssl is enabled. It will also be served via HTTPS + not tried it (it does not seem to be SSL, however the [525]SingleClick + UltraVNC Java Viewer is SSL and is compatible with x11vnc's [526]-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 [527]SSL-enabled + Java applet that can be served up via the [528]-httpdir or [529]-http + options when [530]-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 [500]-https option. + the [531]-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 [501]-stunnel or [502]-ssl option on the server side it works well - and is convenient. Here is a simple script [503]ss_vncviewer that + the [532]-stunnel or [533]-ssl option on the server side it works well + and is convenient. Here is a simple script [534]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 [504]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [535]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. - Q-49: Does x11vnc have built-in SSL tunneling? + Q-51: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [505]in the Previous FAQ + You can read about non-built-in methods [536]in the Previous FAQ SSL tunnels provide an encrypted channel without the need for Unix users, passwords, and key passphrases required for ssh (and at the @@ -3367,14 +3580,14 @@ connect = 5900 Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [506]-ssl and [507]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [508]SSL-enabled + As of Feb/2006 the x11vnc [537]-ssl and [538]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [539]SSL-enabled Java Viewer applet is also provided that can be served via HTTP or HTTPS to automate SSL on the client side. - The [509]-ssl mode uses the [510]www.openssl.org library if available - at build time. The [511]-stunnel mode requires the - [512]www.stunnel.org command stunnel(8) to be installed on the system. + The [540]-ssl mode uses the [541]www.openssl.org library if available + at build time. The [542]-stunnel mode requires the + [543]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" @@ -3414,6 +3627,11 @@ connect = 5900 automatically. + SSL VNC Viewers:. Viewer-side will need to use SSL as well. See the + [544]next FAQ and [545]here for SSL enabled VNC Viewers to connect to + the above x11vnc via SSL. + + As seen above, the PEM (privacy enhanced mail) file does not need to be supplied if the openssl(1) command is available in PATH, in that case a self-signed, temporary certificate good only for the single @@ -3426,12 +3644,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 [513]x11vnc Key Management for some utilities + See the discussion on [546]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 [514]ss_vncviewer provides an example on unix + The wrapper script [547]ss_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -3447,7 +3665,7 @@ 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 - [515]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [548]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.) @@ -3472,22 +3690,37 @@ connect = 5900 including using https to download it into the browser and connect to x11vnc. - See the [516]next FAQ for SSL enabled VNC Viewers. + Q-52: How do I use VNC Viewers with built-in SSL tunneling? + + Notes on using "native" VNC Viewers with SSL: - Q-50: How do I use VNC Viewers with built-in SSL tunneling? + There aren't any native VNC Viewers that do SSL (ask your 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 + [549]manually, or use the [550]ss_vncviewer script on Unix, or the + [551]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). Notes on the SSL enabled Java VNC Viewer provided in classes/ssl/VncViewer.jar: + A Java applet VNC Viewer allows you to connect to a VNC Server from a + Java-enabled Web browser. + The SSL enabled Java VNC Viewer (VncViewer.jar) in the x11vnc package - supports only SSL based connections by default (set the applet - parameter disableSSL=yes in index.vnc to override). As mentioned above - the [517]-httpdir can be used to specify the path to .../classes/ssl. - A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - [518]-http can be used to try to have it find the directory + supports only SSL based connections by default. As mentioned above the + [552]-httpdir can be used to specify the path to .../classes/ssl. A + typical location might be /usr/local/share/x11vnc/classes/ssl. Or + [553]-http can be used to try to have it find the directory automatically. + Also note that the [554]SingleClick UltraVNC Java Viewer is compatible + with x11vnc's [555]-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 @@ -3504,13 +3737,20 @@ connect = 5900 SSLPORT=5900 Indicating the two URLs (the first one encrypted, the second not) one - could point the web browser at to get the VNC viewer applet. + could point the web browser at to get the VNC viewer applet. E.g. put + this + http://far-away.east:5800/ + + or: + https://far-away.east:5900/ + + into your Java-enabled Web browser: 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 [519]-https option to get an additional port dedicated to https + the [556]-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: @@ -3523,7 +3763,7 @@ connect = 5900 You may also use "urlPrefix=somestring" to have /somestring prepended to /request.https.vnc.connection". Perhaps you are using a web server - [520]proxy scheme to enter a firewall or otherwise have rules applied + [557]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".) @@ -3609,17 +3849,17 @@ connect = 5900 another VNC session). Then 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 - [521]Web Proxy (i.e. it cannot connect directly) work on that last. - Ditto for the [522]Apache portal. + [558]Web Proxy (i.e. it cannot connect directly) work on that last. + Ditto for the [559]Apache portal. Router/Firewall port redirs: If you are doing port redirection at - your 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 internal - machine's port, say 5900, is sent and that of course is rejected at - the firewall/router). For example: + your [560]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 + internal machine's port, say 5900, is sent and that of course is + 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 @@ -3660,11 +3900,11 @@ 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 [523]-https option if you want a dedicated port for + You can use the [561]-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 [524]This Page. + connection with the Java Applet see [562]This Page. Notes on the VNC Viewer ss_vncviewer wrapper script: @@ -3672,10 +3912,10 @@ connect = 5900 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 [525]for + package. The basic ideas of doing this were discussed [563]for external tunnel utilities here. - The [526]ss_vncviewer script provided with x11vnc can set up the + The [564]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 @@ -3707,21 +3947,21 @@ connect = 5900 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 [527]this page for more information on + separate the two by commas. See [565]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [528]here, + If one uses a Certificate Authority (CA) scheme described [566]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 [529]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [567]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. - Q-51: How do I use VNC Viewers with built-in SSL tunneling when going - through a Web Proxy? + Q-53: How do I use the Java applet VNC Viewer with built-in SSL + tunneling when going through a Web Proxy? The SSL enabled Java VNC Viewer and firewall Proxies: SSL/https aside, there is a general problem with Firewall Proxies and @@ -3751,9 +3991,6 @@ connect = 5900 (instead of the unsigned one in https://yourmachine.com:5900/ that gives the default index.vnc) - Note that the [530]ss_vncviewer stunnel wrapper script can use Web - proxies as well. - Proxies that limit CONNECT to ports 443 and 563: Things become trickier if the proxy restricts which CONNECT ports can @@ -3780,23 +4017,28 @@ connect = 5900 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 [531]trick discussed above, do: + parameters in the URL. To use the GET [568]trick discussed above, do: https://yourmachine.com/proxy.vnc?GET=1&PORT=443 - Q-52: Can Apache web server act as a gateway for users to connect via + Note that the [569]ss_vncviewer stunnel Unix wrapper script and + [570]Enhanced TightVNC Viewer (SSVNC) can use Web proxies as well even + though they do not involve a Web browser. + + + 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? Yes. You will need to configure apache to forward these connections. - It is discussed [532]here. This provides a clean alternative to the + It is discussed [571]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. - Q-53: Can I create and use my own SSL Certificate Authority (CA) with + Q-55: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [533]this page for how to do this and the utility commands + Yes, see [572]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -3804,7 +4046,7 @@ connect = 5900 [Display Managers and Services] - Q-54: How can I run x11vnc as a "service" that is always available? + Q-56: How can I run x11vnc as a "service" that is always available? There are a number of ways to do this. The primary thing you need to decide is whether you want x11vnc to connect to the X session on the @@ -3815,14 +4057,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 [534]FAQ on x11vnc + * Use the description under "Continuously" in the [573]FAQ on x11vnc and Display Managers - * Use the description in the [535]FAQ on x11vnc and inetd(8) - * Use the description in the [536]FAQ on Unix user logins and + * Use the description in the [574]FAQ on x11vnc and inetd(8) + * Use the description in the [575]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 [537]x11vnc_loop rc.local hack + * Although less reliable, see the [576]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -3844,18 +4086,18 @@ 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 - [538]this link. - - Firewalls: note all methods will require the host-level 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 have to - do something to poke a hole in the firewall at the desired port - number. See your system administration tool for Firewall settings + [577]this link. + + Firewalls: note all methods will require the host-level [578]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 + have to do something to poke a hole in the firewall at the desired + port number. See your system administration tool for Firewall settings (Yast, Firestarter, etc.). - Q-55: How can I use x11vnc to connect to an X login screen like xdm, + 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). @@ -3867,7 +4109,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 [539]-auth option sets the XAUTHORITY variable for you). + (the [579]-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 @@ -3893,7 +4135,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg 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 - [540]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [580]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 @@ -3939,7 +4181,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 [541]-N) to avoid autoselecting one if 5900 is already + 5900" (or [581]-N) to avoid autoselecting one if 5900 is already taken. _________________________________________________________________ @@ -3955,7 +4197,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 [542]full details + killed immediately after the user logs in. Here are [582]full details on how to configure gdm _________________________________________________________________ @@ -3997,32 +4239,32 @@ 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: [543]x11vnc_loop It will need some local + file like rc.local: [583]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 [544]-loop + described above is greatly preferred. There is also the [584]-loop option that does something similar. If the machine is a traditional Xterminal you may want to read - [545]this FAQ. - - Firewalls: note all methods will require the host-level 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 have to - do something to poke a hole in the firewall at the desired port - number. See your system administration tool for Firewall settings + [585]this FAQ. + + Firewalls: note all methods will require the host-level [586]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 + have to do something to poke a hole in the firewall at the desired + port number. See your system administration tool for Firewall settings (Yast, Firestarter, etc.). - Q-56: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + Q-58: Can I run x11vnc out of inetd(8)? How about xinetd(8)? Yes, perhaps a line something like this in /etc/inetd.conf will do it for you: 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [546]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [587]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh @@ -4035,7 +4277,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 [547]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [588]-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 @@ -4043,12 +4285,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 [548]-auth to point to the + Note also the need to set XAUTHORITY via [589]-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 - [549]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY + [590]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 @@ -4129,14 +4371,14 @@ exit 1 exec /usr/local/bin/x11vnc -inetd -o /var/log/x11vnc.log -find -env FD_XDM=1 - Q-57: Can I have x11vnc advertise its VNC service and port via mDNS / + 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? Yes, as of Feb/2007 x11vnc supports mDNS / Zeroconf advertising of its - service via the Avahi client library. Use the option [550]-avahi (same - as [551]-mdns) to enable it. Depending on your setup you may need to - install [552]Avahi (including the development packages), enable the + service via the Avahi client library. Use the option [591]-avahi (same + as [592]-mdns) to enable it. Depending on your setup you may need to + install [593]Avahi (including the development packages), enable the server: avahi-daemon and avahi-dnsconfd, and possibly open up UDP port 5353 on your firewall. @@ -4156,28 +4398,28 @@ exec /usr/local/bin/x11vnc -inetd -o /var/log/x11vnc.log -find -env FD_XDM=1 other distros/OS's... - Q-58: Can I have x11vnc allow a user to log in with her UNIX username + 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? - The easiest way to do this is via [553]inetd(8) using the [554]-unixpw - and [555]-display WAIT options. The reason inetd(8) makes this easier + The easiest way to do this is via [594]inetd(8) using the [595]-unixpw + and [596]-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 [556]this example and also the [557]-loopbg option). + x11vnc's (see [597]this example and also the [598]-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 just for their personal use, etc. - Update: Use the [558]-find, [559]-create, [560]-svc, and [561]-xdmsvc + Update: Use the [599]-find, [600]-create, [601]-svc, and [602]-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 [562]-display WAIT option makes x11vnc wait until a VNC viewer is + The [603]-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 @@ -4218,7 +4460,7 @@ nt $2}'` exit 0 A default script somewhat like the above is used under "-display - WAIT:cmd=FINDDISPLAY" (same as [563]-find) (use + WAIT:cmd=FINDDISPLAY" (same as [604]-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 @@ -4230,10 +4472,10 @@ nt $2}'` Or if you only know the X server process ID and suspect a chvt will be needed append ",XPID=n". - Tip: Note that the [564]-find option is an alias for "-display + Tip: Note that the [605]-find option is an alias for "-display WAIT:cmd=FINDDISPLAY". - The [565]-unixpw option allows [566]UNIX password logins. It + The [606]-unixpw option allows [607]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 @@ -4247,16 +4489,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 [567]-svc alias). + options. (see also the [608]-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 "[568]-users unixpw=" option. + logs in due to the "[609]-users unixpw=" option. - Note that [569]SSL is required for this mode because otherwise the + Note that [610]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 @@ -4264,17 +4506,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 [570]-localhost + If you really want to disable the SSL or SSH [611]-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 [571]-unixpw documentation. + read the [612]-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 "[572]-users =fred" option will cause x11vnc to switch to user + The "[613]-users =fred" option will cause x11vnc to switch to user fred and then find his X display. @@ -4283,7 +4525,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 [573]Xdummy and if that is not + virtual (non-hardware) X servers: first [614]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. @@ -4293,19 +4535,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. [574]ss_vncviewer) access and also Java Web browers access via: + (e.g. [615]ss_vncviewer) access and also Java Web browers access via: https://hostname:5900/. - Tip: Note that the [575]-create option is an alias for "-display + Tip: Note that the [616]-create option is an alias for "-display WAIT:cmd=FINDCREATEDISPLAY-Xvfb". - Tip: Note that [576]-svc is a short hand for the long "-ssl SAVE + Tip: Note that [617]-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 [577]-display WAIT for + after his username (following a ":" see [618]-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 @@ -4342,7 +4584,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 [578]need to be run to switch to the correct Linux + chvt program may [619]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. @@ -4369,7 +4611,7 @@ service x11vnc will also typically block UDP (port 177 for XDMCP) by default effectively limiting the UDP connections to localhost. - Tip: Note that [579]-xdmsvc is a short hand for the long "-ssl SAVE + Tip: Note that [620]-xdmsvc is a short hand for the long "-ssl SAVE -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp" part. E.g.: service x11vnc @@ -4433,26 +4675,26 @@ t:5 (e.g. :0) and it switches based on username. - Q-59: Can I have x11vnc restart itself after it terminates? + 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 - [580]-loop that makes it easier. Of course when x11vnc restarts it + [621]-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 [581]-loopbg to emulate inetd(8) to some degree, + One can also use the [622]-loopbg to emulate inetd(8) to some degree, where each connected process runs in the background. It could be - combined, say, with the [582]-svc option to provide simple terminal + combined, say, with the [623]-svc option to provide simple terminal services without using inetd(8). - Q-60: How do I make x11vnc work with the Java VNC viewer applet in a + Q-62: How do I make x11vnc work with the Java VNC viewer applet in a web browser? To have x11vnc serve up a Java VNC viewer applet to any web browsers - that connect to it, run x11vnc with this [583]option: + that connect to it, run x11vnc with this [624]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -4471,7 +4713,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 [584]-http option will try to guess where the Java + As of May/2005 the [625]-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. @@ -4481,38 +4723,45 @@ t:5 java -cp ./VncViewer.jar VncViewer HOST far-away.east PORT 5900 - Q-61: Are reverse connections (i.e. the VNC server connecting to the + Q-63: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? As of Mar/2004 x11vnc supports reverse connections. On Unix one starts - the VNC viewer in listen mode: vncviewer -listen (see your + the VNC viewer in listen mode: "vncviewer -listen" (see your documentation for Windows, etc), and then starts up x11vnc with the - [585]-connect option. To connect immediately at x11vnc startup time + [626]-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 5500). + connect to). The ":port" is optional (default is VNC listening port is + 5500). If a file is specified instead: -connect /path/to/some/file then that file is checked periodically (about once a second) for new hosts to connect to. - The [586]-remote control option (aka -R) can also be used to do this + The [627]-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 "[628]-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). + Note that as of Mar/2006 x11vnc requires password authentication for reverse connections as well as for forward ones (assuming password auth has been enabled, e.g. via -rfbauth, -passwdfile, etc). Many VNC servers do not require any password for reverse connections. To regain - the old behavior set: X11VNC_REVERSE_CONNECTION_NO_AUTH=1 before - starting x11vnc. - - To use the vncconnect(1) program (from the core VNC package at - www.realvnc.com) specify the [587]-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 or do not want to get - the vncconnect(1) program, the following script (named "Vncconnect") - may work if your xprop(1) supports the -set option: + the old behavior supply this option "-env + 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 [629]-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 + or do not want to get the vncconnect(1) program, the following script + (named "Vncconnect") may work if your xprop(1) supports the -set + option: #!/bin/sh # usage: Vncconnect # Vncconnect @@ -4521,7 +4770,43 @@ x11vnc -display :0 -R connect:hostname.domain xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" - Q-62: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real + Q-64: Can reverse connections be made to go through a Web or SOCKS + proxy or SSH? + + Yes, as of Oct/2007 x11vnc supports reverse connections through + proxies: use the "[630]-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 + (AllowCONNECT apache setting) or the VNC viewer listens on one of + those ports (or the router does a port redir). A web proxy may also be + specified via "-proxy http://host:port" + + For SOCKS4 and SOCKS4a proxies use this format "-proxy + socks://host:port". If the reverse connection hostname is a numerical + IP or "localhost" then SOCKS4 (no host lookup) is used, otherwise + SOCKS4a will be used. For SOCKS5 (proxy will do lookup and many other + things) use "-proxy socks5://host:port". Note that the SSH builtin + SOCKS proxy "ssh -D port" only does SOCKS4 or SOCKS5, so use socks5:// + for a ssh -D proxy. + + The proxying works for both SSL encrypted and normal reverse + connections. + + An experimental mode is "-proxy http://host:port/..." where the URL + (e.g. a CGI script) is retrieved via the GET method. See [631]-proxy + for more info. + + Another experimental mode is "-proxy ssh://user@host" in which case a + SSH tunnel is used for the proxying. See [632]-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 + needs to ricochet off of several machines to ultimately reach the + listening viewer. + + + 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). You can, but you would not be doing this for performance reasons (for @@ -4536,10 +4821,10 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" Driver in XFree86/Xorg (see below). In either case, one can view this desktop both remotely and also - [588]locally using vncviewer. Make sure vncviewer's "-encodings raw" + [633]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 ([589]See how below). + just starts up vncviewer and nothing else ([634]See how below). Here is one way to start up Xvfb: xinit -- /usr/X11R6/bin/Xvfb :1 -cc 4 -screen 0 1024x768x16 @@ -4559,19 +4844,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 [590]FINDCREATEDISPLAY discussion of the - "[591]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or + Update Nov/2006: See the [635]FINDCREATEDISPLAY discussion of the + "[636]-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 [592]-find, - [593]-create, [594]-svc, and [595]-xdmsvc aliases can also come in + (inetd(8) is a nice way to provide this service). The [637]-find, + [638]-create, [639]-svc, and [640]-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 - [596]-add_keysyms option to have keysyms added automatically. Also, to + [641]-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" @@ -4583,7 +4868,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 [597]FINDCREATEDISPLAY + (note: these are applied automatically in the [642]FINDCREATEDISPLAY mode of x11vnc). Perhaps the Xvfb options -xkbdb or -xkbmap could be used to get a better default keyboard mapping... @@ -4598,11 +4883,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) [598]switching even though it + Linux Virtual Console/Terminal (VC/VT) [643]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 [599]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [644]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 @@ -4630,7 +4915,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 [600]-find), and you may not need the -passwd. Recent RealVNC + also try [645]-find), and you may not need the -passwd. Recent RealVNC viewers might be this: #!/bin/sh x11vnc -display :5 -rfbport 5905 -bg @@ -4645,7 +4930,7 @@ t:5 and configuration. - Q-63: How can I use x11vnc on "headless" machines? Why might I want + Q-66: How can I use x11vnc on "headless" machines? Why might I want to? An interesting application of x11vnc is to let it export displays of @@ -4657,7 +4942,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 [601]this FAQ) and access it from + display via x11vnc (e.g. see [646]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 @@ -4680,15 +4965,15 @@ t:5 cards as it can hold to provide multiple simultaneous access or testing on different kinds of video hardware. - See also the [602]FINDCREATEDISPLAY discussion of the "[603]-display + See also the [647]FINDCREATEDISPLAY discussion of the "[648]-display WAIT:cmd=FINDDISPLAY" option where virtual Xvfb or Xdummy, or real X servers are started automatically for new users connecting. The - [604]-find, [605]-create, [606]-svc, and [607]-xdmsvc aliases can also + [649]-find, [650]-create, [651]-svc, and [652]-xdmsvc aliases can also come in handy here. [Resource Usage and Performance] - Q-64: I have lots of memory, but why does x11vnc fail with shmget: + 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)? @@ -4706,7 +4991,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 [608]shm_clear to list and prompt for removal + Here is a shell script [653]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, @@ -4740,44 +5025,44 @@ ied) in /etc/system. See the next paragraph for more workarounds. To minimize the number of shm segments used by x11vnc try using the - [609]-onetile option (corresponds to only 3 shm segments used, and + [654]-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 - [610]-noshm option. Performance will be somewhat degraded but when + [655]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [611]earlier question discussing -noshm). + [656]earlier question discussing -noshm). - Q-65: How can I make x11vnc use less system resources? + Q-68: How can I make x11vnc use less system resources? - The [612]-nap (now on by default) and "[613]-wait n" (where n is the + The [657]-nap (now on by default) and "[658]-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 "[614]-sb 15" will cause + are good places to start. Something like "[659]-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 [615]-onetile + will make x11vnc's screen polling less severe. Using the [660]-onetile option will use less memory and use fewer shared memory slots (add - [616]-fs 1.0 for one less slot). + [661]-fs 1.0 for one less slot). - Q-66: How can I make x11vnc use MORE system resources? + Q-69: How can I make x11vnc use MORE system resources? - You can try [617]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [618]-defer as well. Note that if you try to + You can try [662]-threads and dial down the wait time (e.g. -wait 1) + and possibly dial down [663]-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 [619]-id option) can be streamed over a LAN or wireless at + the x11vnc [664]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. - Q-67: I use x11vnc over a slow link with high latency (e.g. dialup + 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? Some things you might want to experiment with (many of which will help @@ -4789,7 +5074,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 - [620]-solid [color] option to try to do this automatically. + [665]-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 @@ -4798,9 +5083,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 [621]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [666]-scrollcopyrect is active and detecting scrolls for the application). - * If the [622]-wireframe option is not available (earlier than + * If the [667]-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) @@ -4823,7 +5108,7 @@ ied) noticed. VNC viewer parameters: - * Use a [623]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [668]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 @@ -4845,37 +5130,37 @@ ied) file. x11vnc parameters: - * Make sure the [624]-wireframe option is active (it should be on by + * Make sure the [669]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [625]-scrollcopyrect option is active (it should be + * Make sure the [670]-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 - [626]-solid - * Specify [627]-speeds modem to force the wireframe and + [671]-solid + * Specify [672]-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 [628]-nodragging (no screen updates when dragging mouse, + drastic [673]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [629]-fs 1.0 (disables fullscreen updates) - * Try increasing [630]-wait or [631]-defer (reduces the maximum + * Set [674]-fs 1.0 (disables fullscreen updates) + * Try increasing [675]-wait or [676]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [632]-progressive pixelheight mode with the block + * Try the [677]-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 [633]-id (cuts + * If you just want to watch one (simple) window use [678]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [634]-nosel (disables all clipboard selection exchange) - * Use [635]-nocursor and [636]-nocursorpos (repainting the remote + * Set [679]-nosel (disables all clipboard selection exchange) + * Use [680]-nocursor and [681]-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 - [637]-readtimeout n setting if it sometimes takes more than 20sec + [682]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. - * Do not use [638]-fixscreen to automatically refresh the whole + * Do not use [683]-fixscreen to automatically refresh the whole screen, tap three Alt_L's then the screen has painting errors (rare problem). @@ -4926,7 +5211,7 @@ ied) * TBD. - Q-68: Does x11vnc support the X DAMAGE Xserver extension to find + Q-71: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? Yes, as of Mar/2005 x11vnc will use the X DAMAGE extension by default @@ -4944,7 +5229,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 [639]slow (e.g. + in main memory. So reading the fb is still painfully [684]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 @@ -4962,45 +5247,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 "[640]-xd_area A" option to adjust the size + skipped). You can use the "[685]-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 "[641]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[642]-noxdamage". + The option "[686]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[687]-noxdamage". - Q-69: My OpenGL application shows no screen updates unless I supply + 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 "[643]-noxdamage" option. + he uses the "[688]-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 [644]MiniMyth reports that the 'alphapulse' tag of the + A developer for [689]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 [645]this FAQ too. + Update: see [690]this FAQ too. - Q-70: When I drag windows around with the mouse or scroll up and down + 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 [646]slow hardware read rates from + This problem is primarily due to [691]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 - [647]-pointer_mode option for more info. The next bottleneck is + [692]-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 @@ -5010,26 +5295,26 @@ 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 "[648]-pointer_mode 1" option. + the "[693]-pointer_mode 1" option. - Also added was the [649]-nodragging option that disables all screen + Also added was the [694]-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 [650]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [695]-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 [651]-threads option can improve + Also, in some circumstances the [696]-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). - As of Apr/2005 two new options (see the [652]wireframe FAQ and - [653]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [697]wireframe FAQ and + [698]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 @@ -5042,7 +5327,7 @@ Section "Module" EndSection - Q-71: Why not do something like wireframe animations to avoid the + Q-74: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? Nice idea for a hack! As of Apr/2005 x11vnc by default will apply @@ -5053,8 +5338,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 [654]slow video card - read rates (see [655]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [699]slow video card + read rates (see [700]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. @@ -5062,7 +5347,7 @@ 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 [656]-nowireframe option + with the problem. It can be disabled with the [701]-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 @@ -5107,13 +5392,13 @@ EndSection * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [657]"-wireframe tweaks" option for more details. On a slow + See the [702]"-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 - [658]"-wirecopyrect mode" option. It is also on by default. This + [703]"-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 @@ -5144,7 +5429,7 @@ EndSection -nowirecopyrect if this or other painting errors are unacceptable. - Q-72: Can x11vnc try to apply heuristics to detect when a window is + 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? Another nice idea for a hack! As of May/2005 x11vnc will by default @@ -5161,7 +5446,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 [659]slow). + the hardware framebuffer is [704]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. @@ -5188,10 +5473,10 @@ EndSection the X server display: if one falls too far behind it could become a mess... - The initial implementation of [660]-scrollcopyrect option is useful in + The initial implementation of [705]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [661]-wireframe - [662]-wirecopyrect [663]options, which are also on by default; and if + environment (especially when combined with the [706]-wireframe + [707]-wirecopyrect [708]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. @@ -5224,10 +5509,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: [664]-fixscreen + also: [709]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [665]-scr_skip option for ways to tweak this on a + See the [710]-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 @@ -5244,7 +5529,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 [666]-scale option there will be a quick CopyRect + * When using the [711]-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 @@ -5257,7 +5542,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 [667]-noscrollcopyrect (or -noscr for short). If you find + with the [712]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -5278,14 +5563,14 @@ EndSection errors. - Q-73: Can x11vnc do client-side caching of pixel data? I.e. so when + 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. - As of Dec/2006 in the [668]0.9 development tarball there is an + As of Dec/2006 in the [713]0.9 development tarball there is an experimental client-side caching implementation enabled by the - "[669]-ncache n" option. In fact, during the test period at least it - is on by default with n set to 12. To disable it use "-noncache". + "[714]-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 framebuffer (i.e. starting just below the user's actual desktop @@ -5318,7 +5603,7 @@ EndSection rendering...). The Enhanced TightVNC Viewer (SSVNC) Unix viewer has a nice - [670]-ycrop option to help hide the pixel cache area from view. It + [715]-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 @@ -5347,7 +5632,7 @@ EndSection an additional factor of 2 in memory use. However, even in the smallest usage mode with n equal 2 and - [671]-ncache_no_rootpixmap set (this requires only 2X additional + [716]-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. @@ -5358,7 +5643,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 "[672]-ncache_cr". By specifying + Another option to experiment with is "[717]-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 @@ -5413,7 +5698,7 @@ EndSection [Mouse Cursor Shapes] - Q-74: Why isn't the mouse cursor shape (the little icon shape where + 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? On X servers supporting XFIXES or Solaris/IRIX Overlay extensions it @@ -5428,23 +5713,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 "[673]-cursor X" option that + A simple kludge is provided by the "[718]-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 "[674]-cursor some" option for + work for those cases. Also see the "[719]-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 - [675]-overlay option is supplied. See [676]this FAQ for more info. + [720]-overlay option is supplied. See [721]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 - [677]Solaris 10. + [722]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 @@ -5452,10 +5737,10 @@ 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. [678]Details can be found here. + hidden alpha channel data under 32bpp. [723]Details can be found here. - Q-75: When using XFIXES cursorshape mode, some of the cursors look + 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? @@ -5485,17 +5770,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 "[679]-alphacut n" option lets + course!) some tunable parameters. The "[724]-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 "[680]-alphafrac f" option tries to correct individual + 240. The "[725]-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 [681]-alpharemove that is useful for + Finally, there is an option [726]-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 @@ -5513,7 +5798,7 @@ EndSection heavily on redglass) look fine with the apparent default of alphacut:255. - Q-76: In XFIXES mode, are there any hacks to handle cursor + Q-79: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? As of Jan/2005 libvncserver has been modified to allow an alpha @@ -5521,10 +5806,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 [682]-nocursorshape x11vnc option. In this case the cursor is + with the [727]-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 [683]-noalphablend option to disable this + the x11vnc side. Use the [728]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -5548,17 +5833,17 @@ 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 [684]Enhanced TightVNC Viewer (SSVNC) + This patch is applied to the [729]Enhanced TightVNC Viewer (SSVNC) package we provide. [Mouse Pointer] - Q-77: Why does the mouse arrow just stay in one corner in my + 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 [685]tightvnc extension + This default takes advantage of a [730]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [686]-nocursor + the local VNC viewer. You may disable it with the [731]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -5567,22 +5852,22 @@ EndSection can also be disabled via -nocursor. - Q-78: Can I take advantage of the TightVNC extension to the VNC + 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)? - Use the [687]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [732]-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 [688]-nocursorpos and [689]-nocursorshape. + is the default. See also [733]-nocursorpos and [734]-nocursorshape. - Q-79: Is it possible to swap the mouse buttons (e.g. left-handed + 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: [690]-buttonmap + You can remap the mouse buttons via something like: [735]-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. @@ -5590,7 +5875,7 @@ 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 [691]-debug_pointer option prints out much info for + Note that the [736]-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 @@ -5612,7 +5897,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 [692]-buttonmap but rather configuring the X server + consider not using [737]-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"'). @@ -5639,10 +5924,10 @@ EndSection "click" usually gives a multi-line scroll). [Keyboard Issues] - Q-80: How can I get my AltGr and Shift modifiers to work between + Q-83: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [693]-modtweak should help here. It is a mode that monitors + The option [738]-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. @@ -5651,20 +5936,20 @@ 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 [694]this FAQ for more info). Without + not exist on the keyboard (see [739]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 [695]FAQ about the -xkb option for a more powerful method + Also see the [740]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 - [696]-debug_keyboard option prints out much info for every keystroke + [741]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. - Q-81: When I try to type a "<" (i.e. less than) instead I get ">" + Q-84: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! Does your keyboard have a single key with both "<" and ">" on it? Even @@ -5672,9 +5957,9 @@ EndSection (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [697]-xkb or [698]-sloppy_keys options and see if + Short Cut: Try the [742]-xkb or [743]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [699]-modtweak is now the default) but it is useful reference for + [744]-modtweak is now the default) but it is useful reference for various tricks and so is kept. @@ -5717,34 +6002,34 @@ EndSection -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([700]-modtweak) is a mode that monitors the + settings. The former ([745]-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 ([701]-remap less-comma) is an immediate remapping of the + The latter ([746]-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 [702]FAQ about the -xkb option as a possible workaround + See also the [747]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [703]-debug_keyboard option prints out much info for + Note that the [748]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. - Q-82: When I try to type a "<" (i.e. less than) instead I get "<," + Q-85: When I try to type a "<" (i.e. less than) instead I get "<," (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 [704]keymapping + the Shift key before releasing the "<". Because of a [749]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [705]-xkb mode, because it works hard to + This should not happen in [750]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [706]-sloppy_keys to attempt a similar type of algorithm. + option [751]-sloppy_keys to attempt a similar type of algorithm. - Q-83: I'm using an "international" keyboard (e.g. German "de", or + 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 @@ -5765,7 +6050,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 [707]-modtweak + This all worked fine with x11vnc running with the [752]-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 @@ -5782,7 +6067,7 @@ EndSection * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [708]-xkb option seems to fix all of the missing keys: "@", "<", + The [753]-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 @@ -5790,7 +6075,7 @@ EndSection debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [709]-xkb if it appears that would be beneficial (e.g. if it sees any + [754]-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. @@ -5805,7 +6090,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: - [710]-skip_keycodes 93 + [755]-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 @@ -5823,16 +6108,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 [711]-remap x11vnc option: + created using the [756]-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 - [712]-add_keysyms option in the next paragraph. - Update: for convenience "[713]-remap DEAD" does many of these + [757]-add_keysyms option in the next paragraph. + Update: for convenience "[758]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [714]-remap, an - option [715]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [759]-remap, an + option [760]-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 @@ -5843,7 +6128,7 @@ EndSection disable. - Q-84: When typing I sometimes get double, triple, or more of my + 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? This may be due to an interplay between your X server's key autorepeat @@ -5851,7 +6136,7 @@ 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) [716]-norepeat x11vnc option. You will still + use the new (Jul/2004) [761]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. @@ -5875,18 +6160,18 @@ 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 [717]-norepeat (which has since Dec/2004 been + needed, or to use the [762]-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 working at the physical display and misses his autorepeating. - Q-85: The x11vnc -norepeat mode is in effect, but I still get repeated + Q-88: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! Are you using x11vnc to log in to an X session via display manager? - (as described in [718]this FAQ) If so, x11vnc is starting before your + (as described in [763]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 @@ -5906,11 +6191,11 @@ EndSection should figure out how to disable that somehow. - Q-86: The machine where I run x11vnc has an AltGr key, but the local + Q-89: 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 "[719]-remap Super_R-Mode_switch" x11vnc option may + Something like "[764]-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)). @@ -5921,7 +6206,7 @@ EndSection specify remappings from a file. - Q-87: I have a Sun machine I run x11vnc on. Its Sun keyboard has just + Q-90: 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) @@ -5933,13 +6218,13 @@ 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 [720]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [765]-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. - Q-88: Running x11vnc on HP-UX I cannot type "#" I just get a "3" + Q-91: Running x11vnc on HP-UX I cannot type "#" I just get a "3" instead. One user reports this problem on HP-UX Rel_B.11.23. The problem was @@ -5953,7 +6238,7 @@ EndSection and similar triple mappings (with two in the AltGr/Mode_switch group) of a keysum to a single keycode. - Use the [721]-nomodtweak option as a workaround. You can also use + Use the [766]-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" @@ -5962,12 +6247,12 @@ EndSection handle these mappings better. - Q-89: Can I map a keystroke to a mouse button click on the remote + Q-92: Can I map a keystroke to a mouse button click on the remote machine? 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 [722]-remap + have x11vnc do the remapping. This can be done via the [767]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -5976,7 +6261,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: - [723]-remap Super_R-Button2 + [768]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -5985,7 +6270,7 @@ EndSection are generated immediately on the x11vnc side. When the key is released (i.e. goes up) no events are generated. - Q-90: How can I get Caps_Lock to work between my VNC viewer and + Q-93: How can I get Caps_Lock to work between my VNC viewer and x11vnc? This is a little tricky because it is possible to get the Caps_Lock @@ -5995,14 +6280,14 @@ 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 - [724]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[725]-remap Caps_Lock-None". + [769]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[770]-remap Caps_Lock-None". - Also try the [726]-nomodtweak and [727]-capslock options. + Also try the [771]-nomodtweak and [772]-capslock options. [Screen Related Issues and Features] - Q-91: The remote display is larger (in number of pixels) than the + Q-94: 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? @@ -6021,15 +6306,15 @@ 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 - [728]this FAQ on x11vnc scaling. + [773]this FAQ on x11vnc scaling. - Q-92: Does x11vnc support server-side framebuffer scaling? (E.g. to + Q-95: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). 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 "[729]-scale fraction" option. "fraction" can either be a + use the "[774]-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. @@ -6050,7 +6335,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 - [730]applications. Since with integer scale factors the framebuffers + [775]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -6076,7 +6361,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 ([731]-rfbport option, + different scalings listening on separate ports ([776]-rfbport option, etc.). Update: As of May/2006 x11vnc also supports the UltraVNC server-side @@ -6086,8 +6371,8 @@ 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 [732]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [733]"-connect + use the [777]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [778]"-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 @@ -6096,12 +6381,12 @@ EndSection 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 - [734]"-scale_cursor frac" option to set the cursor scaling to a + [779]"-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). - Q-93: Does x11vnc work with Xinerama? (i.e. multiple monitors joined + Q-96: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). Yes, it should generally work because it simply polls the big @@ -6118,24 +6403,24 @@ 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 [735]-blackout x11vnc option + may be distracting to the viewer. The [780]-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 - [736]-xinerama x11vnc option can be used to have it automatically + [781]-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: - [737]-xinerama is now on by default. + [782]-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 [738]-xwarppointer + of the large display. If this happens try using the [783]-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). - Q-94: Can I use x11vnc on a multi-headed display that is not Xinerama + Q-97: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? You can, but it is a little bit awkward: you must start separate @@ -6153,32 +6438,32 @@ 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 [739]FAQ to increase the limit. It - is probably also a good idea to run with the [740]-onetile option in + /etc/system as mentioned in another [784]FAQ to increase the limit. It + is probably also a good idea to run with the [785]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [741]-noshm to use no shm segments. + [786]-noshm to use no shm segments. - Q-95: Can x11vnc show only a portion of the display? (E.g. for a + Q-98: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - As of Mar/2005 x11vnc has the "[742]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[787]-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 [743]Xinerama screen into two + One user used -clip to split up a large [788]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [744]-id or [745]-sid options are used. The offset is measured + the [789]-id or [790]-sid options are used. The offset is measured from the upper left corner of the selected window. - Q-96: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) + Q-99: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [746]-xrandr option to make x11vnc monitor XRANDR events and also trap + [791]-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. @@ -6188,9 +6473,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 [747]-padgeom option to make the region big + viewers you can try the [792]-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: [748]enhanced_tightvnc_viewer + for the TightVNC Viewer on Unix: [793]enhanced_tightvnc_viewer If you specify "-xrandr newfbsize" then vnc viewers that do not support NewFBSize will be disconnected before the resize. If you @@ -6198,21 +6483,21 @@ EndSection terminate. - Q-97: Independent of any XRANDR, can I have x11vnc rotate and/or + Q-100: 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). - As of Jul/2006 there is the [749]-rotate option allow this. E.g's: + As of Jul/2006 there is the [794]-rotate option allow this. E.g's: "-rotate +90", "-rotate -90", "-rotate x", etc. - Q-98: Why is the view in my VNC viewer completely black? Or why is + Q-101: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? See the next FAQ for a possible explanation. - Q-99: I use Linux Virtual Consoles (VC's) to implement 'Fast User + Q-102: 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 @@ -6241,9 +6526,9 @@ EndSection "chvt 7" for VC #7. - Q-100: I am using x11vnc where my local machine has "popup/hidden + Q-103: 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 eachother. + "popup/hidden taskbars" and they interfere and fight with each other. What can I do? When you move the mouse to the edge of the screen where the popups @@ -6256,7 +6541,7 @@ EndSection click on the task bar panel, and uncheck "enable auto-hide" from the panel properties dialog box. This will make the panel always visible. - Q-101: Help! x11vnc and my KDE screensaver keep switching each other + Q-104: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. This is a new (Jul/2006) problem seen, say, on the version of KDE that @@ -6267,13 +6552,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 [750]here for how to + straight xscreensaver (see the instructions [795]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 [751]-nodpms option was added + suspend, or off). In Nov/2006 the x11vnc [796]-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 @@ -6283,22 +6568,22 @@ EndSection disable the screensaver). Feel free to file a bug against kdesktop_lock with KDE. - Q-102: I am running the beryl 3D window manager (or MythTv, Google + Q-105: 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. 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 - [752]beryl or XDAMAGE/Xorg or the (possibly 3rd party) video card + [797]beryl or XDAMAGE/Xorg or the (possibly 3rd party) video card driver. - As a workaround apply the [753]-noxdamage option. As of Feb/2007 + As a workaround apply the [798]-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 [754]this + beryl you might as well always supply -noxdamage. Thanks to [799]this user who reported the problem and discovered the workaround. - A developer for [755]MiniMyth reports that the 'alphapulse' tag of the + A developer for [800]MiniMyth reports that the 'alphapulse' tag of the theme G.A.N.T. can also cause problems, and should be avoided when using VNC. @@ -6307,7 +6592,7 @@ EndSection responsiveness (especially for typing) and also leads to unnecessary CPU and memory I/O load due to the extra polling. - Q-103: Can I use x11vnc to view my VMWare session remotely? + Q-106: Can I use x11vnc to view my VMWare session remotely? Yes, since VMWare usually runs as an X application you can view it via x11vnc in the normal way. @@ -6318,9 +6603,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 [756]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [801]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [757]see this discussion + server. So x11vnc cannot access it (however, [802]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. @@ -6341,13 +6626,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 [758]is in the active VC. + as long as the VMWare X session [803]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 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 [759]-id windowid option. The + the VMWare menu buttons) by use of the [804]-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 @@ -6359,14 +6644,14 @@ EndSection [Exporting non-X11 devices via VNC] - Q-104: Can non-X devices (e.g. a raw framebuffer) be viewed (and even + Q-107: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? As of Apr/2005 there is support for this. Two options were added: - "[760]-rawfb string" (to indicate the raw framembuffer device, file, - etc. and its parameters) and "[761]-pipeinput command" (to provide an + "[805]-rawfb string" (to indicate the raw framembuffer device, file, + etc. and its parameters) and "[806]-pipeinput command" (to provide an external program that will inject or otherwise process mouse and - keystroke input). Some useful [762]-pipeinput schemes, VID, CONSOLE, + keystroke input). Some useful [807]-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 @@ -6404,9 +6689,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 [763]-snapfb option with + this). The "snap:" setting applies the [808]-snapfb option with "file:" type reading (this is useful for exporting webcams or TV tuner - video; see [764]the next FAQ for more info). + video; see [809]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 @@ -6450,7 +6735,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 [765]X + for the case of Xvfb x11vnc can poll it much better via the [810]X API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it @@ -6479,13 +6764,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 [766]Qt-embedded apps (PDAs/Handhelds). By default the + fullscreen, or [811]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 [767]this FAQ for details. If specified via "-rawfb Video" + kernel. See [812]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). @@ -6493,10 +6778,10 @@ EndSection also useful in testing. - All of the above [768]-rawfb options are just for viewing the raw + All of the above [813]-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 [769]video camera mapped its framebuffer + this feature (e.g. suppose a [814]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 @@ -6534,7 +6819,7 @@ 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 [770]active VC) one + view and interact with VC #2 (assuming it is the [815]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' @@ -6589,7 +6874,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 - [771]Qt-embedded Also, for example the [772]VMWare Fullscreen mode is + [816]Qt-embedded Also, for example the [817]VMWare Fullscreen mode is actually viewable under -rawfb and can be interacted with if uinput is enabled. @@ -6606,12 +6891,12 @@ EndSection program that passes the framebuffer to libvncserver. - Q-105: Can I export via VNC a Webcam or TV tuner framebuffer using + Q-108: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [773]-rawfb option. + Yes, this is possible to some degree with the [818]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [774]previous FAQ on -rawfb + used for the screen image data. See the [819]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -6623,7 +6908,7 @@ EndSection snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [775]-snapfb mode which appears to be necessary. + The "snap:" enforces [820]-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. @@ -6645,7 +6930,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 [776]-24to32 option will be automatically imposed when in + etc, the [821]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -6653,7 +6938,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 [777]-wait, [778]-slow_fb, or [779]-defer + the framerate via the [822]-wait, [823]-slow_fb, or [824]-defer options. Decreasing the window size and bpp also helps. @@ -6742,16 +7027,16 @@ EndSection format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [780]-freqtab option to supply your own xawtv channel to + See also the [825]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). - Q-106: Can I connect via VNC to a Qt-embedded/Qtopia application + Q-109: 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)? - Yes, the basic method for this is the [781]-rawfb scheme where the + Yes, the basic method for this is the [826]-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: @@ -6764,7 +7049,7 @@ EndSection x11vnc -rawfb /dev/fb0@640x480x16 Also, to force usage of the uinput injection method use "-pipeinput - UINPUT". See the [782]-pipeinput description for tunable parameters, + UINPUT". See the [827]-pipeinput description for tunable parameters, etc. One problem with the x11vnc uinput scheme is that it cannot guess the @@ -6780,7 +7065,7 @@ EndSection Even with the correct acceleration setting there is stil 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 [783]-pipeinput UINPUT option for tuning + times a second. See the [828]-pipeinput UINPUT option for tuning parameters that can be set (there are some experimental thresh=N tuning parameters as well) @@ -6811,10 +7096,10 @@ EndSection x11vnc on your device and letting us know what does and does not work. - Q-107: Now that non-X11 devices can be exported via VNC using x11vnc, + Q-110: 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 [784]-rawfb only + Yes, as of Jul/2006 x11vnc enables building for [829]-rawfb only support. Just do something like when building: ./configure --without-x (plus any other flags) make @@ -6825,16 +7110,16 @@ EndSection know what you did. - Q-108: Does x11vnc support Mac OS X Aqua/Quartz displays natively + Q-111: Does x11vnc support Mac OS X Aqua/Quartz displays natively (i.e. no X11 involved)? 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 - [785]-rawfb mechanism described above. The mouse and keyboard input is + [830]-rawfb mechanism described above. The mouse and keyboard input is acheived via Mac OS X API's. - So you can use x11vnc as an alternative to [786]OSXvnc (aka Vine - Server), or [787]Apple Remote Desktop (ARD). Perhaps there is some + So you can use x11vnc as an alternative to [831]OSXvnc (aka Vine + Server), or [832]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. @@ -6844,7 +7129,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 [788]-id windowid mode (and the + only work reasonably in single window [833]-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 @@ -6858,9 +7143,9 @@ EndSection ./configure --without-x make - Win2VNC/x2vnc: One handy use is to use the [789]-nofb mode to + Win2VNC/x2vnc: One handy use is to use the [834]-nofb mode to redirect mouse and keyboard input to a nearby Mac (i.e. one to the - side of your desk) via [790]x2vnc or Win2VNC. See [791]this FAQ for + side of your desk) via [835]x2vnc or Win2VNC. See [836]this FAQ for more info. Options: Here are the Mac OS X specific x11vnc options: @@ -6930,17 +7215,17 @@ rm -f $tmp command for you). Then once you are connected via VNC, iconify the Terminal windows (you can't delete them since that will kill x11vnc). - Q-109: Can x11vnc be used as a VNC reflector/repeater to improve + Q-112: 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)? - Yes, as of Feb/2007 there is the "[792]-reflect host:N" option to + Yes, as of Feb/2007 there is the "[837]-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 - [793]-rawfb description under "VNC HOST" for more details. + [838]-rawfb description under "VNC HOST" for more details. You can replace "host:N" with "listen" or "listen:port" for reverse connections. @@ -7001,20 +7286,20 @@ 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 [794]-nodragging if the + not doing wireframing somehow, consider [839]-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: - [795]http://sourceforge.net/projects/vnc-reflector/, - [796]http://www.tightvnc.com/projector/ (closed source?), - [797]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g + [840]http://sourceforge.net/projects/vnc-reflector/, + [841]http://www.tightvnc.com/projector/ (closed source?), + [842]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g ateway and not a broadcaster?) 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 "[798]"-connect host1,host2,..." option). + connections (the x11vnc "[843]"-connect host1,host2,..." option). Suppose all the clients "C" are started up in Listen mode: client1> vncviewer -listen client2> vncviewer -listen @@ -7043,36 +7328,36 @@ ateway and not a broadcaster?) [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - Q-110: Does the Clipboard/Selection get transferred between the + Q-113: Does the Clipboard/Selection get transferred between the vncviewer and the X display? 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 [799]-nosel option. If you don't + Clipboard/Selection exchanged use the [844]-nosel option. If you don't want the PRIMARY selection to be polled for changes use the - [800]-noprimary option. (with a similar thing for CLIPBOARD). You can - also fine-tune it a bit with the [801]-seldir dir option and also - [802]-input. + [845]-noprimary option. (with a similar thing for CLIPBOARD). You can + also fine-tune it a bit with the [846]-seldir dir option and also + [847]-input. You may need to watch out for desktop utilities such as KDE's "Klipper" that do odd things with the selection, clipboard, and cutbuffers. - Q-111: Can I use x11vnc to record a Shock Wave Flash (or other format) + Q-114: 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? 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 - [803]pyvnc2swf. There are a number of [804]tutorials on how to do + [848]pyvnc2swf. There are a number of [849]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 parameters should be applied to x11vnc to speed up its polling for this sort of application, e.g. "-wait 10 -defer 10". - Q-112: Can I transfer files back and forth with x11vnc? + Q-115: Can I transfer files back and forth with x11vnc? As of Oct/2005 and May/2006 x11vnc enables, respectively, the TightVNC and UltraVNC file transfer implementations that were added to @@ -7081,7 +7366,7 @@ ateway and not a broadcaster?) do work to some degree under Wine on Linux). TightVNC file transfer is off by default, if you want to enable it use - the [805]-nofilexfer option. + the [850]-nofilexfer option. UltraVNC file transfer is off by default, to enable it use something like "-rfbversion 3.6 -permitfiletransfer" @@ -7104,7 +7389,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 [806]-users option, then VNC Viewers that connect are able to do + the [851]-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 @@ -7117,13 +7402,13 @@ ateway and not a broadcaster?) control you will probably be foiled by the "-rfbversion 3.6" issue. - Q-113: Which UltraVNC extensions are supported? + Q-116: Which UltraVNC extensions are supported? Some of them are supported. To get UltraVNC Viewers to attempt to use these extensions you will need to supply this option to x11vnc: -rfbversion 3.6 - Or use [807]-ultrafilexfer which is an alias for the above option and + Or use [852]-ultrafilexfer which is an alias for the above option and "-permitfiletransfer". UltraVNC evidently treats any other RFB version number as non-UltraVNC. @@ -7135,63 +7420,108 @@ ateway and not a broadcaster?) * 1/n Server Scaling * rfbEncodingUltra compression encoding - To disable SingleWindow and ServerInput use [808]-noultraext (the + To disable SingleWindow and ServerInput use [853]-noultraext (the others are managed by LibVNCServer). See this option too: - [809]-noserverdpms. + [854]-noserverdpms. - Q-114: Can x11vnc emulate UltraVNC's Single Click helpdesk mode? I.e. - something very simple for a naive user to initiate a reverse vnc - connection from their desktop to a helpdesk operator's VNC Viewer. + Q-117: 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. - Yes, UltraVNC's [810]Single Click (SC) mode can be emulated reasonably - well on Unix. + Yes, UltraVNC's [855]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 [811]Mac OS X. + assistance you want to set up, e.g. something for Unix-using friends + or family to use. This includes [856]Mac OS X. Assume you create a helpdesk directory "hd" on your website: - http://www.mysite.com/hd + http://www.mysite.com/hd (any website that you can upload files to + should work, although remember the user will be running the programs + you place there). - In that "hd" subdirectory copy an x11vnc binary and also create a file - named "vnc" containing the following: + In that "hd" subdirectory copy an x11vnc binary to be run on the Unix + user's machine (e.g. Linux, etc) and also create a file named "vnc" + containing the following: #!/bin/sh -webhost="http://www.mysite.com/hd" # Your helpdesk dir URL. -vnchost="hd1.mysite.com" # Your host running 'vncviewer -listen' +webhost="http://www.mysite.com/hd" # Your helpdesk dir URL. +vnchost="ip.someplace.net" # Your host running 'vncviewer -listen' + # It could also be your IP number. If it is + # a router/firewall, you will need to + # configure it to redirect port 5500 to you +r + # workstation running 'vncviewer -listen' -dir=/tmp/vnc_helpdesk.$$ # Make working dir. +dir=/tmp/vnc_helpdesk.$$ # Make a temporary working dir. mkdir $dir || exit 1 cd $dir || exit 1 -trap "cd /tmp; rm -rf $dir" 0 2 15 # Clean up on exit. +trap "cd /tmp; rm -rf $dir" 0 2 15 # Cleans up on exit. -wget $webhost/x11vnc # Fetch x11vnc binary. If multi- -chmod 755 ./x11vnc # platform, use `uname` etc. +wget $webhost/x11vnc # Fetch x11vnc binary. If multi- +chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc + # or similar. ./x11vnc -connect_or_exit $vnchost -rfbport 0 -nopw - with the hostnames customized to your case. + with the hostnames / IP addresses customized to your case. - On the helpdesk VNC viewer machine (hd1.mysite.com in this example) + On the helpdesk VNC viewer machine (ip.someplace.net in this example) you have the helpdesk operator running VNC viewer in listen mode: vncviewer -listen or if on Windows, etc. somehow have the VNC viewer be in "listen" mode. - Then, when the naive user needs assistance he opens up a terminal - window on his Unix desktop and pastes the following into the shell: + Then, when the naive user needs assistance you instruct him to open up + a terminal window on his Unix desktop and paste the following into the + shell: wget -qO - http://www.mysite.com/hd/vnc | sh - - You could have this instruction on a web page or in an email you send - him, etc. + and then press Enter. You could have this instruction on a web page or + in an email you send him, etc. This requires that the wget is + installed on the user's Unix machine (he might only have curl or lynx, + see below for more info). + + + So I guess this is about 3-4 clicks (start a terminal and paste) and + pressing "Enter" instead of "single click"... + + See [857]this page for some variations on this method, e.g. how to add + a password, SSL Certificates, etc. + + + If you don't have a website (there are many free ones) or don't want + to use one you will have to email him all of the ingredients (x11vnc + binary and a launcher script) and tell him how to run it. This could + be easy or challenging depending on the skill of the naive unix + user... + 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 [858]here. + + + Firewalls: If the helpdesk (you) with the vncviewer is behind a + NAT/Firewall/Router the [859]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. + + NAT-2-NAT: There is currently no way to go "NAT-2-NAT", i.e. both User + and Helpdesk workstations behind NAT'ing Firewall/Routers without + 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. [860]http://sc.uvnc.com provides + this service for their UltraVNC Single Click users. - So I guess this is about 3-4 clicks and pressing "Enter" instead of - "single click". + + Very Naive Users: If it is beyond the user how to open a terminal window and paste in a command (you have my condolences...) you would have to somehow setup @@ -7219,115 +7549,84 @@ chmod 755 ./x11vnc # platform, use `uname` etc. things up yourself... - If you need to support multiple Unix platforms via this scheme, - perhaps create subdirs hd/Linux.i686, hd/SunOS.sun4u, etc. placing the - correct binaries in each and then modify the vnc script to have: - wget $webhost/`uname -sm | sed -e 's/ /./g'`/x11vnc - - to find the OS's binary. Of course you could create .tar.gz or .zip - archives of the x11vnc and vnc (the latter modified, i.e. no wget or - tmpdir needed) programs that the user downloads, unpacks and runs vnc. - Or perhaps you avoid the website completely and just email him the - archive with instructions to unpack and run the script. - - Note if the user is on MacOSX then he more likely has curl than wget. - So you could change everything to use that, e.g.: -curl $webhost/x11vnc > ./x11vnc - - etc. Or one could also have vnc test for the the presence of wget or - curl, e.g. -if type wget >/dev/null; then - wget -O - $webhost/x11vnc > ./x11vnc -elif type curl >/dev/null; then - curl $webhost/x11vnc > ./x11vnc -else - lynx -source $webhost/x11vnc > ./x11vnc -fi + SSL Encrypted Helpdesk Connections: - etc. + 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 [861]Enhanced TightVNC Viewer (SSVNC) package we + provide that automates all of the SSL for you. - 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). - - - SSL Encrypted Helpdesk Connections: Currently x11vnc does not support - reverse connections in SSL [812]-ssl mode. This may change in a future - release, until then you would need to cook up something with - [813]STUNNEL. - - Update: as of Apr/2007 x11vnc supports reverse connections in SSL. - Recipe below will be updated (TBD), basically you just add "-ssl SAVE" - to the above example. - - To do this, include a copy of an stunnel binary in the "hd" directory - - Next, create a file named "vncs" containing the following: + To do this create a file named "vncs" in the website "hd" directory + containing the following: #!/bin/sh -webhost="http://www.mysite.com/hd" # Your helpdesk dir URL. -vnchost="hd1.mysite.com:5501" # Your stunnel passing to 'vncviewer -listen -' +webhost="http://www.mysite.com/hd" # Your helpdesk dir URL. + +vnchost="ip.someplace.net" # Your host running 'vncviewer -listen' + # It could also be your IP number. If it is + # a router/firewall, you will need to + # configure it to redirect port 5500 to you +r + # workstation running 'vncviewer -listen' -dir=/tmp/vnc_helpdesk.$$ # Make working dir. +dir=/tmp/vnc_helpdesk.$$ # Make a temporary working dir. mkdir $dir || exit 1 cd $dir || exit 1 -trap 'cd /tmp; kill $pid; rm -rf $dir' 0 2 15 # Clean up on exit. +trap "cd /tmp; rm -rf $dir" 0 2 15 # Cleans up on exit. -# One could put these files in a .tar.gz file instead, and "| tar xzvf -" -# -wget $webhost/x11vnc -wget $webhost/stunnel -chmod 755 ./x11vnc ./stunnel +wget $webhost/x11vnc # Fetch x11vnc binary. If multi- +chmod 755 ./x11vnc # platform, use $webhost/`uname`/x11vnc + # or similar. -# Make stunnel conf file: -# -cat > ./stunnel.conf < '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 + 'Listen'. + + If you don't want to use SSVNC for the viewer, but rather set up + STUNNEL manually instead, make a file "stunnel.cfg" containing: foreground = yes pid = [vnc] -accept = 5501 -connect = localhost:5500 +accept = 5500 +connect = localhost:5501 and run: stunnel ./stunnel.cfg - That should be it. Note that this assumes the stunnel install created - a Server SSL cert+key, usually /etc/stunnel/stunnel.pem (not all - distros will do this). Also, that file is by default only readable by - root, so stunnel needs to be run as root. If your system does not have - a key installed or you do not want to run stunnel as root (or change - the permissions on the file), you can use x11vnc to create one for you - for example: + and then start the "vncviewer -listen 1" (i.e. 1 to correspond to the + 5501 port). Note that this assumes the stunnel install created a + Server SSL cert+key, usually /etc/stunnel/stunnel.pem (not all distros + will do this). Also, that file is by default only readable by root, so + stunnel needs to be run as root. If your system does not have a key + installed or you do not want to run stunnel as root (or change the + permissions on the file), you can use x11vnc to create one for you for + example: x11vnc -sslGenCert server self:mystunnel 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 [865]this link and [866]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 @@ -7335,8 +7634,8 @@ pid = cert = /home/myusername/.vnc/certs/server-self:mystunnel.pem [vnc] -accept = 5501 -connect = localhost:5500 +accept = 5500 +connect = localhost:5501 In any event, with stunnel having been setup, the naive user is instructed to paste in and run: @@ -7344,73 +7643,30 @@ connect = localhost:5500 to pick up the vncs script this time. - With an stunnel scheme like this you could add the helpdesk's public - key (see the CAfile line above) to add some more protection by - requiring the VNC viewer side to authenticate itself. (Of course if a - man-in-the-middle can alter what the user downloads then all bets are - off!). + Of course if a man-in-the-middle can alter what the user downloads + then all bets are off!. + More SSL variations and info about certificates can be found + [867]here. - OpenSSL libssl.so.0.9.7 problems: If you build your own stunnel for - deployment, you may want to statically link libssl.a and libcrypto.a - into it because Linux distros are currently a bit of a mess regarding - which version of libssl is installed. The quickest way to static link - is a bit of a kludge: you let the build proceed normally then look at - the output for the final link, e.g.: - ... - (build output) - ... - gcc -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith -I/usr/include -o stun -nel client.o log.o options.o protocol.o network.o resolver.o ssl.o sthreads.o s -tunnel.o pty.o -lz -ldl -lutil -lnsl -L/usr/lib -lssl -lcrypto -lwrap - - You see that command was run in the src/ subdirectory, and so you cd - to it and change the command line so that everywhere you see -lssl you - replace it with /usr/lib/libssl.a and -lcrypto you replace it with - /usr/lib/libcrypto.a: - cd src - gcc -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith -I/usr/include -o stun -nel client.o log.o options.o protocol.o network.o resolver.o ssl.o sthreads.o s -tunnel.o pty.o -lz -ldl -lutil -lnsl -L/usr/lib /usr/lib/libssl.a /usr/lib/libc -rypto.a -lwrap - - Then the resulting stunnel binary does not have a dynamic dependency - on libssl.so.0.9.X or libcrypto.so.0.9.X and so should work on many - Linux systems. You should do this build on a relatively older, 1-3 - years (or the oldest you plan to deploy on), Linux distro (since glibc - often adds new spurious dependencies on internal symbols, e.g. - __strncpy_chk, even though the application source code is unchanged - and does not refer to them). - - Perhaps a cleaner way that avoids rerunning a modified link line: - mkdir /tmp/libs - cp /usr/lib/libssl.a /usr/lib/libcrypto.a /tmp/libs - env LDFLAGS=-L/tmp/libs ./configure - make - ... - This libssl problem affects x11vnc binary deployment as well, you - could do the same trick as above or you may want to build it using - -without-ssl which is OK for this helpdesk reverse connection - application (at some point x11vnc will do reverse connections via SSL - as well). + OpenSSL libssl.so.0.9.7 problems: - To try to link even more libaries statically into x11vnc (to try to - increase the chances for portability of the deployed binary) consider: - /usr/X11R6/lib/libXinerama.a, /usr/X11R6/lib/libXfixes.a, - /usr/X11R6/lib/libXdamage.a , and /usr/lib/libjpeg.a. Copy them to - using the /tmp/libs scheme above. If you want bundle - /usr/X11R6/lib/libXrandr.a you will also need include - /usr/X11R6/lib/libXrender.a and add -lXrender to the link line. + If you build your own stunnel or x11vnc for deployment, you may want + to statically link libssl.a and libcrypto.a into it because Linux + distros are currently a bit of a mess regarding which version of + libssl is installed. + You will find the [868]details here. - Q-115: Can I (temporarily) mount my local (viewer-side) Windows/Samba + + Q-118: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? You will have to use an external network redirection for this. Filesystem mounting is not part of the VNC protocol. - We show a simple [814]Samba example here. + We show a simple [869]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: @@ -7429,6 +7685,9 @@ rypto.a -lwrap would require root permission to listen on (and you may have a samba server running on it already). + The ssh -C is to enable compression, which might speed up the data + transfers. + Depending on the remote system side configuration, it may or may not be possible to mount the SMB share as a non-root user. Try it first as a non-root user and if that fails you will have to become root. @@ -7447,17 +7706,17 @@ 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 [815]Enhanced TightVNC Viewer (SSVNC) package we provide (as + into the [870]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep 2006 it is there for testing). - Q-116: Can I redirect CUPS print jobs from the remote desktop where + Q-119: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? 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 [816]CUPS example here. Non-CUPS port + We show a simple Unix to Unix [871]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). @@ -7529,11 +7788,11 @@ 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 [817]Enhanced TightVNC Viewer (SSVNC) package we provide (as + into the [872]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep 2006 it is there for testing). - Q-117: How can I hear the sound (audio) from the remote applications + Q-120: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? You will have to use an external network audio mechanism for this. @@ -7630,11 +7889,11 @@ 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 [818]Enhanced TightVNC Viewer (SSVNC) package + redir setup into the [873]Enhanced TightVNC Viewer (SSVNC) package we provide (as of Sep/2006 it is there for testing). - Q-118: Why don't I hear the "Beeps" in my X session (e.g. when typing + Q-121: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? As of Dec/2003 "Beep" XBell events are tracked by default. The X @@ -7642,14 +7901,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 [819]-nobell option. If + If you don't want to hear the beeps use the [874]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [820]redirector such as esd. + trying a [875]redirector such as esd. - Q-119: Does x11vnc work with IPv6? + Q-122: Does x11vnc work with IPv6? - Currently the only way to do this is via [821]inetd. You configure + Currently the only way to do this is via [876]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. @@ -7658,7 +7917,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 [822]IPv6 enabled, so a + Also note that not all VNC Viewers are [877]IPv6 enabled, so a redirector could even be needed on the client side. @@ -7666,7 +7925,7 @@ or: Contributions: - Q-120: Thanks for your program and for your help! Can I make a + Q-123: Thanks for your program and for your help! Can I make a donation? Please do (any amount is appreciated) and thank you for your support! @@ -7717,787 +7976,842 @@ References 39. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download 40. http://www.sun.com/software/solaris/freeware/ 41. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 42. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 43. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 44. http://www.karlrunge.com/x11vnc/index.html#faq-service - 45. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 46. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 47. http://www.karlrunge.com/x11vnc/ssvnc.html#download - 48. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.19.tar.gz - 49. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 50. http://www.karlrunge.com/x11vnc/ssvnc.html#tsvnc - 51. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 52. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 53. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 54. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via - 55. http://www.karlrunge.com/x11vnc/ssvnc.html - 56. http://www.karlrunge.com/x11vnc/ssvnc.html#tsvnc - 57. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 58. http://www.karlrunge.com/x11vnc/chainingssh.html - 59. http://www.karlrunge.com/x11vnc/ssvnc.html + 42. http://www.karlrunge.com/x11vnc/index.html#firewalls + 43. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 44. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 45. http://www.karlrunge.com/x11vnc/index.html#faq-service + 46. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 47. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file + 48. http://www.karlrunge.com/x11vnc/ssvnc.html#download + 49. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.19.tar.gz + 50. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 51. http://www.karlrunge.com/x11vnc/ssvnc.html#tsvnc + 52. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 53. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file + 54. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 55. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via + 56. http://www.karlrunge.com/x11vnc/ssvnc.html + 57. http://www.karlrunge.com/x11vnc/ssvnc.html#tsvnc + 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.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 62. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 63. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 64. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 65. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 66. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 67. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 68. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 69. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 70. http://www.karlrunge.com/x11vnc/ssvnc.html - 71. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 72. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 73. http://www.stunnel.org/ - 74. http://stunnel.mirt.net/ - 75. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 76. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 77. http://www.karlrunge.com/x11vnc/ssvnc.html - 78. http://sourceforge.net/projects/libvncserver/ - 79. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=517010 - 80. http://sourceforge.net/project/shownotes.php?release_id=517010&group_id=32584 - 81. http://www.karlrunge.com/x11vnc/x11vnc-0.9.3.tar.gz - 82. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 83. http://www.tightvnc.com/download.html - 84. http://www.realvnc.com/download-free.html - 85. http://sourceforge.net/projects/cotvnc/ - 86. http://www.ultravnc.com/ - 87. http://www.karlrunge.com/x11vnc/ssvnc.html - 88. http://www.karlrunge.com/x11vnc/rx11vnc - 89. http://www.karlrunge.com/x11vnc/rx11vnc.pl - 90. http://www.sunfreeware.com/ - 91. http://www.karlrunge.com/x11vnc/bins - 92. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 93. http://www.karlrunge.com/x11vnc/miscbuild.html - 94. ftp://ftp.uu.net/graphics/jpeg/ - 95. http://www.gzip.org/zlib/ - 96. http://www.sunfreeware.com/ - 97. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 98. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 99. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 100. http://www.karlrunge.com/x11vnc/x11vnc-0.9.3.tar.gz - 101. http://www.karlrunge.com/x11vnc/bins - 102. mailto:xvml@karlrunge.com + 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/index.html#ss_vncviewer - 105. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 106. http://www.karlrunge.com/x11vnc/ssvnc.html - 107. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 108. http://www.karlrunge.com/x11vnc/ssvnc.html - 109. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop - 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 112. http://www.karlrunge.com/x11vnc/ssvnc.html - 113. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 116. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 117. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 119. http://www.ultravnc.com/ - 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 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 + 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#faq-avahi - 125. http://www.avahi.org/ - 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi - 127. http://www.karlrunge.com/x11vnc/ssvnc.html - 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 129. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 130. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms - 135. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms - 136. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms - 137. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabalways - 138. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 139. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 140. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir - 142. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 143. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 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-xkb + 128. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 129. http://www.karlrunge.com/x11vnc/ssvnc.html + 130. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop + 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 132. http://www.ultravnc.com/ + 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 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/index.html#faq-avahi + 138. http://www.avahi.org/ + 139. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi + 140. http://www.karlrunge.com/x11vnc/ssvnc.html + 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 142. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 143. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create 144. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc 145. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 146. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 147. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 148. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal - 149. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 150. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 151. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 152. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 153. http://www.openssl.org/ - 154. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 155. http://www.stunnel.org/ - 156. http://stunnel.mirt.net/ - 157. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 158. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert - 159. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA - 160. http://www.karlrunge.com/x11vnc/ssl.html - 161. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 162. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 163. http://www.karlrunge.com/x11vnc/ssvnc.html - 164. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 165. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 166. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 167. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 168. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 169. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 170. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 171. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 172. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 173. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 174. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 175. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 176. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 177. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 178. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer - 179. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit - 180. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 181. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, - 182. http://www.karlrunge.com/x11vnc/prevrels.html - 183. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 184. http://www.tightvnc.com/ - 185. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 186. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 187. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 188. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 189. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 190. http://wwws.sun.com/sunray/index.html - 191. http://www.karlrunge.com/x11vnc/sunray.html - 192. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 193. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 194. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 195. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 196. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 197. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 198. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 199. mailto:xvml@karlrunge.com - 200. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 201. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 202. http://www.karlrunge.com/x11vnc/index.html#faq-build - 203. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 204. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 205. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 206. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 207. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 208. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 209. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 210. http://www.karlrunge.com/x11vnc/index.html#faq-change-port - 211. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 212. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 213. http://www.karlrunge.com/x11vnc/index.html#faq-tight139 - 214. http://www.karlrunge.com/x11vnc/index.html#faq-krdcprob - 215. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 216. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 217. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 218. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb - 219. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 220. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 221. http://www.karlrunge.com/x11vnc/index.html#faq-directcolor - 222. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 223. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 224. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 225. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 226. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 227. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 228. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 229. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 230. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 231. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 232. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 233. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 234. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 235. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords - 236. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 237. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 238. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 239. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 240. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 241. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 242. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 243. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 244. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 245. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 246. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 247. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 248. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 249. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 250. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 251. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 252. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 253. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 254. http://www.karlrunge.com/x11vnc/index.html#faq-service - 255. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 256. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 257. http://www.karlrunge.com/x11vnc/index.html#faq-avahi - 258. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 259. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 260. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 261. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 262. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 263. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 264. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 265. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 266. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 267. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 268. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 269. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl - 270. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 271. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 272. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 273. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 274. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 275. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 276. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 277. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 278. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 279. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 280. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 281. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 282. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 283. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 284. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 285. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 286. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 287. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 288. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key - 289. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 290. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 291. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 292. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 293. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 294. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 295. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 296. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 297. http://www.karlrunge.com/x11vnc/index.html#faq-rotate - 298. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 299. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 300. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 301. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver - 302. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 303. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 304. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 305. http://www.karlrunge.com/x11vnc/index.html#faq-video - 306. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 307. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 - 308. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 309. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 310. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 311. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf - 312. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 313. http://www.karlrunge.com/x11vnc/index.html#faq-ultravnc - 314. http://www.karlrunge.com/x11vnc/index.html#faq-singleclick - 315. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares - 316. http://www.karlrunge.com/x11vnc/index.html#faq-cups - 317. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 318. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 319. http://www.karlrunge.com/x11vnc/index.html#faq-ipv6 - 320. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 322. http://www.tldp.org/HOWTO/Remote-X-Apps.html - 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 324. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 327. http://www.karlrunge.com/x11vnc/miscbuild.html - 328. http://www.karlrunge.com/x11vnc/index.html#libssl-problems - 329. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 330. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 331. http://www.karlrunge.com/x11vnc/index.html#building - 332. http://www.karlrunge.com/x11vnc/index.html#faq-build - 333. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 334. http://dag.wieers.com/packages/x11vnc/ - 335. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 336. http://packages.debian.org/x11vnc - 337. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 338. http://www.sunfreeware.com/ - 339. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 340. http://www.freshports.org/net/x11vnc - 341. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 342. http://pkgsrc.se/x11/x11vnc - 343. http://mike.saunby.googlepages.com/ - 344. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc - 345. http://www.focv.com/ipkg/ - 346. http://www.karlrunge.com/x11vnc/bins - 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 348. http://www.tightvnc.com/download.html - 349. http://www.realvnc.com/download-free.html - 350. http://sourceforge.net/projects/cotvnc/ - 351. http://www.ultravnc.com/ - 352. http://www.karlrunge.com/x11vnc/ssvnc.html - 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 355. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 360. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389750 - 361. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399408 - 362. http://bugs.kde.org/show_bug.cgi?id=136924 - 363. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 365. http://fredrik.hubbe.net/x2vnc.html - 366. http://www.hubbe.net/~hubbe/win2vnc.html - 367. http://www.deboer.gmxhome.de/ - 368. http://sourceforge.net/projects/win2vnc/ - 369. http://fredrik.hubbe.net/x2vnc.html - 370. http://freshmeat.net/projects/x2x/ - 371. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 372. http://zapek.com/software/zvnc/ - 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 374. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 378. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 379. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 389. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 393. http://www.karlrunge.com/x11vnc/ssvnc.html - 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 395. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 396. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 398. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 399. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 400. http://wwws.sun.com/sunray/index.html - 401. http://www.karlrunge.com/x11vnc/sunray.html - 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 413. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 427. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 428. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 430. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 439. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 442. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 444. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 445. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 448. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 449. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 146. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 147. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms + 148. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms + 149. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms + 150. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabalways + 151. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 152. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 153. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 154. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpsredir + 155. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 156. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 157. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 158. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 159. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 160. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 161. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal + 162. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 163. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 164. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 165. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 166. http://www.openssl.org/ + 167. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 168. http://www.stunnel.org/ + 169. http://stunnel.mirt.net/ + 170. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 171. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 172. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA + 173. http://www.karlrunge.com/x11vnc/ssl.html + 174. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 175. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 176. http://www.karlrunge.com/x11vnc/ssvnc.html + 177. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 178. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 179. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 180. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 181. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 182. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 183. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 184. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 185. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 186. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 187. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 188. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 189. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 190. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 191. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer + 192. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 193. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 194. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, + 195. http://www.karlrunge.com/x11vnc/prevrels.html + 196. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 197. http://www.tightvnc.com/ + 198. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 199. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 200. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 201. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 202. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg + 203. http://wwws.sun.com/sunray/index.html + 204. http://www.karlrunge.com/x11vnc/sunray.html + 205. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 206. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 207. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 208. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 209. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 210. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 211. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 212. mailto:xvml@karlrunge.com + 213. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 214. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 215. http://www.karlrunge.com/x11vnc/index.html#faq-build + 216. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest + 217. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 218. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 219. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 220. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts + 221. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 222. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 223. http://www.karlrunge.com/x11vnc/index.html#faq-change-port + 224. http://www.karlrunge.com/x11vnc/index.html#faq-firewalls + 225. http://www.karlrunge.com/x11vnc/index.html#faq-firewalls + 226. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg + 227. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe + 228. http://www.karlrunge.com/x11vnc/index.html#faq-tight139 + 229. http://www.karlrunge.com/x11vnc/index.html#faq-krdcprob + 230. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations + 231. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 232. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp + 233. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb + 234. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 235. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 236. http://www.karlrunge.com/x11vnc/index.html#faq-directcolor + 237. http://www.karlrunge.com/x11vnc/index.html#faq-windowid + 238. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id + 239. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp + 240. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 241. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 242. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays + 243. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg + 244. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control + 245. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 246. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho + 247. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 248. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd + 249. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 250. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords + 251. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared + 252. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 253. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 254. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface + 255. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost + 256. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt + 257. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 258. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt + 259. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy + 260. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock + 261. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix + 262. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty + 263. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 264. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 265. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 266. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 267. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 268. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca + 269. http://www.karlrunge.com/x11vnc/index.html#faq-service + 270. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 271. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 272. http://www.karlrunge.com/x11vnc/index.html#faq-avahi + 273. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 274. http://www.karlrunge.com/x11vnc/index.html#faq-loop + 275. http://www.karlrunge.com/x11vnc/index.html#faq-java-http + 276. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 277. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy + 278. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 279. http://www.karlrunge.com/x11vnc/index.html#faq-headless + 280. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 281. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource + 282. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource + 283. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link + 284. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage + 285. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl + 286. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 287. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 288. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 289. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 290. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape + 291. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha + 292. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 293. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow + 294. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions + 295. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt + 296. http://www.karlrunge.com/x11vnc/index.html#faq-altgr + 297. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 298. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy + 299. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 300. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys + 301. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still + 302. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt + 303. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta + 304. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key + 305. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click + 306. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 307. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 308. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 309. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 310. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen + 311. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen + 312. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 313. http://www.karlrunge.com/x11vnc/index.html#faq-rotate + 314. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen + 315. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 316. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars + 317. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver + 318. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 319. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 320. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 321. http://www.karlrunge.com/x11vnc/index.html#faq-video + 322. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 323. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 + 324. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 325. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 326. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard + 327. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf + 328. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 329. http://www.karlrunge.com/x11vnc/index.html#faq-ultravnc + 330. http://www.karlrunge.com/x11vnc/index.html#faq-singleclick + 331. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares + 332. http://www.karlrunge.com/x11vnc/index.html#faq-cups + 333. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 334. http://www.karlrunge.com/x11vnc/index.html#faq-beeps + 335. http://www.karlrunge.com/x11vnc/index.html#faq-ipv6 + 336. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 338. http://www.tldp.org/HOWTO/Remote-X-Apps.html + 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 340. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 343. http://www.karlrunge.com/x11vnc/index.html#firewalls + 344. http://www.karlrunge.com/x11vnc/miscbuild.html + 345. http://www.karlrunge.com/x11vnc/index.html#libssl-problems + 346. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 347. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html + 348. http://www.karlrunge.com/x11vnc/index.html#building + 349. http://www.karlrunge.com/x11vnc/index.html#faq-build + 350. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 351. http://dag.wieers.com/packages/x11vnc/ + 352. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 353. http://packages.debian.org/x11vnc + 354. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 355. http://www.sunfreeware.com/ + 356. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 357. http://www.freshports.org/net/x11vnc + 358. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 359. http://pkgsrc.se/x11/x11vnc + 360. http://mike.saunby.googlepages.com/ + 361. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc + 362. http://www.focv.com/ipkg/ + 363. http://www.karlrunge.com/x11vnc/bins + 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 365. http://www.tightvnc.com/download.html + 366. http://www.realvnc.com/download-free.html + 367. http://sourceforge.net/projects/cotvnc/ + 368. http://www.ultravnc.com/ + 369. http://www.karlrunge.com/x11vnc/ssvnc.html + 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 372. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 374. http://www.karlrunge.com/x11vnc/index.html#firewalls + 375. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 376. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel + 377. http://www.karlrunge.com/x11vnc/index.html#faq-accept-ssl + 378. http://www.karlrunge.com/x11vnc/vncxfer + 379. http://www.karlrunge.com/x11vnc/index.html#firewalls + 380. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect-proxy + 381. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 382. http://www.karlrunge.com/x11vnc/index.html#ssl-tunnel + 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssh + 384. http://www.karlrunge.com/x11vnc/ssvnc.html + 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o + 388. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389750 + 389. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399408 + 390. http://bugs.kde.org/show_bug.cgi?id=136924 + 391. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb + 393. http://fredrik.hubbe.net/x2vnc.html + 394. http://www.hubbe.net/~hubbe/win2vnc.html + 395. http://www.deboer.gmxhome.de/ + 396. http://sourceforge.net/projects/win2vnc/ + 397. http://fredrik.hubbe.net/x2vnc.html + 398. http://freshmeat.net/projects/x2x/ + 399. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 400. http://zapek.com/software/zvnc/ + 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual + 402. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor + 406. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 417. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid + 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 421. http://www.karlrunge.com/x11vnc/ssvnc.html + 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 426. http://www.karlrunge.com/x11vnc/index.html#xauth_pain + 427. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 428. http://wwws.sun.com/sunray/index.html + 429. http://www.karlrunge.com/x11vnc/sunray.html + 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys + 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd + 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 441. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd + 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd + 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 458. ftp://ftp.x.org/ - 459. http://www.karlrunge.com/x11vnc/dtVncPopup - 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 463. http://www.karlrunge.com/x11vnc/blockdpy.c - 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms - 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms - 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkbd - 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr - 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 473. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 474. http://www.karlrunge.com/x11vnc/ssvnc.html - 475. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 476. http://www.karlrunge.com/x11vnc/ssvnc.html - 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 480. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 481. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 483. http://www.stunnel.org/ - 484. http://stunnel.mirt.net/ - 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 488. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 489. http://www.stunnel.org/ - 490. http://www.karlrunge.com/x11vnc/ssl.html - 491. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 492. http://www.karlrunge.com/x11vnc/ssl.html - 493. http://www.securityfocus.com/infocus/1677 - 494. http://www.karlrunge.com/x11vnc/ssl.html - 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 496. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 503. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 455. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 456. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel + 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 458. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 467. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared + 470. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 472. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 473. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 476. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 477. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly + 486. ftp://ftp.x.org/ + 487. http://www.karlrunge.com/x11vnc/dtVncPopup + 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 491. http://www.karlrunge.com/x11vnc/blockdpy.c + 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms + 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms + 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkbd + 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 501. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 502. http://www.karlrunge.com/x11vnc/ssvnc.html + 503. http://www.karlrunge.com/x11vnc/index.html#tunnelling 504. http://www.karlrunge.com/x11vnc/ssvnc.html - 505. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 508. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 510. http://www.openssl.org/ - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 512. http://www.stunnel.org/ - 513. http://www.karlrunge.com/x11vnc/ssl.html - 514. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 515. http://www.karlrunge.com/x11vnc/ssl.html - 516. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 520. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 521. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 522. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 524. http://www.karlrunge.com/x11vnc/ssl-output.html - 525. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 526. http://www.karlrunge.com/x11vnc/ss_vncviewer - 527. http://www.karlrunge.com/x11vnc/ssl-portal.html - 528. http://www.karlrunge.com/x11vnc/ssl.html - 529. http://www.karlrunge.com/x11vnc/ssvnc.html - 530. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 531. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 532. http://www.karlrunge.com/x11vnc/ssl-portal.html - 533. http://www.karlrunge.com/x11vnc/ssl.html - 534. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 535. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 536. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 537. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 538. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset - 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 540. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 542. http://www.jirka.org/gdm-documentation/x241.html - 543. http://www.karlrunge.com/x11vnc/x11vnc_loop - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 545. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 549. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi - 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-mdns - 552. http://www.avahi.org/ - 553. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 556. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd - 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 566. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 569. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 573. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 574. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 577. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 578. http://www.karlrunge.com/x11vnc/faq-linuxvc - 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 588. http://www.karlrunge.com/x11vnc/index.html#localaccess - 589. http://www.karlrunge.com/x11vnc/index.html#localaccess - 590. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 597. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 598. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 599. http://www.karlrunge.com/x11vnc/Xdummy - 600. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 601. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 602. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 508. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh + 509. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 511. http://www.stunnel.org/ + 512. http://stunnel.mirt.net/ + 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 516. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 517. http://www.stunnel.org/ + 518. http://www.karlrunge.com/x11vnc/ssl.html + 519. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 520. http://www.karlrunge.com/x11vnc/ssvnc.html + 521. http://www.karlrunge.com/x11vnc/ssl.html + 522. http://www.securityfocus.com/infocus/1677 + 523. http://www.karlrunge.com/x11vnc/ssl.html + 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 525. http://sc.uvnc.com/javaviewer/index.html + 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 527. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 534. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 535. http://www.karlrunge.com/x11vnc/ssvnc.html + 536. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 539. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 541. http://www.openssl.org/ + 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 543. http://www.stunnel.org/ + 544. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 545. http://www.karlrunge.com/x11vnc/index.html#ssl-vnc-viewers + 546. http://www.karlrunge.com/x11vnc/ssl.html + 547. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 548. http://www.karlrunge.com/x11vnc/ssl.html + 549. http://www.karlrunge.com/x11vnc/index.html#viewer-side-stunnel + 550. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 551. http://www.karlrunge.com/x11vnc/ssvnc.html + 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 554. http://sc.uvnc.com/javaviewer/index.html + 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 557. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 558. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 559. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 560. http://www.karlrunge.com/x11vnc/index.html#firewalls + 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 562. http://www.karlrunge.com/x11vnc/ssl-output.html + 563. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 564. http://www.karlrunge.com/x11vnc/ss_vncviewer + 565. http://www.karlrunge.com/x11vnc/ssl-portal.html + 566. http://www.karlrunge.com/x11vnc/ssl.html + 567. http://www.karlrunge.com/x11vnc/ssvnc.html + 568. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 569. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 570. http://www.karlrunge.com/x11vnc/ssvnc.html + 571. http://www.karlrunge.com/x11vnc/ssl-portal.html + 572. http://www.karlrunge.com/x11vnc/ssl.html + 573. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 574. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 575. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 576. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop + 577. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset + 578. http://www.karlrunge.com/x11vnc/index.html#firewalls + 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 580. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris + 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 582. http://www.jirka.org/gdm-documentation/x241.html + 583. http://www.karlrunge.com/x11vnc/x11vnc_loop + 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 585. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 586. http://www.karlrunge.com/x11vnc/index.html#firewalls + 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 590. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-avahi + 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-mdns + 593. http://www.avahi.org/ + 594. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 597. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 600. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find - 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create - 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc - 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc - 608. http://www.karlrunge.com/x11vnc/shm_clear - 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 611. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb - 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 623. http://www.tightvnc.com/ - 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive - 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 639. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 641. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 642. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 644. http://linpvr.org/minimyth/ - 645. http://www.karlrunge.com/x11vnc/index.html#faq-beryl - 646. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 647. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 652. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 653. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 654. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 655. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 656. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 658. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 659. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 663. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 668. http://www.karlrunge.com/x11vnc/index.html#beta-test - 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache - 670. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop - 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap - 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr - 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 674. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 675. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 676. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 677. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 678. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 679. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 680. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 681. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 684. http://www.karlrunge.com/x11vnc/ssvnc.html - 685. http://www.tightvnc.com/ - 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 687. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 688. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 689. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 690. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 691. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 692. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 693. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 694. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 695. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 696. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 697. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 698. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 699. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 700. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 701. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 702. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 703. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 704. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 705. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 706. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 707. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 708. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 709. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 710. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes - 711. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 712. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 713. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 714. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 715. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 716. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 717. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 718. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 719. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 720. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 721. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 722. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 723. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 724. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 725. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 726. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 727. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 728. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 729. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 730. http://people.pwf.cam.ac.uk/ssb22/setup/vnc-magnification.html - 731. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 732. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 733. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 734. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 735. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 736. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 737. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 738. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 739. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 740. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 741. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 742. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 743. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 744. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 745. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 746. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 747. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 748. http://www.karlrunge.com/x11vnc/ssvnc.html - 749. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 750. http://www.jwz.org/xscreensaver/man1.html - 751. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 752. http://www.beryl-project.org/ - 753. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 754. http://www.dslinux.org/blogs/pepsiman/?p=73 - 755. http://linpvr.org/minimyth/ - 756. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 757. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 758. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 759. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 760. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 761. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 762. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 763. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 764. http://www.karlrunge.com/x11vnc/index.html#faq-video - 765. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 766. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 767. http://www.karlrunge.com/x11vnc/index.html#faq-video - 768. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 769. http://www.karlrunge.com/x11vnc/index.html#faq-video - 770. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 771. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 772. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 773. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 774. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 775. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 776. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 777. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 778. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 779. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 780. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 781. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 782. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 783. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 784. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 785. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 786. http://www.redstonesoftware.com/vnc.html - 787. http://www.apple.com/remotedesktop/ - 788. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 607. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 610. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 614. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 615. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 619. http://www.karlrunge.com/x11vnc/faq-linuxvc + 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect + 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-proxy + 633. http://www.karlrunge.com/x11vnc/index.html#localaccess + 634. http://www.karlrunge.com/x11vnc/index.html#localaccess + 635. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 639. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 641. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 642. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 643. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 644. http://www.karlrunge.com/x11vnc/Xdummy + 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 646. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 647. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-find + 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-create + 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 652. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 653. http://www.karlrunge.com/x11vnc/shm_clear + 654. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 655. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 656. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap + 658. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 659. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb + 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 663. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 668. http://www.tightvnc.com/ + 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 670. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds + 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 674. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 675. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 676. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 678. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 679. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 680. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 681. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout + 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 684. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 685. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area + 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem + 687. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 688. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 689. http://linpvr.org/minimyth/ + 690. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 691. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 692. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 693. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 694. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 695. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 696. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 697. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 698. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 699. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 700. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 701. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 702. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 703. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 704. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 705. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 706. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 707. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 708. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 709. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 710. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip + 711. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 712. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 713. http://www.karlrunge.com/x11vnc/index.html#beta-test + 714. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache + 715. http://www.karlrunge.com/x11vnc/ssvnc.html#ycrop + 716. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap + 717. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr + 718. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 719. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 720. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 721. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode + 722. http://www.karlrunge.com/x11vnc/index.html#solaris10-build + 723. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 724. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut + 725. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac + 726. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove + 727. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 728. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend + 729. http://www.karlrunge.com/x11vnc/ssvnc.html + 730. http://www.tightvnc.com/ + 731. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 732. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos + 733. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 734. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 735. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 736. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer + 737. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 738. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 739. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 740. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 741. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 742. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 743. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 744. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 745. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 746. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 747. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 748. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 749. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 750. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 751. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 752. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 753. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 754. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 755. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes + 756. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 757. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 758. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 759. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 760. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 761. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 762. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 763. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 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-nomodtweak + 767. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 768. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 769. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 770. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 771. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 772. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 773. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 774. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 775. http://people.pwf.cam.ac.uk/ssb22/setup/vnc-magnification.html + 776. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 777. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 778. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 779. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor + 780. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout + 781. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 782. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 783. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 784. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 785. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 786. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 787. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip + 788. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama 789. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 790. http://fredrik.hubbe.net/x2vnc.html - 791. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 792. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 793. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 794. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 795. http://sourceforge.net/projects/vnc-reflector/ - 796. http://www.tightvnc.com/projector/ - 797. http://www.ultravnc.com/addons/repeater.html - 798. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 799. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 800. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 801. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 802. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 803. http://www.unixuser.org/~euske/vnc2swf/ - 804. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ - 805. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 806. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 807. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer - 808. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noultraext - 809. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms - 810. http://www.uvnc.com/addons/singleclick.html - 811. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 812. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 813. http://stunnel.mirt.net/ - 814. http://www.samba.org/ - 815. http://www.karlrunge.com/x11vnc/ssvnc.html - 816. http://www.cups.org/ - 817. http://www.karlrunge.com/x11vnc/ssvnc.html - 818. http://www.karlrunge.com/x11vnc/ssvnc.html - 819. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 820. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 821. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 822. http://jungla.dit.upm.es/~acosta/paginas/vncIPv6.html + 790. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 791. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr + 792. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom + 793. http://www.karlrunge.com/x11vnc/ssvnc.html + 794. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 795. http://www.jwz.org/xscreensaver/man1.html + 796. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 797. http://www.beryl-project.org/ + 798. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 799. http://www.dslinux.org/blogs/pepsiman/?p=73 + 800. http://linpvr.org/minimyth/ + 801. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 802. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 803. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 804. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 805. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 806. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 807. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 808. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 809. http://www.karlrunge.com/x11vnc/index.html#faq-video + 810. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 811. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 812. http://www.karlrunge.com/x11vnc/index.html#faq-video + 813. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 814. http://www.karlrunge.com/x11vnc/index.html#faq-video + 815. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 816. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 817. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 818. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 819. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 820. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 821. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 822. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 823. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb + 824. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 825. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab + 826. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 827. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 828. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 829. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 830. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 831. http://www.redstonesoftware.com/vnc.html + 832. http://www.apple.com/remotedesktop/ + 833. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 834. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 835. http://fredrik.hubbe.net/x2vnc.html + 836. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 837. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 838. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 839. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 840. http://sourceforge.net/projects/vnc-reflector/ + 841. http://www.tightvnc.com/projector/ + 842. http://www.ultravnc.com/addons/repeater.html + 843. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 844. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 845. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary + 846. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir + 847. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 848. http://www.unixuser.org/~euske/vnc2swf/ + 849. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ + 850. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer + 851. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 852. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer + 853. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noultraext + 854. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noserverdpms + 855. http://www.uvnc.com/addons/singleclick.html + 856. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 857. http://www.karlrunge.com/x11vnc/single-click.html + 858. http://www.karlrunge.com/x11vnc/single-click.html + 859. http://www.karlrunge.com/x11vnc/index.html#firewalls + 860. http://sc.uvnc.com/ + 861. http://www.karlrunge.com/x11vnc/ssvnc.html + 862. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 863. http://www.karlrunge.com/x11vnc/single-click.html + 864. http://www.karlrunge.com/x11vnc/ssvnc.html + 865. http://www.karlrunge.com/x11vnc/single-click.html + 866. http://www.karlrunge.com/x11vnc/ssl.html + 867. http://www.karlrunge.com/x11vnc/single-click.html + 868. http://www.karlrunge.com/x11vnc/single-click.html#libssl-problems + 869. http://www.samba.org/ + 870. http://www.karlrunge.com/x11vnc/ssvnc.html + 871. http://www.cups.org/ + 872. http://www.karlrunge.com/x11vnc/ssvnc.html + 873. http://www.karlrunge.com/x11vnc/ssvnc.html + 874. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell + 875. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 876. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 877. http://jungla.dit.upm.es/~acosta/paginas/vncIPv6.html ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -10765,36 +11079,36 @@ Enhanced TightVNC viewer (SSVNC) options: 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.18.zip Windows Binaries Only. No source incl + [27]ssvnc_windows_only-1.0.19.zip Windows Binaries Only. No source incl uded (~6MB) - [28]ssvnc_no_windows-1.0.18.tar.gz Unix and Mac OS X Only. No Windows bin + [28]ssvnc_no_windows-1.0.19.tar.gz Unix and Mac OS X Only. No Windows bin aries. Source included. (~6MB) - [29]ssvnc_unix_only-1.0.18.tar.gz Unix Binaries Only. No source incl + [29]ssvnc_unix_only-1.0.19.tar.gz Unix Binaries Only. No source incl uded. (~3.5MB) - [30]ssvnc_unix_minimal-1.0.18.tar.gz Unix Minimal. You must supply your ow + [30]ssvnc_unix_minimal-1.0.19.tar.gz Unix Minimal. You must supply your ow n vncviewer and stunnel. (~0.1MB) - [31]ssvnc-1.0.18.tar.gz All Unix, Mac OS X, and Windows binari + [31]ssvnc-1.0.19.tar.gz All Unix, Mac OS X, and Windows binari es and source TGZ. (~11MB) - [32]ssvnc-1.0.18.zip All Unix, Mac OS X, and Windows binari + [32]ssvnc-1.0.19.zip All Unix, Mac OS X, and Windows binari es and source ZIP. (~11MB) - [33]ssvnc_all-1.0.18.zip All Unix, Mac OS X, and Windows binari + [33]ssvnc_all-1.0.19.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. ".18" by ".11", etc. + You can try for an older one by replacing, e.g. ".19" by ".11", etc. Here are the corresponding development bundles: - [34]ssvnc_windows_only-1.0.19.zip - [35]ssvnc_no_windows-1.0.19.tar.gz - [36]ssvnc_unix_only-1.0.19.tar.gz - [37]ssvnc_unix_minimal-1.0.19.tar.gz + [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.19.tar.gz - [39]ssvnc-1.0.19.zip - [40]ssvnc_all-1.0.19.zip + [38]ssvnc-1.0.20.tar.gz + [39]ssvnc-1.0.20.zip + [40]ssvnc_all-1.0.20.zip Please help test the UltraVNC File Transfer support in the native Unix - VNC viewer! + 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 @@ -11406,20 +11720,20 @@ References 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.18.zip - 28. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.18.tar.gz - 29. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.18.tar.gz - 30. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.18.tar.gz - 31. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.18.tar.gz - 32. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.18.zip - 33. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.18.zip - 34. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.19.zip - 35. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.19.tar.gz - 36. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.19.tar.gz - 37. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.19.tar.gz - 38. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.19.tar.gz - 39. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.19.zip - 40. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.19.zip + 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/ @@ -11440,7 +11754,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.3 lastmod: 2007-09-30 +x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2007-10-27 x11vnc options: -display disp -auth file -N @@ -11454,77 +11768,77 @@ x11vnc options: -sleepin n -inetd -tightfilexfer -ultrafilexfer -http -http_ssl -avahi -mdns -connect string - -connect_or_exit str -vncconnect -novncconnect - -allow host1[,host2..] -localhost -nolookup - -input string -grabkbd -grabptr - -grabalways -viewpasswd string -passwdfile filename - -unixpw [list] -unixpw_nis [list] -unixpw_cmd cmd - -find -finddpy -listdpy - -create -xdummy -xvnc - -xvnc_redirect -svc -svc_xdummy - -svc_xvnc -xdmsvc -sshxdmsvc - -redirect port -display WAIT:... -nossl - -ssl [pem] -ssltimeout n -sslnofail - -ssldir [dir] -sslverify [path] -sslGenCA [dir] - -sslGenCert type name -sslEncKey [pem] -sslCertInfo [pem] - -sslDelCert [pem] -stunnel [pem] -stunnel3 [pem] - -https [port] -httpsredir [port] -usepw - -storepasswd pass file -nopw -accept string - -afteraccept string -gone string -users list - -noshm -flipbyteorder -onetile - -solid [color] -blackout string -xinerama - -noxinerama -xtrap -xrandr [mode] - -rotate string -padgeom WxH -o logfile - -flag file -rc filename -norc - -env VAR=VALUE -prog /path/to/x11vnc -h, -help - -?, -opts -V, -version -license - -dbg -q, -quiet -v, -verbose - -bg -modtweak -nomodtweak - -xkb -noxkb -capslock - -skip_lockkeys -skip_keycodes string -sloppy_keys - -skip_dups -noskip_dups -add_keysyms - -noadd_keysyms -clear_mods -clear_keys - -remap string -norepeat -repeat - -nofb -nobell -nosel - -noprimary -nosetprimary -noclipboard - -nosetclipboard -seldir string -cursor [mode] - -nocursor -cursor_drag -arrow n - -noxfixes -alphacut n -alphafrac fraction - -alpharemove -noalphablend -nocursorshape - -cursorpos -nocursorpos -xwarppointer - -noxwarppointer -buttonmap string -nodragging - -ncache n -ncache_cr -ncache_no_moveraise - -ncache_no_dtchange -ncache_no_rootpixmap -ncache_keep_anims - -ncache_old_wm -ncache_pad n -debug_ncache - -wireframe [str] -nowireframe -nowireframelocal - -wirecopyrect mode -nowirecopyrect -debug_wireframe - -scrollcopyrect mode -noscrollcopyrect -scr_area n - -scr_skip list -scr_inc list -scr_keys list - -scr_term list -scr_keyrepeat lo-hi -scr_parms string - -fixscreen string -debug_scroll -noxrecord - -grab_buster -nograb_buster -debug_grabs - -debug_sel -pointer_mode n -input_skip n - -allinput -speeds rd,bw,lat -wmdt string - -debug_pointer -debug_keyboard -defer time - -wait time -wait_ui factor -nowait_bog - -slow_fb time -xrefresh time -readtimeout n - -nap -nonap -sb time - -nofbpm -fbpm -nodpms - -dpms -forcedpms -clientdpms - -noserverdpms -noultraext -noxdamage - -xd_area A -xd_mem f -sigpipe string - -threads -nothreads -fs f - -gaps n -grow n -fuzz n - -debug_tiles -snapfb -rawfb string - -freqtab file -pipeinput cmd -macnodim - -macnosleep -macnosaver -macnowait - -macwheel n -macnoswap -macnoresize - -maciconanim n -macmenu -gui [gui-opts] - -remote command -query variable -QD variable - -sync -noremote -yesremote - -unsafe -safer -privremote - -nocmds -allowedcmds list -deny_all - + -connect_or_exit str -proxy string -vncconnect + -novncconnect -allow host1[,host2..] -localhost + -nolookup -input string -grabkbd + -grabptr -grabalways -viewpasswd string + -passwdfile filename -unixpw [list] -unixpw_nis [list] + -unixpw_cmd cmd -find -finddpy + -listdpy -create -xdummy + -xvnc -xvnc_redirect -svc + -svc_xdummy -svc_xvnc -xdmsvc + -sshxdmsvc -redirect port -display WAIT:... + -nossl -ssl [pem] -ssltimeout n + -sslnofail -ssldir [dir] -sslverify [path] + -sslGenCA [dir] -sslGenCert type name -sslEncKey [pem] + -sslCertInfo [pem] -sslDelCert [pem] -stunnel [pem] + -stunnel3 [pem] -https [port] -httpsredir [port] + -ssh user@host:disp -usepw -storepasswd pass file + -nopw -accept string -afteraccept string + -gone string -users list -noshm + -flipbyteorder -onetile -solid [color] + -blackout string -xinerama -noxinerama + -xtrap -xrandr [mode] -rotate string + -padgeom WxH -o logfile -flag file + -rc filename -norc -env VAR=VALUE + -prog /path/to/x11vnc -h, -help -?, -opts + -V, -version -license -dbg + -q, -quiet -v, -verbose -bg + -modtweak -nomodtweak -xkb + -noxkb -capslock -skip_lockkeys + -skip_keycodes string -sloppy_keys -skip_dups + -noskip_dups -add_keysyms -noadd_keysyms + -clear_mods -clear_keys -remap string + -norepeat -repeat -nofb + -nobell -nosel -noprimary + -nosetprimary -noclipboard -nosetclipboard + -seldir string -cursor [mode] -nocursor + -cursor_drag -arrow n -noxfixes + -alphacut n -alphafrac fraction -alpharemove + -noalphablend -nocursorshape -cursorpos + -nocursorpos -xwarppointer -noxwarppointer + -buttonmap string -nodragging -ncache n + -ncache_cr -ncache_no_moveraise -ncache_no_dtchange + -ncache_no_rootpixmap -ncache_keep_anims -ncache_old_wm + -ncache_pad n -debug_ncache -wireframe [str] + -nowireframe -nowireframelocal -wirecopyrect mode + -nowirecopyrect -debug_wireframe -scrollcopyrect mode + -noscrollcopyrect -scr_area n -scr_skip list + -scr_inc list -scr_keys list -scr_term list + -scr_keyrepeat lo-hi -scr_parms string -fixscreen string + -debug_scroll -noxrecord -grab_buster + -nograb_buster -debug_grabs -debug_sel + -pointer_mode n -input_skip n -allinput + -speeds rd,bw,lat -wmdt string -debug_pointer + -debug_keyboard -defer time -wait time + -wait_ui factor -nowait_bog -slow_fb time + -xrefresh time -readtimeout n -nap + -nonap -sb time -nofbpm + -fbpm -nodpms -dpms + -forcedpms -clientdpms -noserverdpms + -noultraext -noxdamage -xd_area A + -xd_mem f -sigpipe string -threads + -nothreads -fs f -gaps n + -grow n -fuzz n -debug_tiles + -snapfb -rawfb string -freqtab file + -pipeinput cmd -macnodim -macnosleep + -macnosaver -macnowait -macwheel n + -macnoswap -macnoresize -maciconanim n + -macmenu -gui [gui-opts] -remote command + -query variable -QD variable -sync + -noremote -yesremote -unsafe + -safer -privremote -nocmds + -allowedcmds list -deny_all libvncserver options: -rfbport port TCP port for RFB protocol @@ -11558,7 +11872,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.9.3 lastmod: 2007-09-30 +x11vnc: allow VNC connections to real X11 displays. 0.9.4 lastmod: 2007-10-27 (type "x11vnc -opts" to just list the options.) @@ -11938,7 +12252,7 @@ Options: -stunnel the ssl classes subdirectory is sought. -http_ssl As -http, but force lookup for ssl classes subdir. --avahi Use the Avahi/mDNS ZeroConf protocol to advertize +-avahi Use the Avahi/mDNS ZeroConf protocol to advertise this VNC server to the local network. (Related terms: Rendezvous, Bonjour). Depending on your setup, you may need to start avahi-daemon and open udp port 5353 @@ -11970,8 +12284,67 @@ Options: -connect_or_exit str As with -connect, except if none of the reverse connections succeed, then x11vnc shutdowns immediately. - If you do not want x11vnc to listen on ANY interface - use -rfbport 0 + By the way, if you do not want x11vnc to listen on + ANY interface use -rfbport 0 which is handy for the + -connect_or_exit mode. + +-proxy string Use proxy in string (e.g. host:port) as a proxy for + making reverse connections (-connect or -connect_or_exit + options). + + Web proxies are supported, but note by default most of + them only support destination connections to ports 443 + or 563, so this might not be very useful (the viewer + would need to listen on that port or the router would + have to do a port redirection). + + A web proxy may be specified by either "host:port" + or "http://host:port" (the port is required even if + it is the common choices 80 or 8080) + + SOCKS4, SOCKS4a, and SOCKS5 are also supported. + SOCKS proxies normally do not have restrictions on the + destination port number. + + Use a format like this: socks://host:port or + socks5://host:port. Note that ssh -D does not support + SOCKS4a, so use socks5://. For socks:// SOCKS4 is used + on a numerical IP and "localhost", otherwise SOCKS4a + is used (and so the proxy tries to do the DNS lookup). + + An experimental mode is "-proxy http://host:port/..." + Note the "/" after the port that distinguishes it from + a normal web proxy. The port must be supplied even if + it is the default 80. For this mode a GET is done to + the supplied URL with the string host=H&port=P appended. + H and P will be the -connect reverse connect host + and port. Use the string "__END__" to disable the + appending. The basic idea here is that maybe some cgi + script provides the actual viewer hookup and tunnelling. + How to actually achieve this within cgi, php, etc. is + not clear... A custom web server or apache module + would be straight-forward. + + Another experimental mode is "-proxy ssh://user@host" + in which case a SSH tunnel is used for the proxying. + "user@" is not needed unless your unix username is + different on "host". For a non-standard SSH port + use ssh://user@host:port. If proxies are chained (see + next paragraph) then the ssh one must be the first one. + If ssh-agent is not active, then the ssh password needs + to be entered in the terminal where x11vnc is running. + Examples: + + -connect localhost:0 -proxy ssh://me@friends-pc:2222 + + -connect snoopy:0 -proxy ssh://ssh.company.com + + Multiple proxies may be chained together in case one + needs to ricochet off of a number of hosts to finally + reach the VNC viewer. Up to 3 may be chained, separate + them by commas in the order they are to be connected to. + E.g.: http://host1:port1,socks5://host2:port2 or three + like: first,second,third -vncconnect Monitor the VNC_CONNECT X property set by the standard -novncconnect VNC program vncconnect(1). When the property is @@ -12116,7 +12489,7 @@ Options: If multiple non-blank lines exist in the file they are all taken as valid passwords. Blank lines are ignored. Password lines may be "commented out" (ignored) if - they begin with the charactor "#" or the line contains + they begin with the character "#" or the line contains the string "__SKIP__". Lines may be annotated by use of the "__COMM__" string: from it to the end of the line is ignored. An empty password may be specified @@ -12258,7 +12631,7 @@ Options: -unixpw_nis [list] As -unixpw above, however do not use su(1) but rather use the traditional getpwnam(3) + crypt(3) method to verify passwords. All of the above -unixpw options and - contraints apply. + constraints apply. This mode requires that the encrypted passwords be readable. Encrypted passwords stored in /etc/shadow @@ -12624,6 +12997,11 @@ Options: with libssl support it will exit immediately when -ssl is prescribed. + The VNC Viewer-side needs support SSL as well. + See this URL and also the discussion below for ideas + on how to enable SSL support for the viewer: + http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers + [pem] is optional, use "-ssl /path/to/mycert.pem" to specify a PEM certificate file to use to identify and provide a key for this server. See openssl(1) for @@ -12632,12 +13010,12 @@ Options: The connecting VNC viewer SSL tunnel can optionally authenticate this server if they have the public key part of the certificate (or a common certificate - authority, CA, is a more sophisicated way to verify + authority, CA, is a more sophisticated way to verify this server's cert, see -sslGenCA below). This is used to prevent man-in-the-middle attacks. Otherwise, if the VNC viewer accepts this server's key without verification, at least the traffic is protected - from passive sniffing on the network (but NOT from + from passive sniffing on the network (but *NOT* from man-in-the-middle attacks). If [pem] is not supplied and the openssl(1) utility @@ -12670,6 +13048,8 @@ Options: made based on your answers to its prompts for info such as OrganizationalName, CommonName, etc. + We expect most users to use "-ssl SAVE". + Use "SAVE-" and "SAVE_PROMPT-" to refer to the file ~/.vnc/certs/server-.pem instead. E.g. "SAVE-charlie" will store to the file @@ -12680,13 +13060,14 @@ Options: Example: x11vnc -ssl SAVE -display :0 ... - Your VNC viewer will also need to be able to connect + Your VNC viewer will need to be able to connect via SSL. See the discussion below under -stunnel and - the FAQ (ss_vncviewer script) for how this might be - achieved. E.g. on Unix it is easy to write a shell - script that starts up stunnel and then vncviewer. - Also in the x11vnc source a SSL enabled Java VNC Viewer - applet is provided in the classes/ssl directory. + http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers + for how this might be achieved. E.g. on Unix it is + easy to write a shell script that starts up stunnel + and then vncviewer. Also in the x11vnc source a SSL + enabled Java VNC Viewer applet is provided in the + classes/ssl directory. -ssltimeout n Set SSL read timeout to n seconds. In some situations (i.e. an iconified viewer in Windows) the viewer stops @@ -12853,7 +13234,7 @@ Options: Once you have generated the CA you can distribute its certificate part, [dir]/CA/cacert.pem, to other workstations where VNC viewers will be run. One will - need to "import" this certicate in the applications, + need to "import" this certificate in the applications, e.g. Web browser, Java applet plugin, stunnel, etc. Next, you can create and sign keys using the CA with the -sslGenCert option below. @@ -12927,7 +13308,7 @@ Options: Similar to -sslGenCA, you will be prompted to fill in some information that will be recorded in the certificate when it is created. Tip: if you know - the fully-quailified hostname other people will be + the fully-qualified hostname other people will be connecting to you can use that as the CommonName "CN" to avoid some applications (e.g. web browsers and java plugin) complaining it does not match the hostname. @@ -12935,7 +13316,7 @@ Options: You will also need to supply the CA private key passphrase to unlock the private key created from -sslGenCA. This private key is used to sign the server - or client certicate. + or client certificate. The "server" certs can be used by x11vnc directly by pointing to them via the -ssl [pem] option. The default @@ -13147,12 +13528,50 @@ Options: This spares the user from having to type in https://mygateway.com/?PORT=443 into their web - browser. Note taht port 443 is the default https port; - other ports must be explicity indicated, for example: + browser. Note that port 443 is the default https port; + other ports must be explicitly indicated, for example: https://mygateway.com:8000/?PORT=8000. To avoid having to include the PORT= in the browser URL, simply supply "-httpsredir" to x11vnc. +-ssh user@host:disp Create a remote listening port on machine "host" + via a SSH tunnel using the -R rport:localhost:lport + method. lport will be the local x11vnc listening port, + so a connection to rport (5900+disp) on "host" + will reach x11vnc. E.g. fred@snoopy.com:0 + + This could be useful if a firewall/router prevents + incoming connections to the x11vnc machine, but + the ssh machine "host" can be reached by the VNC + viewer. "user@" is not needed unless the remote unix + username differs from the current one. + + By default the remote sshd is usually configured to + only listen on localhost for rport, so the viewer may + need to ssh -L redir to "host" as well (See SSVNC to + automate this). The sshd setting GatewayPorts enables + listening on all interfaces for rport; viewers can + reach it more easily. + + "disp" is the VNC display for the remote SSH side, + e.g. 0 corresponds to port 5900, etc. If disp is + greater than 200 the value is used as the port. Use a + negative value to force a low port, e.g. host:-80 will + use port 80. + + If ssh-agent is not active, then the ssh password needs + to be entered in the terminal where x11vnc is running. + + By default the remote ssh will issue a 'sleep 300' to + wait for the incoming connection for 5 mins. To modify + this use user@host:disp+secs. + + If the remote SSH server is on a non-standard port + (i.e. not 22) use user@host:port:disp+secs. + + Note that the ssh process may NOT be killed when + x11vnc exits. It tries by looking at ps(1) output. + -usepw If no other password method was supplied on the command line, first look for ~/.vnc/passwd and if found use it with -rfbauth; next, look for ~/.vnc/passwdfile and @@ -13199,7 +13618,7 @@ Options: in RFB_CLIENT_COUNT. RFB_MODE will be "accept". RFB_STATE will be PROTOCOL_VERSION, SECURITY_TYPE, AUTHENTICATION, INITIALISATION, NORMAL, or UNKNOWN - indicating up to which state the client has acheived. + indicating up to which state the client has achieved. RFB_LOGIN_VIEWONLY will be 0, 1, or -1 (unknown). RFB_USERNAME, RFB_LOGIN_TIME, and RFB_CURRENT_TIME may also be set. @@ -14430,7 +14849,7 @@ t -nowait_bog Do not detect if the screen polling is "bogging down" and sleep more. Some activities with no user input can slow things down a lot: consider a large terminal window - with a long build running in it continously streaming + with a long build running in it continuously streaming text output. By default x11vnc will try to detect this (3 screen polls in a row each longer than 0.25 sec with no user input), and sleep up to 1.5 secs to let things @@ -14628,7 +15047,7 @@ t so take care. If the string begins with "video", see the VIDEO4LINUX - discusion below where the device may be queried for + discussion below where the device may be queried for (and possibly set) the framebuffer parameters. If the string begins with "console", "/dev/fb", or @@ -15184,10 +15603,10 @@ n nohttp disable http client connections. deny deny any new connections, same as "lock" nodeny allow new connections, same as "unlock" - avahi enable avahi service advertizing. - noavahi disable avahi service advertizing. - mdns enable avahi service advertizing. - nomdns disable avahi service advertizing. + avahi enable avahi service advertising. + noavahi disable avahi service advertising. + mdns enable avahi service advertising. + nomdns disable avahi service advertising. connect:host do reverse connection to host, "host" may be a comma separated list of hosts or host:ports. See -connect. Passwords @@ -15199,6 +15618,8 @@ n If you know the client internal hex ID, e.g. 0x3 (returned by "-query clients" and RFB_CLIENT_ID) you can use that too. + proxy:host:port set reverse connection proxy (empty to + disable). allowonce:host For the next connection only, allow connection from "host". allow:hostlist set -allow list to (comma separated) @@ -15329,11 +15750,14 @@ n noncache_no_moveraise disable no_moveraise mode. ncache_no_dtchange enable ncache_no_dtchange mode. noncache_no_dtchange disable ncache_no_dtchange mode. + ncache_old_wm enable ncache_old_wm mode. + noncache_old_wm disable ncache_old_wm mode. ncache_no_rootpixmap enable ncache_no_rootpixmap. noncache_no_rootpixmap disable ncache_no_rootpixmap. ncache_reset_rootpixmap recheck the root pixmap, ncrp ncache_keep_anims enable ncache_keep_anims. noncache_keep_anims disable ncache_keep_anims. + ncache_pad:n set -ncache_pad to n. wireframe enable -wireframe mode. same as "wf" nowireframe disable -wireframe mode. same as "nowf" wireframe:str enable -wireframe mode string. @@ -15493,8 +15917,8 @@ n 8to24_opts 24to32 no24to32 visual scale scale_cursor viewonly noviewonly shared noshared forever noforever once timeout tightfilexfer notightfilexfer ultrafilexfer - noultrafilexfer rfbversion deny lock nodeny unlock - avahi mdns noavahi nomdns connect allowonce allow + noultrafilexfer rfbversion deny lock nodeny unlock avahi + mdns noavahi nomdns connect proxy allowonce allow localhost nolocalhost listen lookup nolookup accept afteraccept gone shm noshm flipbyteorder noflipbyteorder onetile noonetile solid_color solid nosolid blackout @@ -15516,12 +15940,12 @@ n nodragging ncache_cr noncache_cr ncache_no_moveraise noncache_no_moveraise ncache_no_dtchange noncache_no_dtchange ncache_no_rootpixmap - noncache_no_rootpixmap ncache_reset_rootpixmap + noncache_no_rootpixmap ncache_reset_rootpixmap ncrp ncache_keep_anims noncache_keep_anims ncache_old_wm - noncache_old_wm ncache noncache ncache_size debug_ncache - nodebug_ncache wireframe_mode wireframe wf nowireframe - nowf wireframelocal wfl nowireframelocal nowfl - wirecopyrect wcr nowirecopyrect nowcr scr_area + noncache_old_wm ncache_pad ncache noncache ncache_size + debug_ncache nodebug_ncache wireframe_mode wireframe wf + nowireframe nowf wireframelocal wfl nowireframelocal + nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area scr_skip scr_inc scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect scr noscrollcopyrect noscr fixscreen noxrecord xrecord reset_record pointer_mode @@ -15586,7 +16010,7 @@ n command was processed by querying for any new settings. Note however that there is timeout of a few seconds so if the x11vnc takes longer than that to process the - requests the requestor will think that a failure has + requests the requester will think that a failure has taken place. -noremote Do not process any remote control commands or queries. @@ -15632,7 +16056,7 @@ n associated options is: stunnel, ssl, unixpw, WAIT, id, accept, afteraccept, - gone, pipeinput, v4l-info, rawfb-setup, dt, gui, + gone, pipeinput, v4l-info, rawfb-setup, dt, gui, ssh, storepasswd, passwdfile, custom_passwd, crash. See each option's help to learn the associated external diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index 2ce62a8..e8d0c63 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -133,6 +133,10 @@ void clean_up_exit (int ret) { if (avahi) { avahi_cleanup(); } + if (ssh_pid > 0) { + kill(ssh_pid, SIGTERM); + ssh_pid = 0; + } #ifdef MACOSX if (client_connect_file) { diff --git a/x11vnc/connections.c b/x11vnc/connections.c index ac0723d..b7af0be 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -1610,6 +1610,544 @@ static void check_connect_file(char *file) { } } +static int socks5_proxy(char *host, int port, int sock) { + unsigned char buf[512], tmp[2]; + char reply[512]; + int len, n, i, j = 0; + + memset(buf, 0, 512); + memset(reply, 0, 512); + + buf[0] = 0x5; + buf[1] = 0x1; + buf[2] = 0x0; + + write(sock, buf, 3); + + n = read(sock, buf, 2); + + if (n != 2) { + rfbLog("socks5_proxy: read error: %d\n", n); + close(sock); + return 0; + } + if (buf[0] != 0x5 || buf[1] != 0x0) { + rfbLog("socks5_proxy: handshake error: %d %d\n", (int) buf[0], (int) buf[1]); + close(sock); + return 0; + } + + buf[0] = 0x5; + buf[1] = 0x1; + buf[2] = 0x0; + buf[3] = 0x3; + + buf[4] = (unsigned char) strlen(host); + strcat((char *) buf+5, host); + + len = 5 + strlen(host); + + buf[len] = (unsigned char) (port >> 8); + buf[len+1] = (unsigned char) (port & 0xff); + + write(sock, buf, len+2); + + for (i=0; i<4; i++) { + int n; + n = read(sock, tmp, 1); + j++; + if (n < 0) { + if (errno != EINTR) { + break; + } else { + i--; + if (j > 100) { + break; + } + continue; + } + } + if (n == 0) { + break; + } + reply[i] = tmp[0]; + } + if (reply[3] == 0x1) { + read(sock, reply+4, 4 + 2); + } else if (reply[3] == 0x3) { + n = read(sock, tmp, 1); + reply[4] = tmp[0]; + read(sock, reply+5, (int) reply[4] + 2); + } else if (reply[3] == 0x4) { + read(sock, reply+4, 16 + 2); + } + + if (0) { + int i; + for (i=0; i> 8); + buf[3] = (unsigned char) (port & 0xff); + + + if (strlen(host) > 256) { + rfbLog("socks_proxy: hostname too long: %s\n", host); + close(sock); + return 0; + } + + if (!strcmp(host, "localhost") || !strcmp(host, "127.0.0.1")) { + buf[4] = 127; + buf[5] = 0; + buf[6] = 0; + buf[7] = 1; + } else if (sscanf(host, "%d.%d.%d.%d", &d1, &d2, &d3, &d4) == 4) { + buf[4] = (unsigned char) d1; + buf[5] = (unsigned char) d2; + buf[6] = (unsigned char) d3; + buf[7] = (unsigned char) d4; + } else { + buf[4] = 0x0; + buf[5] = 0x0; + buf[6] = 0x0; + buf[7] = 0x3; + socks4a = 1; + } + len = 8; + + strcat((char *)buf+8, "nobody"); + len += strlen("nobody") + 1; + + if (socks4a) { + strcat((char *) buf+8+strlen("nobody") + 1, host); + len += strlen(host) + 1; + } + + write(sock, buf, len); + + for (i=0; i<8; i++) { + int n; + n = read(sock, tmp, 1); + j++; + if (n < 0) { + if (errno != EINTR) { + break; + } else { + i--; + if (j > 100) { + break; + } + continue; + } + } + if (n == 0) { + break; + } + reply[i] = tmp[0]; + } + if (0) { + int i; + for (i=0; i 0) { + rfbLog("proxy GET reconnect to: %s:%d\n", newhost, newport); + pxy_get_sock = rfbConnectToTcpAddr(newhost, newport); + } + } + free(req); + + return ok; +} + +static int proxy_connect(char *host, int port) { + char *p, *q, *str; + int i, n, pxy[PXY],pxy_p[PXY]; + int psock = -1; + char *pxy_h[PXY], *pxy_g[PXY]; + + if (! connect_proxy) { + return -1; + } + str = strdup(connect_proxy); + + for (i=0; i= PXY) { + break; + } + + if (q) { + *q = ','; + p = q + 1; + } else { + p = NULL; + } + } + free(str); + + if (!n) { + psock = -1; + goto pxy_clean; + } + + if (pxy[0] == PXY_SSH) { + int rc, len = 0; + char *cmd, *ssh; + int sport = find_free_port(7300, 8000); + if (getenv("SSH")) { + ssh = getenv("SSH"); + } else { + ssh = "ssh"; + } + len = 200 + strlen(ssh) + strlen(pxy_h[0]) + strlen(host); + cmd = (char *) malloc(len); + if (n == 1) { + if (pxy_p[0] <= 1) { + sprintf(cmd, "%s -f -L '%d:%s:%d' '%s' 'sleep 20'", ssh, sport, host, port, pxy_h[0]); + } else { + sprintf(cmd, "%s -f -p %d -L '%d:%s:%d' '%s' 'sleep 20'", ssh, pxy_p[0], sport, host, port, pxy_h[0]); + } + } else { + if (pxy_p[0] <= 1) { + sprintf(cmd, "%s -f -L '%d:%s:%d' '%s' 'sleep 20'", ssh, sport, pxy_h[1], pxy_p[1], pxy_h[0]); + } else { + sprintf(cmd, "%s -f -p %d -L '%d:%s:%d' '%s' 'sleep 20'", ssh, pxy_p[0], sport, pxy_h[1], pxy_p[1], pxy_h[0]); + } + } + if (no_external_cmds || !cmd_ok("ssh")) { + rfbLogEnable(1); + rfbLog("cannot run external commands in -nocmds mode:\n"); + rfbLog(" \"%s\"\n", cmd); + rfbLog(" exiting.\n"); + clean_up_exit(1); + } + close_exec_fds(); + fprintf(stderr, "\n"); + rfbLog("running: %s\n", cmd); + rc = system(cmd); + free(cmd); + if (rc != 0) { + psock = -1; + goto pxy_clean; + } + psock = rfbConnectToTcpAddr("localhost", sport); + + } else { + psock = rfbConnectToTcpAddr(pxy_h[0], pxy_p[0]); + } + + if (psock < 0) { + psock = -1; + goto pxy_clean; + } + rfbLog("opened socket to proxy: %s:%d\n", pxy_h[0], pxy_p[0]); + + if (n >= 2) { + if (! pconnect(psock, pxy_h[1], pxy_p[1], pxy[0], pxy_g[0], pxy_h[0], pxy_p[0])) { + close(psock); psock = -1; goto pxy_clean; + } + if (pxy_get_sock >= 0) {close(psock); psock = pxy_get_sock;} + + if (n >= 3) { + if (! pconnect(psock, pxy_h[2], pxy_p[2], pxy[1], pxy_g[1], pxy_h[1], pxy_p[1])) { + close(psock); psock = -1; goto pxy_clean; + } + if (pxy_get_sock >= 0) {close(psock); psock = pxy_get_sock;} + if (! pconnect(psock, host, port, pxy[2], pxy_g[2], pxy_h[2], pxy_p[2])) { + close(psock); psock = -1; goto pxy_clean; + } + if (pxy_get_sock >= 0) {close(psock); psock = pxy_get_sock;} + + } else { + if (! pconnect(psock, host, port, pxy[1], pxy_g[1], pxy_h[1], pxy_p[1])) { + close(psock); psock = -1; goto pxy_clean; + } + if (pxy_get_sock >= 0) {close(psock); psock = pxy_get_sock;} + } + } else { + if (! pconnect(psock, host, port, pxy[0], pxy_g[0], pxy_h[0], pxy_p[0])) { + close(psock); psock = -1; goto pxy_clean; + } + if (pxy_get_sock >= 0) {close(psock); psock = pxy_get_sock;} + } + + pxy_clean: + for (i=0; i < PXY; i++) { + if (pxy_h[i] != NULL) { + free(pxy_h[i]); + } + if (pxy_g[i] != NULL) { + free(pxy_g[i]); + } + } + + return psock; +} + /* * Do a reverse connect for a single "host" or "host:port" */ @@ -1654,15 +2192,13 @@ static int do_reverse_connect(char *str) { *p = '\0'; } -#if 0 - if (use_openssl && !getenv("X11VNC_SSL_ALLOW_REVERSE")) { - rfbLog("reverse connections disabled in -ssl mode.\n"); - return 0; - } -#endif - if (use_openssl) { - int vncsock = rfbConnectToTcpAddr(host, rport); + int vncsock; + if (connect_proxy) { + vncsock = proxy_connect(host, rport); + } else { + vncsock = rfbConnectToTcpAddr(host, rport); + } if (vncsock < 0) { rfbLog("reverse_connect: failed to connect to: %s\n", str); return 0; @@ -1702,7 +2238,17 @@ static int do_reverse_connect(char *str) { } } - cl = rfbReverseConnection(screen, host, rport); + if (connect_proxy != NULL) { + int sock = proxy_connect(host, rport); + if (sock >= 0) { + cl = rfbNewClient(screen, sock); + } else { + return 0; + } + } else { + cl = rfbReverseConnection(screen, host, rport); + } + free(host); if (cl == NULL) { diff --git a/x11vnc/help.c b/x11vnc/help.c index 7d41797..3ea9606 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -400,7 +400,7 @@ void print_help(int mode) { "-http_ssl As -http, but force lookup for ssl classes subdir.\n" #endif "\n" -"-avahi Use the Avahi/mDNS ZeroConf protocol to advertize\n" +"-avahi Use the Avahi/mDNS ZeroConf protocol to advertise\n" " this VNC server to the local network. (Related terms:\n" " Rendezvous, Bonjour). Depending on your setup, you\n" " may need to start avahi-daemon and open udp port 5353\n" @@ -432,8 +432,67 @@ void print_help(int mode) { "-connect_or_exit str As with -connect, except if none of the reverse\n" " connections succeed, then x11vnc shutdowns immediately.\n" "\n" -" If you do not want x11vnc to listen on ANY interface\n" -" use -rfbport 0\n" +" By the way, if you do not want x11vnc to listen on\n" +" ANY interface use -rfbport 0 which is handy for the\n" +" -connect_or_exit mode.\n" +"\n" +"-proxy string Use proxy in string (e.g. host:port) as a proxy for\n" +" making reverse connections (-connect or -connect_or_exit\n" +" options).\n" +"\n" +" Web proxies are supported, but note by default most of\n" +" them only support destination connections to ports 443\n" +" or 563, so this might not be very useful (the viewer\n" +" would need to listen on that port or the router would\n" +" have to do a port redirection).\n" +"\n" +" A web proxy may be specified by either \"host:port\"\n" +" or \"http://host:port\" (the port is required even if\n" +" it is the common choices 80 or 8080)\n" +"\n" +" SOCKS4, SOCKS4a, and SOCKS5 are also supported.\n" +" SOCKS proxies normally do not have restrictions on the\n" +" destination port number.\n" +"\n" +" Use a format like this: socks://host:port or\n" +" socks5://host:port. Note that ssh -D does not support\n" +" SOCKS4a, so use socks5://. For socks:// SOCKS4 is used\n" +" on a numerical IP and \"localhost\", otherwise SOCKS4a\n" +" is used (and so the proxy tries to do the DNS lookup).\n" +"\n" +" An experimental mode is \"-proxy http://host:port/...\"\n" +" Note the \"/\" after the port that distinguishes it from\n" +" a normal web proxy. The port must be supplied even if\n" +" it is the default 80. For this mode a GET is done to\n" +" the supplied URL with the string host=H&port=P appended.\n" +" H and P will be the -connect reverse connect host\n" +" and port. Use the string \"__END__\" to disable the\n" +" appending. The basic idea here is that maybe some cgi\n" +" script provides the actual viewer hookup and tunnelling.\n" +" How to actually achieve this within cgi, php, etc. is\n" +" not clear... A custom web server or apache module\n" +" would be straight-forward.\n" +"\n" +" Another experimental mode is \"-proxy ssh://user@host\"\n" +" in which case a SSH tunnel is used for the proxying.\n" +" \"user@\" is not needed unless your unix username is\n" +" different on \"host\". For a non-standard SSH port\n" +" use ssh://user@host:port. If proxies are chained (see\n" +" next paragraph) then the ssh one must be the first one.\n" +" If ssh-agent is not active, then the ssh password needs\n" +" to be entered in the terminal where x11vnc is running.\n" +" Examples:\n" +"\n" +" -connect localhost:0 -proxy ssh://me@friends-pc:2222\n" +"\n" +" -connect snoopy:0 -proxy ssh://ssh.company.com\n" +"\n" +" Multiple proxies may be chained together in case one\n" +" needs to ricochet off of a number of hosts to finally\n" +" reach the VNC viewer. Up to 3 may be chained, separate\n" +" them by commas in the order they are to be connected to.\n" +" E.g.: http://host1:port1,socks5://host2:port2 or three\n" +" like: first,second,third\n" "\n" "-vncconnect Monitor the VNC_CONNECT X property set by the standard\n" "-novncconnect VNC program vncconnect(1). When the property is\n" @@ -578,7 +637,7 @@ void print_help(int mode) { " If multiple non-blank lines exist in the file they are\n" " all taken as valid passwords. Blank lines are ignored.\n" " Password lines may be \"commented out\" (ignored) if\n" -" they begin with the charactor \"#\" or the line contains\n" +" they begin with the character \"#\" or the line contains\n" " the string \"__SKIP__\". Lines may be annotated by use\n" " of the \"__COMM__\" string: from it to the end of the\n" " line is ignored. An empty password may be specified\n" @@ -721,7 +780,7 @@ void print_help(int mode) { "-unixpw_nis [list] As -unixpw above, however do not use su(1) but rather\n" " use the traditional getpwnam(3) + crypt(3) method to\n" " verify passwords. All of the above -unixpw options and\n" -" contraints apply.\n" +" constraints apply.\n" "\n" " This mode requires that the encrypted passwords be\n" " readable. Encrypted passwords stored in /etc/shadow\n" @@ -1090,6 +1149,11 @@ void print_help(int mode) { " with libssl support it will exit immediately when -ssl\n" " is prescribed.\n" "\n" +" The VNC Viewer-side needs support SSL as well.\n" +" See this URL and also the discussion below for ideas\n" +" on how to enable SSL support for the viewer:\n" +" http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers\n" +"\n" " [pem] is optional, use \"-ssl /path/to/mycert.pem\"\n" " to specify a PEM certificate file to use to identify\n" " and provide a key for this server. See openssl(1) for\n" @@ -1098,12 +1162,12 @@ void print_help(int mode) { " The connecting VNC viewer SSL tunnel can optionally\n" " authenticate this server if they have the public\n" " key part of the certificate (or a common certificate\n" -" authority, CA, is a more sophisicated way to verify\n" +" authority, CA, is a more sophisticated way to verify\n" " this server's cert, see -sslGenCA below). This is\n" " used to prevent man-in-the-middle attacks. Otherwise,\n" " if the VNC viewer accepts this server's key without\n" " verification, at least the traffic is protected\n" -" from passive sniffing on the network (but NOT from\n" +" from passive sniffing on the network (but *NOT* from\n" " man-in-the-middle attacks).\n" "\n" " If [pem] is not supplied and the openssl(1) utility\n" @@ -1136,6 +1200,8 @@ void print_help(int mode) { " made based on your answers to its prompts for info such\n" " as OrganizationalName, CommonName, etc.\n" "\n" +" We expect most users to use \"-ssl SAVE\".\n" +"\n" " Use \"SAVE-\" and \"SAVE_PROMPT-\"\n" " to refer to the file ~/.vnc/certs/server-.pem\n" " instead. E.g. \"SAVE-charlie\" will store to the file\n" @@ -1146,20 +1212,14 @@ void print_help(int mode) { "\n" " Example: x11vnc -ssl SAVE -display :0 ...\n" "\n" -#if 0 -" Reverse connections are disabled in -ssl mode because\n" -" there is no way to ensure that data channel will\n" -" be encrypted. Set X11VNC_SSL_ALLOW_REVERSE=1 to\n" -" override this.\n" -"\n" -#endif -" Your VNC viewer will also need to be able to connect\n" +" Your VNC viewer will need to be able to connect\n" " via SSL. See the discussion below under -stunnel and\n" -" the FAQ (ss_vncviewer script) for how this might be\n" -" achieved. E.g. on Unix it is easy to write a shell\n" -" script that starts up stunnel and then vncviewer.\n" -" Also in the x11vnc source a SSL enabled Java VNC Viewer\n" -" applet is provided in the classes/ssl directory.\n" +" http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers\n" +" for how this might be achieved. E.g. on Unix it is\n" +" easy to write a shell script that starts up stunnel\n" +" and then vncviewer. Also in the x11vnc source a SSL\n" +" enabled Java VNC Viewer applet is provided in the\n" +" classes/ssl directory.\n" "\n" "-ssltimeout n Set SSL read timeout to n seconds. In some situations\n" " (i.e. an iconified viewer in Windows) the viewer stops\n" @@ -1326,7 +1386,7 @@ void print_help(int mode) { " Once you have generated the CA you can distribute\n" " its certificate part, [dir]/CA/cacert.pem, to other\n" " workstations where VNC viewers will be run. One will\n" -" need to \"import\" this certicate in the applications,\n" +" need to \"import\" this certificate in the applications,\n" " e.g. Web browser, Java applet plugin, stunnel, etc.\n" " Next, you can create and sign keys using the CA with\n" " the -sslGenCert option below.\n" @@ -1400,7 +1460,7 @@ void print_help(int mode) { " Similar to -sslGenCA, you will be prompted to fill\n" " in some information that will be recorded in the\n" " certificate when it is created. Tip: if you know\n" -" the fully-quailified hostname other people will be\n" +" the fully-qualified hostname other people will be\n" " connecting to you can use that as the CommonName \"CN\"\n" " to avoid some applications (e.g. web browsers and java\n" " plugin) complaining it does not match the hostname.\n" @@ -1408,7 +1468,7 @@ void print_help(int mode) { " You will also need to supply the CA private key\n" " passphrase to unlock the private key created from\n" " -sslGenCA. This private key is used to sign the server\n" -" or client certicate.\n" +" or client certificate.\n" "\n" " The \"server\" certs can be used by x11vnc directly by\n" " pointing to them via the -ssl [pem] option. The default\n" @@ -1621,13 +1681,51 @@ void print_help(int mode) { "\n" " This spares the user from having to type in\n" " https://mygateway.com/?PORT=443 into their web\n" -" browser. Note taht port 443 is the default https port;\n" -" other ports must be explicity indicated, for example:\n" +" browser. Note that port 443 is the default https port;\n" +" other ports must be explicitly indicated, for example:\n" " https://mygateway.com:8000/?PORT=8000. To avoid having\n" " to include the PORT= in the browser URL, simply supply\n" " \"-httpsredir\" to x11vnc.\n" "\n" #endif +"-ssh user@host:disp Create a remote listening port on machine \"host\"\n" +" via a SSH tunnel using the -R rport:localhost:lport\n" +" method. lport will be the local x11vnc listening port,\n" +" so a connection to rport (5900+disp) on \"host\"\n" +" will reach x11vnc. E.g. fred@snoopy.com:0\n" +"\n" +" This could be useful if a firewall/router prevents\n" +" incoming connections to the x11vnc machine, but\n" +" the ssh machine \"host\" can be reached by the VNC\n" +" viewer. \"user@\" is not needed unless the remote unix\n" +" username differs from the current one.\n" +"\n" +" By default the remote sshd is usually configured to\n" +" only listen on localhost for rport, so the viewer may\n" +" need to ssh -L redir to \"host\" as well (See SSVNC to\n" +" automate this). The sshd setting GatewayPorts enables\n" +" listening on all interfaces for rport; viewers can\n" +" reach it more easily.\n" +"\n" +" \"disp\" is the VNC display for the remote SSH side,\n" +" e.g. 0 corresponds to port 5900, etc. If disp is\n" +" greater than 200 the value is used as the port. Use a\n" +" negative value to force a low port, e.g. host:-80 will\n" +" use port 80.\n" +"\n" +" If ssh-agent is not active, then the ssh password needs\n" +" to be entered in the terminal where x11vnc is running.\n" +"\n" +" By default the remote ssh will issue a 'sleep 300' to\n" +" wait for the incoming connection for 5 mins. To modify\n" +" this use user@host:disp+secs.\n" +"\n" +" If the remote SSH server is on a non-standard port\n" +" (i.e. not 22) use user@host:port:disp+secs.\n" +"\n" +" Note that the ssh process may NOT be killed when\n" +" x11vnc exits. It tries by looking at ps(1) output.\n" +"\n" "-usepw If no other password method was supplied on the command\n" " line, first look for ~/.vnc/passwd and if found use it\n" " with -rfbauth; next, look for ~/.vnc/passwdfile and\n" @@ -1674,7 +1772,7 @@ void print_help(int mode) { " in RFB_CLIENT_COUNT. RFB_MODE will be \"accept\".\n" " RFB_STATE will be PROTOCOL_VERSION, SECURITY_TYPE,\n" " AUTHENTICATION, INITIALISATION, NORMAL, or UNKNOWN\n" -" indicating up to which state the client has acheived.\n" +" indicating up to which state the client has achieved.\n" " RFB_LOGIN_VIEWONLY will be 0, 1, or -1 (unknown).\n" " RFB_USERNAME, RFB_LOGIN_TIME, and RFB_CURRENT_TIME may\n" " also be set.\n" @@ -2913,7 +3011,7 @@ void print_help(int mode) { "-nowait_bog Do not detect if the screen polling is \"bogging down\"\n" " and sleep more. Some activities with no user input can\n" " slow things down a lot: consider a large terminal window\n" -" with a long build running in it continously streaming\n" +" with a long build running in it continuously streaming\n" " text output. By default x11vnc will try to detect this\n" " (3 screen polls in a row each longer than 0.25 sec with\n" " no user input), and sleep up to 1.5 secs to let things\n" @@ -3110,7 +3208,7 @@ void print_help(int mode) { " so take care.\n" "\n" " If the string begins with \"video\", see the VIDEO4LINUX\n" -" discusion below where the device may be queried for\n" +" discussion below where the device may be queried for\n" " (and possibly set) the framebuffer parameters.\n" "\n" " If the string begins with \"console\", \"/dev/fb\", or\n" @@ -3668,10 +3766,10 @@ void print_help(int mode) { " nohttp disable http client connections.\n" " deny deny any new connections, same as \"lock\"\n" " nodeny allow new connections, same as \"unlock\"\n" -" avahi enable avahi service advertizing.\n" -" noavahi disable avahi service advertizing.\n" -" mdns enable avahi service advertizing.\n" -" nomdns disable avahi service advertizing.\n" +" avahi enable avahi service advertising.\n" +" noavahi disable avahi service advertising.\n" +" mdns enable avahi service advertising.\n" +" nomdns disable avahi service advertising.\n" /* access, filename */ " connect:host do reverse connection to host, \"host\"\n" " may be a comma separated list of hosts\n" @@ -3684,6 +3782,8 @@ void print_help(int mode) { " If you know the client internal hex ID,\n" " e.g. 0x3 (returned by \"-query clients\"\n" " and RFB_CLIENT_ID) you can use that too.\n" +" proxy:host:port set reverse connection proxy (empty to\n" +" disable).\n" /* access */ " allowonce:host For the next connection only, allow\n" " connection from \"host\".\n" @@ -3819,11 +3919,14 @@ void print_help(int mode) { " noncache_no_moveraise disable no_moveraise mode.\n" " ncache_no_dtchange enable ncache_no_dtchange mode.\n" " noncache_no_dtchange disable ncache_no_dtchange mode.\n" +" ncache_old_wm enable ncache_old_wm mode.\n" +" noncache_old_wm disable ncache_old_wm mode.\n" " ncache_no_rootpixmap enable ncache_no_rootpixmap.\n" " noncache_no_rootpixmap disable ncache_no_rootpixmap.\n" " ncache_reset_rootpixmap recheck the root pixmap, ncrp\n" " ncache_keep_anims enable ncache_keep_anims.\n" " noncache_keep_anims disable ncache_keep_anims.\n" +" ncache_pad:n set -ncache_pad to n.\n" " wireframe enable -wireframe mode. same as \"wf\"\n" " nowireframe disable -wireframe mode. same as \"nowf\"\n" " wireframe:str enable -wireframe mode string.\n" @@ -3981,8 +4084,8 @@ void print_help(int mode) { " 8to24_opts 24to32 no24to32 visual scale scale_cursor\n" " viewonly noviewonly shared noshared forever noforever\n" " once timeout tightfilexfer notightfilexfer ultrafilexfer\n" -" noultrafilexfer rfbversion deny lock nodeny unlock\n" -" avahi mdns noavahi nomdns connect allowonce allow\n" +" noultrafilexfer rfbversion deny lock nodeny unlock avahi\n" +" mdns noavahi nomdns connect proxy allowonce allow\n" " localhost nolocalhost listen lookup nolookup accept\n" " afteraccept gone shm noshm flipbyteorder noflipbyteorder\n" " onetile noonetile solid_color solid nosolid blackout\n" @@ -4004,12 +4107,12 @@ void print_help(int mode) { " nodragging ncache_cr noncache_cr ncache_no_moveraise\n" " noncache_no_moveraise ncache_no_dtchange\n" " noncache_no_dtchange ncache_no_rootpixmap\n" -" noncache_no_rootpixmap ncache_reset_rootpixmap\n" +" noncache_no_rootpixmap ncache_reset_rootpixmap ncrp\n" " ncache_keep_anims noncache_keep_anims ncache_old_wm\n" -" noncache_old_wm ncache noncache ncache_size debug_ncache\n" -" nodebug_ncache wireframe_mode wireframe wf nowireframe\n" -" nowf wireframelocal wfl nowireframelocal nowfl\n" -" wirecopyrect wcr nowirecopyrect nowcr scr_area\n" +" noncache_old_wm ncache_pad ncache noncache ncache_size\n" +" debug_ncache nodebug_ncache wireframe_mode wireframe wf\n" +" nowireframe nowf wireframelocal wfl nowireframelocal\n" +" nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area\n" " scr_skip scr_inc scr_keys scr_term scr_keyrepeat\n" " scr_parms scrollcopyrect scr noscrollcopyrect noscr\n" " fixscreen noxrecord xrecord reset_record pointer_mode\n" @@ -4074,7 +4177,7 @@ void print_help(int mode) { " command was processed by querying for any new settings.\n" " Note however that there is timeout of a few seconds so\n" " if the x11vnc takes longer than that to process the\n" -" requests the requestor will think that a failure has\n" +" requests the requester will think that a failure has\n" " taken place.\n" "\n" "-noremote Do not process any remote control commands or queries.\n" @@ -4120,7 +4223,7 @@ void print_help(int mode) { " associated options is:\n" "\n" " stunnel, ssl, unixpw, WAIT, id, accept, afteraccept,\n" -" gone, pipeinput, v4l-info, rawfb-setup, dt, gui,\n" +" gone, pipeinput, v4l-info, rawfb-setup, dt, gui, ssh,\n" " storepasswd, passwdfile, custom_passwd, crash.\n" "\n" " See each option's help to learn the associated external\n" @@ -4257,7 +4360,7 @@ void xopen_display_fail_message(char *disp) { " the secret key that\n"); fprintf(stderr, " allows x11vnc to connect to the desired" " X DISPLAY.\n"); - fprintf(stderr, " - You can explicity indicate which MIT-MAGIC-COOKIE" + fprintf(stderr, " - You can explicitly indicate which MIT-MAGIC-COOKIE" " file should be used\n"); fprintf(stderr, " by the -auth option, e.g.:\n"); fprintf(stderr, " x11vnc -auth /home/someuser/.Xauthority" diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c index 2dc8f83..bbdab3b 100644 --- a/x11vnc/keyboard.c +++ b/x11vnc/keyboard.c @@ -1755,7 +1755,7 @@ static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym, if (khints && keysym < 0x100) { /* low keysyms, ascii, only */ int ks = (int) keysym; - int ok = 1, lbest, l; + int ok = 1, lbest = 0, l; short sbest = -1; for (l=0; l < found; l++) { if (kc_f[l] < 0x100) { @@ -1820,7 +1820,7 @@ static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym, /* next just check for "best" one that is down */ if (Kc_f == -1 && anydown) { int l; - int best = -1, lbest; + int best = -1, lbest = 0; /* * If it is already down, that is * a great hint. Use it. diff --git a/x11vnc/macosxCGP.c b/x11vnc/macosxCGP.c index 9049ebb..739555d 100644 --- a/x11vnc/macosxCGP.c +++ b/x11vnc/macosxCGP.c @@ -1,5 +1,7 @@ /* -- macosxCGP.c -- */ +void macosxCGP_unused(void) {} + #if (defined(__MACH__) && defined(__APPLE__)) #include diff --git a/x11vnc/macosxCGS.c b/x11vnc/macosxCGS.c index e78b2bb..35cb9de 100644 --- a/x11vnc/macosxCGS.c +++ b/x11vnc/macosxCGS.c @@ -5,6 +5,7 @@ * and the other stuff, otherwise it does not work properly, mouse drags * will not work!! */ +void macosxCGS_unused(void) {} #if (defined(__MACH__) && defined(__APPLE__)) diff --git a/x11vnc/options.c b/x11vnc/options.c index a0a9ae5..17f452d 100644 --- a/x11vnc/options.c +++ b/x11vnc/options.c @@ -35,6 +35,8 @@ int https_port_redir = 0; char *ssl_verify = NULL; int ssl_initialized = 0; int ssl_timeout_secs = -1; +char *ssh_str = NULL; +pid_t ssh_pid = 0; int usepw = USEPW; char *blackout_str = NULL; /* -blackout */ int blackout_ptr = 0; @@ -176,6 +178,7 @@ char *client_connect = NULL; /* strings for -connect option */ char *client_connect_file = NULL; int connect_or_exit = 0; int vnc_connect = 1; /* -vncconnect option */ +char *connect_proxy = NULL; int show_cursor = 1; /* show cursor shapes */ int show_multiple_cursors = 0; /* show X when on root background, etc */ diff --git a/x11vnc/options.h b/x11vnc/options.h index 2689082..560c184 100644 --- a/x11vnc/options.h +++ b/x11vnc/options.h @@ -35,6 +35,8 @@ extern int https_port_redir; extern char *ssl_verify; extern int ssl_initialized; extern int ssl_timeout_secs; +extern char *ssh_str; +extern pid_t ssh_pid; extern int usepw; extern char *blackout_str; extern int blackout_ptr; @@ -148,6 +150,7 @@ extern char *client_connect; extern char *client_connect_file; extern int connect_or_exit; extern int vnc_connect; +extern char *connect_proxy; extern int show_cursor; extern int show_multiple_cursors; diff --git a/x11vnc/remote.c b/x11vnc/remote.c index e35cef9..e607707 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -1380,6 +1380,25 @@ char *process_remote_cmd(char *cmd, int stringonly) { /* this is a reverse connection */ reverse_connect(p); + } else if (strstr(p, "proxy") == p) { + COLON_CHECK("proxy:") + if (query) { + snprintf(buf, bufn, "ans=%s%s%s", p, co, + NONUL(connect_proxy)); + goto qry; + } + p += strlen("proxy:"); + if (connect_proxy) { + free(connect_proxy); + connect_proxy = NULL; + } + if (!strcmp(p, "") || !strcasecmp(p, "none")) { + rfbLog("remote_cmd: disabled -proxy\n"); + } else { + connect_proxy = strdup(p); + rfbLog("remote_cmd: set -proxy %s\n", connect_proxy); + } + } else if (strstr(p, "allowonce") == p) { COLON_CHECK("allowonce:") if (query) { @@ -2910,6 +2929,18 @@ char *process_remote_cmd(char *cmd, int stringonly) { ncache_old_wm = 0; rfbLog("remote_cmd: disabled -ncache_old_wm\n"); + } else if (strstr(p, "ncache_pad") == p) { + int orig = ncache_pad, n; + COLON_CHECK("ncache_pad:") + if (query) { + snprintf(buf, bufn, "ans=%s%s%d", p, co, ncache_pad); + goto qry; + } + p += strlen("ncache_pad:"); + n = atoi(p); + + rfbLog("remote_cmd: setting ncache_pad %d to: %d\n", orig, n); + } else if (!strcmp(p, "ncache")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, !!ncache); diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 0bda337..69efde6 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -25,6 +25,7 @@ #include "macosxCG.h" #include "avahi.h" #include "solid.h" +#include "inet.h" #include @@ -1242,7 +1243,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n"); unsigned int vals[1024], val; int x, y, fd, w = 1024, h = 768; if (strstr(n, "0x")) { - if (sscanf(n, "0x%lx", &val) != 1) { + if (sscanf(n, "0x%x", &val) != 1) { val = 0; } } diff --git a/x11vnc/selection.c b/x11vnc/selection.c index 7428ead..373253b 100644 --- a/x11vnc/selection.c +++ b/x11vnc/selection.c @@ -62,6 +62,7 @@ void selection_request(XEvent *ev, char *type) { char *str; unsigned int length; unsigned char *data; + static Atom xa_targets = None; # ifndef XA_LENGTH unsigned long XA_LENGTH; # endif @@ -103,34 +104,69 @@ void selection_request(XEvent *ev, char *type) { req_event->target, req_event->property); } + if (xa_targets == None) { + xa_targets = XInternAtom(dpy, "TARGETS", False); + } + /* the window may have gone away, so trap errors */ trapped_xerror = 0; old_handler = XSetErrorHandler(trap_xerror); if (ev->xselectionrequest.target == XA_LENGTH) { /* length request */ + int ret; + long llength = (long) length; - XChangeProperty(ev->xselectionrequest.display, + ret = XChangeProperty(ev->xselectionrequest.display, ev->xselectionrequest.requestor, ev->xselectionrequest.property, ev->xselectionrequest.target, 32, PropModeReplace, - (unsigned char *) &length, sizeof(unsigned int)); + (unsigned char *) &llength, 1); /* had sizeof(unsigned int) = 4 before... */ + if (debug_sel) { + rfbLog("LENGTH: XChangeProperty() -> %d\n", ret); + } + + } else if (xa_targets != None && ev->xselectionrequest.target == xa_targets) { + /* targets request */ + int ret; + Atom targets[2]; + targets[0] = (Atom) xa_targets; + targets[1] = (Atom) XA_STRING; + + data = (unsigned char *)str; + + ret = XChangeProperty(ev->xselectionrequest.display, + ev->xselectionrequest.requestor, + ev->xselectionrequest.property, + ev->xselectionrequest.target, 32, PropModeReplace, + (unsigned char *) targets, 2); + if (debug_sel) { + rfbLog("TARGETS: XChangeProperty() -> %d -- sz1: %d sz2: %d\n", + ret, sizeof(targets[0]), sizeof(targets)/sizeof(targets[0])); + } } else { /* data request */ + int ret; data = (unsigned char *)str; - XChangeProperty(ev->xselectionrequest.display, + ret = XChangeProperty(ev->xselectionrequest.display, ev->xselectionrequest.requestor, ev->xselectionrequest.property, ev->xselectionrequest.target, 8, PropModeReplace, data, length); + if (debug_sel) { + rfbLog("DATA: XChangeProperty() -> %d\n", ret); + } } if (! trapped_xerror) { - XSendEvent(req_event->display, req_event->requestor, False, 0, + int ret = XSendEvent(req_event->display, req_event->requestor, False, 0, (XEvent *)¬ify_event); + if (debug_sel) { + rfbLog("XSendEvent() -> %d\n", ret); + } } if (trapped_xerror) { rfbLog("selection_request: ignored XError while sending " diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc index d396d94..ec4f223 100755 --- a/x11vnc/tkx11vnc +++ b/x11vnc/tkx11vnc @@ -382,8 +382,10 @@ Tuning ncache_cr ncache_no_moveraise ncache_no_dtchange + ncache_old_wm ncache_no_rootpixmap ncache_keep_anims + ncache_pad: =RA ncache_reset_rootpixmap =GAL LOFF -- diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h index 4e6550f..b9ecaf2 100644 --- a/x11vnc/tkx11vnc.h +++ b/x11vnc/tkx11vnc.h @@ -393,8 +393,10 @@ char gui_code[] = ""; " ncache_cr\n" " ncache_no_moveraise\n" " ncache_no_dtchange\n" +" ncache_old_wm\n" " ncache_no_rootpixmap\n" " ncache_keep_anims\n" +" ncache_pad:\n" " =RA ncache_reset_rootpixmap\n" " =GAL LOFF\n" " --\n" diff --git a/x11vnc/user.c b/x11vnc/user.c index 91f1840..717772d 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -1314,6 +1314,7 @@ void user_supplied_opts(char *opts) { static void vnc_redirect_timeout (int sig) { write(2, "timeout: no clients connected.\n", 31); + if (sig) {}; exit(0); } @@ -1513,6 +1514,10 @@ int wait_for_client(int *argc, char** argv, int http) { 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 */ @@ -1600,7 +1605,6 @@ int wait_for_client(int *argc, char** argv, int http) { accept_openssl(OPENSSL_INETD, -1); } } else { - int gotone = 0; if (first_conn_timeout) { if (first_conn_timeout < 0) { first_conn_timeout = -first_conn_timeout; diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c index bc6a16c..9e07ca6 100644 --- a/x11vnc/userinput.c +++ b/x11vnc/userinput.c @@ -151,6 +151,14 @@ int get_wm_frame_pos(int *px, int *py, int *x, int *y, int *w, int *h, *w = attr.width; *h = attr.height; +#if 0 + /* more accurate, but the animation is bogus anyway */ + if (attr.border_width > 0) { + *w += 2 * attr.border_width; + *h += 2 * attr.border_width; + } +#endif + if (win != NULL) { *win = descend_pointer(5, c, NULL, 0); } @@ -871,6 +879,7 @@ static void draw_box(int x, int y, int w, int h, int restore) { memcpy(dst, src, (x1-x0)*pixelsize); } if (y_min >= 0) { +if (0) fprintf(stderr, "Mark-1 %d %d %d %d\n", x0, y_min, x1, y_max+1); mark_rect_as_modified(x0, y_min, x1, y_max+1, 0); } save[i]->saved = 0; @@ -1012,6 +1021,7 @@ if (0) fprintf(stderr, " DrawBox: %04dx%04d+%04d+%04d B=%d rest=%d lw=%d %.4f\n } /* mark it for sending: */ if (save[i]->saved) { +if (0) fprintf(stderr, "Mark-2 %d %d %d %d\n", x0, y_min, x1, y_max+1); mark_rect_as_modified(x0, y_min, x1, y_max+1, 0); } } @@ -1859,9 +1869,19 @@ if (0 || debug_scroll > 1) fprintf(stderr, "<<<-rfbDoCopyRect req: %d mod: %d cp src = main_fb + (y1-dy)*stride + (x1-dx)*Bpp; } else if (c == 1) { - if (! cmap8to24_fb || cmap8to24_fb == rfb_fb) { + if (!cmap8to24 || !cmap8to24_fb) { continue; } + if (cmap8to24_fb == rfb_fb) { + if (mode == DCR_FBOnly) { + ; + } else if (mode == DCR_Direct) { + ; + } else if (mode == DCR_Normal) { + continue; + } + } +if (0) fprintf(stderr, "copyrect: cmap8to24_fb: mode=%d\n", mode); if (cmap8to24 && depth == 8) { Bpp = 4 * Bpp0; stride = 4 * stride0; @@ -3257,6 +3277,7 @@ if (db2) fprintf(stderr, "sw: %d/%lx\n", k, swin); stack_list[k].y = attr.y; stack_list[k].width = attr.width; stack_list[k].height = attr.height; + stack_list[k].border_width = attr.border_width; stack_list[k].depth = attr.depth; stack_list[k].class = attr.class; stack_list[k].backing_store = @@ -3276,6 +3297,7 @@ if (db2) fprintf(stderr, "sw: %d/%lx\n", k, swin); attr.depth = stack_list[k].depth; attr.width = stack_list[k].width; attr.height = stack_list[k].height; + attr.border_width = stack_list[k].border_width; attr.map_state = stack_list[k].map_state; if (attr.map_state != IsViewable) { @@ -4981,9 +5003,9 @@ if ((ncache || db) && ncdb) fprintf(stderr, "sent_copyrect: %d - obs: %d frame: rfbPE(1000); wireframe_in_progress = 0; - if (0) { - /* No longer needed. see draw_box() */ - if (frame_changed && cmap8to24 && multivis_count) { + if (1) { + /* In principle no longer needed... see draw_box() */ + if (frame_changed && cmap8to24 /* && multivis_count */) { /* handle -8to24 kludge, mark area and check 8bpp... */ int x1, x2, y1, y2, f = 16; x1 = nmin(box_x, orig_x) - f; @@ -4994,8 +5016,16 @@ if ((ncache || db) && ncdb) fprintf(stderr, "sent_copyrect: %d - obs: %d frame: x2 = nfix(x2, dpy_x+1); y1 = nfix(y1, dpy_y); y2 = nfix(y2, dpy_y+1); - check_for_multivis(); - mark_rect_as_modified(x1, y1, x2, y2, 0); + if (0) { + check_for_multivis(); + mark_rect_as_modified(x1, y1, x2, y2, 0); + } else { + if (1) { + bpp8to24(x1, y1, x2, y2); + } else { + bpp8to24(0, 0, dpy_x, dpy_y); + } + } } } @@ -6011,9 +6041,16 @@ int lookup_old_stack_index(int ic) { cache_list[k].y = attr.y; \ cache_list[k].width = attr.width; \ cache_list[k].height = attr.height; \ + cache_list[k].border_width = attr.border_width; \ cache_list[k].map_state = attr.map_state; \ cache_list[k].time = dnow(); +#if 0 + cache_list[k].width = attr.width + 2*attr.border_width; \ + cache_list[k].height = attr.height + 2*attr.border_width; \ + +#endif + #define CLEAR(k) \ if (0) fprintf(stderr, "CLEAR(%d)\n", k); \ cache_list[k].bs_x = -1; \ @@ -8119,7 +8156,9 @@ void set_ncache_xrootpmap(void) { dst += main_bytes_per_line; } XDestroyImage(image); + X_UNLOCK; scale_mark_xrootpmap(); + X_LOCK; } else { int yn = (ncache+1) * dpy_y; zero_fb(0, yn, dpy_x, yn + dpy_y); diff --git a/x11vnc/util.c b/x11vnc/util.c index 5c27330..7b59bb2 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -405,7 +405,7 @@ double rfac(void) { } void check_allinput_rate(void) { - static double last_all_input_check = 0.0, last_all_input_start = 0.0; + static double last_all_input_check = 0.0; static int set = 0; if (! set) { set = 1; diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c index b477977..504b36b 100644 --- a/x11vnc/win_utils.c +++ b/x11vnc/win_utils.c @@ -315,6 +315,7 @@ void update_stack_list(void) { stack_list[k].y = attr.y; stack_list[k].width = attr.width; stack_list[k].height = attr.height; + stack_list[k].border_width = attr.border_width; stack_list[k].depth = attr.depth; stack_list[k].class = attr.class; stack_list[k].backing_store = attr.backing_store; diff --git a/x11vnc/winattr_t.h b/x11vnc/winattr_t.h index cfde047..d207abc 100644 --- a/x11vnc/winattr_t.h +++ b/x11vnc/winattr_t.h @@ -9,6 +9,7 @@ typedef struct winattr { int valid; int x, y; int width, height; + int border_width; int depth; int class; int backing_store; diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index 0dec828..d9ade8b 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -2,7 +2,7 @@ .TH X11VNC "1" "October 2007" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.9.3, lastmod: 2007-09-30 + version: 0.9.4, lastmod: 2007-10-27 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -472,7 +472,7 @@ As \fB-http,\fR but force lookup for ssl classes subdir. .PP \fB-avahi\fR .IP -Use the Avahi/mDNS ZeroConf protocol to advertize +Use the Avahi/mDNS ZeroConf protocol to advertise this VNC server to the local network. (Related terms: Rendezvous, Bonjour). Depending on your setup, you may need to start avahi-daemon and open udp port 5353 @@ -513,8 +513,69 @@ is running as root (e.g. via As with \fB-connect,\fR except if none of the reverse connections succeed, then x11vnc shutdowns immediately. .IP -If you do not want x11vnc to listen on ANY interface -use \fB-rfbport\fR 0 +By the way, if you do not want x11vnc to listen on +ANY interface use \fB-rfbport\fR 0 which is handy for the +\fB-connect_or_exit\fR mode. +.PP +\fB-proxy\fR \fIstring\fR +.IP +Use proxy in string (e.g. host:port) as a proxy for +making reverse connections (-connect or \fB-connect_or_exit\fR +options). +.IP +Web proxies are supported, but note by default most of +them only support destination connections to ports 443 +or 563, so this might not be very useful (the viewer +would need to listen on that port or the router would +have to do a port redirection). +.IP +A web proxy may be specified by either "host:port" +or "http://host:port" (the port is required even if +it is the common choices 80 or 8080) +.IP +SOCKS4, SOCKS4a, and SOCKS5 are also supported. +SOCKS proxies normally do not have restrictions on the +destination port number. +.IP +Use a format like this: socks://host:port or +socks5://host:port. Note that ssh \fB-D\fR does not support +SOCKS4a, so use socks5://. For socks:// SOCKS4 is used +on a numerical IP and "localhost", otherwise SOCKS4a +is used (and so the proxy tries to do the DNS lookup). +.IP +An experimental mode is "\fB-proxy\fR \fIhttp://host:port/...\fR" +Note the "/" after the port that distinguishes it from +a normal web proxy. The port must be supplied even if +it is the default 80. For this mode a GET is done to +the supplied URL with the string host=H&port=P appended. +H and P will be the \fB-connect\fR reverse connect host +and port. Use the string "__END__" to disable the +appending. The basic idea here is that maybe some cgi +script provides the actual viewer hookup and tunnelling. +How to actually achieve this within cgi, php, etc. is +not clear... A custom web server or apache module +would be straight-forward. +.IP +Another experimental mode is "\fB-proxy\fR \fIssh://user@host\fR" +in which case a SSH tunnel is used for the proxying. +"user@" is not needed unless your unix username is +different on "host". For a non-standard SSH port +use ssh://user@host:port. If proxies are chained (see +next paragraph) then the ssh one must be the first one. +If ssh-agent is not active, then the ssh password needs +to be entered in the terminal where x11vnc is running. +Examples: +.IP +\fB-connect\fR localhost:0 \fB-proxy\fR ssh://me@friends-pc:2222 +.IP +\fB-connect\fR snoopy:0 \fB-proxy\fR ssh://ssh.company.com +.IP +Multiple proxies may be chained together in case one +needs to ricochet off of a number of hosts to finally +reach the VNC viewer. Up to 3 may be chained, separate +them by commas in the order they are to be connected to. +E.g.: http://host1:port1,socks5://host2:port2 or three +like: first,second,third .PP \fB-vncconnect,\fR \fB-novncconnect\fR .IP @@ -692,7 +753,7 @@ File format for \fB-passwdfile:\fR If multiple non-blank lines exist in the file they are all taken as valid passwords. Blank lines are ignored. Password lines may be "commented out" (ignored) if -they begin with the charactor "#" or the line contains +they begin with the character "#" or the line contains the string "__SKIP__". Lines may be annotated by use of the "__COMM__" string: from it to the end of the line is ignored. An empty password may be specified @@ -856,7 +917,7 @@ use the traditional .IR crypt (3) method to verify passwords. All of the above \fB-unixpw\fR options and -contraints apply. +constraints apply. .IP This mode requires that the encrypted passwords be readable. Encrypted passwords stored in /etc/shadow @@ -1278,6 +1339,11 @@ into x11vnc at build time. If x11vnc is not built with libssl support it will exit immediately when \fB-ssl\fR is prescribed. .IP +The VNC Viewer-side needs support SSL as well. +See this URL and also the discussion below for ideas +on how to enable SSL support for the viewer: +http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers +.IP [pem] is optional, use "\fB-ssl\fR \fI/path/to/mycert.pem\fR" to specify a PEM certificate file to use to identify and provide a key for this server. See @@ -1288,12 +1354,12 @@ more info about PEMs and the \fB-sslGenCert\fR option below. The connecting VNC viewer SSL tunnel can optionally authenticate this server if they have the public key part of the certificate (or a common certificate -authority, CA, is a more sophisicated way to verify +authority, CA, is a more sophisticated way to verify this server's cert, see \fB-sslGenCA\fR below). This is used to prevent man-in-the-middle attacks. Otherwise, if the VNC viewer accepts this server's key without verification, at least the traffic is protected -from passive sniffing on the network (but NOT from +from passive sniffing on the network (but *NOT* from man-in-the-middle attacks). .IP If [pem] is not supplied and the @@ -1331,6 +1397,8 @@ is "SAVE_PROMPT" the server.pem certificate will be made based on your answers to its prompts for info such as OrganizationalName, CommonName, etc. .IP +We expect most users to use "\fB-ssl\fR \fISAVE\fR". +.IP Use "SAVE-" and "SAVE_PROMPT-" to refer to the file ~/.vnc/certs/server-.pem instead. E.g. "SAVE-charlie" will store to the file @@ -1341,13 +1409,14 @@ default ~/.vnc/certs .IP Example: x11vnc \fB-ssl\fR SAVE \fB-display\fR :0 ... .IP -Your VNC viewer will also need to be able to connect +Your VNC viewer will need to be able to connect via SSL. See the discussion below under \fB-stunnel\fR and -the FAQ (ss_vncviewer script) for how this might be -achieved. E.g. on Unix it is easy to write a shell -script that starts up stunnel and then vncviewer. -Also in the x11vnc source a SSL enabled Java VNC Viewer -applet is provided in the classes/ssl directory. +http://www.karlrunge.com/x11vnc/#faq-ssl-tunnel-viewers +for how this might be achieved. E.g. on Unix it is +easy to write a shell script that starts up stunnel +and then vncviewer. Also in the x11vnc source a SSL +enabled Java VNC Viewer applet is provided in the +classes/ssl directory. .PP \fB-ssltimeout\fR \fIn\fR .IP @@ -1525,7 +1594,7 @@ You will also need to supply a passphrase of at least Once you have generated the CA you can distribute its certificate part, [dir]/CA/cacert.pem, to other workstations where VNC viewers will be run. One will -need to "import" this certicate in the applications, +need to "import" this certificate in the applications, e.g. Web browser, Java applet plugin, stunnel, etc. Next, you can create and sign keys using the CA with the \fB-sslGenCert\fR option below. @@ -1603,7 +1672,7 @@ delete the line. Similar to \fB-sslGenCA,\fR you will be prompted to fill in some information that will be recorded in the certificate when it is created. Tip: if you know -the fully-quailified hostname other people will be +the fully-qualified hostname other people will be connecting to you can use that as the CommonName "CN" to avoid some applications (e.g. web browsers and java plugin) complaining it does not match the hostname. @@ -1611,7 +1680,7 @@ plugin) complaining it does not match the hostname. You will also need to supply the CA private key passphrase to unlock the private key created from \fB-sslGenCA.\fR This private key is used to sign the server -or client certicate. +or client certificate. .IP The "server" certs can be used by x11vnc directly by pointing to them via the \fB-ssl\fR [pem] option. The default @@ -1844,12 +1913,54 @@ redir from mygateway.com:443 to workstation:5900. .IP This spares the user from having to type in https://mygateway.com/?PORT=443 into their web -browser. Note taht port 443 is the default https port; -other ports must be explicity indicated, for example: +browser. Note that port 443 is the default https port; +other ports must be explicitly indicated, for example: https://mygateway.com:8000/?PORT=8000. To avoid having to include the PORT= in the browser URL, simply supply "\fB-httpsredir\fR" to x11vnc. .PP +\fB-ssh\fR \fIuser@host:disp\fR +.IP +Create a remote listening port on machine "host" +via a SSH tunnel using the \fB-R\fR rport:localhost:lport +method. lport will be the local x11vnc listening port, +so a connection to rport (5900+disp) on "host" +will reach x11vnc. E.g. fred@snoopy.com:0 +.IP +This could be useful if a firewall/router prevents +incoming connections to the x11vnc machine, but +the ssh machine "host" can be reached by the VNC +viewer. "user@" is not needed unless the remote unix +username differs from the current one. +.IP +By default the remote sshd is usually configured to +only listen on localhost for rport, so the viewer may +need to ssh \fB-L\fR redir to "host" as well (See SSVNC to +automate this). The sshd setting GatewayPorts enables +listening on all interfaces for rport; viewers can +reach it more easily. +.IP +"disp" is the VNC display for the remote SSH side, +e.g. 0 corresponds to port 5900, etc. If disp is +greater than 200 the value is used as the port. Use a +negative value to force a low port, e.g. host:-80 will +use port 80. +.IP +If ssh-agent is not active, then the ssh password needs +to be entered in the terminal where x11vnc is running. +.IP +By default the remote ssh will issue a 'sleep 300' to +wait for the incoming connection for 5 mins. To modify +this use user@host:disp+secs. +.IP +If the remote SSH server is on a non-standard port +(i.e. not 22) use user@host:port:disp+secs. +.IP +Note that the ssh process may NOT be killed when +x11vnc exits. It tries by looking at +.IR ps (1) +output. +.PP \fB-usepw\fR .IP If no other password method was supplied on the command @@ -1912,7 +2023,7 @@ RFB_CLIENT_ID, and the number of other connected clients in RFB_CLIENT_COUNT. RFB_MODE will be "accept". RFB_STATE will be PROTOCOL_VERSION, SECURITY_TYPE, AUTHENTICATION, INITIALISATION, NORMAL, or UNKNOWN -indicating up to which state the client has acheived. +indicating up to which state the client has achieved. RFB_LOGIN_VIEWONLY will be 0, 1, or -1 (unknown). RFB_USERNAME, RFB_LOGIN_TIME, and RFB_CURRENT_TIME may also be set. @@ -3406,7 +3517,7 @@ are moving the mouse or typing. Default: 2.00 Do not detect if the screen polling is "bogging down" and sleep more. Some activities with no user input can slow things down a lot: consider a large terminal window -with a long build running in it continously streaming +with a long build running in it continuously streaming text output. By default x11vnc will try to detect this (3 screen polls in a row each longer than 0.25 sec with no user input), and sleep up to 1.5 secs to let things @@ -3672,7 +3783,7 @@ determining WxHxB, etc. These are often done as root so take care. .IP If the string begins with "video", see the VIDEO4LINUX -discusion below where the device may be queried for +discussion below where the device may be queried for (and possibly set) the framebuffer parameters. .IP If the string begins with "console", "/dev/fb", or @@ -4319,13 +4430,13 @@ deny deny any new connections, same as "lock" .IP nodeny allow new connections, same as "unlock" .IP -avahi enable avahi service advertizing. +avahi enable avahi service advertising. .IP -noavahi disable avahi service advertizing. +noavahi disable avahi service advertising. .IP -mdns enable avahi service advertizing. +mdns enable avahi service advertising. .IP -nomdns disable avahi service advertizing. +nomdns disable avahi service advertising. .IP connect:host do reverse connection to host, "host" may be a comma separated list of hosts @@ -4340,6 +4451,9 @@ If you know the client internal hex ID, e.g. 0x3 (returned by "\fB-query\fR \fIclients\fR" and RFB_CLIENT_ID) you can use that too. .IP +proxy:host:port set reverse connection proxy (empty to +disable). +.IP allowonce:host For the next connection only, allow connection from "host". .IP @@ -4578,6 +4692,10 @@ ncache_no_dtchange enable ncache_no_dtchange mode. .IP noncache_no_dtchange disable ncache_no_dtchange mode. .IP +ncache_old_wm enable ncache_old_wm mode. +.IP +noncache_old_wm disable ncache_old_wm mode. +.IP ncache_no_rootpixmap enable ncache_no_rootpixmap. .IP noncache_no_rootpixmap disable ncache_no_rootpixmap. @@ -4588,6 +4706,8 @@ ncache_keep_anims enable ncache_keep_anims. .IP noncache_keep_anims disable ncache_keep_anims. .IP +ncache_pad:n set \fB-ncache_pad\fR to n. +.IP wireframe enable \fB-wireframe\fR mode. same as "wf" .IP nowireframe disable \fB-wireframe\fR mode. same as "nowf" @@ -4873,8 +4993,8 @@ nooverlay_yescursor overlay_nocursor 8to24 no8to24 8to24_opts 24to32 no24to32 visual scale scale_cursor viewonly noviewonly shared noshared forever noforever once timeout tightfilexfer notightfilexfer ultrafilexfer -noultrafilexfer rfbversion deny lock nodeny unlock -avahi mdns noavahi nomdns connect allowonce allow +noultrafilexfer rfbversion deny lock nodeny unlock avahi +mdns noavahi nomdns connect proxy allowonce allow localhost nolocalhost listen lookup nolookup accept afteraccept gone shm noshm flipbyteorder noflipbyteorder onetile noonetile solid_color solid nosolid blackout @@ -4896,12 +5016,12 @@ xwarp noxwarppointer noxwarp buttonmap dragging nodragging ncache_cr noncache_cr ncache_no_moveraise noncache_no_moveraise ncache_no_dtchange noncache_no_dtchange ncache_no_rootpixmap -noncache_no_rootpixmap ncache_reset_rootpixmap +noncache_no_rootpixmap ncache_reset_rootpixmap ncrp ncache_keep_anims noncache_keep_anims ncache_old_wm -noncache_old_wm ncache noncache ncache_size debug_ncache -nodebug_ncache wireframe_mode wireframe wf nowireframe -nowf wireframelocal wfl nowireframelocal nowfl -wirecopyrect wcr nowirecopyrect nowcr scr_area +noncache_old_wm ncache_pad ncache noncache ncache_size +debug_ncache nodebug_ncache wireframe_mode wireframe wf +nowireframe nowf wireframelocal wfl nowireframelocal +nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area scr_skip scr_inc scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect scr noscrollcopyrect noscr fixscreen noxrecord xrecord reset_record pointer_mode @@ -4969,7 +5089,7 @@ This allows for a reliable way to see if the \fB-remote\fR command was processed by querying for any new settings. Note however that there is timeout of a few seconds so if the x11vnc takes longer than that to process the -requests the requestor will think that a failure has +requests the requester will think that a failure has taken place. .PP \fB-noremote,\fR \fB-yesremote\fR @@ -5037,7 +5157,7 @@ external commands that can be run. The full list of associated options is: .IP stunnel, ssl, unixpw, WAIT, id, accept, afteraccept, -gone, pipeinput, v4l-info, rawfb-setup, dt, gui, +gone, pipeinput, v4l-info, rawfb-setup, dt, gui, ssh, storepasswd, passwdfile, custom_passwd, crash. .IP See each option's help to learn the associated external diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 19707fd..3345db7 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -398,6 +398,7 @@ static int tsdo_timeout_flag; static void tsdo_timeout (int sig) { tsdo_timeout_flag = 1; + if (sig) {}; } #define TASKMAX 32 @@ -474,6 +475,7 @@ int tsdo(int port, int lsock, int *conn) { raw_xfer(rsock, csock, csock); exit(0); } + return 0; } void set_redir_properties(void); @@ -570,7 +572,7 @@ void terminal_services(char *list) { for (i=0; i= 0 && disp <= 200) { + rport = disp + 5900; + } else if (disp < 0) { + rport = -disp; + } else { + rport = disp; + } + + if (sport > 0) { + sprintf(cmd, "%s -f -p %d -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, sport, rport, lport, s, sleep); + } else { + sprintf(cmd, "%s -f -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, rport, lport, s, sleep); + } + + if (no_external_cmds || !cmd_ok("ssh")) { + rfbLogEnable(1); + rfbLog("cannot run external commands in -nocmds mode:\n"); + rfbLog(" \"%s\"\n", cmd); + rfbLog(" exiting.\n"); + clean_up_exit(1); + } + + close_exec_fds(); + fprintf(stderr, "\n"); + rfbLog("running: %s\n", cmd); + rc = system(cmd); + + if (rc != 0) { + free(cmd); + free(s); + rfbLog("ssh remote listen failed.\n"); + clean_up_exit(1); + } + + if (1) { + FILE *pipe; + int mypid = (int) getpid(); + int bestpid = -1; + int best = -1; + char line[1024]; + char *ps = "ps -ef"; + /* not portable... but it is really good to terminate the ssh when done. */ + /* ps -ef | egrep 'ssh2.*-R.*5907:localhost:5900.*runge@celias.lbl.gov.*sleep 300' | grep -v grep | awk '{print $2}' */ + if (strstr(UT.sysname, "Linux")) { + ps = "ps wwwwwaux"; + } else if (strstr(UT.sysname, "BSD")) { + ps = "ps wwwwwaux"; + } + sprintf(cmd, "env COLUMNS=256 %s | egrep '%s.*-R *%d:localhost:%d.*%s.*sleep *%d' | grep -v grep | awk '{print $2}'", ps, ssh, rport, lport, s, sleep); + pipe = popen(cmd, "r"); + if (pipe) { + while (fgets(line, 1024, pipe) != NULL) { + int p = atoi(line); + if (p > 0) { + int score; + if (p > mypid) { + score = p - mypid; + } else { + score = p - mypid + 32768; + if (score < 0) { + score = 32768; + } + } + if (best < 0 || score < best) { + best = score; + bestpid = p; + } + } + } + pclose(pipe); + } + + if (bestpid != -1) { + ssh_pid = (pid_t) bestpid; + rfbLog("guessed ssh pid=%d, will terminate it on exit.\n", bestpid); + } + } + + free(cmd); + free(s); + +} + void check_filexfer(void) { static time_t last_check = 0; rfbClientIteratorPtr iter; @@ -2463,6 +2589,9 @@ int main(int argc, char* argv[]) { if (!strcmp(arg, "-connect_or_exit")) { connect_or_exit = 1; } + } else if (!strcmp(arg, "-proxy")) { + CHECK_ARGC + connect_proxy = strdup(argv[++i]); } else if (!strcmp(arg, "-vncconnect")) { vnc_connect = 1; } else if (!strcmp(arg, "-novncconnect")) { @@ -2672,6 +2801,9 @@ int main(int argc, char* argv[]) { #endif } else if (!strcmp(arg, "-nopw")) { nopw = 1; + } else if (!strcmp(arg, "-ssh")) { + CHECK_ARGC + ssh_str = strdup(argv[++i]); } else if (!strcmp(arg, "-usepw")) { usepw = 1; } else if (!strcmp(arg, "-storepasswd")) { @@ -3670,7 +3802,7 @@ int main(int argc, char* argv[]) { if (! s) s = getenv("SSH_CLIENT"); if (! s) s = "SSH_CONNECTION"; fprintf(stderr, "\n"); - rfbLog("Skipping -ssl/-stunnel contraint in" + rfbLog("Skipping -ssl/-stunnel constraint in" " -unixpw\n"); rfbLog("mode, assuming your SSH encryption" " is: %s\n", s); @@ -4568,6 +4700,9 @@ if (0) fprintf(stderr, "XA: %s\n", getenv("XAUTHORITY")); if (try_http && ! got_httpdir && check_httpdir()) { http_connections(1); } + if (ssh_str != NULL) { + ssh_remote_tunnel(ssh_str, screen->port); + } } initialize_tiles(); diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index 0480766..bb303db 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.3 lastmod: 2007-09-30"; +char lastmod[] = "0.9.4 lastmod: 2007-10-27"; /* X display info */ diff --git a/x11vnc/xrecord.c b/x11vnc/xrecord.c index c293ecb..3b90e32 100644 --- a/x11vnc/xrecord.c +++ b/x11vnc/xrecord.c @@ -633,6 +633,7 @@ if (db > 1) fprintf(stderr, "record_CA-%d\n", k++); scr_attr_cache[i].y = attr.y; scr_attr_cache[i].width = attr.width; scr_attr_cache[i].height = attr.height; + scr_attr_cache[i].border_width = attr.border_width; scr_attr_cache[i].depth = attr.depth; scr_attr_cache[i].class = attr.class; scr_attr_cache[i].backing_store =