diff options
author | runge <runge> | 2006-06-13 02:35:28 +0000 |
---|---|---|
committer | runge <runge> | 2006-06-13 02:35:28 +0000 |
commit | 06a401f8f81b1fcf94bce6c99e4823d6e697881c (patch) | |
tree | a975775f83fae8e7f5351ddc1f12384278f27660 | |
parent | 7a3e236390501c14b9d75d80ea88f8a3e69a337a (diff) | |
download | libvncserver-06a401f8f81b1fcf94bce6c99e4823d6e697881c.zip libvncserver-06a401f8f81b1fcf94bce6c99e4823d6e697881c.tar.gz |
x11vnc: -display WAIT:cmd=FINDDISPLAY, HTTPONCE, -http_ssl option, Java fixes.
-rw-r--r-- | classes/ssl/SignedVncViewer.jar | bin | 75021 -> 76058 bytes | |||
-rw-r--r-- | classes/ssl/VncViewer.jar | bin | 72295 -> 73328 bytes | |||
-rw-r--r-- | classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch | 118 | ||||
-rw-r--r-- | x11vnc/ChangeLog | 8 | ||||
-rw-r--r-- | x11vnc/README | 2580 | ||||
-rw-r--r-- | x11vnc/help.c | 29 | ||||
-rw-r--r-- | x11vnc/options.c | 1 | ||||
-rw-r--r-- | x11vnc/options.h | 1 | ||||
-rw-r--r-- | x11vnc/remote.c | 8 | ||||
-rw-r--r-- | x11vnc/screen.c | 3 | ||||
-rw-r--r-- | x11vnc/sslhelper.c | 149 | ||||
-rw-r--r-- | x11vnc/ssltools.h | 71 | ||||
-rw-r--r-- | x11vnc/unixpw.c | 27 | ||||
-rw-r--r-- | x11vnc/unixpw.h | 1 | ||||
-rw-r--r-- | x11vnc/user.c | 220 | ||||
-rw-r--r-- | x11vnc/util.c | 31 | ||||
-rw-r--r-- | x11vnc/util.h | 1 | ||||
-rw-r--r-- | x11vnc/x11vnc.1 | 31 | ||||
-rw-r--r-- | x11vnc/x11vnc.c | 63 | ||||
-rw-r--r-- | x11vnc/x11vnc.h | 1 | ||||
-rw-r--r-- | x11vnc/x11vnc_defs.c | 3 |
21 files changed, 1933 insertions, 1413 deletions
diff --git a/classes/ssl/SignedVncViewer.jar b/classes/ssl/SignedVncViewer.jar Binary files differindex 292e163..7d54bfb 100644 --- a/classes/ssl/SignedVncViewer.jar +++ b/classes/ssl/SignedVncViewer.jar diff --git a/classes/ssl/VncViewer.jar b/classes/ssl/VncViewer.jar Binary files differindex fa7d8fa..05be367 100644 --- a/classes/ssl/VncViewer.jar +++ b/classes/ssl/VncViewer.jar diff --git a/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch b/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch index e579a57..2229166 100644 --- a/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch +++ b/classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch @@ -73,8 +73,8 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/RfbProto.java vnc_javasrc/RfbProto serverMajor = (b[4] - '0') * 100 + (b[5] - '0') * 10 + (b[6] - '0'); diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSLSocketToMe.java --- vnc_javasrc.orig/SSLSocketToMe.java 1969-12-31 19:00:00.000000000 -0500 -+++ vnc_javasrc/SSLSocketToMe.java 2006-04-16 11:21:30.000000000 -0400 -@@ -0,0 +1,1204 @@ ++++ vnc_javasrc/SSLSocketToMe.java 2006-06-12 00:00:28.000000000 -0400 +@@ -0,0 +1,1276 @@ +/* + * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer. + * @@ -212,8 +212,19 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + "No Trust url Certs."); + } + if (trusturlCerts.length > 1) { -+ throw new CertificateException( -+ "Too many Trust url Certs."); ++ int i; ++ boolean ok = true; ++ for (i = 0; i < trusturlCerts.length - 1; i++) { ++ if (! trusturlCerts[i].equals(trusturlCerts[i+1])) { ++ ok = false; ++ } ++ } ++ if (! ok) { ++ throw new CertificateException( ++ "Too many Trust url Certs: " ++ + trusturlCerts.length ++ ); ++ } + } + if (certs == null) { + throw new CertificateException( @@ -224,8 +235,19 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + "No this-certs Certs."); + } + if (certs.length > 1) { -+ throw new CertificateException( -+ "Too many this-certs."); ++ int i; ++ boolean ok = true; ++ for (i = 0; i < certs.length - 1; i++) { ++ if (! certs[i].equals(certs[i+1])) { ++ ok = false; ++ } ++ } ++ if (! ok) { ++ throw new CertificateException( ++ "Too many this-certs: " ++ + certs.length ++ ); ++ } + } + if (! trusturlCerts[0].equals(certs[0])) { + throw new CertificateException( @@ -262,8 +284,19 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + "No Trust All Server Certs."); + } + if (trustallCerts.length > 1) { -+ throw new CertificateException( -+ "Too many Trust All Server Certs."); ++ int i; ++ boolean ok = true; ++ for (i = 0; i < trustallCerts.length - 1; i++) { ++ if (! trustallCerts[i].equals(trustallCerts[i+1])) { ++ ok = false; ++ } ++ } ++ if (! ok) { ++ throw new CertificateException( ++ "Too many Trust All Server Certs: " ++ + trustallCerts.length ++ ); ++ } + } + if (certs == null) { + throw new CertificateException( @@ -274,8 +307,19 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + "No this-certs Certs."); + } + if (certs.length > 1) { -+ throw new CertificateException( -+ "Too many this-certs."); ++ int i; ++ boolean ok = true; ++ for (i = 0; i < certs.length - 1; i++) { ++ if (! certs[i].equals(certs[i+1])) { ++ ok = false; ++ } ++ } ++ if (! ok) { ++ throw new CertificateException( ++ "Too many this-certs: " ++ + certs.length ++ ); ++ } + } + if (! trustallCerts[0].equals(certs[0])) { + throw new CertificateException( @@ -920,17 +964,26 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL ++ "\n" ++ "This may be due to:\n" ++ "\n" +++ " - Your requesting to View the Certificate before accepting.\n" +++ "\n" ++ " - The VNC server using a Self-Signed Certificate.\n" ++ "\n" ++ " - The VNC server using a Certificate Authority not recognized by your\n" -++ " Java applet runtime.\n" +++ " Browser or Java Plugin runtime.\n" +++ "\n" +++ " - The use of an Apache SSL portal employing CONNECT proxying and the\n" +++ " Apache web server has a certificate different from the VNC server's. \n" ++ "\n" ++ " - A Man-In-The-Middle attack impersonating as the VNC server you wish\n" -++ " to connect to.\n" +++ " to connect to. (Wouldn't that be exciting!!)\n" ++ "\n" -++ "By copying the VNC server's Certificate (or using a common Certificate\n" -++ "Authority certificate) you can configure your Java applet runtime to\n" -++ "automatically authenticate the Server.\n" +++ "By safely copying the VNC server's Certificate (or using a common\n" +++ "Certificate Authority certificate) you can configure your Web Browser or\n" +++ "Java Plugin to automatically authenticate this Server.\n" +++ "\n" +++ "If you do so, then you will only have to click \"Yes\" when this VNC\n" +++ "Viewer applet asks you whether to trust your Browser/Java Plugin's\n" +++ "acceptance of the certificate. (except for the Apache portal case above.)\n" +; + + /* the accept / do-not-accept radio buttons: */ @@ -966,7 +1019,7 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + label.setFont(new Font("Helvetica", Font.BOLD, 16)); + + /* textarea in the middle */ -+ textarea = new TextArea(text, 28, 64, ++ textarea = new TextArea(text, 36, 64, + TextArea.SCROLLBARS_VERTICAL_ONLY); + textarea.setEditable(false); + @@ -1188,13 +1241,32 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + + dialog = new Dialog(frame, true); + -+ String m = "\nShould this VNC Viewer applet use your Browser/JVM certs to\n"; -+ m += "authenticate the VNC Server:\n"; -+ m += "\n " + hostport + "\n\n " + vncServer + "\n\n"; -+ m += "(NOTE: this *includes* any certs you have Just Now accepted in a\n"; -+ m += "dialog box with your Web Browser or Java Applet Plugin)\n\n"; -+ -+ TextArea textarea = new TextArea(m, 12, 64, ++ String m = ""; ++m += "\n"; ++m += "This VNC Viewer applet does not have its own keystore to track\n"; ++m += "SSL certificates, and so cannot authenticate the certificate\n"; ++m += "of the VNC Server:\n"; ++m += "\n"; ++m += " " + hostport + "\n\n " + vncServer + "\n"; ++m += "\n"; ++m += "on its own.\n"; ++m += "\n"; ++m += "However, it has noticed that your Web Browser or Java VM Plugin\n"; ++m += "has previously accepted the same certificate. You may have set\n"; ++m += "this up permanently or just for this session, or the server\n"; ++m += "certificate was signed by a CA cert that your Web Browser or\n"; ++m += "Java VM Plugin has.\n"; ++m += "\n"; ++m += "Should this VNC Viewer applet now connect to the above VNC server?\n"; ++m += "\n"; ++ ++// String m = "\nShould this VNC Viewer applet use your Browser/JVM certs to\n"; ++// m += "authenticate the VNC Server:\n"; ++// m += "\n " + hostport + "\n\n " + vncServer + "\n\n"; ++// m += "(NOTE: this *includes* any certs you have Just Now accepted in a\n"; ++// m += "dialog box with your Web Browser or Java Applet Plugin)\n\n"; ++ ++ TextArea textarea = new TextArea(m, 20, 64, + TextArea.SCROLLBARS_VERTICAL_ONLY); + textarea.setEditable(false); + yes = new Button("Yes"); diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog index 861ca08..4c8257c 100644 --- a/x11vnc/ChangeLog +++ b/x11vnc/ChangeLog @@ -1,3 +1,11 @@ +2006-06-12 Karl Runge <runge@karlrunge.com> + * x11vnc: word tune SSL Java viewer; fix multi-certs bug. Add + -display WAIT:cmd=FINDDISPLAY builtin script and cmd=HTTPONCE + action. -http_ssl option for ssl subdir only. Add -rawfb RAND + test case. improve raw_xfer() for use in inetd https transfer. + fix bug SSH + -unixpw -> -localhost. fix bug setup cursors + in WAIT mode. Mac OS X pty tweak. + 2006-06-09 Karl Runge <runge@karlrunge.com> * x11vnc: make -display WAIT + -unixpw work on Solaris. diff --git a/x11vnc/README b/x11vnc/README index db20b5c..d538a04 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Thu Jun 8 23:48:35 EDT 2006 +x11vnc README file Date: Mon Jun 12 22:23:23 EDT 2006 The following information is taken from these URLs: @@ -20,11 +20,15 @@ x11vnc: a VNC server for real X displays (to [1]FAQ) (to [2]Downloads) (to [3]Building) (to [4]Beta Test) (to [5]Donations) [6][PayPal] - x11vnc allows one to remotely view and interact with real X displays + x11vnc allows one to view remotely and interact with real X displays (i.e. a display corresponding to a physical monitor, keyboard, and mouse) with any VNC viewer. In this way it plays the role for Unix/X11 - that WinVNC plays for Windows. It has also been extended to work with - [7]webcams and TV tuner capture devices. + that WinVNC plays for Windows. + + It has built-in [7]SSL encryption and authentication, UNIX [8]account + and password support, server-side [9]scaling, [10]single port HTTPS + and VNC, and TightVNC and UltraVNC [11]file-transfer. It has also been + extended to work with [12]webcams and TV tuner capture devices. I wrote x11vnc because x0rfbserver was basically impossible to build on Solaris and had poor performance. The primary x0rfbserver build @@ -33,9 +37,10 @@ x11vnc: a VNC server for real X displays enhancements to improve the interactive response, add esoteric features, etc. - This page and the [8]FAQ contain a lot of information [9][*] and - solutions to many problems, but please feel free to [10]contact me if - you have problems or questions. + This page and the [13]FAQ contain a lot of information [14][*] and + solutions to many problems and interesting applications, but + nevertheless please feel free to [15]contact me if you have problems + or questions. Background: @@ -46,10 +51,10 @@ x11vnc: a VNC server for real X displays framebuffer (RFB) protocol Some VNC links: - * [11]http://www.realvnc.com - * [12]http://www.tightvnc.com - * [13]http://www.ultravnc.com/ - * [14]http://www.redstonesoftware.com/ + * [16]http://www.realvnc.com + * [17]http://www.tightvnc.com + * [18]http://www.ultravnc.com/ + * [19]http://www.redstonesoftware.com/ For Unix, the traditional VNC implementation includes a virtual X11 server Xvnc (usually launched via the vncserver command) that is not @@ -87,9 +92,9 @@ x11vnc: a VNC server for real X displays display you wish to view is "far-away.east:0" and the workstation you are presently working at is "sitting-here.west". - Step 0. Download x11vnc ([15]see below) and have it available to run + Step 0. Download x11vnc ([20]see below) and have it available to run on far-away.east. Similarly, have a VNC viewer (e.g. vncviewer) ready - to run on sitting-here.west. We recommend [16]TightVNC Viewers. + to run on sitting-here.west. We recommend [21]TightVNC Viewers. Step 1. By some means log in to far-away.east and get a command shell running there. You can use ssh, rlogin, telnet, or any other method to @@ -108,11 +113,11 @@ x11vnc: a VNC server for real X displays display (i.e. no viewer clients yet). Common Gotcha: To get X11 permissions right, you may also need to set - the XAUTHORITY environment variable (or use the [17]-auth option) to + the XAUTHORITY environment variable (or use the [22]-auth option) to point to the correct MIT-MAGIC-COOKIE file (e.g. /home/joe/.Xauthority). If x11vnc does not have the authority to connect to the display it exits immediately. More on how to fix this - [18]below. + [23]below. If you suspect an X11 permissions problem do this simple test: while sitting at the physical X display open a terminal window @@ -120,7 +125,7 @@ x11vnc: a VNC server for real X displays successfully in that terminal without any need for command line options. If that works OK then you know X11 permissions are the only thing preventing it from working when you try to start x11vnc via a - remote shell. Then fix this with the tips [19]below. + remote shell. Then fix this with the tips [24]below. When x11vnc starts up there will then be much chatter printed out, until it finally says something like: @@ -139,8 +144,8 @@ x11vnc: a VNC server for real X displays viewers for Unix, Windows, MacOS, Java-enabled web browsers, and even for PDA's like the Palm Pilot! You can use any of them to connect to x11vnc (see the above VNC links under "Background:" on how to obtain a - viewer for your platform or see [20]this FAQ. For Solaris, vncviewer - is available in the [21]Companion CD package SFWvnc). + viewer for your platform or see [25]this FAQ. For Solaris, vncviewer + is available in the [26]Companion CD package SFWvnc). In this example we'll use the Unix vncviewer program on sitting-here by typing the following command in a second terminal window: @@ -150,13 +155,13 @@ x11vnc: a VNC server for real X displays That should pop up a viewer window on sitting-here.west showing and allowing interaction with the far-away.east:0 X11 desktop. Pretty nifty! When finished, exit the viewer: the remote x11vnc process will - shutdown automatically (or you can use the [22]-forever option to have + shutdown automatically (or you can use the [27]-forever option to have it wait for additional viewer connections). Shortcut: Of course if you left x11vnc running on far-away.east:0 in a - terminal window with the [23]-forever option or as a [24]service, + terminal window with the [28]-forever option or as a [29]service, you'd only have to do Step 3 as you moved around. Be sure to use a VNC - [25]Password or [26]other measures if you do that. + [30]Password or [31]other measures if you do that. Desktop Sharing: The above more or less assumed nobody was sitting at @@ -172,7 +177,7 @@ 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 "[27]-connect + start their VNC viewers. For this usage mode the "[32]-connect host1,host2" option may be of use automatically connect to vncviewers in "-listen" mode on the list of hosts. _________________________________________________________________ @@ -201,13 +206,13 @@ splay :0' 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 [28]VNC password is also strongly recommended. + machine). Use of a [33]VNC password is also strongly recommended. 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 [29]inetd(8)). See the 3rd - script example [30]below for more info. + far-away.east or having it started by [34]inetd(8)). See the 3rd + script example [35]below for more info. If the machine you SSH into is not the same machine with the X display you wish to view (e.g. your company provides incoming SSH access to a @@ -216,7 +221,7 @@ splay :0' (ssh, rsh, etc.) to the workstation machine 'otherhost' and then start up x11vnc on it (if it isn't already running). For an automatic way to use a gateway and have all the network traffic encrypted (including - inside the firewall) see [31]chaining ssh's + inside the firewall) see [36]chaining ssh's _________________________________________________________________ @@ -225,7 +230,7 @@ splay :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 [32]-bg (forks into background after connection to the + x11vnc option [37]-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. _________________________________________________________________ @@ -256,7 +261,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 [33]-connect option: + using the [38]-connect option: #!/bin/sh # usage: x11vnc_ssh <host>:<xdisplay> # e.g.: x11vnc_ssh snoopy.peanuts.com:0 @@ -298,7 +303,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 [34]inetd(8)), you can simply + connections (or have it started out of [39]inetd(8)), you can simply use the TightVNC "vncviewer -via gateway host:port" in its default mode to provide secure ssh tunnelling. _________________________________________________________________ @@ -306,11 +311,11 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. VNC password file: Also note in the #1. example script that the - [35]option "-rfbauth .vnc/passwd" provides additional protection by + [40]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 [36]-storepasswd + vncpasswd or storepasswd programs, or the x11vnc [41]-storepasswd option can be used to create the password file. x11vnc also has the - slightly less secure [37]-passwdfile and "-passwd XXXXX" [38]options + slightly less secure [42]-passwdfile and "-passwd XXXXX" [43]options to specify passwords. Very Important: It is up to YOU to tell x11vnc to use password @@ -318,47 +323,47 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. automatically or force you to. The same goes for encrypting the channel between the viewer and x11vnc: it is up to you to use ssh, stunnel, -ssl mode, a VPN, etc. For additional safety, also look into - the -allow and -localhost [39]options and building x11vnc with - [40]tcp_wrappers support to limit host access. + the -allow and -localhost [44]options and building x11vnc with + [45]tcp_wrappers support to limit host access. _________________________________________________________________ Tunnelling x11vnc via SSL: One can also encrypt the VNC traffic using an SSL tunnel such as - [41]stunnel or using the built-in (Mar/2006) [42]-ssl openssl mode. A + [46]stunnel or using the built-in (Mar/2006) [47]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer is also provided (and https can be used to download it). Although not as ubiquitous as ssh, SSL tunnelling still provides a - useful alternative. See [43]this FAQ on -ssl and -stunnel modes for + useful alternative. See [48]this FAQ on -ssl and -stunnel modes for details and examples. _________________________________________________________________ Downloading x11vnc: - x11vnc is a contributed program to the [44]LibVNCServer project at + x11vnc is a contributed program to the [49]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 2006, the [45]x11vnc-0.8.1.tar.gz source package is - released (recommended download). The [46]x11vnc 0.8.1 release notes. + link. As of Jun 2006, the [50]x11vnc-0.8.1.tar.gz source package is + released (recommended download). The [51]x11vnc 0.8.1 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 [47]x11vnc-0.8.2.tar.gz tarball to build the most up to + bleeding edge [52]x11vnc-0.8.2.tar.gz tarball to build the most up to date one. - Precompiled Binaries/Packages: See the [48]FAQ below for information + Precompiled Binaries/Packages: See the [53]FAQ below for information about where you might obtain a precompiled x11vnc binary from 3rd parties and some ones I create. To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try these links: - * [49]http://www.tightvnc.com/download.html - * [50]http://www.realvnc.com/download-free.html - * [51]http://sourceforge.net/projects/cotvnc/ - * [52]http://www.ultravnc.com/ + * [54]http://www.tightvnc.com/download.html + * [55]http://www.realvnc.com/download-free.html + * [56]http://sourceforge.net/projects/cotvnc/ + * [57]http://www.ultravnc.com/ More tools: Here is a rsh/ssh wrapper script rx11vnc that attempts to @@ -369,8 +374,8 @@ 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: - * [53]rx11vnc wrapper script - * [54]rx11vnc.pl wrapper script to tunnel traffic thru ssh + * [58]rx11vnc wrapper script + * [59]rx11vnc.pl wrapper script to tunnel traffic thru ssh _________________________________________________________________ @@ -401,8 +406,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 [55]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc - binaries are [56]here. + are at [60]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc + binaries are [61]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 @@ -422,10 +427,10 @@ 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 [57]build scripts below + libvncserver's choice of AM_CFLAGS. See the [62]build scripts below for more ideas. - You can find information on [58]Misc. Build problems here. + You can find information on [63]Misc. Build problems here. _________________________________________________________________ @@ -463,9 +468,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 - [59]ftp://ftp.uu.net/graphics/jpeg/ and zlib at - [60]http://www.gzip.org/zlib/. See also - [61]http://www.sunfreeware.com/ for Solaris binary packages of these + [64]ftp://ftp.uu.net/graphics/jpeg/ and zlib at + [65]http://www.gzip.org/zlib/. See also + [66]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. @@ -536,7 +541,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 [62]this workaround FAQ. + OS's, see [67]this workaround FAQ. Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in @@ -584,68 +589,76 @@ make Summer 2006. The version 0.8.2 beta tarball is kept here: - [63]x11vnc-0.8.2.tar.gz + [68]x11vnc-0.8.2.tar.gz There are also some Linux, Solaris, and other OS test binaries - [64]here. Please kick the tires and report bugs, performance - regressions, undesired behavior, etc. to [65]me. + [69]here. Please kick the tires and report bugs, performance + regressions, undesired behavior, etc. to [70]me. Here are some features that appeared in the 0.8.1 release: * Improved support for Webcams and TV tuner devices (/dev/video) - with the [66]-rawfb option. E.g. "-rawfb video0" will autodetect + with the [71]-rawfb option. E.g. "-rawfb video0" will autodetect the video WxHxB (requires Video4Linux buildtime or the v4l-info utility). Use "-rawfb video -pipeinput VID" for a simple keystroke utility to configure the capture device. - * Convenience utility [67]-rawfb cons to connect to the linux + * Convenience utility [72]-rawfb cons to connect to the linux console (/dev/fb0) and inject keystrokes into it (/dev/ttyX). Like LinuxVNC or -pipeinput vcinject.pl, but now built in. - * The [68]-24to32 option provides automatic translation from 24bpp + * The [73]-24to32 option provides automatic translation from 24bpp to 32bpp framebuffers to avoid problems with viewers, etc (often needed for webcams). - * The [69]-usepw option will try to use your existing ~/.vnc/passwd + * The [74]-usepw option will try to use your existing ~/.vnc/passwd or ~/.vnc/passwdfile passwords or otherwise prompt you to create one (the server exits unless a password file is found and used). Use "x11vnc -storepasswd" to prompt for a password without echoing and save it in ~/.vnc/passwd * The X CLIPBOARD selection is now managed in addition to PRIMARY. - Use [70]-noclipboard and [71]-nosetclipboard for the previous + Use [75]-noclipboard and [76]-nosetclipboard for the previous PRIMARY-only behavior. - * Use [72]-capslock and [73]-skip_lockkeys to help manage CapsLocks + * Use [77]-capslock and [78]-skip_lockkeys to help manage CapsLocks behavior better. - * The [74]-fbpm option provides FBPM support for hardware that + * The [79]-fbpm option provides FBPM support for hardware that provides framebuffer power management (it needs to be disabled when vnc clients are connected). - * The [75]-xinerama option is now on by default. Use -noxinerama + * The [80]-xinerama option is now on by default. Use -noxinerama option to disable. * Bug fixes and speedups. Here are some features that will appear in the 0.8.2 release: - * The [76]-ssl option provides SSL encryption and authentication - natively via the [77]www.openssl.org library. One can use from a + * The [81]-ssl option provides SSL encryption and authentication + natively via the [82]www.openssl.org library. One can use from a simple self-signed certificate server certificate up to full CA and client certificate authentication schemes. - * The [78]-stunnel option starts up a SSL tunnel server stunnel + * The [83]-stunnel option starts up a SSL tunnel server stunnel (that must be installed separately on the system: - [79]www.stunnel.org) to allow only encrypted SSL connections from + [84]www.stunnel.org) to allow only encrypted SSL connections from the network. - * The [80]-sslverify option allows for authenticating VNC clients + * The [85]-sslverify option allows for authenticating VNC clients via their certificates in either -ssl or -stunnel modes. * An SSL enabled Java applet VNC Viewer applet is provided in classes/ssl/VncViewer.jar. It may also be loaded into the web browser via https (http over SSL) in addition to http. (via the - VNC port or also by the separate [81]-https port option). A - wrapper shell script [82]ssl_vncviewer is also provided that sets + VNC port or also by the separate [86]-https port option). A + wrapper shell script [87]ssl_vncviewer is also provided that sets up a stunnel client-side tunnel on Unix systems. - * The [83]-unixpw option supports Unix username and password - authentication (a variant is the [84]-unixpw_nis option that works - in NIS environments). The [85]-ssl or [86]-localhost + - [87]-stunnel options are enforced in this mode to prevent password + * The [88]-unixpw option supports Unix username and password + authentication (a variant is the [89]-unixpw_nis option that works + in NIS environments). The [90]-ssl or [91]-localhost + + [92]-stunnel options are enforced in this mode to prevent password sniffing. As a convenience, the -ssl or -stunnel requirements are lifted if a SSH tunnel can be deduced (but -localhost still applies). - - Here are some [88]previous release notes + * The [93]-display WAIT:... option extends the normal [94]-display + option by having x11vnc wait until a VNC viewer connects before + attaching to an X display. A command can also be supplied that + will determine the DISPLAY and XAUTHORITY data. A default one is + built-in for WAIT:cmd=FINDDISPLAY. Coupling this with "-unixpw + -users unixpw=" provides a way to allow a user to login with their + UNIX password and have their display connected to + [95]automatically. + + Here are some [96]previous release notes _________________________________________________________________ Some Notes: @@ -672,11 +685,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 [89]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [97]-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 [90]TightVNC encoding gives the best response for my + I also find the [98]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. @@ -688,16 +701,16 @@ 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 "[91]-rfbport NNNN" + far-away.east:1. You can force the port with the "[99]-rfbport NNNN" option where NNNN is the desired port number. If that port is already taken, x11vnc will exit immediately. (also see the "SunRay Gotcha" note below) Options: x11vnc has (far too) many features that may be activated - via its [92]command line options. Useful options are, e.g., -scale to + via its [100]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 - [93]-storepasswd option can be used to create the password file). + [101]-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 @@ -724,17 +737,18 @@ 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 [94]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 much use: you will - normally run and display the viewer on a different machine! + window manager decorations. There will be an [102]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 + much use: you will normally run and display the viewer on a different + machine! _________________________________________________________________ Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [95]SunRay - session. Here are some [96]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [103]SunRay + session. Here are some [104]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -746,9 +760,9 @@ 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 - [97]-scrollcopyrect and [98]-wireframe speedups using the CopyRect - VNC encoding and other things, but they only speed up certain - activities, not all. + [105]-scrollcopyrect and [106]-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 hardware is optimized for writing, not reading (x11vnc reads the video framebuffer for the screen image data). The difference can @@ -793,14 +807,14 @@ make be of use for special purpose applications. Also, a faster and more accurate way is to use the "dummy" XFree86/Xorg device driver (or our Xdummy wrapper script). See - [99]this FAQ for details. + [107]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" [100]options, however, for a partial hack + X" and "-cursor some" [108]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 [101]-overlay option is also supplied. A similar thing is done + the [109]-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 @@ -808,20 +822,20 @@ 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 [102]the FAQ on this below.) The + redirectors do exist, e.g. esd [110]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 [103]-scrollcopyrect option + * The scroll detection algorithm for the [111]-scrollcopyrect option can give choppy or bunched up transient output and occasionally painting errors. * Occasionally a patch of tiles will not get updated correctly. Evidently a timing related bug and difficult to reproduce... * Using -threads can expose some bugs in libvncserver. - Please feel free to [104]contact me if you have any questions, + Please feel free to [112]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [105]this link + Also, some people ask if they can make a donation, see [113]this link for that. _________________________________________________________________ @@ -830,327 +844,327 @@ make [Building and Starting] - [106]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [114]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? - [107]Q-2: I can't get x11vnc and/or libvncserver to compile. + [115]Q-2: I can't get x11vnc and/or libvncserver to compile. - [108]Q-3: I just built x11vnc successfully, but when I use it my + [116]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). - [109]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [117]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [110]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [118]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [111]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [119]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [112]Q-7: How can I see all of x11vnc's command line options and + [120]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [113]Q-8: I don't like typing arcane command line options every time I + [121]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? - [114]Q-9: How can I get the GUI to run in the System Tray, or at least + [122]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [115]Q-10: Can I make x11vnc more quiet and also go into the + [123]Q-10: Can I make x11vnc more quiet and also go into the background after starting up? - [116]Q-11: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [124]Q-11: 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. - [117]Q-12: Are there any build-time customizations possible, e.g. + [125]Q-12: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [118]Q-13: I have two separate machine displays in front of me, one + [126]Q-13: 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? - [119]Q-14: I am running Win2VNC on my Windows machine and "x11vnc + [127]Q-14: 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 [Color Issues] - [120]Q-15: The X display I run x11vnc on is only 8 bits per pixel + [128]Q-15: 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. - [121]Q-16: Color problems: Why are the colors for some windows + [129]Q-16: 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. - [122]Q-17: How do I figure out the window id to supply to the -id + [130]Q-17: How do I figure out the window id to supply to the -id windowid option? - [123]Q-18: Why don't menus or other transient windows come up when I + [131]Q-18: Why don't menus or other transient windows come up when I am using the -id windowid option to view a single application window? - [124]Q-19: My X display is depth 24 at 24bpp (instead of the normal + [132]Q-19: 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] - [125]Q-20: Can I use x11vnc to view and interact with an Xterminal + [133]Q-20: 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? - [126]Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [134]Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? [Sun Rays] - [127]Q-22: I'm having trouble using x11vnc with my Sun Ray session. + [135]Q-22: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [128]Q-23: How do I stop x11vnc once it is running in the background? + [136]Q-23: How do I stop x11vnc once it is running in the background? - [129]Q-24: Can I change settings in x11vnc without having to restart + [137]Q-24: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [130]Q-25: How do I create a VNC password for use with x11vnc? + [138]Q-25: How do I create a VNC password for use with x11vnc? - [131]Q-26: Can I make it so -storepasswd doesn't show my password on + [139]Q-26: Can I make it so -storepasswd doesn't show my password on the screen? - [132]Q-27: Can I have two passwords for VNC viewers, one for full + [140]Q-27: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [133]Q-28: Can I have as many full-access and view-only passwords as I + [141]Q-28: Can I have as many full-access and view-only passwords as I like? - [134]Q-29: Does x11vnc support Unix usernames and passwords? Can I + [142]Q-29: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - [135]Q-30: Why does x11vnc exit as soon as the VNC viewer disconnects? + [143]Q-30: 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? - [136]Q-31: Can I limit which machines incoming VNC clients can connect + [144]Q-31: Can I limit which machines incoming VNC clients can connect from? - [137]Q-32: How do I build x11vnc/libvncserver with libwrap + [145]Q-32: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [138]Q-33: Can I have x11vnc only listen on one network interface + [146]Q-33: 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? - [139]Q-34: Now that -localhost implies listening only on the loopback + [147]Q-34: 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? - [140]Q-35: Can I fine tune what types of user input are allowed? E.g. + [148]Q-35: 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? - [141]Q-36: Can I prompt the user at the local X display whether the + [149]Q-36: 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? - [142]Q-37: I start x11vnc as root because it is launched via inetd(8) + [150]Q-37: 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? - [143]Q-38: I use a screen-lock when I leave my workstation (e.g. + [151]Q-38: 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? - [144]Q-39: Can I have x11vnc automatically lock the screen when I + [152]Q-39: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? [Encrypted Connections] - [145]Q-40: How can I tunnel my connection to x11vnc via an encrypted + [153]Q-40: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [146]Q-41: How can I tunnel my connection to x11vnc via an encrypted + [154]Q-41: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [147]Q-42: How can I tunnel my connection to x11vnc via an encrypted + [155]Q-42: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [148]Q-43: Does x11vnc have built-in SSL tunneling? + [156]Q-43: Does x11vnc have built-in SSL tunneling? - [149]Q-44: How do I use VNC Viewers with built-in SSL tunneling? + [157]Q-44: How do I use VNC Viewers with built-in SSL tunneling? - [150]Q-45: How do I use VNC Viewers with built-in SSL tunneling when + [158]Q-45: How do I use VNC Viewers with built-in SSL tunneling when going through a Web Proxy? - [151]Q-46: Can Apache web server act as a gateway for users to connect + [159]Q-46: 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? - [152]Q-47: Can I create and use my own SSL Certificate Authority (CA) + [160]Q-47: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [153]Q-48: How can I run x11vnc as a "service" that is always + [161]Q-48: How can I run x11vnc as a "service" that is always available? - [154]Q-49: How can I use x11vnc to connect to an X login screen like + [162]Q-49: 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). - [155]Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [163]Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [156]Q-51: Can I have x11vnc allow a user to log in with her UNIX + [164]Q-51: Can I have x11vnc allow a user to log in with her UNIX password and then have it find her X display on that machine and connect to it? - [157]Q-52: Can I have x11vnc restart itself after it terminates? + [165]Q-52: Can I have x11vnc restart itself after it terminates? - [158]Q-53: How do I make x11vnc work with the Java VNC viewer applet + [166]Q-53: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [159]Q-54: Are reverse connections (i.e. the VNC server connecting to + [167]Q-54: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [160]Q-55: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [168]Q-55: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real display, but for a virtual one I keep around). - [161]Q-56: How can I use x11vnc on "headless" machines? Why might I + [169]Q-56: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [162]Q-57: I have lots of memory, but why does x11vnc fail with + [170]Q-57: 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)? - [163]Q-58: How can I make x11vnc use less system resources? + [171]Q-58: How can I make x11vnc use less system resources? - [164]Q-59: How can I make x11vnc use MORE system resources? + [172]Q-59: How can I make x11vnc use MORE system resources? - [165]Q-60: I use x11vnc over a slow link with high latency (e.g. + [173]Q-60: I use x11vnc over a slow link with high latency (e.g. dialup modem), is there anything I can do to speed things up? - [166]Q-61: Does x11vnc support the X DAMAGE Xserver extension to find + [174]Q-61: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [167]Q-62: When I drag windows around with the mouse or scroll up and + [175]Q-62: 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? - [168]Q-63: Why not do something like wireframe animations to avoid the + [176]Q-63: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [169]Q-64: Can x11vnc try to apply heuristics to detect when an window + [177]Q-64: Can x11vnc try to apply heuristics to detect when an window is scrolling its contents and use the CopyRect encoding for a speedup? [Mouse Cursor Shapes] - [170]Q-65: Why isn't the mouse cursor shape (the little icon shape + [178]Q-65: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? - [171]Q-66: When using XFIXES cursorshape mode, some of the cursors + [179]Q-66: 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? - [172]Q-67: In XFIXES mode, are there any hacks to handle cursor + [180]Q-67: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [173]Q-68: Why does the mouse arrow just stay in one corner in my + [181]Q-68: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - [174]Q-69: Can I take advantage of the TightVNC extension to the VNC + [182]Q-69: 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)? - [175]Q-70: Is it possible to swap the mouse buttons (e.g. left-handed + [183]Q-70: 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] - [176]Q-71: How can I get my AltGr and Shift modifiers to work between + [184]Q-71: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [177]Q-72: When I try to type a "<" (i.e. less than) instead I get ">" + [185]Q-72: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [178]Q-73: When I try to type a "<" (i.e. less than) instead I get + [186]Q-73: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [179]Q-74: I'm using an "international" keyboard (e.g. German "de", or + [187]Q-74: 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? - [180]Q-75: When typing I sometimes get double, triple, or more of my + [188]Q-75: 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? - [181]Q-76: The x11vnc -norepeat mode is in effect, but I still get + [189]Q-76: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [182]Q-77: The machine where I run x11vnc has an AltGr key, but the + [190]Q-77: 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? - [183]Q-78: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [191]Q-78: 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) - [184]Q-79: Can I map a keystroke to a mouse button click on the remote + [192]Q-79: Can I map a keystroke to a mouse button click on the remote machine? - [185]Q-80: How can I get Caps_Lock to work between my VNC viewer and + [193]Q-80: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [186]Q-81: The remote display is larger (in number of pixels) than the + [194]Q-81: 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? - [187]Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. + [195]Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [188]Q-83: Does x11vnc work with Xinerama? (i.e. multiple monitors + [196]Q-83: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [189]Q-84: Can I use x11vnc on a multi-headed display that is not + [197]Q-84: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [190]Q-85: Can x11vnc show only a portion of the display? (E.g. for a + [198]Q-85: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - [191]Q-86: Does x11vnc support the XRANDR (X Resize, Rotate and + [199]Q-86: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [192]Q-87: Why is the view in my VNC viewer completely black? Or why + [200]Q-87: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [193]Q-88: I use Linux Virtual Consoles (VC's) to implement 'Fast User + [201]Q-88: 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 @@ -1158,15 +1172,15 @@ make otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [194]Q-89: Can I use x11vnc to view my VMWare session remotely? + [202]Q-89: Can I use x11vnc to view my VMWare session remotely? - [195]Q-90: Can non-X devices (e.g. a raw framebuffer) be viewed (and + [203]Q-90: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) with VNC via x11vnc? - [196]Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using + [204]Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [197]Q-92: I am using x11vnc where my local machine has "popup/hidden + [205]Q-92: I am using x11vnc where my local machine has "popup/hidden taskbars" (e.g. GNOME or MacOS X) and the remote display where x11vnc runs also has "popup/hidden taskbars" (e.g. GNOME). When I move the mouse to the edge of the screen where the popups happen, the taskbars @@ -1174,18 +1188,18 @@ make [Misc: Clipboard, File Transfer, Sound, Beeps, Thanks, etc.] - [198]Q-93: Does the Clipboard/Selection get transferred between the + [206]Q-93: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [199]Q-94: Can I transfer files back and forth with x11vnc? + [207]Q-94: Can I transfer files back and forth with x11vnc? - [200]Q-95: How can I hear the sound (audio) from the remote + [208]Q-95: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [201]Q-96: Why don't I hear the "Beeps" in my X session (e.g. when + [209]Q-96: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [202]Q-97: Thanks for your program and for your help! Can I make a + [210]Q-97: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1198,7 +1212,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 [203]-display + on). Set your DISPLAY environment variable or use the [211]-display option to specify it. Nearly always the correct value will be ":0" @@ -1215,7 +1229,7 @@ make How to Solve: See the xauth(1), Xsecurity(7), and xhost(1) man pages for much info on X11 permissions. For example, you may need to set - your XAUTHORITY environment variable or use the [204]-auth option to + your XAUTHORITY environment variable or use the [212]-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), or simply be sure you run x11vnc as the correct user (i.e. the user @@ -1237,7 +1251,7 @@ 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 [205]this faq for other display manager + read the gdm cookie file, see [213]this faq for other display manager cookie file names). While running x11vnc as root, remember it comes with no warranty ;-). @@ -1247,7 +1261,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 [206]-users option). + (please read the documentation on the [214]-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 @@ -1359,7 +1373,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [207]Solaris build script to run the configure command. That + above [215]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 @@ -1385,7 +1399,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 - [208]SunOS 4.x + [216]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 @@ -1395,28 +1409,28 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [209]build steps above and [210]FAQ provide enough info + Hopefully the [217]build steps above and [218]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: - Debian: (.deb) [211]http://packages.debian.org/x11vnc - - Slackware: (.tgz) [212]http://www.linuxpackages.net/ Redhat/Fedora: - (.rpm) [213]http://dag.wieers.com/packages/x11vnc/ - [214]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) - [215]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) - [216]http://www.sunfreeware.com/ FreeBSD: (.tbz) - [217]http://www.freebsd.org/ OpenBSD: (.tgz) - [218]http://www.openbsd.org/ NetBSD: (src) - [219]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) - [220]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus - [221]http://www.pdaxrom.org/ and [222]http://www.focv.com/ + Debian: (.deb) [219]http://packages.debian.org/x11vnc + + Slackware: (.tgz) [220]http://www.linuxpackages.net/ Redhat/Fedora: + (.rpm) [221]http://dag.wieers.com/packages/x11vnc/ + [222]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) + [223]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) + [224]http://www.sunfreeware.com/ FreeBSD: (.tbz) + [225]http://www.freebsd.org/ [226]http://www.freshports.org/net/x11vnc + OpenBSD: (.tgz) [227]http://www.openbsd.org/ NetBSD: (src) + [228]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) + [229]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus + [230]http://www.pdaxrom.org/ and [231]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 [223]my collection of + (and all else fails!) you can try one of [232]my collection of binaries for various OS's and x11vnc releases. As a general note, the x11vnc program is simple enough you don't @@ -1437,10 +1451,10 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [224]http://www.tightvnc.com/download.html - * [225]http://www.realvnc.com/download-free.html - * [226]http://sourceforge.net/projects/cotvnc/ - * [227]http://www.ultravnc.com/ + * [233]http://www.tightvnc.com/download.html + * [234]http://www.realvnc.com/download-free.html + * [235]http://sourceforge.net/projects/cotvnc/ + * [236]http://www.ultravnc.com/ Q-7: How can I see all of x11vnc's command line options and @@ -1448,7 +1462,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 - [228]here as well. + [237]here as well. Q-8: I don't like typing arcane command line options every time I @@ -1478,10 +1492,10 @@ display :0 remote-control functionality ("-R") that was added. The /usr/bin/wish 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. See the [229]-gui + many x11vnc parameters and obtain help on them. See the [238]-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 "[230]-gui tray" system + display x11vnc is polling. There is also a "[239]-gui tray" system tray mode. @@ -1509,11 +1523,11 @@ display :0 Q-10: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [231]-q and [232]-bg options, respectively. (also: -quiet is + Use the [240]-q and [241]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[233]-o logfile" option. + the "[242]-o logfile" option. Q-11: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with @@ -1534,7 +1548,7 @@ display :0 There are some options. They are enabled by adding something like -Dxxxx=1 to the CPPFLAGS environment variable before running configure - (see the [234]build notes for general background). + (see the [243]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -1605,21 +1619,21 @@ display :0 dual-screen mode to pass the keystrokes and mouse motions to the X11 display? - Yes, for best response start up x11vnc with the "[235]-nofb" option + Yes, for best response start up x11vnc with the "[244]-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 [236]x2vnc, however you would + This will also work X11 to X11 using [245]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: - * [237]Original Win2VNC - * [238]Enhanced Win2VNC and [239]sourceforge link - * [240]x2vnc - * [241]x2x also [242]here - * [243]zvnc (MorphOS) + * [246]Original Win2VNC + * [247]Enhanced Win2VNC and [248]sourceforge link + * [249]x2vnc + * [250]x2x also [251]here + * [252]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). @@ -1639,7 +1653,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 [244]-visual option to allow you to force the framebuffer + has the [253]-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: @@ -1654,7 +1668,7 @@ display :0 PseudoColor (i.e. only 256 distinct colors). The x11vnc colors may start out OK, but after a while they are incorrect in certain windows. - Use the [245]-flashcmap option to have x11vnc watch for changes in the + Use the [254]-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 @@ -1663,13 +1677,13 @@ display :0 example of this. Consider reconfiguring the system to 16 bpp or depth 24 TrueColor if at all possible. - Also note the option [246]-8to24 (Jan/2006) can often remove the need + Also note the option [255]-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 [247]-notruecolor option has corrected colors + In some rare cases the [256]-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. @@ -1680,13 +1694,13 @@ display :0 different color depths: e.g. there are both depth 8 and 24 visuals available at the same time. - You may want to review the [248]previous question regarding 8 bpp + You may want to review the [257]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [249]-overlay option + On some hardware (Sun/SPARC and SGI), the [258]-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 - [250]-8to24 option may help (also discussed below). + [259]-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 @@ -1722,7 +1736,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 [251]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [260]-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 @@ -1747,7 +1761,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [252]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [261]-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 @@ -1761,11 +1775,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [253]-flashcmap to avoid color flashing completely. + [262]-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: [254]-fixscreen V=3.0 to + row, or by using something like: [263]-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. @@ -1778,23 +1792,23 @@ TrueColor defdepth 24 nogetimage can give a nice speedup if the default depth 24 X server supports hiding the 8bpp bits in bits 25-32 of the framebuffer data. On very slow machines -8to24 poll=0.2,cachewin=5.0 gives an useful - speedup. See the [255]-8to24 help description for information on + speedup. See the [264]-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 [256]-id option to + possible workaround in this case is to use the [265]-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 [257]-8to24 method + for x11vnc to be able to do so in real time. The [266]-8to24 method does this approximately and is somewhat usable. Fortunately the - [258]-overlay option works for Solaris machines with overlay visuals + [267]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. @@ -1805,9 +1819,9 @@ TrueColor defdepth 24 the desired application window. After clicking, it will print out much information, including the window id (e.g. 0x6000010). Also, the visual and depth of the window printed out is often useful in - debugging x11vnc [259]color problems. + debugging x11vnc [268]color problems. - Also, as of Dec/2004 you can use "[260]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[269]-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. @@ -1825,7 +1839,7 @@ TrueColor defdepth 24 you should be able to see these transient windows. If things are not working and you still want to do the single window - polling, try the [261]-sid windowid option ("shifted" windowid). + polling, try the [270]-sid windowid option ("shifted" windowid). Q-19: My X display is depth 24 at 24bpp (instead of the normal depth @@ -1860,7 +1874,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 [262]-24to32 option to have + Update: as of Apr/2006 you can use the [271]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra transformation could slow things down further. @@ -1879,15 +1893,15 @@ TrueColor defdepth 24 since you will be polling the X display over the network as opposed to over the local hardware. To do this, run x11vnc on a UNIX machine as close as possible network-wise (e.g. same switch) to the Xterminal - machine. Use the [263]-display option to point the display to that of + machine. Use the [272]-display option to point the display to that of the Xterminal (you'll of course need basic X11 permission to do that) - and also supply the [264]-noshm option (this enables the polling over + and also supply the [273]-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 [265]-flipbyteorder if the + on the polling rate. You may also need [274]-flipbyteorder if the colors get messed up due to endian byte order differences. Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct @@ -1911,7 +1925,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 - [266]-auth option to point to the correct file). Other options include + [275]-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 - @@ -1923,7 +1937,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [267]this note on the "xauth add ..." command. + two hosts, see [276]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 @@ -1937,7 +1951,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 [268]poll + Not recommended, but as a last resort, you could have x11vnc [277]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...) @@ -1966,13 +1980,13 @@ TrueColor defdepth 24 Q-22: I'm having trouble using x11vnc with my Sun Ray session. - The [269]Sun Ray technology is a bit like "VNC done in hardware" (the + The [278]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 [270]this discussion of Sun Ray issues for + "Soft Ray". Please see [279]this discussion of Sun Ray issues for solutions to problems. [Remote Control] @@ -1980,17 +1994,17 @@ TrueColor defdepth 24 Q-23: 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 [271]-remote and [272]-query + amount of things on the fly: see the [280]-remote and [281]-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 [273]-forever option has not been supplied, x11vnc will + If the [282]-forever option has not been supplied, x11vnc will automatically exit after the first client disconnects. In general 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 [274]-bg option + If you have not put x11vnc in the background via the [283]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2000,15 +2014,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 [275]-clear_mods - option and [276]-clear_keys option can be used to release pressed keys + by tapping Ctrl, Shift, and Alt. Alternatively, the [284]-clear_mods + option and [285]-clear_keys option can be used to release pressed keys at startup and exit. Q-24: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [277]-remote (same as -R) and [278]-query (same as -Q) + Look at the [286]-remote (same as -R) and [287]-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", @@ -2019,7 +2033,7 @@ 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 [279]-gui option for more info. You will need to + mechanism. See the [288]-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". @@ -2034,12 +2048,12 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [280]option, which is the same functionality of storepasswd. Be sure + [289]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: "[281]-rfbauth + You then use the password via the x11vnc option: "[290]-rfbauth $HOME/myvncpasswd" If you do not supply any arguments: @@ -2051,11 +2065,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [282]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [291]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [283]-usepw option to automatically use any password + You can use the [292]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2086,14 +2100,14 @@ TrueColor defdepth 24 Q-27: 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 [284]-viewpasswd option to supply the - view-only password. Note the full-access password option [285]-passwd + Yes, as of May/2004 there is the [293]-viewpasswd option to supply the + view-only password. Note the full-access password option [294]-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 - [286]-passwdfile option to specify a file containing plain text + [295]-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 @@ -2101,7 +2115,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 [287]-rfbauth + View-only passwords currently do not work for the [296]-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 @@ -2114,7 +2128,7 @@ TrueColor defdepth 24 Q-28: Can I have as many full-access and view-only passwords as I like? - Yes, as of Jan/2006 in the libvncserver CVS the [288]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [297]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2128,7 +2142,7 @@ TrueColor defdepth 24 Until the VNC protocol and libvncserver support this things will be approximate at best. - Update: as of Feb/2006 x11vnc has the [289]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [298]-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 @@ -2138,7 +2152,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [290]-unixpw_nis option for non-shadow-password + There is also the [299]-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 @@ -2147,7 +2161,7 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [291]-localhost and 2) [292]-stunnel + provide extra security: the 1) [300]-localhost and 2) [301]-stunnel 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 (the @@ -2165,13 +2179,13 @@ TrueColor defdepth 24 Previous discussion: One approximate method involves starting x11vnc - with the [293]-localhost option. This basically requires the viewer + with the [302]-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 [294]elsewhere on this page. [295]stunnel does this as well. + mentioned [303]elsewhere on this page. [304]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 @@ -2182,7 +2196,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 [296]-accept option that runs a program to examine the connection + the [305]-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 @@ -2221,15 +2235,15 @@ exit 1 # reject it These defaults are simple safety measures to avoid someone unknowingly leaving his X11 desktop exposed (to the internet, say) for long - periods of time. Use the [297]-forever option (aka -many) to have + periods of time. Use the [306]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [298]-shared option to have x11vnc allow multiple clients to + Use the [307]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([299]see + Recommended additional safety measures include using ssh ([308]see above), stunnel, or a VPN to authenticate and encrypt the viewer - connections or to at least use the -rfbauth passwd-file [300]option to - use VNC password protection (or [301]-passwdfile) It is up to YOU to + connections or to at least use the -rfbauth passwd-file [309]option to + use VNC password protection (or [310]-passwdfile) It is up to YOU to apply these security measures, they will not be done for you automatically. @@ -2237,7 +2251,7 @@ exit 1 # reject it Q-31: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [302]-allow and [303]-localhost options to limit + Yes, look at the [311]-allow and [312]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -2249,7 +2263,7 @@ exit 1 # reject it Note that -localhost is the same as "-allow 127.0.0.1" For more control, build libvncserver with libwrap support - [304](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [313](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. @@ -2269,7 +2283,7 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [305]inetd you do not need to build + Note that if you run x11vnc out of [314]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. @@ -2278,15 +2292,15 @@ exit 1 # reject it internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - As of Mar/2005 there is the "[306]-listen ipaddr" option that enables + As of Mar/2005 there is the "[315]-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 - "[307]-allow host1,..." option to allow only specific hosts in. + "[316]-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 [308]-localhost now implies "-listen localhost" since that + The option [317]-localhost now implies "-listen localhost" since that is what most people expect it to do. @@ -2294,17 +2308,17 @@ exit 1 # reject it interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - To do this specify "[309]-allow localhost". Unlike [310]-localhost + To do this specify "[318]-allow localhost". Unlike [319]-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. Note that if you do a lot of changing of the listening interface - ([311]-listen option) via remote control or gui, you may need to also - manually adjust the [312]-allow list if you unexpectedly get into a + ([320]-listen option) via remote control or gui, you may need to also + manually adjust the [321]-allow list if you unexpectedly get into a state where the allow list cannot match any hosts that would be coming - in on the listening interface. If you just toggle [313]-localhost on + in on the listening interface. If you just toggle [322]-localhost on and off x11vnc should see to it that you never get into such a state. @@ -2312,7 +2326,7 @@ exit 1 # reject it some users just be able to move the mouse, but not click or type anything? - As of Feb/2005, the [314]-input option allows you to do this. "K", + As of Feb/2005, the [323]-input option allows you to do this. "K", "M", and "B" stand for Keystroke, Mouse-motion, and Button-clicks, respectively. The setting: "-input M" makes attached viewers only able to move the mouse. "-input KMB,M" lets normal clients do everything @@ -2327,7 +2341,7 @@ exit 1 # reject it some clients view-only? How about running an arbitrary program to make the decisions? - Yes, look at the "[315]-accept command" option, it allows you to + Yes, look at the "[324]-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 @@ -2346,7 +2360,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 [316]-viewonly option has been + mouse on the "View" button. If the [325]-viewonly option has been supplied, the "View" action will not be present: the whole display is view only in that case. @@ -2362,7 +2376,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 [317]ftp://ftp.x.org/ + is available at [326]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 @@ -2401,7 +2415,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [318]dtVncPopup for use + Stefan Radman has written a nice dtksh script [327]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. @@ -2410,7 +2424,7 @@ 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 "[319]-gone + To run a command when a client disconnects, use the "[328]-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 @@ -2421,7 +2435,7 @@ exit 1 display manager like gdm(1). Can I have x11vnc later switch to a different user? - As of Feb/2005 x11vnc has the [320]-users option that allows things + As of Feb/2005 x11vnc has the [329]-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. @@ -2446,7 +2460,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 [321]blockdpy.c The idea behind it is simple (but + source for it is [330]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 @@ -2462,8 +2476,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 [322]-accept option and told - to exit via the [323]-gone option (the vnc client user should + The blockdpy utility is launched by the [331]-accept option and told + to exit via the [332]-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. @@ -2471,7 +2485,7 @@ exit 1 Q-39: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [324]-gone option under CDE to run a + Yes, a user mentions he uses the [333]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -2480,7 +2494,7 @@ exit 1 x11vnc -display :0 -forever -gone 'kdesktop_lock' x11vnc -display :0 -forever -gone 'xlock &' - Here is a scheme using the [325]-afteraccept option (in version 0.7.3) + Here is a scheme using the [334]-afteraccept option (in version 0.7.3) 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 @@ -2511,7 +2525,7 @@ fi Q-40: 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 [326]how to tunnel VNC via + See the description earlier on this page on [335]how to tunnel VNC via SSH from Unix to Unix. A number of ways are described along with some issues you may encounter. @@ -2522,7 +2536,7 @@ fi Q-41: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [327]Above we described how to tunnel VNC via SSH from Unix to Unix, + [336]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 @@ -2545,8 +2559,8 @@ fi process in a BAT file including launching the VNC viewer by using the plink Putty utility. Send us the script if you get that working. - For extra protection feel free to run x11vnc with the [328]-localhost - and [329]-rfbauth/[330]-passwdfile options. + For extra protection feel free to run x11vnc with the [337]-localhost + and [338]-rfbauth/[339]-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 @@ -2554,11 +2568,11 @@ fi 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 [331]chaining ssh's. + automated by [340]chaining ssh's. - As discussed [332]above another option is to first start the VNC + As discussed [341]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[333]-connect localhost" option to establish the reverse connection. + "[342]-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). @@ -2568,7 +2582,7 @@ fi 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 [334]stunnel provide an encrypted channel + IPSEC. SSL tunnels such as [343]stunnel provide an encrypted channel without the need for Unix users, passwords, and key passphrases required for ssh (and at the other extreme can also provide a complete signed certificate chain of trust). OTOH, since SSH is usually @@ -2576,12 +2590,12 @@ fi frequently the path of least resistance (it also nicely manages public keys for you). - Update: As of Feb/2006 x11vnc has the options [335]-ssl, - [336]-stunnel, and [337]-sslverify to provide integrated SSL schemes. - They are discussed [338]in the Next FAQ (you may want to skip to it + Update: As of Feb/2006 x11vnc has the options [344]-ssl, + [345]-stunnel, and [346]-sslverify to provide integrated SSL schemes. + They are discussed [347]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [339]stunnel but the general idea + Here are some basic examples using [348]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 @@ -2605,7 +2619,7 @@ fi 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 [340]signed by + stunnel is built. One can also create certificates [349]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. @@ -2619,7 +2633,7 @@ fi 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 [341]ssl_vncviewer script can automate + That's it. (note that the [350]ssl_vncviewer script can automate this.) Be sure to use a VNC password because unlike ssh by default the @@ -2627,13 +2641,13 @@ fi 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 [342]the key management section for details. + and also [351]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 [343]article The article also + found at the stunnel site and in this [352]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [344]x11vnc + certificates. (for both server and clients, see also the [353]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 @@ -2654,7 +2668,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 [345]-inetd mode: + start up x11vnc in [354]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -2697,16 +2711,16 @@ connect = 5900 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 [346]SSL-enabled - Java applet that can be served up via the [347]-httpdir or [348]-http - options when [349]-ssl is enabled. It will also be served via HTTPS + Note: as of Mar/2006 libvncserver/x11vnc provides a [355]SSL-enabled + Java applet that can be served up via the [356]-httpdir or [357]-http + options when [358]-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 [350]-https option. + the [359]-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 [351]-stunnel option on the server side it works well and is - convenient. Here is a simple script [352]ssl_vncviewer that automates + the [360]-stunnel option on the server side it works well and is + convenient. Here is a simple script [361]ssl_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.) @@ -2714,7 +2728,7 @@ connect = 5900 Q-43: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [353]in the Previous FAQ + You can read about non-built-in methods [362]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 @@ -2725,14 +2739,14 @@ connect = 5900 Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [354]-ssl and [355]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [356]SSL-enabled - Java Viewer applet also provided that can be served via http or https - to automate SSL on the client side. + As of Feb/2006 the x11vnc [363]-ssl and [364]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [365]SSL-enabled + Java Viewer applet is also provided that can be served via http or + https to automate SSL on the client side. - The [357]-ssl mode uses the [358]www.openssl.org library if available - at build time. The [359]-stunnel mode requires the - [360]www.stunnel.org command stunnel(8) to be installed on the system. + The [366]-ssl mode uses the [367]www.openssl.org library if available + at build time. The [368]-stunnel mode requires the + [369]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" @@ -2784,12 +2798,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 [361]x11vnc Key Management for some utilities + See the discussion on [370]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 [362]ssl_vncviewer provides an example on unix + The wrapper script [371]ssl_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -2805,7 +2819,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 - [363]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [372]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.) @@ -2830,7 +2844,7 @@ connect = 5900 including using https to download it into the browser and connect to x11vnc. - See the [364]next FAQ for SSL enabled VNC Viewers. + See the [373]next FAQ for SSL enabled VNC Viewers. Q-44: How do I use VNC Viewers with built-in SSL tunneling? @@ -2841,14 +2855,14 @@ connect = 5900 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 [365]-httpdir can be used to specify the path to .../classes/ssl. + the [374]-httpdir can be used to specify the path to .../classes/ssl. A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - the [366]-http can be used to try to have it find the directory + [375]-http can be used to try to have it find the directory automatically. 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 + browser via HTTPS (i.e. HTTP over SSL). This way the HTML page and the Java applet itself are delivered securely (as opposed to only the VNC traffic being encrypted). @@ -2865,10 +2879,10 @@ connect = 5900 could point the web browser at to get the VNC viewer applet. The https service provided thru the actual VNC port (5900 in the above - example) can be slow or unreliable at times (it has to read some input - and try to guess if the connection is VNC or HTTP). If it is + 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 [367]-https option to get an additional port dedicated to https + the [376]-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: @@ -2880,9 +2894,11 @@ connect = 5900 timeout to expire before it assumes a VNC connection. You may also use "?GET=somestring" to have /somestring prepended to - /request.https.vnc.connection". If you need to have slashes "/" in the - string use "_2F_" (a deficiency in libvncserver prevents using the - more natural "%2F". + /request.https.vnc.connection". Perhaps you are using a web server + [377]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".) If you do serve the SSL enabled Java viewer via https be prepared for quite a number of "are you sure you trust this site?" dialogs: @@ -2903,7 +2919,7 @@ connect = 5900 connection is VNC instead of the HTTPS it actually is (but since you have paused too long at the dialog the GET request comes too late). Often hitting Reload and going through the dialogs more quickly will - let you connect. Use the [368]-https option if you want a dedicated + let you connect. Use the [378]-https option if you want a dedicated port for HTTPS connections instead of sharing the VNC port. @@ -2912,10 +2928,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 [369]for + package. The basic ideas of doing this were discussed [379]for external tunnel utilities here. - The [370]ssl_vncviewer script provided with x11vnc can set up the + The [380]ssl_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 @@ -2947,10 +2963,10 @@ 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 [371]this page for more information on + separate the two by commas. See [381]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [372]here, + If one uses a Certificate Authority (CA) scheme described [382]here, the wrapper script would use the CA cert instead of the server cert: 3') ssl_vncviewer -verify ./cacert.crt far-away.east:0 @@ -2986,7 +3002,7 @@ connect = 5900 (instead of the unsigned one in https://yourmachine.com:5900/ that gives the default index.vnc) - Note that the [373]ssl_vncviewer stunnel wrapper script can use Web + Note that the [383]ssl_vncviewer stunnel wrapper script can use Web proxies as well. Proxies that limit CONNECT to ports 443 and 563: @@ -3015,7 +3031,7 @@ 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 [374]trick discussed above, do: + parameters in the URL. To use the GET [384]trick discussed above, do: https://yourmachine.com/proxy.vnc?PORT=443&GET=1 @@ -3023,7 +3039,7 @@ connect = 5900 SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? Yes. You will need to configure apache to forward these connections. - It is discussed [375]here. This provides a clean alternative to the + It is discussed [385]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. @@ -3031,7 +3047,7 @@ connect = 5900 Q-47: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [376]this page for how to do this and the utility commands + Yes, see [386]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -3050,13 +3066,13 @@ connect = 5900 need to have sufficient permissions to connect to the X display. Here are some ideas: - * Use the description under "Continuously" in the [377]FAQ on x11vnc + * Use the description under "Continuously" in the [387]FAQ on x11vnc and Display Managers - * Use the description in the [378]FAQ on x11vnc and inetd(8) - * Use the description in the [379]FAQ on Unix user logins and + * Use the description in the [388]FAQ on x11vnc and inetd(8) + * Use the description in the [389]FAQ on Unix user logins and inetd(8) * Start x11vnc from your $HOME/.xsession (or $HOME/.xinitrc) - * Although less reliable, see the [380]x11vnc_loop rc.local hack + * Although less reliable, see the [390]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -3087,7 +3103,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 [381]-auth option sets the XAUTHORITY variable for you). + (the [391]-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 @@ -3112,7 +3128,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 - [382]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [392]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 @@ -3175,7 +3191,7 @@ rever -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 [383]full details + killed immediately after the user logs in. Here are [393]full details on how to configure gdm _________________________________________________________________ @@ -3217,13 +3233,13 @@ rever -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: [384]x11vnc_loop It will need some local + file like rc.local: [394]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. If the machine is a traditional Xterminal you may want to read - [385]this FAQ. + [395]this FAQ. Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? @@ -3233,7 +3249,7 @@ rever -bg 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [386]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [396]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh @@ -3246,7 +3262,7 @@ rever -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 [387]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [397]-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 @@ -3254,7 +3270,7 @@ rever -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 [388]-auth to point to the + Note also the need to set XAUTHORITY via [398]-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 @@ -3322,20 +3338,21 @@ service x11vncservice Q-51: Can I have x11vnc allow a user to log in with her UNIX password and then have it find her X display on that machine and connect to it? - The easiest way to do this is via [389]inetd(8) using the [390]-unixpw - and [391]-display WAIT options. The reason inetd(8) makes this easier - is that is starts a new x11vnc process for each new user connection. + The easiest way to do this is via [399]inetd(8) using the [400]-unixpw + and [401]-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 [392]this example). + x11vnc's (see [402]this example). - The [393]-display WAIT option waits until a VNC viewer is connected - before attaching to the X display, and can also be used to run a - command that returns the DISPLAY and XAUTHORITY data. So one could - supply "-display WAIT:cmd=find_display" where the script find_display - might look something like: + The [403]-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. So one could supply "-display + WAIT:cmd=/path/to/find_display" where the script find_display might + look something like: #!/bin/sh -PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin:/usr/ucb +PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin export PATH if [ "X$user" = "X" ]; then @@ -3345,9 +3362,6 @@ if [ "X$user" = "X" ]; then user=$LOGNAME fi if [ "X$user" = "X" ]; then - user=`whoami 2>dev/null` -fi -if [ "X$user" = "X" ]; then echo "" exit 1 fi @@ -3367,21 +3381,22 @@ xauth extract - "$display" 2>/dev/null exit 0 - At some point a standard script like the above will be used by default - under "-display WAIT:cmd=FINDDISPLAY". The format the script returns - is the first line is DISPLAY=:disp and any remaining lines are either - XAUTHORITY=file or raw xauth data (the above example does the latter). + A default script similar to the above is used under "-display + WAIT:cmd=FINDDISPLAY" (use "WAIT:cmd=FINDDISPLAY-print" to print it + out). The format for any such script is that it returns DISPLAY=:disp + as the first line and any remaining lines are either XAUTHORITY=file + or raw xauth data (the above example does the latter). - The [394]-unixpw option allows [395]UNIX password logins. Here are a + The [404]-unixpw option allows [405]UNIX password logins. Here are a couple /etc/inetd.conf examples for this: 5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd -unixpw \ - -display WAIT:cmd=/path/to/find_display -o /var/log/x11vnc.log -ssl SAVE --ssldir /usr/local/certs + -display WAIT:cmd=FINDDISPLAY -o /var/log/x11vnc.log -ssl SAVE -ssldir /u +sr/local/certs 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd -unixpw \ - -display WAIT:cmd=/path/to/find_display -o /var/log/x11vnc.log -ssl SAVE --users unixpw= + -display WAIT:cmd=FINDDISPLAY -o /var/log/x11vnc.log -ssl SAVE -users uni +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 @@ -3392,20 +3407,20 @@ exit 0 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 "[396]-users unixpw=" option. + logs in due to the "[406]-users unixpw=" option. - Note that [397]SSL is required for this mode because otherwise the - unix password would be passed in clear text. In general -unixpw is not - required for this sort of scheme, but it is convenient because it - determines exactly who the user is whose display should be sought. - Otherwise the find_display script would have to use some method to - work out DISPLAY, XAUTHORITY, etc. + Note that [407]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 user is whose display + should be sought. Otherwise the find_display script would have to use + some method to work out DISPLAY, XAUTHORITY, etc. Q-52: Can I have x11vnc restart itself after it terminates? One could do this in a shell script, but now there is an option - [398]-loop that makes it easier. Of course when x11vnc restarts it + [408]-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" @@ -3416,7 +3431,7 @@ exit 0 web browser? To have x11vnc serve up a Java VNC viewer applet to any web browsers - that connect to it, run x11vnc with this [399]option: + that connect to it, run x11vnc with this [409]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -3435,7 +3450,7 @@ exit 0 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 [400]-http option will try to guess where the Java + As of May/2005 the [410]-http option will try to guess where the Java classes jar file is by looking in expected locations. Also note that if you wanted to, you could also start the Java viewer @@ -3449,7 +3464,7 @@ exit 0 As of Mar/2004 x11vnc supports reverse connections. On Unix one starts the VNC viewer in listen mode: vncviewer -listen (see your documentation for Windows, etc), and then starts up x11vnc with the - [401]-connect option. To connect immediately at x11vnc startup time + [411]-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). @@ -3457,7 +3472,7 @@ exit 0 file is checked periodically (about once a second) for new hosts to connect to. - The [402]-remote control option (aka -R) can also be used to do this + The [412]-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 @@ -3469,7 +3484,7 @@ x11vnc -display :0 -R connect:hostname.domain starting x11vnc. To use the vncconnect(1) program (from the core VNC package at - www.realvnc.com) specify the [403]-vncconnect option to x11vnc (Note: + www.realvnc.com) specify the [413]-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 @@ -3514,7 +3529,7 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" There are some annoyances WRT Xvfb though. The default keyboard mapping seems to be very poor. One should run x11vnc with - [404]-add_keysyms option to have keysyms added automatically. Also, to + [414]-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" @@ -3536,11 +3551,11 @@ xmodmap -e "add Control = Control_L Control_R" 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) [405]switching even though it + Linux Virtual Console/Terminal (VC/VT) [415]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 [406]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [416]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 @@ -3572,7 +3587,7 @@ startx -- /path/to/Xdummy :1 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 [407]this FAQ) and access it from + display via x11vnc (e.g. see [417]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 @@ -3615,7 +3630,7 @@ startx -- /path/to/Xdummy :1 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 [408]shm_clear to list and prompt for removal + Here is a shell script [418]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, @@ -3649,36 +3664,36 @@ ied) in /etc/system. See the next paragraph for more workarounds. To minimize the number of shm segments used by x11vnc try using the - [409]-onetile option (corresponds to only 3 shm segments used, and + [419]-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 - [410]-noshm option. Performance will be somewhat degraded but when + [420]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [411]earlier question discussing -noshm). + [421]earlier question discussing -noshm). Q-58: How can I make x11vnc use less system resources? - The [412]-nap and "[413]-wait n" (where n is the sleep between polls + The [422]-nap and "[423]-wait n" (where n is the sleep between polls in milliseconds, the default is 30 or so) option are good places to start. 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 - [414]-onetile option will use less memory and use fewer shared memory - slots (add [415]-fs 1.0 for one less slot). + [424]-onetile option will use less memory and use fewer shared memory + slots (add [425]-fs 1.0 for one less slot). Q-59: How can I make x11vnc use MORE system resources? - You can try [416]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [417]-defer as well. Note that if you try to + You can try [426]-threads and dial down the wait time (e.g. -wait 1) + and possibly dial down [427]-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 [418]-id option) can be streamed over a LAN or wireless at + the x11vnc [428]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. @@ -3694,7 +3709,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 - [419]-solid [color] option to try to do this automatically. + [429]-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 @@ -3703,9 +3718,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 [420]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [430]-scrollcopyrect is active and detecting scrolls for the application). - * If the [421]-wireframe option is not available (earlier than + * If the [431]-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) @@ -3725,7 +3740,7 @@ ied) noticed. VNC viewer parameters: - * Use a [422]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [432]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 @@ -3748,33 +3763,33 @@ ied) file. x11vnc parameters: - * Make sure the [423]-wireframe option is active (it should be on by + * Make sure the [433]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [424]-scrollcopyrect option is active (it should be + * Make sure the [434]-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. - * Specify [425]-speeds modem to force the wireframe and + * Specify [435]-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 [426]-nodragging (no screen updates when dragging mouse, + drastic [436]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [427]-fs 1.0 (disables fullscreen updates) - * Try increasing [428]-wait or [429]-defer (reduces the maximum + * Set [437]-fs 1.0 (disables fullscreen updates) + * Try increasing [438]-wait or [439]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [430]-progressive pixelheight mode with the block + * Try the [440]-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 [431]-id (cuts + * If you just want to watch one (simple) window use [441]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [432]-nosel (disables all clipboard selection exchange) - * Use [433]-nocursor and [434]-nocursorpos (repainting the remote + * Set [442]-nosel (disables all clipboard selection exchange) + * Use [443]-nocursor and [444]-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 - [435]-readtimeout n setting if it sometimes takes more than 20sec + [445]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. @@ -3796,7 +3811,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 [436]slow (e.g. + in main memory. So reading the fb is still painfully [446]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 @@ -3814,27 +3829,27 @@ 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 "[437]-xd_area A" option to adjust the size + skipped). You can use the "[447]-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 "[438]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[439]-noxdamage". + The option "[448]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[449]-noxdamage". Q-62: 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 [440]slow hardware read rates from + This problem is primarily due to [450]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 - [441]-pointer_mode option for more info. The next bottleneck is + [451]-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 @@ -3844,26 +3859,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 "[442]-pointer_mode 1" option. + the "[452]-pointer_mode 1" option. - Also added was the [443]-nodragging option that disables all screen + Also added was the [453]-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 [444]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [454]-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 [445]-threads option can improve + Also, in some circumstances the [455]-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 [446]wireframe FAQ and - [447]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [456]wireframe FAQ and + [457]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. @@ -3879,8 +3894,8 @@ ied) 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 [448]slow video card - read rates (see [449]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [458]slow video card + read rates (see [459]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. @@ -3888,7 +3903,7 @@ ied) for -wireframe to do any good. The mode is currently on by default because most people are inflicted - with the problem. It can be disabled with the [450]-nowireframe option + with the problem. It can be disabled with the [460]-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 @@ -3933,13 +3948,13 @@ ied) * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [451]"-wireframe tweaks" option for more details. On a slow + See the [461]"-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 - [452]"-wirecopyrect mode" option. It is also on by default. This + [462]"-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 @@ -3987,7 +4002,7 @@ ied) 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 [453]slow). + the hardware framebuffer is [463]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. @@ -4009,10 +4024,10 @@ ied) the X server display: if one falls too far behind it could become a mess... - The initial implementation of [454]-scrollcopyrect option is useful in + The initial implementation of [464]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [455]-wireframe - [456]-wirecopyrect [457]options, which are also on by default; and if + environment (especially when combined with the [465]-wireframe + [466]-wirecopyrect [467]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. @@ -4045,10 +4060,10 @@ ied) 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: [458]-fixscreen + also: [468]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [459]-scr_skip option for ways to tweak this on a + See the [469]-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 @@ -4065,7 +4080,7 @@ ied) 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 [460]-scale option there will be a quick CopyRect + * When using the [470]-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 @@ -4078,7 +4093,7 @@ ied) If you find the -scrollcopyrect behavior too approximate or distracting you can go back to the standard polling-only update method - with the [461]-noscrollcopyrect (or -noscr for short). If you find + with the [471]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -4117,23 +4132,23 @@ ied) 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 "[462]-cursor X" option that + A simple kludge is provided by the "[472]-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 "[463]-cursor some" option for + work for those cases. Also see the "[473]-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 - [464]-overlay option is supplied. See [465]this FAQ for more info. + [474]-overlay option is supplied. See [475]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 - [466]Solaris 10. + [476]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 @@ -4141,7 +4156,7 @@ ied) 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. [467]Details can be found here. + hidden alpha channel data under 32bpp. [477]Details can be found here. Q-66: When using XFIXES cursorshape mode, some of the cursors look @@ -4174,17 +4189,17 @@ ied) 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 "[468]-alphacut n" option lets + course!) some tunable parameters. The "[478]-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 "[469]-alphafrac f" option tries to correct individual + 240. The "[479]-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 [470]-alpharemove that is useful for + Finally, there is an option [480]-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 @@ -4210,10 +4225,10 @@ ied) 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 [471]-nocursorshape x11vnc option. In this case the cursor is + with the [481]-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 [472]-noalphablend option to disable this + the x11vnc side. Use the [482]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -4242,9 +4257,9 @@ ied) Q-68: 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 [473]tightvnc extension + This default takes advantage of a [483]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [474]-nocursor + the local VNC viewer. You may disable it with the [484]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -4258,17 +4273,17 @@ ied) clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - Use the [475]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [485]-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 [476]-nocursorpos and [477]-nocursorshape. + is the default. See also [486]-nocursorpos and [487]-nocursorshape. Q-70: 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: [478]-buttonmap + You can remap the mouse buttons via something like: [488]-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. @@ -4276,7 +4291,7 @@ ied) 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 [479]-debug_pointer option prints out much info for + Note that the [489]-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 @@ -4298,7 +4313,7 @@ ied) 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 [480]-buttonmap but rather configuring the X server + consider not using [490]-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"'). @@ -4328,7 +4343,7 @@ ied) Q-71: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [481]-modtweak should help here. It is a mode that monitors + The option [491]-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. @@ -4337,16 +4352,16 @@ ied) 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 [482]this FAQ for more info). Without + not exist on the keyboard (see [492]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 [483]FAQ about the -xkb option for a more powerful method + Also see the [493]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 - [484]-debug_keyboard option prints out much info for every keystroke + [494]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. @@ -4358,9 +4373,9 @@ ied) (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [485]-xkb or [486]-sloppy_keys options and see if + Short Cut: Try the [495]-xkb or [496]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [487]-modtweak is now the default) but is useful reference for various + [497]-modtweak is now the default) but is useful reference for various tricks and so is kept. @@ -4403,17 +4418,17 @@ ied) -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([488]-modtweak) is a mode that monitors the + settings. The former ([498]-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 ([489]-remap less-comma) is an immediate remapping of the + The latter ([499]-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 [490]FAQ about the -xkb option as a possible workaround + See also the [500]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [491]-debug_keyboard option prints out much info for + Note that the [501]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. @@ -4421,13 +4436,13 @@ ied) (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 [492]keymapping + the Shift key before releasing the "<". Because of a [502]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [493]-xkb mode, because it works hard to + This should not happen in [503]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [494]-sloppy_keys to attempt a similar type of algorithm. + option [504]-sloppy_keys to attempt a similar type of algorithm. Q-74: I'm using an "international" keyboard (e.g. German "de", or @@ -4451,7 +4466,7 @@ ied) 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 [495]-modtweak + This all worked fine with x11vnc running with the [505]-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 @@ -4468,7 +4483,7 @@ ied) * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [496]-xkb option seems to fix all of the missing keys: "@", "<", + The [506]-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 @@ -4476,7 +4491,7 @@ ied) debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [497]-xkb if it appears that would be beneficial (e.g. if it sees any + [507]-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. @@ -4491,7 +4506,7 @@ ied) 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: - [498]-skip_keycodes 93 + [508]-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 @@ -4508,16 +4523,16 @@ ied) 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 [499]-remap x11vnc option: + created using the [509]-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 - [500]-add_keysyms option in the next paragraph. - Update: for convenience "[501]-remap DEAD" does many of these + [510]-add_keysyms option in the next paragraph. + Update: for convenience "[511]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [502]-remap, an - option [503]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [512]-remap, an + option [513]-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 @@ -4536,7 +4551,7 @@ ied) 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) [504]-norepeat x11vnc option. You will still + use the new (Jul/2004) [514]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. @@ -4560,7 +4575,7 @@ ied) 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 [505]-norepeat (which has since Dec/2004 been + needed, or to use the [515]-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 @@ -4571,7 +4586,7 @@ ied) keystrokes!! Are you using x11vnc to log in to an X session? (as described in - [506]this FAQ) If so, x11vnc is starting before your session and it + [516]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 trying to be @@ -4595,7 +4610,7 @@ ied) 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 "[507]-remap Super_R-Mode_switch" x11vnc option may + Something like "[517]-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)). @@ -4618,7 +4633,7 @@ ied) 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 [508]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [518]-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. @@ -4629,7 +4644,7 @@ ied) 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 [509]-remap + have x11vnc do the remapping. This can be done via the [519]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -4638,7 +4653,7 @@ ied) button "paste" because (using XFree86/Xorg Emulate3Buttons) you have to click both buttons on the touch pad at the same time. This remapping: - [510]-remap Super_R-Button2 + [520]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -4657,10 +4672,10 @@ ied) 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 - [511]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[512]-remap Caps_Lock-None". + [521]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[522]-remap Caps_Lock-None". - Also try the [513]-nomodtweak and [514]-capslock options. + Also try the [523]-nomodtweak and [524]-capslock options. [Screen Related Issues and Features] @@ -4683,7 +4698,7 @@ ied) 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 - [515]this FAQ on x11vnc scaling. + [525]this FAQ on x11vnc scaling. Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. to @@ -4691,9 +4706,9 @@ ied) 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 "[516]-scale fraction" option. "fraction" can either be a + use the "[526]-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 2/3). Note that if fraction is greater + fraction notation (e.g. -scale 3/4). Note that if fraction is greater than one the display is magnified. Extra resources (CPU, memory I/O, and memory) are required to do the @@ -4712,7 +4727,7 @@ ied) 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 - [517]applications. Since with integer scale factors the framebuffers + [527]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -4738,12 +4753,18 @@ ied) 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 ([518]-rfbport option, + different scalings listening on separate ports ([528]-rfbport option, etc.). + Update: As of May/2006 x11vnc also supports the UltraVNC server-side + scaling. This is a per-client scaling by factors 1/2, 1/3, ... and so + may be useful for PDA's ("-scale 1/2", etc. will give similar results + except that it applies to all clients). You may need to supply + "-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 [519]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [520]"-connect + use the [529]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [530]"-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 @@ -4752,7 +4773,7 @@ ied) 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 - [521]"-scale_cursor frac" option to set the cursor scaling to a + [531]"-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). @@ -4774,16 +4795,17 @@ ied) 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 [522]-blackout x11vnc option + may be distracting to the viewer. The [532]-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 - [523]-xinerama x11vnc option can be used to have it automatically + [533]-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). + PseudoColor displays the fill color may not be black). Update: + [534]-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 [524]-xwarppointer + of the large display. If this happens try using the [535]-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 @@ -4808,23 +4830,23 @@ ied) 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 [525]FAQ to increase the limit. It - is probably also a good idea to run with the [526]-onetile option in + /etc/system as mentioned in another [536]FAQ to increase the limit. It + is probably also a good idea to run with the [537]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [527]-noshm to use no shm segments. + [538]-noshm to use no shm segments. Q-85: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - As of Mar/2005 x11vnc has the "[528]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[539]-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 [529]Xinerama screen into two + One user used -clip to split up a large [540]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [530]-id or [531]-sid options are used. The offset is measured + the [541]-id or [542]-sid options are used. The offset is measured from the upper left corner of the selected window. @@ -4833,7 +4855,7 @@ ied) crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [532]-xrandr option to make x11vnc monitor XRANDR events and also trap + [543]-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. @@ -4843,7 +4865,7 @@ ied) 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 [533]-padgeom option to make the region big + viewers you can try the [544]-padgeom option to make the region big enough to hold all resizes and rotations. If you specify "-xrandr newfbsize" then vnc viewers that do not @@ -4898,9 +4920,9 @@ ied) * 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 [534]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [545]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [535]see this for a + server. So x11vnc cannot access it (however, [546]see this for a possible partial workaround). x11vnc works fine with "Normal X application window" and "Quick-Switch mode" because these use X. @@ -4921,13 +4943,13 @@ ied) 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 [536]is in the active VC. + as long as the VMWare X session [547]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 [537]-id windowid option. The + the VMWare menu buttons) by use of the [548]-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 @@ -4972,9 +4994,9 @@ ied) memory and is preferred over "file" (that uses the slower lseek(2) 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. The "snap:" setting applies the [538]-snapfb option + map is assumed. The "snap:" setting applies the [549]-snapfb option with "file:" type reading (this is useful for exporting webcams or TV - tuner video; see [539]the next FAQ for more info). + tuner video; see [550]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 @@ -5014,7 +5036,7 @@ ied) 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. Of course for the case - of Xvfb x11vnc can poll it much better via the [540]X API, but you get + of Xvfb x11vnc can poll it much better via the [551]X API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it @@ -5033,7 +5055,7 @@ ied) All of the above was just for viewing the raw framebuffer. That may be enough for certain applications of this feature (e.g. suppose a - [541]video camera mapped its framebuffer into memory). To handle the + [552]video camera mapped its framebuffer into memory). To handle the pointer and keyboard input from the viewer users the "-pipeinput cmd" option was added to indicate a helper program to process the user input. The input is streamed to it and looks something like this: @@ -5068,7 +5090,7 @@ ied) 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 [542]active VC) one + view and interact with VC #2 (assuming it is the [553]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' @@ -5109,7 +5131,7 @@ ied) more accurate and faster LinuxVNC program. The only advantage x11vnc -rawfb might have is that it can presumably allow interaction with a non-text application, e.g. one based on svgalib. For example the - [543]VMWare Fullscreen mode is actually viewable under -rawfb. But + [554]VMWare Fullscreen mode is actually viewable under -rawfb. But this isn't much use until one figures out how to inject keystrokes and mouse events... @@ -5123,9 +5145,9 @@ ied) Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [544]-rawfb option. + Yes, this is possible to some degree with the [555]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [545]previous FAQ on -rawfb + used for the screen image data. See the [556]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -5137,7 +5159,7 @@ ied) snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [546]-snapfb mode which appears to be necessary. + The "snap:" enforces [557]-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. @@ -5159,7 +5181,7 @@ ied) 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 [547]-24to32 option will be automatically imposed when in + etc, the [558]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -5167,7 +5189,7 @@ ied) 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 [548]-wait, [549]-slow_fb, or [550]-defer + the framerate via the [559]-wait, [560]-slow_fb, or [561]-defer options. Decreasing the window size and bpp also helps. @@ -5255,7 +5277,7 @@ ied) format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [551]-freqtab option to supply your own xawtv channel to + See also the [562]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). @@ -5281,9 +5303,9 @@ ied) As of Jan/2004 x11vnc supports the "CutText" part of the rfb protocol. Furthermore, x11vnc is able to hold the PRIMARY selection (Xvnc does not seem to do this). If you don't want the Clipboard/Selection - exchanged use the [552]-nosel option. If you don't want the PRIMARY - selection to be polled for changes use the [553]-noprimary option. You - can also fine-tune it a bit with the [554]-seldir dir option. + exchanged use the [563]-nosel option. If you don't want the PRIMARY + selection to be polled for changes use the [564]-noprimary option. You + can also fine-tune it a bit with the [565]-seldir dir option. You may need to watch out for desktop utilities such as KDE's "Klipper" that do odd things with the selection, clipboard, and @@ -5292,10 +5314,18 @@ ied) Q-94: Can I transfer files back and forth with x11vnc? - As of Oct/2005 x11vnc enables the TightVNC file transfer - implementation that was added to libvncserver. This currently only - works with TightVNC viewers (and Windows only it appears). It is on by - default, to disable it use the [555]-nofilexfer option. + As of Oct/2005 and May/2006 x11vnc enables, respectively, the TightVNC + and UltraVNC file transfer implementations that were added to + libvncserver. This currently works with TightVNC and UltraVNC viewers + (and Windows viewers only support filetransfer it appears). + + TightVNC file transfer is on by default, if you want to disable it use + the [566]-nofilexfer option. UltraVNC file transfer is currently off + by default, to enable it use something like "-rfbversion 3.6 + -permitfiletransfer" + options (UltraVNC incorrectly uses the RFB protocol version to + determine if features are available, so x11vnc has to pretend to be + version 3.6). Q-95: How can I hear the sound (audio) from the remote applications on @@ -5401,9 +5431,9 @@ 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 [556]-nobell option. If + If you don't want to hear the beeps use the [567]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [557]redirector such as esd. + trying a [568]redirector such as esd. @@ -5426,557 +5456,568 @@ References 4. http://www.karlrunge.com/x11vnc/index.html#beta-test 5. http://www.karlrunge.com/x11vnc/index.html#faq-thanks 6. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 7. http://www.karlrunge.com/x11vnc/index.html#faq-video - 8. http://www.karlrunge.com/x11vnc/index.html#faq - 9. http://www.karlrunge.com/x11vnc/disclaimer.html - 10. http://www.karlrunge.com/x11vnc/index.html#contact - 11. http://www.realvnc.com/ - 12. http://www.tightvnc.com/ - 13. http://www.ultravnc.com/ - 14. http://www.redstonesoftware.com/vnc.html - 15. http://www.karlrunge.com/x11vnc/index.html#downloading - 16. http://www.tightvnc.com/download.html - 17. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 18. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 19. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 20. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 21. http://www.sun.com/software/solaris/freeware/ - 22. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 23. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 24. http://www.karlrunge.com/x11vnc/index.html#faq-service - 25. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 26. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 27. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 28. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 29. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 30. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via - 31. http://www.karlrunge.com/x11vnc/chainingssh.html - 32. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 33. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 7. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 8. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 9. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 10. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 11. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 12. http://www.karlrunge.com/x11vnc/index.html#faq-video + 13. http://www.karlrunge.com/x11vnc/index.html#faq + 14. http://www.karlrunge.com/x11vnc/disclaimer.html + 15. http://www.karlrunge.com/x11vnc/index.html#contact + 16. http://www.realvnc.com/ + 17. http://www.tightvnc.com/ + 18. http://www.ultravnc.com/ + 19. http://www.redstonesoftware.com/vnc.html + 20. http://www.karlrunge.com/x11vnc/index.html#downloading + 21. http://www.tightvnc.com/download.html + 22. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 23. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 24. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 25. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 26. http://www.sun.com/software/solaris/freeware/ + 27. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 28. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 29. http://www.karlrunge.com/x11vnc/index.html#faq-service + 30. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 31. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file + 32. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 33. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file 34. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 35. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 36. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 37. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 38. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 39. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 40. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 41. http://www.stunnel.org/ - 42. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 43. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 44. http://sourceforge.net/projects/libvncserver/ - 45. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=422738 - 46. http://sourceforge.net/project/shownotes.php?release_id=422738&group_id=32584 - 47. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz - 48. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 49. http://www.tightvnc.com/download.html - 50. http://www.realvnc.com/download-free.html - 51. http://sourceforge.net/projects/cotvnc/ - 52. http://www.ultravnc.com/ - 53. http://www.karlrunge.com/x11vnc/rx11vnc - 54. http://www.karlrunge.com/x11vnc/rx11vnc.pl - 55. http://www.sunfreeware.com/ - 56. http://www.karlrunge.com/x11vnc/bins - 57. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 58. http://www.karlrunge.com/x11vnc/miscbuild.html - 59. ftp://ftp.uu.net/graphics/jpeg/ - 60. http://www.gzip.org/zlib/ - 61. http://www.sunfreeware.com/ - 62. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 63. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz - 64. http://www.karlrunge.com/x11vnc/bins - 65. mailto:x11vnc-beta@karlrunge.com - 66. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 67. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 68. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 69. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 70. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noclipboard - 71. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosetclipboard - 72. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 73. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 74. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fbpm - 75. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 76. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 77. http://www.openssl.org/ - 78. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 79. http://www.stunnel.org/ - 80. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 81. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 82. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 83. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 84. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 86. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 87. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 88. http://www.karlrunge.com/x11vnc/prevrels.html - 89. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 90. http://www.tightvnc.com/ - 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 93. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 94. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 95. http://wwws.sun.com/sunray/index.html - 96. http://www.karlrunge.com/x11vnc/sunray.html - 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 99. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 102. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 103. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 104. mailto:xvml@karlrunge.com - 105. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 106. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 107. http://www.karlrunge.com/x11vnc/index.html#faq-build - 108. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 109. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 110. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 111. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 112. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 113. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 114. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 115. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 116. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 117. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 118. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 119. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 120. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 121. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 122. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 123. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 124. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 125. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 126. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 127. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 128. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 129. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 130. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 131. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 132. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 133. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 134. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 135. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 136. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 137. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 138. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 139. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 140. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 141. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 142. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 143. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 144. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 145. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 146. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 147. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 148. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 149. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 150. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 151. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 152. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 153. http://www.karlrunge.com/x11vnc/index.html#faq-service - 154. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 155. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 156. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 157. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 158. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 159. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 160. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 161. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 162. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 163. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 164. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 165. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 166. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 167. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 168. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 169. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 170. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 171. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 172. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 173. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 174. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 175. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 176. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 177. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 178. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 179. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 180. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 181. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 182. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 183. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 184. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 185. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 186. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 187. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 188. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 189. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 190. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 191. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 192. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 193. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 194. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 195. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 196. http://www.karlrunge.com/x11vnc/index.html#faq-video - 197. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 198. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 199. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 200. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 201. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 202. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 203. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 204. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 205. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 206. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 207. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 208. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 209. http://www.karlrunge.com/x11vnc/index.html#building - 210. http://www.karlrunge.com/x11vnc/index.html#faq-build - 211. http://packages.debian.org/x11vnc - 212. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 213. http://dag.wieers.com/packages/x11vnc/ - 214. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 215. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 216. http://www.sunfreeware.com/ - 217. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 218. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 219. http://pkgsrc.se/x11/x11vnc - 220. http://mike.saunby.net/770/x11vnc/ - 221. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc - 222. http://www.focv.com/ipkg/ - 223. http://www.karlrunge.com/x11vnc/bins - 224. http://www.tightvnc.com/download.html - 225. http://www.realvnc.com/download-free.html - 226. http://sourceforge.net/projects/cotvnc/ - 227. http://www.ultravnc.com/ - 228. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 229. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 230. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 231. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 232. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 233. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 234. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 235. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 236. http://fredrik.hubbe.net/x2vnc.html - 237. http://www.hubbe.net/~hubbe/win2vnc.html - 238. http://www.deboer.gmxhome.de/ - 239. http://sourceforge.net/projects/win2vnc/ - 240. http://fredrik.hubbe.net/x2vnc.html - 241. http://freshmeat.net/projects/x2x/ - 242. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 243. http://zapek.com/software/zvnc/ - 244. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 245. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 246. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 247. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 248. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 249. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 250. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 251. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 252. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 253. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 254. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 35. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via + 36. http://www.karlrunge.com/x11vnc/chainingssh.html + 37. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 38. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 39. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 40. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 41. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 42. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 43. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 44. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 45. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 46. http://www.stunnel.org/ + 47. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 48. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 49. http://sourceforge.net/projects/libvncserver/ + 50. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=422738 + 51. http://sourceforge.net/project/shownotes.php?release_id=422738&group_id=32584 + 52. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz + 53. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 54. http://www.tightvnc.com/download.html + 55. http://www.realvnc.com/download-free.html + 56. http://sourceforge.net/projects/cotvnc/ + 57. http://www.ultravnc.com/ + 58. http://www.karlrunge.com/x11vnc/rx11vnc + 59. http://www.karlrunge.com/x11vnc/rx11vnc.pl + 60. http://www.sunfreeware.com/ + 61. http://www.karlrunge.com/x11vnc/bins + 62. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 63. http://www.karlrunge.com/x11vnc/miscbuild.html + 64. ftp://ftp.uu.net/graphics/jpeg/ + 65. http://www.gzip.org/zlib/ + 66. http://www.sunfreeware.com/ + 67. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 68. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz + 69. http://www.karlrunge.com/x11vnc/bins + 70. mailto:x11vnc-beta@karlrunge.com + 71. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 72. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 73. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 74. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 75. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noclipboard + 76. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosetclipboard + 77. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 78. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 79. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fbpm + 80. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 81. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 82. http://www.openssl.org/ + 83. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 84. http://www.stunnel.org/ + 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 86. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 87. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 88. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 89. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 90. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 93. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 95. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 96. http://www.karlrunge.com/x11vnc/prevrels.html + 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 98. http://www.tightvnc.com/ + 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 101. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 102. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg + 103. http://wwws.sun.com/sunray/index.html + 104. http://www.karlrunge.com/x11vnc/sunray.html + 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 107. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 110. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 112. mailto:xvml@karlrunge.com + 113. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 114. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 115. http://www.karlrunge.com/x11vnc/index.html#faq-build + 116. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest + 117. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 118. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 119. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 120. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts + 121. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 122. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 123. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg + 124. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe + 125. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations + 126. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 127. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp + 128. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 129. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 130. http://www.karlrunge.com/x11vnc/index.html#faq-windowid + 131. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id + 132. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp + 133. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 134. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 135. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays + 136. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg + 137. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control + 138. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 139. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho + 140. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 141. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd + 142. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 143. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared + 144. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 145. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 146. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface + 147. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost + 148. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt + 149. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 150. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt + 151. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy + 152. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock + 153. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix + 154. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty + 155. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 156. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 157. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 158. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 159. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 160. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca + 161. http://www.karlrunge.com/x11vnc/index.html#faq-service + 162. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 163. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 164. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 165. http://www.karlrunge.com/x11vnc/index.html#faq-loop + 166. http://www.karlrunge.com/x11vnc/index.html#faq-java-http + 167. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 168. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 169. http://www.karlrunge.com/x11vnc/index.html#faq-headless + 170. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 171. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource + 172. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource + 173. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link + 174. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage + 175. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 176. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 177. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 178. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape + 179. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha + 180. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 181. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow + 182. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions + 183. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt + 184. http://www.karlrunge.com/x11vnc/index.html#faq-altgr + 185. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 186. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy + 187. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 188. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys + 189. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still + 190. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt + 191. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta + 192. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click + 193. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 194. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 195. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 196. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 197. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen + 198. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen + 199. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 200. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen + 201. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 202. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 203. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 204. http://www.karlrunge.com/x11vnc/index.html#faq-video + 205. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars + 206. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard + 207. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 208. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 209. http://www.karlrunge.com/x11vnc/index.html#faq-beeps + 210. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 211. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 212. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 213. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 214. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 215. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 216. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html + 217. http://www.karlrunge.com/x11vnc/index.html#building + 218. http://www.karlrunge.com/x11vnc/index.html#faq-build + 219. http://packages.debian.org/x11vnc + 220. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 221. http://dag.wieers.com/packages/x11vnc/ + 222. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 223. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 224. http://www.sunfreeware.com/ + 225. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 226. http://www.freshports.org/net/x11vnc + 227. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 228. http://pkgsrc.se/x11/x11vnc + 229. http://mike.saunby.net/770/x11vnc/ + 230. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc + 231. http://www.focv.com/ipkg/ + 232. http://www.karlrunge.com/x11vnc/bins + 233. http://www.tightvnc.com/download.html + 234. http://www.realvnc.com/download-free.html + 235. http://sourceforge.net/projects/cotvnc/ + 236. http://www.ultravnc.com/ + 237. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 238. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 239. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 240. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 241. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 242. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o + 243. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 244. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb + 245. http://fredrik.hubbe.net/x2vnc.html + 246. http://www.hubbe.net/~hubbe/win2vnc.html + 247. http://www.deboer.gmxhome.de/ + 248. http://sourceforge.net/projects/win2vnc/ + 249. http://fredrik.hubbe.net/x2vnc.html + 250. http://freshmeat.net/projects/x2x/ + 251. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 252. http://zapek.com/software/zvnc/ + 253. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual + 254. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap 255. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 256. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 257. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 256. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor + 257. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp 258. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 259. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 260. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 261. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 262. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 263. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 264. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 267. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 268. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 269. http://wwws.sun.com/sunray/index.html - 270. http://www.karlrunge.com/x11vnc/sunray.html - 271. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 272. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 274. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 275. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 276. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 277. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 278. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 279. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 280. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 281. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 282. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 285. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 294. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 295. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 299. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 300. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 301. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 304. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 305. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 317. ftp://ftp.x.org/ - 318. http://www.karlrunge.com/x11vnc/dtVncPopup - 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 321. http://www.karlrunge.com/x11vnc/blockdpy.c - 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 326. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 327. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 331. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 332. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 334. http://www.stunnel.org/ - 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 338. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 339. http://www.stunnel.org/ - 340. http://www.karlrunge.com/x11vnc/ssl.html - 341. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 342. http://www.karlrunge.com/x11vnc/ssl.html - 343. http://www.securityfocus.com/infocus/1677 - 344. http://www.karlrunge.com/x11vnc/ssl.html - 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 346. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 351. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 352. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 353. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 356. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 358. http://www.openssl.org/ - 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 360. http://www.stunnel.org/ - 361. http://www.karlrunge.com/x11vnc/ssl.html - 362. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 363. http://www.karlrunge.com/x11vnc/ssl.html - 364. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 365. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 369. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 370. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 371. http://www.karlrunge.com/x11vnc/ssl-portal.html + 259. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 260. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 261. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 262. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 263. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 264. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 267. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 268. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 269. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 270. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid + 271. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 272. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 274. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 275. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 276. http://www.karlrunge.com/x11vnc/index.html#xauth_pain + 277. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 278. http://wwws.sun.com/sunray/index.html + 279. http://www.karlrunge.com/x11vnc/sunray.html + 280. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 281. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 282. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 285. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys + 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd + 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 291. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd + 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd + 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 303. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 304. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel + 305. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared + 308. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 309. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 310. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 313. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 314. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly + 326. ftp://ftp.x.org/ + 327. http://www.karlrunge.com/x11vnc/dtVncPopup + 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 330. http://www.karlrunge.com/x11vnc/blockdpy.c + 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 335. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 336. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 340. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh + 341. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 343. http://www.stunnel.org/ + 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 347. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 348. http://www.stunnel.org/ + 349. http://www.karlrunge.com/x11vnc/ssl.html + 350. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 351. http://www.karlrunge.com/x11vnc/ssl.html + 352. http://www.securityfocus.com/infocus/1677 + 353. http://www.karlrunge.com/x11vnc/ssl.html + 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 355. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 361. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 362. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 365. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 367. http://www.openssl.org/ + 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 369. http://www.stunnel.org/ + 370. http://www.karlrunge.com/x11vnc/ssl.html + 371. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer 372. http://www.karlrunge.com/x11vnc/ssl.html - 373. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 374. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 375. http://www.karlrunge.com/x11vnc/ssl-portal.html - 376. http://www.karlrunge.com/x11vnc/ssl.html - 377. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 378. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 379. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 380. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 382. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 383. http://www.jirka.org/gdm-documentation/x241.html - 384. http://www.karlrunge.com/x11vnc/x11vnc_loop - 385. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 389. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 392. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd - 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 395. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 396. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 397. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 405. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 406. http://www.karlrunge.com/x11vnc/Xdummy - 407. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 408. http://www.karlrunge.com/x11vnc/shm_clear - 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 411. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 422. http://www.tightvnc.com/ - 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive - 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 436. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 440. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 446. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 447. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 448. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 449. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 453. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 457. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 458. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 465. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 466. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 467. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 473. http://www.tightvnc.com/ - 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 482. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 483. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 490. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 373. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 377. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 379. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 380. http://www.karlrunge.com/x11vnc/ssl_vncviewer + 381. http://www.karlrunge.com/x11vnc/ssl-portal.html + 382. http://www.karlrunge.com/x11vnc/ssl.html + 383. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 384. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 385. http://www.karlrunge.com/x11vnc/ssl-portal.html + 386. http://www.karlrunge.com/x11vnc/ssl.html + 387. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 388. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 389. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 390. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop + 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 392. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris + 393. http://www.jirka.org/gdm-documentation/x241.html + 394. http://www.karlrunge.com/x11vnc/x11vnc_loop + 395. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 396. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 399. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 402. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 405. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 407. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect + 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 415. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 416. http://www.karlrunge.com/x11vnc/Xdummy + 417. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 418. http://www.karlrunge.com/x11vnc/shm_clear + 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 421. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap + 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 432. http://www.tightvnc.com/ + 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds + 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout + 446. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area + 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem + 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 450. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 456. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 457. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 458. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 459. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 463. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 467. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip + 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 475. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode + 476. http://www.karlrunge.com/x11vnc/index.html#solaris10-build + 477. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut + 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac + 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove + 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend + 483. http://www.tightvnc.com/ + 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos + 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer + 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak 492. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes + 493. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 506. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 500. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 502. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 515. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 517. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html - 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 525. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 529. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 534. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 535. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 536. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 539. http://www.karlrunge.com/x11vnc/index.html#faq-video - 540. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 541. http://www.karlrunge.com/x11vnc/index.html#faq-video - 542. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 543. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 545. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 557. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 516. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 525. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 527. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html + 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor + 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout + 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 536. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip + 540. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr + 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom + 545. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 546. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 547. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 550. http://www.karlrunge.com/x11vnc/index.html#faq-video + 551. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 552. http://www.karlrunge.com/x11vnc/index.html#faq-video + 553. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 554. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 556. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb + 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab + 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary + 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir + 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer + 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell + 568. http://www.karlrunge.com/x11vnc/index.html#faq-sound ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -6753,6 +6794,8 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: Using Apache as an SSL Gateway to x11vnc servers inside a firewall: + Background: + The standard way to allow access to x11vnc running on workstations inside a firewall is via SSH. The user somewhere out on the Internet logs in to the SSH gateway machine and uses port forwarding (e.g. ssh @@ -6767,16 +6810,16 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: installed on the Viewer machine and the user usually has to rig up his own port redirection plumbing. - With the SSL support in x11vnc and the Java VNC viewer applet, a - convenient and secure alternative exists that uses the Apache - webserver. The idea is that the company or home internet connection is - already running apache as a web server (either SSL or non-SSL) and we - add to it the ability to act as a gateway for SSL VNC connections. The - only thing needed on the Viewer side is a Java enabled Web Browser. - The stunnel VNC viewer wrapper script provided (ssl_vncviewer) can - also take advantage of the method described here. The apache solution - may be overkill for you (e.g. home system) see below for some simpler - setups. + With the SSL support in x11vnc and the SSL enabled Java VNC viewer + applet, a convenient and secure alternative exists that uses the + Apache webserver. The idea is that the company or home internet + connection is already running apache as a web server (either SSL or + non-SSL) and we add to it the ability to act as a gateway for SSL VNC + connections. The only thing needed on the Viewer side is a Java + enabled Web Browser. The stunnel VNC viewer wrapper script provided + (ssl_vncviewer) can also take advantage of the method described here. + The apache solution may be overkill for you (e.g. home system) see + [1]below for some simpler setups. There are numerous ways to do this. We present the simplest one here. Important: these schemes allow incoming connections from anywhere on @@ -6789,6 +6832,8 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: regular Web proxy into the intranet and allows connections to a fixed port on a limited set of machines. + Example: + In this example suppose the gateway machine running apache is named "www.gateway.east" (e.g. it may also provide normal web service). We also choose the Internet-facing port for this VNC service to be port @@ -6814,7 +6859,9 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: i.e. we force SSL VNC connections, port 5915, serve the Java VNC viewer applet, and require a VNC password (another option would be - [1]-unixpw). The above command could also be run out of [2]inetd(8). + [2]-unixpw). The above command could also be run out of [3]inetd(8), + that can also be used to autodetect the user's display and Xauthority + data. These sections are added to the httpd.conf apache configuration file @@ -6830,21 +6877,21 @@ Listen 563 # for convenience, a rewrite to avoid having ...?CONNECT=..&PORT=... in the URL. RewriteEngine On - RewriteRule /x11vnc/([^/]*)$ /x11vnc/$1/index.vnc?CONNECT=$1+5915 -&PORT=563 [R,NE] - RewriteRule /x11vnc/proxy/([^/]*)$ /x11vnc/$1/proxy.vnc?CONNECT=$1+5915 -&PORT=563 [R,NE] + RewriteRule /vnc/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] + RewriteRule /vnc/proxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] - # allow incoming proxy CONNECT requests to port 5915 only. + # allow incoming proxy CONNECT requests to port 5915 *only* ProxyRequests On AllowCONNECT 5915 # this will fetch the jar file from port 5815 via http (not https) # (list all allowed x11vnc servers here) - ProxyPass /x11vnc/mach1/ http://mach1:5815/ - ProxyPass /x11vnc/mach2/ http://mach2:5815/ - ProxyPass /x11vnc/mach3/ http://mach3:5815/ - ProxyPass /x11vnc/mach4/ http://mach4:5815/ + ProxyPass /vnc/mach1/ http://mach1:5815/ + ProxyPass /vnc/mach2/ http://mach2:5815/ + ProxyPass /vnc/mach3/ http://mach3:5815/ + ProxyPass /vnc/mach4/ http://mach4:5815/ # ... # force a reject for any CONNECT not to the known list of x11vnc servers: @@ -6861,7 +6908,7 @@ t:563/ The user at the Java enabled Web browser would simply enter this URL into the browser: - http://www.gateway.east:563/x11vnc/mach2 + http://www.gateway.east:563/vnc/mach2 to connect to internal workstation mach2, etc. There will be a number of SSL certificate, etc, dialogs he will have to respond to in @@ -6870,9 +6917,9 @@ t:563/ If a second Web proxy is involved (i.e. the user's browser is inside another firewall that requires proxying) then use this URL: - http://www.gateway.east:563/x11vnc/proxy/mach2 + http://www.gateway.east:563/vnc/proxy/mach2 - See [3]this FAQ for more info on how this works. + See [4]this FAQ for more info on how this works. Let's go through the httpd.conf additions in detail. @@ -6883,8 +6930,7 @@ t:563/ The RewriteRule's are for convenience only so that the URL entered into the Web browser does not need the various extra parameters, e.g.: - http://www.gateway.east:563/x11vnc/mach2/index.vnc?CONNECT=mach2+5915&PORT=5 -63 + http://www.gateway.east:563/vnc/mach2/index.vnc?CONNECT=mach2+5915&PORT=563 (or otherwise make direct edits to index.vnc to set these parameters). @@ -6892,9 +6938,9 @@ t:563/ server to forward proxy requests to port 5915 (and only this port) INSIDE the firewall. Test this carefully. - The "ProxyPass /x11vnc/mach1/ ..." lines forward the initial page - (e.g. index.vnc) and Java applet JAR file (e.g. VncViewer.jar) - requests to port 5815 on the x11vnc server machines. + The "ProxyPass /vnc/mach1/ ..." lines forward the initial page (e.g. + index.vnc) and Java applet JAR file (e.g. VncViewer.jar) requests to + port 5815 on the x11vnc server machines. Note that these index.vnc and VncViewer.jar downloads are not encrypted via SSL. The subsequent VNC connections are encrypted @@ -6908,18 +6954,22 @@ t:563/ effectively drops the connection. - Some Ideas for adding extra authentication for the paranoid: - * VNC passwords: [4]-rfbauth, [5]-passwdfile, or [6]-usepw. - * Unix passwords: [7]-unixpw - * SSL Client certificates: [8]-sslverify + Some Ideas for adding extra authentication, etc. for the paranoid: + * VNC passwords: [5]-rfbauth, [6]-passwdfile, or [7]-usepw. Even + adding a company-wide VNC password helps block unwanted access. + * Unix passwords: [8]-unixpw + * SSL Client certificates: [9]-sslverify * Apache AuthUserFile directive: .htaccess, etc. * Add proxy password authentication (requires Viewer changes?) + * Run a separate instance of Apache that provides this VNC service + so it can be brought up and down independently of the normal web + server. Using non-Java viewers with this scheme: - The [9]ssl_vncviewer stunnel wrapper script for VNC viewers has the + The [10]ssl_vncviewer stunnel wrapper script for VNC viewers has the -proxy option that can take advantage of this method. For the case of the "double proxy" situation (see below) supply both separated by a comma. @@ -6931,11 +6981,11 @@ t:563/ To have the Java applet downloaded to the user's Web Browswer via an encrypted (and evidently safer) SSL connection the Apache webserver - should be configured for SSL via [10]mod_ssl (this is probably not + should be configured for SSL via [11]mod_ssl (this is probably not absolutely necessary; show us how you did it). - It is actually possible to use the x11vnc [11]Key Management utility - "[12]-sslGenCert" to generate your Apache/SSL .crt and .key files. (In + It is actually possible to use the x11vnc [12]Key Management utility + "[13]-sslGenCert" to generate your Apache/SSL .crt and .key files. (In brief, run something like "x11vnc -sslGenCert server self:apache" then copy the resulting self:apache.crt file to conf/ssl.crt/server.crt and extract the private key part from self:apache.pem and paste it into @@ -6948,46 +6998,46 @@ SSLProxyEngine On # for convenience, a rewrite to avoid having ...?CONNECT=... in URL. RewriteEngine On -RewriteRule /x11vnc/([^/]*)$ /x11vnc/$1/index.vnc?CONNECT=$1+5915&PO -RT=563 [R,NE] -RewriteRule /x11vnc/proxy/([^/]*)$ /x11vnc/$1/proxy.vnc?CONNECT=$1+5915&PO -RT=563 [R,NE] +RewriteRule /vnc/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] +RewriteRule /vnc/proxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] -# these "S11vnc" are for https applet downloading: -RewriteRule /S11vnc/([^/]*)$ /S11vnc/$1/index.vnc?CONNECT=$1+5915&PO -RT=563 [R,NE] -RewriteRule /S11vnc/proxy/([^/]*)$ /S11vnc/$1/proxy.vnc?CONNECT=$1+5915&PO -RT=563 [R,NE] +# these "vncs" are for https applet downloading: +RewriteRule /vncs/([^/]*)$ /vncs/$1/index.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] +RewriteRule /vncs/proxy/([^/]*)$ /vncs/$1/proxy.vnc?CONNECT=$1+5915&PORT= +563 [R,NE] # fetch the jar file from port 5815 via http or port 5915 via https # inside the firewall # (list all allowed x11vnc servers here) -ProxyPass /x11vnc/mach1/ http://mach1:5815/ -ProxyPass /x11vnc/mach2/ http://mach2:5815/ -ProxyPass /x11vnc/mach3/ http://mach3:5815/ -ProxyPass /x11vnc/mach4/ http://mach4:5815/ -ProxyPass /S11vnc/mach1/ https://mach1:5915/ -ProxyPass /S11vnc/mach2/ https://mach2:5915/ -ProxyPass /S11vnc/mach3/ https://mach3:5915/ -ProxyPass /S11vnc/mach4/ https://mach4:5915/ +ProxyPass /vnc/mach1/ http://mach1:5815/ +ProxyPass /vnc/mach2/ http://mach2:5815/ +ProxyPass /vnc/mach3/ http://mach3:5815/ +ProxyPass /vnc/mach4/ http://mach4:5815/ +ProxyPass /vncs/mach1/ https://mach1:5915/ +ProxyPass /vncs/mach2/ https://mach2:5915/ +ProxyPass /vncs/mach3/ https://mach3:5915/ +ProxyPass /vncs/mach4/ https://mach4:5915/ This is all in the "<VirtualHost _default_:443>" section of ssl.conf. The user could then point the Web Browser to: - https://www.gateway.east/x11vnc/mach2 + https://www.gateway.east/vnc/mach2 or - https://www.gateway.east/x11vnc/proxy/mach2 + https://www.gateway.east/vnc/proxy/mach2 for the "double proxy" case. Note that inside the firewall the Java applet download traffic is not encrypted (only over the Internet is SSL used) for these cases: - https://www.gateway.east/x11vnc/mach2 - https://www.gateway.east/x11vnc/proxy/mach2 + https://www.gateway.east/vnc/mach2 + https://www.gateway.east/vnc/proxy/mach2 - However for the special "S11vnc" rules above: - https://www.gateway.east/S11vnc/mach2 + However for the special "vncs" rules above: + https://www.gateway.east/vncs/mach2 the Java applet download is encrypted via SSL for both legs. Note that the two legs are two separate SSL sessions. So the data is uncrypted @@ -7008,14 +7058,14 @@ ProxyPass /S11vnc/mach4/ https://mach4:5915/ INETD automation: - The "single-port" (i.e. 5915) applet download and VNC connection + The "single-port" (i.e. 5915) HTTPS applet download and VNC connection aspect shown here is convenient and also enables having x11vnc run out of inetd. That way x11vnc is run on demand instead of being run all the time (the user does not have to remember to start it). The first connections to inetd download index.vnc and the Jar file (via https) and the the last connection to inetd establishes the SSL VNC connection. Since x11vnc is restarted for each connection, this will - be slower than the (already slow) normal process. + be a bit slower than the normal process. For example, the /etc/inetd.conf line could be: 5915 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_ssl.sh @@ -7024,21 +7074,44 @@ ProxyPass /S11vnc/mach4/ https://mach4:5915/ #!/bin/sh /usr/local/bin/x11vnc -inetd -oa /var/log/x11vnc-15.log \ - -ssl SAVE -http -unixpw \ + -ssl SAVE -http -unixpw -localhost \ -display :0 -auth /home/THE_USER/.Xauthority - where, as always, the inetd launching needs to know which user is + where, as usual, the inetd launching needs to know which user is typically using the display on that machine. One could imagine giving different users different ports, 5915, 5916, etc. to distinguish (then the script would need to be passed the username). mod_rewrite could be - used to automatically map username in the URL to his port number. The - -display WAIT:cmd=FINDDISPLAY could also be of use to allieviate some - of the problems here. + used to automatically map username in the URL to his port number. - Also note the use of "-ssl SAVE". This way a saved server.pem is used - for each inetd invocation (rather generating a new one each time). - Note that it cannot have a protecting passphrase because inetd will - not be able to supply it. + A better way is to use the "-display WAIT:cmd=FINDDISPLAY" feature to + autodetect the user and Xauthority data: +#!/bin/sh + +/usr/local/bin/x11vnc -inetd -oa /var/log/x11vnc-15.log \ + -ssl SAVE -http -unixpw -localhost -users unixpw= \ + -display WAIT:cmd=FINDDISPLAY + + this way the user must supply his Unix username and password and then + his display and Xauthority data on that machine will be located and + returned to x11vnc to allow it to attach. If he doesn't have a display + running on that machine or he fails to log in correctly, the + connection will be dropped. + + To enable inetd operation for the non-HTTPS Java viewer download (port + 5815 in the above httpd.conf example) you will need to run x11vnc in + HTTPONCE mode on port 5815: For example, the /etc/inetd.conf line + could be: + 5815 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc \ + -inetd -oa /var/log/x11vnc-15.log -http_ssl -display WAIT:cmd=HTTPONCE + + where the long inetd.conf line has been split. Note how the + [14]-http_ssl tries to automatically find the .../classes/ssl + subdirectory. + + Also note the use of "-ssl SAVE" above. This way a saved server.pem is + used for each inetd invocation (rather generating a new one each + time). Note that it cannot have a protecting passphrase because inetd + will not be able to supply it. Other Ideas: @@ -7093,18 +7166,20 @@ ProxyPass /S11vnc/mach4/ https://mach4:5915/ References - 1. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 2. http://www.karlrunge.com/x11vnc/ssl-portal.html#inetd - 3. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 4. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 8. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 9. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 10. http://httpd.apache.org/docs/2.0/mod/mod_ssl.html - 11. http://www.karlrunge.com/x11vnc/ssl.html - 12. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 1. http://www.karlrunge.com/x11vnc/ssl-portal.html#no-apache + 2. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 3. http://www.karlrunge.com/x11vnc/ssl-portal.html#inetd + 4. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 8. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 9. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 10. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 11. http://httpd.apache.org/docs/2.0/mod/mod_ssl.html + 12. http://www.karlrunge.com/x11vnc/ssl.html + 13. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 14. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http_ssl ======================================================================= http://www.karlrunge.com/x11vnc/x11vnc_opts.html: @@ -7117,7 +7192,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.8.2 lastmod: 2006-06-08 +x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-06-12 x11vnc options: -display disp -auth file -id windowid @@ -7128,58 +7203,58 @@ x11vnc options: -viewonly -shared -once -forever -loop -timeout n -inetd -nofilexfer -http - -connect string -vncconnect -novncconnect - -allow host1[,host2..] -localhost -nolookup - -input string -viewpasswd string -passwdfile filename - -unixpw [list] -unixpw_nis [list] -display WAIT:... - -ssl [pem] -ssldir [dir] -sslverify [path] - -sslGenCA [dir] -sslGenCert type name -sslEncKey [pem] - -sslCertInfo [pem] -sslDelCert [pem] -stunnel [pem] - -stunnel3 [pem] -https [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] - -padgeom WxH -o logfile -flag file - -rc filename -norc -h, -help - -?, -opts -V, -version -dbg - -q -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 -arrow n - -noxfixes -alphacut n -alphafrac fraction - -alpharemove -noalphablend -nocursorshape - -cursorpos -nocursorpos -xwarppointer - -buttonmap string -nodragging -wireframe [str] - -nowireframe -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 -speeds rd,bw,lat -wmdt string - -debug_pointer -debug_keyboard -defer time - -wait time -wait_ui factor -nowait_bog - -slow_fb time -readtimeout n -nap - -nonap -sb time -nofbpm - -fbpm -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 -gui [gui-opts] -remote command - -query variable -QD variable -sync - -noremote -yesremote -unsafe - -safer -privremote -nocmds - -deny_all + -http_ssl -connect string -vncconnect + -novncconnect -allow host1[,host2..] -localhost + -nolookup -input string -viewpasswd string + -passwdfile filename -unixpw [list] -unixpw_nis [list] + -display WAIT:... -ssl [pem] -ssldir [dir] + -sslverify [path] -sslGenCA [dir] -sslGenCert type name + -sslEncKey [pem] -sslCertInfo [pem] -sslDelCert [pem] + -stunnel [pem] -stunnel3 [pem] -https [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] -padgeom WxH -o logfile + -flag file -rc filename -norc + -h, -help -?, -opts -V, -version + -dbg -q -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 + -arrow n -noxfixes -alphacut n + -alphafrac fraction -alpharemove -noalphablend + -nocursorshape -cursorpos -nocursorpos + -xwarppointer -buttonmap string -nodragging + -wireframe [str] -nowireframe -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 -speeds rd,bw,lat + -wmdt string -debug_pointer -debug_keyboard + -defer time -wait time -wait_ui factor + -nowait_bog -slow_fb time -readtimeout n + -nap -nonap -sb time + -nofbpm -fbpm -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 -gui [gui-opts] + -remote command -query variable -QD variable + -sync -noremote -yesremote + -unsafe -safer -privremote + -nocmds -deny_all libvncserver options: -rfbport port TCP port for RFB protocol @@ -7213,7 +7288,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-06-08 +x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-06-12 (type "x11vnc -opts" to just list the options.) @@ -7512,7 +7587,10 @@ Options: where the Java vncviewer applet is, have x11vnc try to *guess* where the directory is by looking relative to the program location and in standard locations - (/usr/local/share/x11vnc/classes, etc). + (/usr/local/share/x11vnc/classes, etc). Under -ssl or + -stunnel the ssl classes subdirectory is sought. +-http_ssl As -http, but force lookup for ssl classes subdir. + -connect string For use with "vncviewer -listen" reverse connections. If "string" has the form "host" or "host:port" the connection is made once at startup. Use commas @@ -7797,9 +7875,22 @@ Options: SSL helper process that will not switch, but it is only encoding and decoding the stream at that point. - As a special case, WAIT:cmd=FINDDISPLAY will run a - script that works on most Unixes to determine a user's - DISPLAY variable and xauthority data. this is TBD. + As a special case, WAIT:cmd=FINDDISPLAY will run + a script that works on most Unixes to determine a + user's DISPLAY variable and xauthority data. To have + this default script printed to stdout (e.g. for + customization) run with WAIT:cmd=FINDDISPLAY-print + + As another special case, WAIT:cmd=HTTPONCE will allow + x11vnc to service one http request and then exit. + This is usually done in -inetd mode to run on, say, + port 5800 and allow the Java vncviewer to be downloaded + by client web browsers. For example: + + 5815 stream tcp nowait root /usr/sbin/tcpd .../x11vnc \ + -inetd -q -http_ssl -display WAIT:cmd=HTTPONCE + + Is used in the Apache SSL-portal example (see FAQ). Finally, one can insert a geometry between colons, e.g. WAIT:1280x1024:... to set the size of the display @@ -8315,9 +8406,6 @@ Options: the -rfbauth option. If none of these succeed x11vnc exits immediately. - Note: -unixpw currently does not count as a password - method by this option. - -storepasswd pass file Store password "pass" as the VNC password in the file "file". Once the password is stored the program exits. Use the password via "-rfbauth file" diff --git a/x11vnc/help.c b/x11vnc/help.c index dc89c68..87062ce 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -316,7 +316,10 @@ void print_help(int mode) { " where the Java vncviewer applet is, have x11vnc try\n" " to *guess* where the directory is by looking relative\n" " to the program location and in standard locations\n" -" (/usr/local/share/x11vnc/classes, etc).\n" +" (/usr/local/share/x11vnc/classes, etc). Under -ssl or\n" +" -stunnel the ssl classes subdirectory is sought.\n" +"-http_ssl As -http, but force lookup for ssl classes subdir.\n" +"\n" "-connect string For use with \"vncviewer -listen\" reverse connections.\n" " If \"string\" has the form \"host\" or \"host:port\"\n" " the connection is made once at startup. Use commas\n" @@ -602,9 +605,22 @@ void print_help(int mode) { " SSL helper process that will not switch, but it is only\n" " encoding and decoding the stream at that point.\n" "\n" -" As a special case, WAIT:cmd=FINDDISPLAY will run a\n" -" script that works on most Unixes to determine a user's\n" -" DISPLAY variable and xauthority data. this is TBD.\n" +" As a special case, WAIT:cmd=FINDDISPLAY will run\n" +" a script that works on most Unixes to determine a\n" +" user's DISPLAY variable and xauthority data. To have\n" +" this default script printed to stdout (e.g. for\n" +" customization) run with WAIT:cmd=FINDDISPLAY-print\n" +"\n" +" As another special case, WAIT:cmd=HTTPONCE will allow\n" +" x11vnc to service one http request and then exit.\n" +" This is usually done in -inetd mode to run on, say,\n" +" port 5800 and allow the Java vncviewer to be downloaded\n" +" by client web browsers. For example:\n" +"\n" +" 5815 stream tcp nowait root /usr/sbin/tcpd .../x11vnc \\\n" +" -inetd -q -http_ssl -display WAIT:cmd=HTTPONCE\n" +"\n" +" Is used in the Apache SSL-portal example (see FAQ).\n" "\n" " Finally, one can insert a geometry between colons,\n" " e.g. WAIT:1280x1024:... to set the size of the display\n" @@ -1122,11 +1138,6 @@ void print_help(int mode) { " the -rfbauth option. If none of these succeed x11vnc\n" " exits immediately.\n" "\n" -#ifndef REL81 -" Note: -unixpw currently does not count as a password\n" -" method by this option.\n" -"\n" -#endif "-storepasswd pass file Store password \"pass\" as the VNC password in the\n" " file \"file\". Once the password is stored the\n" " program exits. Use the password via \"-rfbauth file\"\n" diff --git a/x11vnc/options.c b/x11vnc/options.c index f01f0c7..b14967b 100644 --- a/x11vnc/options.c +++ b/x11vnc/options.c @@ -23,6 +23,7 @@ int use_stunnel = 0; /* -stunnel */ int stunnel_port = 0; char *stunnel_pem = NULL; int use_openssl = 0; +int http_ssl = 0; char *openssl_pem = NULL; char *ssl_certs_dir = NULL; int https_port_num = -1; diff --git a/x11vnc/options.h b/x11vnc/options.h index cbd28e9..f49c70a 100644 --- a/x11vnc/options.h +++ b/x11vnc/options.h @@ -23,6 +23,7 @@ extern int use_stunnel; extern int stunnel_port; extern char *stunnel_pem; extern int use_openssl; +extern int http_ssl; extern char *openssl_pem; extern char *ssl_certs_dir; extern int https_port_num; diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 0716a81..b68e9b1 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -268,7 +268,7 @@ void check_black_fb(void) { } int check_httpdir(void) { - if (http_dir) { + if (http_dir && http_dir[0] != '\0') { return 1; } else { char *prog = NULL, *httpdir, *q; @@ -324,7 +324,7 @@ int check_httpdir(void) { len = strlen(prog) + 21 + 1; *q = '\0'; httpdir = (char *) malloc(len); - if (use_openssl || use_stunnel) { + if (use_openssl || use_stunnel || http_ssl) { snprintf(httpdir, len, "%s/../share/x11vnc/classes/ssl", prog); } else { snprintf(httpdir, len, "%s/../share/x11vnc/classes", prog); @@ -351,7 +351,7 @@ int check_httpdir(void) { "/usr/share/x11vnc/classes/ssl", NULL }; - if (use_openssl || use_stunnel) { + if (use_openssl || use_stunnel || http_ssl) { use = ssllist; } else { use = list; @@ -392,8 +392,8 @@ void http_connections(int on) { } } screen->httpInitDone = FALSE; - screen->httpDir = http_dir; if (check_httpdir()) { + screen->httpDir = http_dir; rfbHttpInitSockets(screen); } } else { diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 1a76036..117bc30 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -874,6 +874,9 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n"); if (!strcasecmp(raw_fb_str, "NULL") || !strcasecmp(raw_fb_str, "ZERO")) { raw_fb_str = strdup("map:/dev/zero@640x480x32"); } + if (!strcasecmp(raw_fb_str, "RAND")) { + raw_fb_str = strdup("file:/dev/urandom@128x128x16"); + } if ( (q = strstr(raw_fb_str, "setup:")) == raw_fb_str) { FILE *pipe; diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 1d31e77..b98ff28 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -32,6 +32,8 @@ int openssl_port_num = 0; int https_sock = -1; pid_t openssl_last_helper_pid = 0; +void raw_xfer(int csock, int s_in, int s_out); + #if !LIBVNCSERVER_HAVE_LIBSSL int openssl_present(void) {return 0;} static void badnews(void) { @@ -76,7 +78,6 @@ static void sslerrexit(void); static char *get_input(char *tag, char **in); static char *create_tmp_pem(char *path, int prompt); static int ssl_init(int s_in, int s_out); -static void raw_xfer(int csock, int s_in, int s_out); static void ssl_xfer(int csock, int s_in, int s_out, int is_https); #ifndef FORK_OK @@ -1057,6 +1058,7 @@ static int watch_for_http_traffic(char *buf_a, int *n_a) { strncpy(buf_a, buf, n); *n_a = n; } + if (db) fprintf(stderr, "watch_for_http_traffic ssl err: %d/%d\n", err, n); return -1; } @@ -1071,21 +1073,29 @@ static int watch_for_http_traffic(char *buf_a, int *n_a) { } else if (!strncmp("CO", buf, 2)) { is_http = 1; } - if (db) fprintf(stderr, "read: '%s'\n", buf); + if (db) fprintf(stderr, "watch_for_http_traffic read: '%s' %d\n", buf, n); /* * better read all we can and fwd it along to avoid blocking * in ssl_xfer(). */ + n2 = SSL_read(ssl, buf + n, ABSIZE - n); if (n2 >= 0) { n += n2; } *n_a = n; + if (db) fprintf(stderr, "watch_for_http_traffic readmore: %d\n", n2); + if (n > 0) { - /* XXX memcpy? */ - strncpy(buf_a, buf, n); + memcpy(buf_a, buf, n); } + if (db > 1) { + fprintf(stderr, "watch_for_http_traffic readmore: "); + write(2, buf_a, *n_a); + fprintf(stderr, "\n"); + } + if (db) fprintf(stderr, "watch_for_http_traffic return: %d\n", is_http); return is_http; } @@ -1814,61 +1824,6 @@ if (db > 1) fprintf(stderr, "ssl_init: 4\n"); return 1; } -static void raw_xfer(int csock, int s_in, int s_out) { - char buf[8192]; - int sz = 8192, n, m, status; - pid_t pid = fork(); - int db = 1; - - /* this is for testing, no SSL just socket redir */ - if (pid < 0) { - exit(1); - } - if (pid) { - if (db) fprintf(stderr, "raw_xfer start: %d -> %d/%d\n", csock, s_in, s_out); - - while (1) { - n = read(csock, buf, sz); - if (n == 0 || (n < 0 && errno != EINTR) ) { - break; - } else if (n > 0) { - m = write(s_out, buf, n); - if (db > 1) write(2, buf, n); - if (m != n) { - if (db) fprintf(stderr, "raw_xfer bad write: %d -> %d | %d/%d\n", csock, s_out, m, n); - break; - } - - } - } - kill(pid, SIGTERM); - waitpid(pid, &status, WNOHANG); - if (db) fprintf(stderr, "raw_xfer done: %d -> %d\n", csock, s_out); - - } else { - if (db) fprintf(stderr, "raw_xfer start: %d <- %d\n", csock, s_in); - - while (1) { - n = read(s_in, buf, sz); - if (n == 0 || (n < 0 && errno != EINTR) ) { - break; - } else if (n > 0) { - m = write(csock, buf, n); -if (db > 1) write(2, buf, n); - if (m != n) { - if (db) fprintf(stderr, "raw_xfer bad write: %d <- %d | %d/%d\n", csock, s_in, m, n); - break; - } - } - } - if (db) fprintf(stderr, "raw_xfer done: %d <- %d\n", csock, s_in); - - } - close(csock); - close(s_in); - close(s_out); -} - static void ssl_xfer(int csock, int s_in, int s_out, int is_https) { int dbxfer = 0, db = 0, check_pending, fdmax, nfd, n, i, err; char cbuf[ABSIZE], sbuf[ABSIZE]; @@ -2306,3 +2261,79 @@ static void init_prng(void) { #endif /* FORK_OK */ #endif /* LIBVNCSERVER_HAVE_LIBSSL */ +void raw_xfer(int csock, int s_in, int s_out) { + char buf[8192]; + int sz = 8192, n, m, status; +#ifdef FORK_OK + pid_t pid = fork(); + int db = 1; + + /* this is for testing, no SSL just socket redir */ + if (pid < 0) { + exit(1); + } + if (pid) { + if (db) fprintf(stderr, "raw_xfer start: %d -> %d/%d\n", csock, s_in, s_out); + + while (1) { + n = read(csock, buf, sz); + if (n == 0 || (n < 0 && errno != EINTR) ) { + break; + } else if (n > 0) { + int len = n; + char *src = buf; +if (db > 1) write(2, buf, n); + while (len > 0) { + m = write(s_out, src, len); + if (m > 0) { + src += m; + len -= m; + continue; + } + if (m < 0 && (errno == EINTR || errno == EAGAIN)) { + continue; + } + if (db) fprintf(stderr, "raw_xfer bad write: %d -> %d | %d/%d errno=%d\n", csock, s_out, m, n, errno); + break; + } + } + } + kill(pid, SIGTERM); + waitpid(pid, &status, WNOHANG); + if (db) fprintf(stderr, "raw_xfer done: %d -> %d\n", csock, s_out); + + } else { + if (db) fprintf(stderr, "raw_xfer start: %d <- %d\n", csock, s_in); + + while (1) { + n = read(s_in, buf, sz); + if (n == 0 || (n < 0 && errno != EINTR) ) { + break; + } else if (n > 0) { + int len = n; + char *src = buf; +if (db > 1) write(2, buf, n); + while (len > 0) { + m = write(csock, src, len); + if (m > 0) { + src += m; + len -= m; + continue; + } + if (m < 0 && (errno == EINTR || errno == EAGAIN)) { + continue; + } + if (db) fprintf(stderr, "raw_xfer bad write: %d <- %d | %d/%d errno=%d\n", csock, s_in, m, n, errno); + break; + } + } + } + if (db) fprintf(stderr, "raw_xfer done: %d <- %d\n", csock, s_in); + + } + close(csock); + close(s_in); + close(s_out); +#endif +} + diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h index b587dcd..98ee802 100644 --- a/x11vnc/ssltools.h +++ b/x11vnc/ssltools.h @@ -676,4 +676,75 @@ char genCert[] = "sign_key\n" ; +char find_display[] = +"#!/bin/sh\n" +"#\n" +"# Script for use in -display WAIT:cmd=FINDDISPLAY -unixpw mode.\n" +"# Attempts to find 1) DISPLAY and 2) XAUTH data for the user and\n" +"# returns them to caller.\n" +"#\n" +"# The idea is this script is run via su - user -c ... and returns\n" +"# display + xauth info to caller (x11vnc running as root or nobody).\n" +"# x11vnc then uses the info to open the display.\n" +"#\n" +"\n" +"#env; set -xv\n" +"PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin:/usr/ucb\n" +"export PATH\n" +"\n" +"# -n means no xauth, -f prescribes file to use.\n" +"showxauth=1\n" +"if [ \"X$1\" = \"X-n\" ]; then\n" +" showxauth=\"\"\n" +" shift\n" +"elif [ \"X$1\" = \"X-f\" ]; then\n" +" shift\n" +" showxauth=\"$1\"\n" +" shift\n" +"fi\n" +"\n" +"user=\"$1\" # cmd line arg takes precedence\n" +"if [ \"X$user\" = \"X\" ]; then\n" +" user=$X11VNC_USER # then X11VNC_USER\n" +"fi\n" +"if [ \"X$user\" = \"X\" ]; then\n" +" user=$USER # then USER\n" +"fi\n" +"if [ \"X$user\" = \"X\" ]; then\n" +" user=$LOGNAME # then LOGNAME\n" +"fi\n" +"if [ \"X$user\" = \"X\" ]; then\n" +" user=`whoami 2>/dev/null` # desperation whoami\n" +"fi\n" +"if [ \"X$user\" = \"X\" ]; then\n" +" echo \"\" # failure\n" +" exit 1\n" +"fi\n" +"\n" +"# Now try to match X DISPLAY to user:\n" +"\n" +"# who(1) output column 2:\n" +"display=`who | grep \"^${user}[ ][ ]*:[0-9]\" | head -1 | awk '{print $2}'`\n" +"\n" +"if [ \"X$display\" = \"X\" ]; then\n" +" # who(1) output, last column:\n" +" display=`who | grep \"^${user}[ ]\" | awk '{print $NF}' | grep '(:[0-9]' | sed -e 's/[()]//g' | head -1`\n" +" if [ \"X$display\" = \"X\" ]; then\n" +" echo \"\" # failure\n" +" exit 1\n" +" fi\n" +"fi\n" +"\n" +"echo \"DISPLAY=$display\"\n" +"if [ \"X$showxauth\" != \"X\" ]; then\n" +" if [ \"X$showxauth\" = \"X1\" ]; then\n" +" xauth extract - \"$display\" 2>/dev/null\n" +" else\n" +" xauth -f \"$showxauth\" extract - \"$display\" 2>/dev/null\n" +" fi\n" +"fi\n" +"\n" +"exit 0\n" +; + #endif /* _SSLTOOLS_H */ diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index fae74a5..c09f00e 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -39,6 +39,9 @@ extern char *crypt(const char*, const char *); #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) #define IS_BSD #endif +#if (defined(__MACH__) && defined(__APPLE__)) +#define IS_BSD +#endif #ifdef REL81 #undef UNIXPW_SU @@ -49,6 +52,7 @@ void unixpw_screen(int init); void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init); void unixpw_accept(char *user); void unixpw_deny(void); +void unixpw_msg(char *msg, int delay); int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size); int crypt_verify(char *user, char *pass); @@ -1195,3 +1199,26 @@ void unixpw_deny(void) { copy_screen(); } +void unixpw_msg(char *msg, int delay) { + int x, y, i; + + char_row += 2; + char_col = 0; + x = char_x + char_col * char_w; + y = char_y + char_row * char_h; + + rfbDrawString(screen, &default8x16Font, x, y, msg, white()); + if (scaling) { + mark_rect_as_modified(0, 0, dpy_x, dpy_y, 1); + } else { + mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0); + } + + for (i=0; i<5; i++) { + rfbPE(-1); + usleep(500 * 1000); + if (i >= delay) { + break; + } + } +} diff --git a/x11vnc/unixpw.h b/x11vnc/unixpw.h index 25dd71d..aa443d4 100644 --- a/x11vnc/unixpw.h +++ b/x11vnc/unixpw.h @@ -7,6 +7,7 @@ extern void unixpw_screen(int init); extern void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init); extern void unixpw_accept(char *user); extern void unixpw_deny(void); +extern void unixpw_msg(char *msg, int delay); extern int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size); extern int crypt_verify(char *user, char *pass); diff --git a/x11vnc/user.c b/x11vnc/user.c index aa6432e..7dfb5d1 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -943,6 +943,94 @@ void check_new_passwds(void) { } } +static void handle_one_http_request(void) { + + rfbLog("handle_one_http_request: begin.\n"); + if (screen->httpPort == 0) { + int port = find_free_port(5800, 5850); + if (port) { + screen->httpPort = port; + } else { + rfbLog("handle_one_http_request: no http port.\n"); + clean_up_exit(1); + } + } + screen->autoPort = FALSE; + screen->port = 0; + + http_connections(1); + rfbInitServer(screen); + + if (! inetd) { + int conn = 0; + while (1) { + if (0) fprintf(stderr, "%d %d %d %d\n", conn, screen->listenSock, screen->httpSock, screen->httpListenSock); + usleep(10 * 1000); + rfbHttpCheckFds(screen); + if (conn) { + if (screen->httpSock < 0) { + break; + } + } else { + if (screen->httpSock >= 0) { + conn = 1; + } + } + if (!screen->httpDir) { + break; + } + if (screen->httpListenSock < 0) { + break; + } + } + rfbLog("handle_one_http_request: finished.\n"); + return; + } else { +#if LIBVNCSERVER_HAVE_FORK + pid_t pid; + int s_in = screen->inetdSock; + if (s_in < 0) { + rfbLog("handle_one_http_request: inetdSock not set up.\n"); + clean_up_exit(1); + } + pid = fork(); + if (pid < 0) { + rfbLog("handle_one_http_request: could not fork.\n"); + clean_up_exit(1); + + } else if (pid > 0) { + int status; + pid_t pidw; + while (1) { + rfbHttpCheckFds(screen); + pidw = waitpid(pid, &status, WNOHANG); + if (pidw == pid && WIFEXITED(status)) { + break; + } else if (pidw < 0) { + break; + } + } + rfbLog("handle_one_http_request: finished.\n"); + return; + + } else { + int sock = rfbConnectToTcpAddr("127.0.0.1", + screen->httpPort); + if (sock < 0) { + exit(1); + } + raw_xfer(sock, s_in, s_in); + exit(0); + } +#else + rfbLog("handle_one_http_request: fork not supported.\n"); + clean_up_exit(1); +#endif + } +} + +extern char find_display[]; + int wait_for_client(int *argc, char** argv, int http) { static XImage ximage_struct; XImage* fb_image; @@ -952,50 +1040,69 @@ int wait_for_client(int *argc, char** argv, int http) { char *str, *q, *p; char *cmd = NULL; int db = 0; + char tmp[] = "/tmp/x11vnc-find_display.XXXXXX"; + int tmp_fd = -1, dt = 0; if (! use_dpy || strstr(use_dpy, "WAIT:") != use_dpy) { return 0; } - rfbLog("into wait_for_client.\n"); + for (i=0; i< *argc; i++) { + if (!strcmp(argv[i], "-desktop")) { + dt = 1; + } + if (0) fprintf(stderr, "args %d %s\n", i, argv[i]); + } + str = strdup(use_dpy); - str += strlen("WAIT:"); - q = strchr(str, ':'); + str += strlen("WAIT"); /* get any leading geometry: */ - if (q) *q = '\0'; - if (sscanf(str, "%dx%d", &w0, &h0) == 2) { - w = w0; - h = h0; + q = strchr(str+1, ':'); + if (q) { + *q = '\0'; + if (sscanf(str+1, "%dx%d", &w0, &h0) == 2) { + w = w0; + h = h0; + rfbLog("wait_for_client set: w=%d h=%d\n", w, h); + } + *q = ':'; + str = q; } - if (q) *q = ':'; - q = strchr(str, ':'); - if (! q) { - if (strstr(str, "cmd=") != str) { - str = strdup(":0"); - } + /* str currently begins with a ':' */ + if (strstr(str, ":cmd=") == str) { + /* cmd=/path/to/mycommand */ + str++; + } else if (strpbrk(str, "0123456789") == str+1) { + /* :0.0 */ + ; } else { - str = q; + /* hostname:0.0 */ + str++; } + if (db) fprintf(stderr, "str: %s\n", str); if (strstr(str, "cmd=") == str) { - cmd = str + strlen("cmd="); - if (db) fprintf(stderr, "cmd: %s\n", cmd); - - /* WAIT */ if (no_external_cmds) { rfbLog("wait_for_client external cmds not allowed:" " %s\n", use_dpy); clean_up_exit(1); } + + cmd = str + strlen("cmd="); + if (!strcmp(str, "FINDDISPLAY-print")) { + fprintf(stdout, "%s", find_display); + clean_up_exit(0); + } + if (db) fprintf(stderr, "cmd: %s\n", cmd); } if (fake_fb) { free(fake_fb); } - fake_fb = (char *) calloc(w*h*b/4, 1); + fake_fb = (char *) calloc(w*h*b/8, 1); fb_image = &ximage_struct; fb_image->data = fake_fb; @@ -1017,10 +1124,39 @@ int wait_for_client(int *argc, char** argv, int http) { off_x = 0; off_y = 0; + if (! dt) { + char *s; + argv[*argc] = strdup("-desktop"); + (*argc)++; + + if (cmd) { + char *q; + s = choose_title(":0"); + q = strstr(s, ":0"); + if (q) { + *q = '\0'; + } + } else { + s = choose_title(str); + } + rfb_desktop_name = strdup(s); + argv[*argc] = s; + (*argc)++; + } + initialize_allowed_input(); + + initialize_cursors_mode(); initialize_screen(argc, argv, fb_image); + initialize_signals(); + + if (!strcmp(cmd, "HTTPONCE")) { + handle_one_http_request(); + clean_up_exit(0); + } + if (http && check_httpdir()) { http_connections(1); } @@ -1081,11 +1217,28 @@ int wait_for_client(int *argc, char** argv, int http) { memset(line1, 0, 1024); memset(line2, 0, 16384); + if (!strcmp(cmd, "FINDDISPLAY")) { + tmp_fd = mkstemp(tmp); + if (tmp_fd < 0) { + rfbLog("wait_for_client: open failed: %s\n", tmp); + rfbLogPerror("mkstemp"); + clean_up_exit(1); + } + write(tmp_fd, find_display, strlen(find_display)); + close(tmp_fd); + chmod(tmp, 0644); + cmd = (char *) malloc(strlen(tmp) + strlen("/bin/sh ") + 1); + sprintf(cmd, "/bin/sh %s", tmp); + } + + rfbLog("wait_for_client: running: %s\n", cmd); + if (unixpw) { int res = 0, k, j, i; char line[18000]; memset(line, 0, 18000); + if (0) unixpw_msg("Looking up DISPLAY", 0); if (keep_unixpw_user && keep_unixpw_pass) { n = 18000; @@ -1096,8 +1249,15 @@ int wait_for_client(int *argc, char** argv, int http) { } keep_unixpw = 0; + if (tmp_fd >= 0) { + unlink(tmp); + } + +if (db) write(2, line, n); write(2, "\n", 1); + if (! res) { rfbLog("wait_for_client: cmd failed: %s\n", cmd); + unixpw_msg("No DISPLAY found.", 3); clean_up_exit(1); } @@ -1135,19 +1295,31 @@ int wait_for_client(int *argc, char** argv, int http) { if (! p) { rfbLog("wait_for_client: cmd failed: %s\n", cmd); rfbLogPerror("popen"); + if (tmp_fd >= 0) { + unlink(tmp); + } + unixpw_msg("No DISPLAY found.", 3); clean_up_exit(1); } if (fgets(line1, 1024, p) == NULL) { rfbLog("wait_for_client: read failed: %s\n", cmd); rfbLogPerror("fgets"); + if (tmp_fd >= 0) { + unlink(tmp); + } + unixpw_msg("No DISPLAY found.", 3); clean_up_exit(1); } n = fread(line2, 1, 16384, p); pclose(p); + if (tmp_fd >= 0) { + unlink(tmp); + } } if (strstr(line1, "DISPLAY=") != line1) { rfbLog("wait_for_client: bad reply %s\n", line1); + unixpw_msg("No DISPLAY found.", 3); clean_up_exit(1); } @@ -1158,7 +1330,6 @@ int wait_for_client(int *argc, char** argv, int http) { q++; } if (db) fprintf(stderr, "use_dpy: %s n: %d\n", use_dpy, n); -if (0) write(2, line2, n); if (line2[0] != '\0') { if (strstr(line2, "XAUTHORITY=") == line2) { q = line2; @@ -1176,12 +1347,13 @@ if (0) write(2, line2, n); xauth_raw_len = n; memcpy(xauth_raw_data, line2, n); if (db) fprintf(stderr, "xauth_raw_len: %d\n", n); -if (0) { - write(2, xauth_raw_data, xauth_raw_len); - fprintf(stderr, "\n"); -} } } + if (unixpw) { + char str[32]; + snprintf(str, 30, "Using DISPLAY %s", use_dpy); + unixpw_msg(str, 2); + } } else { use_dpy = strdup(str); } diff --git a/x11vnc/util.c b/x11vnc/util.c index caba756..1995164 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -47,6 +47,8 @@ void rfbCFD(long usec); double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1, int X2, int Y2); +char *choose_title(char *display); + /* * routine to keep 0 <= i < n, should use in more places... @@ -448,3 +450,32 @@ double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1, return o; } +/* + * choose a desktop name + */ +char *choose_title(char *display) { + static char title[(MAXN+10)]; + strcpy(title, "x11vnc"); + + if (display == NULL) { + display = getenv("DISPLAY"); + } + if (display == NULL) { + return title; + } + title[0] = '\0'; + if (display[0] == ':') { + if (this_host() != NULL) { + strncpy(title, this_host(), MAXN - strlen(title)); + } + } + strncat(title, display, MAXN - strlen(title)); + if (subwin && valid_window(subwin, NULL, 0)) { + char *name; + if (dpy && XFetchName(dpy, subwin, &name)) { + strncat(title, " ", MAXN - strlen(title)); + strncat(title, name, MAXN - strlen(title)); + } + } + return title; +} diff --git a/x11vnc/util.h b/x11vnc/util.h index 92e5e00..efa5c31 100644 --- a/x11vnc/util.h +++ b/x11vnc/util.h @@ -35,6 +35,7 @@ extern void rfbPE(long usec); extern void rfbCFD(long usec); extern double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1, int X2, int Y2); +extern char *choose_title(char *display); #define NONUL(x) ((x) ? (x) : "") diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index 9dc9386..0f0285d 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -2,7 +2,7 @@ .TH X11VNC "1" "June 2006" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.8.2, lastmod: 2006-06-08 + version: 0.8.2, lastmod: 2006-06-12 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -380,7 +380,12 @@ Instead of using \fB-httpdir\fR (see below) to specify where the Java vncviewer applet is, have x11vnc try to *guess* where the directory is by looking relative to the program location and in standard locations -(/usr/local/share/x11vnc/classes, etc). +(/usr/local/share/x11vnc/classes, etc). Under \fB-ssl\fR or +\fB-stunnel\fR the ssl classes subdirectory is sought. +.PP +\fB-http_ssl\fR +.IP +As \fB-http,\fR but force lookup for ssl classes subdir. .PP \fB-connect\fR \fIstring\fR .IP @@ -718,9 +723,22 @@ switch to the user as well. Note: there will be a 2nd SSL helper process that will not switch, but it is only encoding and decoding the stream at that point. .IP -As a special case, WAIT:cmd=FINDDISPLAY will run a -script that works on most Unixes to determine a user's -DISPLAY variable and xauthority data. this is TBD. +As a special case, WAIT:cmd=FINDDISPLAY will run +a script that works on most Unixes to determine a +user's DISPLAY variable and xauthority data. To have +this default script printed to stdout (e.g. for +customization) run with WAIT:cmd=FINDDISPLAY-print +.IP +As another special case, WAIT:cmd=HTTPONCE will allow +x11vnc to service one http request and then exit. +This is usually done in \fB-inetd\fR mode to run on, say, +port 5800 and allow the Java vncviewer to be downloaded +by client web browsers. For example: +.IP +5815 stream tcp nowait root /usr/sbin/tcpd .../x11vnc \\ +\fB-inetd\fR \fB-q\fR \fB-http_ssl\fR \fB-display\fR WAIT:cmd=HTTPONCE +.IP +Is used in the Apache SSL-portal example (see FAQ). .IP Finally, one can insert a geometry between colons, e.g. WAIT:1280x1024:... to set the size of the display @@ -1274,9 +1292,6 @@ use it with \fB-passwdfile;\fR otherwise, prompt the user for a password to create ~/.vnc/passwd and use it with the \fB-rfbauth\fR option. If none of these succeed x11vnc exits immediately. -.IP -Note: \fB-unixpw\fR currently does not count as a password -method by this option. .PP \fB-storepasswd\fR \fIpass\fR \fIfile\fR .IP diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 88bd697..ab4451a 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -148,13 +148,10 @@ * main routine for the x11vnc program */ - - static void check_cursor_changes(void); static void record_last_fb_update(void); static int choose_delay(double dt); static void watch_loop(void); -static char *choose_title(char *display); static int limit_shm(void); static void check_rcfile(int argc, char **argv); static void immediate_switch_user(int argc, char* argv[]); @@ -581,36 +578,6 @@ if (debug_scroll) fprintf(stderr, "watch_loop: LOOP-BACK: %d\n", ret); } } -/* - * choose a desktop name - */ -static char *choose_title(char *display) { - static char title[(MAXN+10)]; - strcpy(title, "x11vnc"); - - if (display == NULL) { - display = getenv("DISPLAY"); - } - if (display == NULL) { - return title; - } - title[0] = '\0'; - if (display[0] == ':') { - if (this_host() != NULL) { - strncpy(title, this_host(), MAXN - strlen(title)); - } - } - strncat(title, display, MAXN - strlen(title)); - if (subwin && valid_window(subwin, NULL, 0)) { - char *name; - if (dpy && XFetchName(dpy, subwin, &name)) { - strncat(title, " ", MAXN - strlen(title)); - strncat(title, name, MAXN - strlen(title)); - } - } - return title; -} - /* * check blacklist for OSs with tight shm limits. */ @@ -1193,6 +1160,7 @@ static void print_settings(int try_http, int bg, char *gui_str) { fprintf(stderr, " safer: %d\n", more_safe); fprintf(stderr, " nocmds: %d\n", no_external_cmds); fprintf(stderr, " deny_all: %d\n", deny_all); + fprintf(stderr, " pid: %d\n", getpid()); fprintf(stderr, "\n"); #endif rfbLog("x11vnc version: %s\n", lastmod); @@ -1371,7 +1339,7 @@ static void store_homedir_passwd(char *file) { #define SHOW_NO_PASSWORD_WARNING \ (!got_passwd && !got_rfbauth && (!got_passwdfile || !passwd_list) \ && !query_cmd && !remote_cmd && !unixpw && !got_gui_pw \ - && ! ssl_verify) + && ! ssl_verify && !inetd) int main(int argc, char* argv[]) { @@ -1393,7 +1361,8 @@ int main(int argc, char* argv[]) { XImage *fb0 = NULL; /* used to pass args we do not know about to rfbGetScreen(): */ - int argc_vnc = 1; char *argv_vnc[128]; + int argc_vnc_max = 1024; + int argc_vnc = 1; char *argv_vnc[2048]; /* check for -loop mode: */ check_loop_mode(argc, argv); @@ -1472,6 +1441,13 @@ int main(int argc, char* argv[]) { if (!strcmp(arg, "-display")) { CHECK_ARGC use_dpy = strdup(argv[++i]); + if (strstr(use_dpy, "WAIT")) { + extern find_display[]; + if (strstr(use_dpy, "cmd=FINDDISPLAY-print")) { + fprintf(stdout, "%s", find_display); + exit(0); + } + } } else if (!strcmp(arg, "-auth") || !strcmp(arg, "-xauth")) { CHECK_ARGC auth_file = strdup(argv[++i]); @@ -1568,6 +1544,9 @@ int main(int argc, char* argv[]) { filexfer = 1; } else if (!strcmp(arg, "-http")) { try_http = 1; + } else if (!strcmp(arg, "-http_ssl")) { + try_http = 1; + http_ssl = 1; } else if (!strcmp(arg, "-connect")) { CHECK_ARGC if (strchr(argv[++i], '/')) { @@ -2239,8 +2218,11 @@ int main(int argc, char* argv[]) { listen_str = strdup(argv[i+1]); } /* otherwise copy it for libvncserver use below. */ - if (argc_vnc < 100) { + if (argc_vnc < argc_vnc_max) { argv_vnc[argc_vnc++] = strdup(arg); + } else { + rfbLog("too many arguments.\n"); + exit(1); } } } @@ -2340,7 +2322,7 @@ int main(int argc, char* argv[]) { } } - if (usepw && ! got_rfbauth && ! got_passwd && ! got_passwdfile) { + if (usepw && ! got_rfbauth && ! got_passwd && ! got_passwdfile && !unixpw) { char *f, *h = getenv("HOME"); struct stat sbuf; int found = 0, set_rfbauth = 0; @@ -2523,7 +2505,11 @@ int main(int argc, char* argv[]) { " -unixpw\n"); rfbLog("mode, assuming your SSH encryption" " is: %s\n", s); + rfbLog("Setting -localhost in SSH + -unixpw" + " mode.\n"); fprintf(stderr, "\n"); + allow_list = strdup("127.0.0.1"); + got_localhost = 1; if (! nopw) { usleep(2000*1000); } @@ -2536,7 +2522,8 @@ int main(int argc, char* argv[]) { rfbLog("set -ssl in -unixpw mode.\n"); use_openssl = 1; } else if (inetd) { - rfbLog("could not set -ssl in -inetd + -unixpw mode.\n"); + rfbLog("could not set -ssl in -inetd" + " + -unixpw mode.\n"); exit(1); } else { rfbLog("set -stunnel in -unixpw mode.\n"); diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h index eb5f916..643c103 100644 --- a/x11vnc/x11vnc.h +++ b/x11vnc/x11vnc.h @@ -287,6 +287,7 @@ extern int h_errno; __FreeBSD__ __NetBSD__ __linux__ + (defined(__MACH__) && defined(__APPLE__)) _AIX */ diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index c316955..b2cce67 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.8.2 lastmod: 2006-06-08"; +char lastmod[] = "0.8.2 lastmod: 2006-06-12"; /* X display info */ @@ -150,4 +150,3 @@ char *program_cmdline = NULL; struct utsname UT; - |