diff options
-rw-r--r-- | classes/ssl/SignedVncViewer.jar | bin | 76058 -> 76417 bytes | |||
-rw-r--r-- | classes/ssl/VncViewer.jar | bin | 73328 -> 73684 bytes | |||
-rw-r--r-- | classes/ssl/tightvnc-1.3dev7_javasrc-vncviewer-ssl.patch | 103 | ||||
-rw-r--r-- | x11vnc/ChangeLog | 5 | ||||
-rw-r--r-- | x11vnc/README | 2759 | ||||
-rw-r--r-- | x11vnc/connections.c | 9 | ||||
-rw-r--r-- | x11vnc/help.c | 29 | ||||
-rw-r--r-- | x11vnc/keyboard.c | 7 | ||||
-rw-r--r-- | x11vnc/pointer.c | 6 | ||||
-rw-r--r-- | x11vnc/sslhelper.c | 4 | ||||
-rw-r--r-- | x11vnc/unixpw.c | 361 | ||||
-rw-r--r-- | x11vnc/x11vnc.1 | 31 | ||||
-rw-r--r-- | x11vnc/x11vnc.c | 19 | ||||
-rw-r--r-- | x11vnc/x11vnc_defs.c | 2 |
14 files changed, 1873 insertions, 1462 deletions
diff --git a/classes/ssl/SignedVncViewer.jar b/classes/ssl/SignedVncViewer.jar Binary files differindex 7d54bfb..3014086 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 05be367..55a262b 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 2229166..e97d4b4 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-06-12 00:00:28.000000000 -0400 -@@ -0,0 +1,1276 @@ ++++ vnc_javasrc/SSLSocketToMe.java 2006-09-23 18:35:25.000000000 -0400 +@@ -0,0 +1,1301 @@ +/* + * SSLSocketToMe.java: add SSL encryption to Java VNC Viewer. + * @@ -408,8 +408,14 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + public void check_for_proxy() { + + boolean result = false; -+ String ustr = "https://" + host + ":" + port; ++ String ustr = "https://" + host + ":"; ++ if (viewer.httpsPort != null) { ++ ustr += viewer.httpsPort; ++ } else { ++ ustr += port; // hmmm ++ } + ustr += viewer.urlPrefix + "/check.https.proxy.connection"; ++ dbg("ustr is: " + ustr); + + trusturlCerts = null; + proxy_in_use = false; @@ -429,6 +435,11 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + https.connect(); + + trusturlCerts = https.getServerCertificates(); ++ if (trusturlCerts == null) { ++ dbg("set trusturlCerts to null..."); ++ } else { ++ dbg("set trusturlCerts to non-null"); ++ } + + if (https.usingProxy()) { + proxy_in_use = true; @@ -485,9 +496,14 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + */ + check_for_proxy(); + -+ if (use_url_cert_for_auth && trusturlCerts != null) { ++ if (viewer.trustAllVncCerts) { ++ dbg("viewer.trustAllVncCerts-0 using trustall_ctx"); ++ factory = trustall_ctx.getSocketFactory(); ++ } else if (use_url_cert_for_auth && trusturlCerts != null) { ++ dbg("using trusturl_ctx"); + factory = trusturl_ctx.getSocketFactory(); + } else { ++ dbg("using trustloc_ctx"); + factory = trustloc_ctx.getSocketFactory(); + } + @@ -528,7 +544,9 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + SSLSession sess = socket.getSession(); + currentTrustedCerts = sess.getPeerCertificates(); + -+ if (currentTrustedCerts == null || currentTrustedCerts.length < 1) { ++ if (viewer.trustAllVncCerts) { ++ dbg("viewer.trustAllVncCerts-1"); ++ } else if (currentTrustedCerts == null || currentTrustedCerts.length < 1) { + socket.close(); + socket = null; + throw new SSLHandshakeException("no current certs"); @@ -542,16 +560,21 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + ; + } + -+ bcd = new BrowserCertsDialog(serv, host + ":" + port); -+ bcd.queryUser(); -+ if (bcd.showCertDialog) { -+ String msg = "user wants to see cert"; -+ dbg(msg); -+ user_wants_to_see_cert = true; -+ throw new SSLHandshakeException(msg); -+ } else { ++ if (viewer.trustAllVncCerts) { ++ dbg("viewer.trustAllVncCerts-2"); + user_wants_to_see_cert = false; -+ dbg("bcd: user said yes, accept it"); ++ } else { ++ bcd = new BrowserCertsDialog(serv, host + ":" + port); ++ bcd.queryUser(); ++ if (bcd.showCertDialog) { ++ String msg = "user wants to see cert"; ++ dbg(msg); ++ user_wants_to_see_cert = true; ++ throw new SSLHandshakeException(msg); ++ } else { ++ user_wants_to_see_cert = false; ++ dbg("bcd: user said yes, accept it"); ++ } + } + + } catch (SSLHandshakeException eh) { @@ -586,7 +609,9 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + "Peer Certificate"); + } + -+ if (! browser_cert_match()) { ++ if (viewer.trustAllVncCerts) { ++ dbg("viewer.trustAllVncCerts-3"); ++ } else if (! browser_cert_match()) { + /* + * close socket now, we will reopen after + * dialog if user agrees to use the cert. @@ -636,7 +661,7 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL + } + } + -+ if (socket != null && viewer.GET != null) { ++ if (socket != null && viewer.GET) { + String str = "GET "; + str += viewer.urlPrefix; + str += "/request.https.vnc.connection"; @@ -1353,21 +1378,23 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/SSLSocketToMe.java vnc_javasrc/SSL +} diff -x VncCanvas.java -Naur vnc_javasrc.orig/VncViewer.java vnc_javasrc/VncViewer.java --- vnc_javasrc.orig/VncViewer.java 2004-03-04 08:34:25.000000000 -0500 -+++ vnc_javasrc/VncViewer.java 2006-04-16 11:21:13.000000000 -0400 -@@ -88,6 +88,12 @@ ++++ vnc_javasrc/VncViewer.java 2006-09-23 18:36:42.000000000 -0400 +@@ -88,6 +88,14 @@ int deferCursorUpdates; int deferUpdateRequests; + boolean disableSSL; -+ String GET; ++ boolean GET; + String CONNECT; + String urlPrefix; ++ String httpsPort; + boolean forceProxy; ++ boolean trustAllVncCerts; + // Reference to this applet for inter-applet communication. public static java.applet.Applet refApplet; -@@ -626,6 +632,39 @@ +@@ -626,6 +634,51 @@ // SocketFactory. socketFactory = readParameter("SocketFactory", false); @@ -1378,25 +1405,32 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/VncViewer.java vnc_javasrc/VncView + if (str != null && str.equalsIgnoreCase("Yes")) + disableSSL = true; + ++ httpsPort = readParameter("httpsPort", false); ++ + // Extra GET, CONNECT string: + CONNECT = readParameter("CONNECT", false); + if (CONNECT != null) { + CONNECT = CONNECT.replaceAll(" ", ":"); + } -+ GET = readParameter("GET", false); -+ urlPrefix = ""; -+ if (GET != null) { -+ GET = GET.replaceAll("%2F", "/"); -+ GET = GET.replaceAll("%2f", "/"); -+ GET = GET.replaceAll("_2F_", "/"); -+ if (! GET.equals("1")) { -+ if (GET.indexOf("/") != 0) { -+ urlPrefix += "/"; -+ } -+ urlPrefix += GET; ++ ++ GET = false; ++ str = readParameter("GET", false); ++ if (str != null && str.equalsIgnoreCase("Yes")) { ++ GET = true; ++ } ++ if (str != null && str.equalsIgnoreCase("1")) { ++ GET = true; ++ } ++ ++ urlPrefix = readParameter("urlPrefix", false); ++ if (urlPrefix != null) { ++ urlPrefix = urlPrefix.replaceAll("%2F", "/"); ++ urlPrefix = urlPrefix.replaceAll("%2f", "/"); ++ urlPrefix = urlPrefix.replaceAll("_2F_", "/"); ++ if (urlPrefix.indexOf("/") != 0) { ++ urlPrefix = "/" + urlPrefix; + } + } -+ urlPrefix = urlPrefix.replaceAll("%2f", "/"); + System.out.println("urlPrefix: " + urlPrefix); + + forceProxy = false; @@ -1404,6 +1438,11 @@ diff -x VncCanvas.java -Naur vnc_javasrc.orig/VncViewer.java vnc_javasrc/VncView + if (str != null && str.equalsIgnoreCase("Yes")) { + forceProxy = true; + } ++ trustAllVncCerts = false; ++ str = readParameter("trustAllVncCerts", false); ++ if (str != null && str.equalsIgnoreCase("Yes")) { ++ trustAllVncCerts = true; ++ } } public String readParameter(String name, boolean required) { diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog index 6250651..06b0c00 100644 --- a/x11vnc/ChangeLog +++ b/x11vnc/ChangeLog @@ -1,3 +1,8 @@ +2006-09-23 Karl Runge <runge@karlrunge.com> + * Java viewer: improvements to connection response, faster + connections. + * x11vnc: some cleanup for -unixpw login process. + 2006-09-20 Karl Runge <runge@karlrunge.com> * x11vnc: -unixpw_cmd, -passwfile cmd:/custom:, -sslnofail, -ultrafilexfer diff --git a/x11vnc/README b/x11vnc/README index b5fce8e..0edfb7b 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Wed Sep 20 20:05:35 EDT 2006 +x11vnc README file Date: Sat Sep 23 19:30:26 EDT 2006 The following information is taken from these URLs: @@ -352,44 +352,44 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Tunnelling x11vnc via SSL: One can also encrypt the VNC traffic using an SSL tunnel such as - [53]stunnel or using the built-in (Mar/2006) [54]-ssl openssl mode. A - SSL-enabled Java applet VNC Viewer is also provided (and https can be - used to download it). + [53]stunnel (also [54]stunnel.mirt.net) or using the built-in + (Mar/2006) [55]-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 [55]this FAQ on -ssl and -stunnel modes for + useful alternative. See [56]this FAQ on -ssl and -stunnel modes for details and examples. - The [56]Enhanced TightVNC Viewer packages contains some convenient + The [57]Enhanced TightVNC Viewer packages contains some convenient utilities to automatically set up an SSL tunnel from the viewer-side (i.e. to connect to "x11vnc -ssl ..."). And other enhancements too. _________________________________________________________________ Downloading x11vnc: - x11vnc is a contributed program to the [57]LibVNCServer project at + x11vnc is a contributed program to the [58]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 Jul 2006, the [58]x11vnc-0.8.2.tar.gz source package is - released (recommended download). The [59]x11vnc 0.8.2 release notes. + link. As of Jul 2006, the [59]x11vnc-0.8.2.tar.gz source package is + released (recommended download). The [60]x11vnc 0.8.2 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 [60]x11vnc-0.8.3.tar.gz tarball to build the most up to + bleeding edge [61]x11vnc-0.8.3.tar.gz tarball to build the most up to date one. - Precompiled Binaries/Packages: See the [61]FAQ below for information + Precompiled Binaries/Packages: See the [62]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: - * [62]http://www.tightvnc.com/download.html - * [63]http://www.realvnc.com/download-free.html - * [64]http://sourceforge.net/projects/cotvnc/ - * [65]http://www.ultravnc.com/ - * [66]Our Enhanced TightVNC Viewer packages + * [63]http://www.tightvnc.com/download.html + * [64]http://www.realvnc.com/download-free.html + * [65]http://sourceforge.net/projects/cotvnc/ + * [66]http://www.ultravnc.com/ + * [67]Our Enhanced TightVNC Viewer packages More tools: Here is a rsh/ssh wrapper script rx11vnc that attempts to @@ -400,8 +400,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: - * [67]rx11vnc wrapper script - * [68]rx11vnc.pl wrapper script to tunnel traffic thru ssh + * [68]rx11vnc wrapper script + * [69]rx11vnc.pl wrapper script to tunnel traffic thru ssh _________________________________________________________________ @@ -432,8 +432,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 [69]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc - binaries are [70]here. + are at [70]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc + binaries are [71]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 @@ -453,12 +453,12 @@ export MAKE AM_CFLAGS $MAKE In general you can use the "make -e" trick if you don't like - libvncserver's choice of AM_CFLAGS. See the [71]build scripts below + libvncserver's choice of AM_CFLAGS. See the [72]build scripts below for more ideas. Scripts similar to the above have been shown to work with vendor C compilers on HP-UX (ccom: HP92453-01) and Tru64 (Compaq C V6.5-011). - You can find information on [72]Misc. Build problems here. + You can find information on [73]Misc. Build problems here. _________________________________________________________________ @@ -496,9 +496,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 - [73]ftp://ftp.uu.net/graphics/jpeg/ and zlib at - [74]http://www.gzip.org/zlib/. See also - [75]http://www.sunfreeware.com/ for Solaris binary packages of these + [74]ftp://ftp.uu.net/graphics/jpeg/ and zlib at + [75]http://www.gzip.org/zlib/. See also + [76]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. @@ -569,7 +569,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 [76]this workaround FAQ. + OS's, see [77]this workaround FAQ. Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in @@ -617,86 +617,77 @@ make Summer/Fall 2006. The version 0.8.3 beta tarball is kept here: - [77]x11vnc-0.8.3.tar.gz + [78]x11vnc-0.8.3.tar.gz There are also some Linux, Solaris, and other OS test binaries - [78]here. Please kick the tires and report bugs, performance - regressions, undesired behavior, etc. to [79]me. + [79]here. Please kick the tires and report bugs, performance + regressions, undesired behavior, etc. to [80]me. - To aid testing of the [80]built-in SSL support for x11vnc, a number of + To aid testing of the [81]built-in SSL support for x11vnc, a number of packages for Unix and Windows have been created that provide SSL - Support for the TightVNC Viewer (this is done by [81]wrapper scripts - that start STUNNEL, [82]more details here) It should be pretty - convenient for SSL connections. A number of other features where added + Support for the TightVNC Viewer (this is done by [82]wrapper scripts + that start STUNNEL, [83]more details here) It should be pretty + convenient for SSL connections. A number of other features were added to TightVNC Viewer (e.g. rfbNewFBSize resizing support). It is - described and can be downloaded from the [83]Enhanced TightVNC Viewer + described and can be downloaded from the [84]Enhanced TightVNC Viewer page. - Here are some features that appeared in the 0.8.2 release: - * Linux console framebuffer keystroke and mouse insertion is now - supported by the uinput linux device driver. This enables full - interaction with non-X applications on the Linux console (e.g. - Qt-embedded/Qtopia-Core apps). This will be autodetected in: - [84]-rawfb console mode, and can be forced on via: [85]-pipeinput - UINPUT - * The [86]-display WAIT:... option extends the normal [87]-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=" (available in beta version) provides a way to - allow a user to login with their UNIX password and have their - display connected to [88]automatically. - * The [89]-grabkdb and [90]-grabptr options allow some degree of - grabbing the pointer and keyboard so local users cannot perform - input (e.g. remote helpdesk application). - * More new options: - + [91]-allowedcmds to fine-tune which external commands may be - run by x11vnc, rather than shutting them all off with - [92]-nocmds, - + [93]-env VAR=VALUE convenience option to avoid the need of - setting environment variables before starting x11vnc, - + [94]-allinput option to enable libvncserver - handleEventsEagerly parameter, - + [95]-rawfb rand fun/testing option using /dev/urandom as a - fb, - + [96]-license print license, copying, warranty information. - - Here are some features that will appear in the 0.8.3 release: - * The [97]-ssl option provides SSL encryption and authentication - natively via the [98]www.openssl.org library. One can use from a + * The [85]-ssl option provides SSL encryption and authentication + natively via the [86]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 [99]-stunnel option starts up a SSL tunnel server stunnel - (that must be installed separately on the system: - [100]www.stunnel.org) to allow only encrypted SSL connections from - the network. - * The [101]-sslverify option allows for authenticating VNC clients + * Similar to -ssl, the [87]-stunnel option starts up a SSL tunnel + server stunnel (that must be installed separately on the system: + [88]www.stunnel.org [89]stunnel.mirt.net ) to allow only encrypted + SSL connections from the network. + * The [90]-sslverify option allows for authenticating VNC clients via their certificates in either -ssl or -stunnel modes. + * Certificate creation and management tools are provide in the + [91]-sslGenCert, [92]-sslGenCA, and [93]related options. * 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 [102]-https port option). A - wrapper shell script [103]ssl_vncviewer is also provided that sets - up a stunnel client-side tunnel on Unix systems. - * The [104]-unixpw option supports Unix username and password - authentication (a variant is the [105]-unixpw_nis option that - works in NIS environments). The [106]-ssl or [107]-localhost + - [108]-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). Coupling -unixpw with "-display - WAIT:cmd=FINDDISPLAY" provides a way to allow a user to login with - their UNIX password and have their display connected to - [109]automatically. - * The [110]-rotate option enables you to rotate or reflect the + classes/ssl/VncViewer.jar. In addition to normal HTTP, the applet + may be loaded into the web browser via HTTPS (HTTP over SSL). (one + can use the VNC port, e.g. https://host:5900/, or also the + separate [94]-https port option). A wrapper shell script + [95]ssl_vncviewer is also provided that sets up a stunnel + client-side tunnel on Unix systems. See [96]Enhanced TightVNC + Viewer for other SSL/SSH viewer possibilities. + * The [97]-unixpw option supports Unix username and password + authentication (a simpler variant is the [98]-unixpw_nis option + that works in environments where the encrypted passwords are + readable, e.g. NIS). The [99]-ssl or [100]-localhost + + [101]-stunnel options are enforced in this mode to prevent + password sniffing. As a convenience, these requirements are lifted + if a SSH tunnel can be deduced (but -localhost still applies). + * Coupling [102]-unixpw with [103]-display WAIT:cmd=FINDDISPLAY + provides a way to allow a user to login with their UNIX password + and have their display connected to [104]automatically. + * Hooks are provided in the [105]-unixpw_cmd and "[106]-passwdfile + cmd:,custom:..." options to allow you to supply your own + authentication and password lookup programs. + * x11vnc can be configured and built to not depend on X11 libraries + "./configure --without-x" for [107]-rawfb only operation (e.g. + embedded linux console devices). + * The [108]-rotate option enables you to rotate or reflect the screen before exporting via VNC. This is intended for use on handhelds and other devices where the rotation orientation is not "natural". - - Here are some [111]previous release notes + * The "[109]-ultrafilexfer" alias is provided and improved UltraVNC + filetransfer rates have been achieved. + * Under the "[110]-connect_or_exit host" option x11vnc will exit + immediately unless the reverse connection to host succeeds. The + "-rfbport 0" option disables TCP listening for connections (useful + for this mode). + * The "[111]-rawfb rand" and "-rawfb none" options are useful for + testing automation scripts, etc., without requiring a full + desktop. + * Reduced spewing of information at startup, use "[112]-verbose" + (also "-v") to turn it back on for debugging or if you are going + to send me a problem report. + + Here are some [113]Previous Release Notes _________________________________________________________________ Some Notes: @@ -723,11 +714,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 [112]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [114]-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 [113]TightVNC encoding gives the best response for my + I also find the [115]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. @@ -739,16 +730,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 "[114]-rfbport NNNN" + far-away.east:1. You can force the port with the "[116]-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 [115]command line options. Useful options are, e.g., -scale to + via its [117]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 - [116]-storepasswd option can be used to create the password file). + [118]-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 @@ -775,7 +766,7 @@ make first testing out the programs. You get an interesting recursive/feedback effect where vncviewer images keep popping up each one contained in the previous one and slightly shifted a bit by the - window manager decorations. There will be an [117]even more + window manager decorations. There will be an [119]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 @@ -785,8 +776,8 @@ make Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [118]SunRay - session. Here are some [119]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [120]SunRay + session. Here are some [121]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -798,7 +789,7 @@ make than you normally do to minimize the effects (e.g. do fullpage paging rather than line-by-line scrolling, and move windows in a single, quick motion). Recent work has provided the - [120]-scrollcopyrect and [121]-wireframe speedups using the + [122]-scrollcopyrect and [123]-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 @@ -845,14 +836,14 @@ make it may 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 - [122]this FAQ for details. + [124]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" [123]options, however, for a partial hack + X" and "-cursor some" [125]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 [124]-overlay option is also supplied. A similar thing is done + the [126]-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 @@ -860,18 +851,18 @@ make with transparency (alpha channel) need to approximated to solid RGB values (some cursors look worse than others). * Audio from applications is of course not redirected (separate - redirectors do exist, e.g. esd [125]the FAQ on this below.) The + redirectors do exist, e.g. esd [127]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 [126]-scrollcopyrect option + * The scroll detection algorithm for the [128]-scrollcopyrect option can give choppy or bunched up transient output and occasionally painting errors. * Using -threads can expose some bugs in libvncserver. - Please feel free to [127]contact me if you have any questions, + Please feel free to [129]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [128]this link + Also, some people ask if they can make a donation, see [130]this link for that. _________________________________________________________________ @@ -880,337 +871,341 @@ make [Building and Starting] - [129]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [131]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? - [130]Q-2: I can't get x11vnc and/or libvncserver to compile. + [132]Q-2: I can't get x11vnc and/or libvncserver to compile. - [131]Q-3: I just built x11vnc successfully, but when I use it my + [133]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). - [132]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [134]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [133]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [135]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [134]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [136]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [135]Q-7: How can I see all of x11vnc's command line options and + [137]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [136]Q-8: I don't like typing arcane command line options every time I + [138]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? - [137]Q-9: How can I get the GUI to run in the System Tray, or at least + [139]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [138]Q-10: How can I get x11vnc to listen on a different port besides + [140]Q-10: How can I get x11vnc to listen on a different port besides the default VNC port (5900)? - [139]Q-11: Can I make x11vnc more quiet and also go into the + [141]Q-11: Can I make x11vnc more quiet and also go into the background after starting up? - [140]Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [142]Q-12: 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. - [141]Q-13: Are there any build-time customizations possible, e.g. + [143]Q-13: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [142]Q-14: I have two separate machine displays in front of me, one + [144]Q-14: 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? - [143]Q-15: I am running Win2VNC on my Windows machine and "x11vnc + [145]Q-15: 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] - [144]Q-16: The X display I run x11vnc on is only 8 bits per pixel + [146]Q-16: 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. - [145]Q-17: Color problems: Why are the colors for some windows + [147]Q-17: 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. - [146]Q-18: How do I figure out the window id to supply to the -id + [148]Q-18: How do I figure out the window id to supply to the -id windowid option? - [147]Q-19: Why don't menus or other transient windows come up when I + [149]Q-19: Why don't menus or other transient windows come up when I am using the -id windowid option to view a single application window? - [148]Q-20: My X display is depth 24 at 24bpp (instead of the normal + [150]Q-20: 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] - [149]Q-21: Can I use x11vnc to view and interact with an Xterminal + [151]Q-21: 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? - [150]Q-22: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [152]Q-22: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? [Sun Rays] - [151]Q-23: I'm having trouble using x11vnc with my Sun Ray session. + [153]Q-23: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [152]Q-24: How do I stop x11vnc once it is running in the background? + [154]Q-24: How do I stop x11vnc once it is running in the background? - [153]Q-25: Can I change settings in x11vnc without having to restart + [155]Q-25: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [154]Q-26: How do I create a VNC password for use with x11vnc? + [156]Q-26: How do I create a VNC password for use with x11vnc? - [155]Q-27: Can I make it so -storepasswd doesn't show my password on + [157]Q-27: Can I make it so -storepasswd doesn't show my password on the screen? - [156]Q-28: Can I have two passwords for VNC viewers, one for full + [158]Q-28: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [157]Q-29: Can I have as many full-access and view-only passwords as I + [159]Q-29: Can I have as many full-access and view-only passwords as I like? - [158]Q-30: Does x11vnc support Unix usernames and passwords? Can I + [160]Q-30: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - [159]Q-31: Why does x11vnc exit as soon as the VNC viewer disconnects? + [161]Q-31: Can I supply an external program to provide my own custom + login method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) + usernames and passwords)? + + [162]Q-32: 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? - [160]Q-32: Can I limit which machines incoming VNC clients can connect + [163]Q-33: Can I limit which machines incoming VNC clients can connect from? - [161]Q-33: How do I build x11vnc/libvncserver with libwrap + [164]Q-34: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [162]Q-34: Can I have x11vnc only listen on one network interface + [165]Q-35: 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? - [163]Q-35: Now that -localhost implies listening only on the loopback + [166]Q-36: 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? - [164]Q-36: Can I fine tune what types of user input are allowed? E.g. + [167]Q-37: 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? - [165]Q-37: Can I prompt the user at the local X display whether the + [168]Q-38: 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? - [166]Q-38: I start x11vnc as root because it is launched via inetd(8) + [169]Q-39: 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? - [167]Q-39: I use a screen-lock when I leave my workstation (e.g. + [170]Q-40: 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? - [168]Q-40: Can I have x11vnc automatically lock the screen when I + [171]Q-41: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - [169]Q-41: Help! x11vnc and my KDE screensaver keep switching each + [172]Q-42: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. [Encrypted Connections] - [170]Q-42: How can I tunnel my connection to x11vnc via an encrypted + [173]Q-43: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [171]Q-43: How can I tunnel my connection to x11vnc via an encrypted + [174]Q-44: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [172]Q-44: How can I tunnel my connection to x11vnc via an encrypted + [175]Q-45: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [173]Q-45: Does x11vnc have built-in SSL tunneling? + [176]Q-46: Does x11vnc have built-in SSL tunneling? - [174]Q-46: How do I use VNC Viewers with built-in SSL tunneling? + [177]Q-47: How do I use VNC Viewers with built-in SSL tunneling? - [175]Q-47: How do I use VNC Viewers with built-in SSL tunneling when + [178]Q-48: How do I use VNC Viewers with built-in SSL tunneling when going through a Web Proxy? - [176]Q-48: Can Apache web server act as a gateway for users to connect + [179]Q-49: 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? - [177]Q-49: Can I create and use my own SSL Certificate Authority (CA) + [180]Q-50: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [178]Q-50: How can I run x11vnc as a "service" that is always + [181]Q-51: How can I run x11vnc as a "service" that is always available? - [179]Q-51: How can I use x11vnc to connect to an X login screen like + [182]Q-52: 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). - [180]Q-52: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [183]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [181]Q-53: Can I have x11vnc allow a user to log in with her UNIX + [184]Q-54: 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? - [182]Q-54: Can I have x11vnc restart itself after it terminates? + [185]Q-55: Can I have x11vnc restart itself after it terminates? - [183]Q-55: How do I make x11vnc work with the Java VNC viewer applet + [186]Q-56: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [184]Q-56: Are reverse connections (i.e. the VNC server connecting to + [187]Q-57: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [185]Q-57: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [188]Q-58: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real display, but for a virtual one I keep around). - [186]Q-58: How can I use x11vnc on "headless" machines? Why might I + [189]Q-59: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [187]Q-59: I have lots of memory, but why does x11vnc fail with + [190]Q-60: 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)? - [188]Q-60: How can I make x11vnc use less system resources? + [191]Q-61: How can I make x11vnc use less system resources? - [189]Q-61: How can I make x11vnc use MORE system resources? + [192]Q-62: How can I make x11vnc use MORE system resources? - [190]Q-62: I use x11vnc over a slow link with high latency (e.g. + [193]Q-63: I use x11vnc over a slow link with high latency (e.g. dialup modem), is there anything I can do to speed things up? - [191]Q-63: Does x11vnc support the X DAMAGE Xserver extension to find + [194]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [192]Q-64: When I drag windows around with the mouse or scroll up and + [195]Q-65: 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? - [193]Q-65: Why not do something like wireframe animations to avoid the + [196]Q-66: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [194]Q-66: Can x11vnc try to apply heuristics to detect when a window + [197]Q-67: Can x11vnc try to apply heuristics to detect when a window is scrolling its contents and use the CopyRect encoding for a speedup? [Mouse Cursor Shapes] - [195]Q-67: Why isn't the mouse cursor shape (the little icon shape + [198]Q-68: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? - [196]Q-68: When using XFIXES cursorshape mode, some of the cursors + [199]Q-69: 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? - [197]Q-69: In XFIXES mode, are there any hacks to handle cursor + [200]Q-70: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [198]Q-70: Why does the mouse arrow just stay in one corner in my + [201]Q-71: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - [199]Q-71: Can I take advantage of the TightVNC extension to the VNC + [202]Q-72: 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)? - [200]Q-72: Is it possible to swap the mouse buttons (e.g. left-handed + [203]Q-73: 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] - [201]Q-73: How can I get my AltGr and Shift modifiers to work between + [204]Q-74: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [202]Q-74: When I try to type a "<" (i.e. less than) instead I get ">" + [205]Q-75: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [203]Q-75: When I try to type a "<" (i.e. less than) instead I get + [206]Q-76: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [204]Q-76: I'm using an "international" keyboard (e.g. German "de", or + [207]Q-77: 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? - [205]Q-77: When typing I sometimes get double, triple, or more of my + [208]Q-78: 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? - [206]Q-78: The x11vnc -norepeat mode is in effect, but I still get + [209]Q-79: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [207]Q-79: The machine where I run x11vnc has an AltGr key, but the + [210]Q-80: 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? - [208]Q-80: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [211]Q-81: 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) - [209]Q-81: Can I map a keystroke to a mouse button click on the remote + [212]Q-82: Can I map a keystroke to a mouse button click on the remote machine? - [210]Q-82: How can I get Caps_Lock to work between my VNC viewer and + [213]Q-83: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [211]Q-83: The remote display is larger (in number of pixels) than the + [214]Q-84: 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? - [212]Q-84: Does x11vnc support server-side framebuffer scaling? (E.g. + [215]Q-85: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [213]Q-85: Does x11vnc work with Xinerama? (i.e. multiple monitors + [216]Q-86: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [214]Q-86: Can I use x11vnc on a multi-headed display that is not + [217]Q-87: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [215]Q-87: Can x11vnc show only a portion of the display? (E.g. for a + [218]Q-88: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - [216]Q-88: Does x11vnc support the XRANDR (X Resize, Rotate and + [219]Q-89: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [217]Q-89: Independent of any XRANDR, can I have x11vnc rotate and/or + [220]Q-90: Independent of any XRANDR, can I have x11vnc rotate and/or reflect the screen that the VNC viewers see? (e.g. for a handheld whose screen is rotated 90 degrees). - [218]Q-90: Why is the view in my VNC viewer completely black? Or why + [221]Q-91: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [219]Q-91: I use Linux Virtual Consoles (VC's) to implement 'Fast User + [222]Q-92: 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 @@ -1218,53 +1213,53 @@ make otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [220]Q-92: I am using x11vnc where my local machine has "popup/hidden + [223]Q-93: 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 interfere and fight with each other in strange ways. What can I do? - [221]Q-93: Can I use x11vnc to view my VMWare session remotely? + [224]Q-94: Can I use x11vnc to view my VMWare session remotely? - [222]Q-94: Can non-X devices (e.g. a raw framebuffer) be viewed (and + [225]Q-95: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? - [223]Q-95: Can I export via VNC a Webcam or TV tuner framebuffer using + [226]Q-96: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [224]Q-96: Can I connect via VNC to a Qt-embedded/Qtopia application + [227]Q-97: Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)? - [225]Q-97: Now that non-X11 devices can be exported via VNC using + [228]Q-98: Now that non-X11 devices can be exported via VNC using x11vnc, can I build it with no dependencies on X11 header files and libraries? - [226]Q-98: Can I use x11vnc to record a Shock Wave Flash (or other + [229]Q-99: Can I use x11vnc to record a Shock Wave Flash (or other format) video of my desktop, e.g. to record a tutorial or demo? [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - [227]Q-99: Does the Clipboard/Selection get transferred between the + [230]Q-100: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [228]Q-100: Can I transfer files back and forth with x11vnc? + [231]Q-101: Can I transfer files back and forth with x11vnc? - [229]Q-101: Can I (temporarily) mount my local (viewer-side) + [232]Q-102: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? - [230]Q-102: Can I redirect CUPS print jobs from the remote desktop + [233]Q-103: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? - [231]Q-103: How can I hear the sound (audio) from the remote + [234]Q-104: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [232]Q-104: Why don't I hear the "Beeps" in my X session (e.g. when + [235]Q-105: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [233]Q-105: Thanks for your program and for your help! Can I make a + [236]Q-106: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1277,7 +1272,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 [234]-display + on). Set your DISPLAY environment variable or use the [237]-display option to specify it. Nearly always the correct value will be ":0" (in fact, x11vnc will now assume :0 if given no other information). @@ -1294,9 +1289,9 @@ make working when you try to start x11vnc via, say, a remote shell. How to Solve: See the xauth(1), Xsecurity(7), and xhost(1) man pages - or [235]this Howto for much info on X11 permissions. For example, you + or [238]this Howto for much info on X11 permissions. For example, you may need to set your XAUTHORITY environment variable or use the - [236]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. + [239]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. /home/joe/.Xauthority or /var/gdm/:0.Xauth or /var/lib/kdm/A:0-crWk72K or /tmp/.gdmzndVlR, etc.), or simply be sure you run x11vnc as the correct user (i.e. the user who is logged into the X session you wish @@ -1318,7 +1313,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 [237]this faq for other display manager + read the gdm cookie file, see [240]this faq for other display manager cookie file names). While running x11vnc as root, remember it comes with no warranty ;-). @@ -1328,7 +1323,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 [238]-users option). + (please read the documentation on the [241]-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 @@ -1440,7 +1435,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [239]Solaris build script to run the configure command. That + above [242]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 @@ -1466,7 +1461,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 - [240]SunOS 4.x + [243]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 @@ -1476,28 +1471,28 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [241]build steps above and [242]FAQ provide enough info + Hopefully the [244]build steps above and [245]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) [243]http://packages.debian.org/x11vnc - - Slackware: (.tgz) [244]http://www.linuxpackages.net/ Redhat/Fedora: - (.rpm) [245]http://dag.wieers.com/packages/x11vnc/ - [246]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) - [247]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) - [248]http://www.sunfreeware.com/ FreeBSD: (.tbz) - [249]http://www.freebsd.org/ [250]http://www.freshports.org/net/x11vnc - OpenBSD: (.tgz) [251]http://www.openbsd.org/ NetBSD: (src) - [252]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) - [253]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus - [254]http://www.pdaxrom.org/ and [255]http://www.focv.com/ + Debian: (.deb) [246]http://packages.debian.org/x11vnc + + Slackware: (.tgz) [247]http://www.linuxpackages.net/ Redhat/Fedora: + (.rpm) [248]http://dag.wieers.com/packages/x11vnc/ + [249]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) + [250]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) + [251]http://www.sunfreeware.com/ FreeBSD: (.tbz) + [252]http://www.freebsd.org/ [253]http://www.freshports.org/net/x11vnc + OpenBSD: (.tgz) [254]http://www.openbsd.org/ NetBSD: (src) + [255]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) + [256]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus + [257]http://www.pdaxrom.org/ and [258]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 [256]my collection of + (and all else fails!) you can try one of [259]my collection of binaries for various OS's and x11vnc releases. As a general note, the x11vnc program is simple enough you don't @@ -1518,11 +1513,11 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [257]http://www.tightvnc.com/download.html - * [258]http://www.realvnc.com/download-free.html - * [259]http://sourceforge.net/projects/cotvnc/ - * [260]http://www.ultravnc.com/ - * [261]Our Enhanced TightVNC Viewer packages + * [260]http://www.tightvnc.com/download.html + * [261]http://www.realvnc.com/download-free.html + * [262]http://sourceforge.net/projects/cotvnc/ + * [263]http://www.ultravnc.com/ + * [264]Our Enhanced TightVNC Viewer packages Q-7: How can I see all of x11vnc's command line options and @@ -1530,7 +1525,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 - [262]here as well. Yes, x11vnc does have a lot of options, doesn't + [265]here as well. Yes, x11vnc does have a lot of options, doesn't it... @@ -1562,10 +1557,10 @@ display :0 program is needed for operation. The gui is not particularly user-friendly, it just provides a point and click mode to set all the many x11vnc parameters and obtain help on them. It is also very useful - for testing. See the [263]-gui option for more info. Examples: "x11vnc + for testing. See the [266]-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 "[264]-gui tray" system tray mode. + also a "[267]-gui tray" system tray mode. Q-9: How can I get the GUI to run in the System Tray, or at least be a @@ -1604,11 +1599,11 @@ display :0 Q-11: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [265]-q and [266]-bg options, respectively. (also: -quiet is + Use the [268]-q and [269]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[267]-o logfile" option. + the "[270]-o logfile" option. Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with @@ -1629,7 +1624,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 [268]build notes for general background). + (see the [271]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -1700,21 +1695,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 "[269]-nofb" option + Yes, for best response start up x11vnc with the "[272]-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 [270]x2vnc, however you would + This will also work X11 to X11 using [273]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: - * [271]Original Win2VNC - * [272]Enhanced Win2VNC and [273]sourceforge link - * [274]x2vnc - * [275]x2x also [276]here - * [277]zvnc (MorphOS) + * [274]Original Win2VNC + * [275]Enhanced Win2VNC and [276]sourceforge link + * [277]x2vnc + * [278]x2x also [279]here + * [280]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). @@ -1734,7 +1729,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 [278]-visual option to allow you to force the framebuffer + has the [281]-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: @@ -1749,7 +1744,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 [279]-flashcmap option to have x11vnc watch for changes in the + Use the [282]-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 @@ -1758,13 +1753,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 [280]-8to24 (Jan/2006) can often remove the need + Also note the option [283]-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 [281]-notruecolor option has corrected colors + In some rare cases the [284]-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. @@ -1775,13 +1770,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 [282]previous question regarding 8 bpp + You may want to review the [285]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [283]-overlay option + On some hardware (Sun/SPARC and SGI), the [286]-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 - [284]-8to24 option may help (also discussed below). + [287]-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 @@ -1817,7 +1812,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 [285]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [288]-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 @@ -1842,7 +1837,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [286]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [289]-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 @@ -1856,11 +1851,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [287]-flashcmap to avoid color flashing completely. + [290]-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: [288]-fixscreen V=3.0 to + row, or by using something like: [291]-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. @@ -1873,23 +1868,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 [289]-8to24 help description for information on + speedup. See the [292]-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 [290]-id option to + possible workaround in this case is to use the [293]-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 [291]-8to24 method + for x11vnc to be able to do so in real time. The [294]-8to24 method does this approximately and is somewhat usable. Fortunately the - [292]-overlay option works for Solaris machines with overlay visuals + [295]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. @@ -1900,9 +1895,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 [293]color problems. + debugging x11vnc [296]color problems. - Also, as of Dec/2004 you can use "[294]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[297]-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. @@ -1920,7 +1915,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 [295]-sid windowid option ("shifted" windowid). + polling, try the [298]-sid windowid option ("shifted" windowid). Q-20: My X display is depth 24 at 24bpp (instead of the normal depth @@ -1955,7 +1950,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 [296]-24to32 option to have + Update: as of Apr/2006 you can use the [299]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra transformation could slow things down further however. @@ -1974,15 +1969,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 [297]-display option to point the display to that of + machine. Use the [300]-display option to point the display to that of the Xterminal (you'll of course need basic X11 permission to do that) - and finally supply the [298]-noshm option (this enables the polling + and finally supply the [301]-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 [299]-flipbyteorder if the + on the polling rate. You may also need [302]-flipbyteorder if the colors get messed up due to endian byte order differences. Q-22: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct @@ -2006,7 +2001,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 - [300]-auth option to point to the correct file). Other options include + [303]-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 - @@ -2018,7 +2013,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [301]this note on the "xauth add ..." command. + two hosts, see [304]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 @@ -2032,7 +2027,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 [302]poll + Not recommended, but as a last resort, you could have x11vnc [305]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...) @@ -2061,13 +2056,13 @@ TrueColor defdepth 24 Q-23: I'm having trouble using x11vnc with my Sun Ray session. - The [303]Sun Ray technology is a bit like "VNC done in hardware" (the + The [306]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 [304]this discussion of Sun Ray issues for + "Soft Ray". Please see [307]this discussion of Sun Ray issues for solutions to problems. [Remote Control] @@ -2075,18 +2070,18 @@ TrueColor defdepth 24 Q-24: 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 [305]-remote and [306]-query + amount of things on the fly: see the [308]-remote and [309]-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 [307]-forever option has not been supplied, x11vnc will + If the [310]-forever option has not been supplied, x11vnc will automatically exit after the first client disconnects. In general if you cannot use the remote control, then you will have to kill the x11vnc process This can be done via: "kill NNNNN" (where NNNNN is the x11vnc process id number found from ps(1)), or "pkill x11vnc", or "killall x11vnc" (Linux only). - If you have not put x11vnc in the background via the [308]-bg option + If you have not put x11vnc in the background via the [311]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2096,15 +2091,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 [309]-clear_mods - option and [310]-clear_keys option can be used to release pressed keys + by tapping Ctrl, Shift, and Alt. Alternatively, the [312]-clear_mods + option and [313]-clear_keys option can be used to release pressed keys at startup and exit. Q-25: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [311]-remote (same as -R) and [312]-query (same as -Q) + Look at the [314]-remote (same as -R) and [315]-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", @@ -2115,7 +2110,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 [313]-gui option for more info. You will need to + mechanism. See the [316]-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". @@ -2130,12 +2125,12 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [314]option, which is the same functionality of storepasswd. Be sure + [317]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: "[315]-rfbauth + You then use the password via the x11vnc option: "[318]-rfbauth $HOME/myvncpasswd" As of Jan/2006 if you do not supply any arguments: @@ -2147,11 +2142,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [316]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [319]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [317]-usepw option to automatically use any password + You can use the [320]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2183,14 +2178,14 @@ TrueColor defdepth 24 Q-28: 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 [318]-viewpasswd option to supply the - view-only password. Note the full-access password option [319]-passwd + Yes, as of May/2004 there is the [321]-viewpasswd option to supply the + view-only password. Note the full-access password option [322]-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 - [320]-passwdfile option to specify a file containing plain text + [323]-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 @@ -2198,7 +2193,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 [321]-rfbauth + View-only passwords currently do not work for the [324]-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 @@ -2211,7 +2206,7 @@ TrueColor defdepth 24 Q-29: Can I have as many full-access and view-only passwords as I like? - Yes, as of Jan/2006 in the libvncserver CVS the [322]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [325]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2221,7 +2216,7 @@ TrueColor defdepth 24 Q-30: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - Update: as of Feb/2006 x11vnc has the [323]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [326]-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 @@ -2231,7 +2226,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [324]-unixpw_nis option for non-shadow-password + There is also the [327]-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 @@ -2240,11 +2235,11 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [325]-localhost and 2) [326]-stunnel or - [327]-ssl options. Without these one might send the Unix username and + provide extra security: the 1) [328]-localhost and 2) [329]-stunnel or + [330]-ssl options. Without these one might send the Unix username and password data in clear text over the network which is a very bad idea. They can be relaxed if you want to provide encryption other than - stunnel or [328]-ssl (the constraint is automatically relaxed if + stunnel or [331]-ssl (the constraint is automatically relaxed if SSH_CONNECTION is set and indicates you have ssh-ed in, however the -localhost requirement is still enforced). @@ -2263,13 +2258,13 @@ TrueColor defdepth 24 approximate at best. One approximate method involves starting x11vnc with the - [329]-localhost option. This basically requires the viewer user to log + [332]-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 [330]elsewhere on this page. [331]stunnel does this as well. + mentioned [333]elsewhere on this page. [334]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 @@ -2280,7 +2275,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 [332]-accept option that runs a program to examine the connection + the [335]-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 @@ -2312,30 +2307,78 @@ exit 1 # reject it always be "root". - - Q-31: Why does x11vnc exit as soon as the VNC viewer disconnects? And + Q-31: Can I supply an external program to provide my own custom login + method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) usernames + and passwords)? + Yes, there are several possibilities. For background see the FAQ on + the [336]-accept where an external program may be run to decide if a + VNC client should be allowed to try to connect and log in. If the + program (or local user prompted by a popup) answers "yes", then + -accept proceeds to the normal VNC and x11vnc authentication methods, + otherwise the connection is dropped. + + To provide more direct coupling to the VNC client's username and/or + supplied password the following options were added in Sep/2006: + * [337]-unixpw_cmd command + * [338]-passwdfile cmd:command + * [339]-passwdfile custom:command + + In each case "command" is an external command run by x11vnc. You + supply it. For example, it may couple to your LDAP system or other + servers you set up. + + For [340]-unixpw_cmd the normal [341]-unixpw Login: and Password: + prompts are supplied to the VNC viewer and the strings the client + returns are then piped into "command" as the first two lines of its + standard input. If the command returns success, i.e. exit(0), the VNC + client is accepted, otherwise it is rejected. + + For "[342]-passwdfile cmd:command" the command is run and it returns a + password list (like a password file, see the [343]-passwdfile + read:filename mode). Perhaps a dynamic, one-time password is retrieved + from a server this way. + + For "[344]-passwdfile custom:command" one gets complete control over + the VNC challenge-response dialog with the VNC client. x11vnc sends + out a string of random bytes (16 by the VNC spec) and the client + returns the same number of bytes in a way the server can verify only + the authorized user could have created. The VNC protocol specifies DES + encryption with a password. If you are willing to modify the VNC + viewers, you can have it be anything you want, perhaps a less + crackable MD5 hash scheme or one-time pad. The program will read from + its standard input the size of the challenge-response, then the + challenge bytes followed by the response bytes. If the command then + returns success, i.e. exit(0), the VNC client is accepted, otherwise + it is rejected. + + In all cases the "RFB_*" enviornment variables are set as under + [345]-accept. These variables can provide useful information for the + externally supplied program to use. + + + Q-32: Why does x11vnc exit as soon as the VNC viewer disconnects? And why doesn't it allow more than one VNC viewer to connect at the same time? These defaults are simple safety measures to avoid someone unknowingly leaving his X11 desktop exposed (to the internet, say) for long - periods of time. Use the [333]-forever option (aka -many) to have + periods of time. Use the [346]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [334]-shared option to have x11vnc allow multiple clients to + Use the [347]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([335]see - above), stunnel, [336]-ssl, or a VPN to authenticate and encrypt the + Recommended additional safety measures include using ssh ([348]see + above), stunnel, [349]-ssl, or a VPN to authenticate and encrypt the viewer connections or to at least use the -rfbauth passwd-file - [337]option to use VNC password protection (or [338]-passwdfile) It is + [350]option to use VNC password protection (or [351]-passwdfile) It is up to YOU to apply these security measures, they will not be done for you automatically. - Q-32: Can I limit which machines incoming VNC clients can connect + Q-33: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [339]-allow and [340]-localhost options to limit + Yes, look at the [352]-allow and [353]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -2347,11 +2390,11 @@ exit 1 # reject it Note that -localhost achieves the same thing as "-allow 127.0.0.1" For more control, build libvncserver with libwrap support - [341](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [354](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. - Q-33: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) + Q-34: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? Here is one way to pass this information to the configure script: @@ -2367,43 +2410,43 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [342]inetd you do not need to build + Note that if you run x11vnc out of [355]inetd you do not need to build x11vnc with libwrap support because the /usr/sbin/tcpd reference in /etc/inetd.conf handles the tcp_wrappers stuff. - Q-34: Can I have x11vnc only listen on one network interface (e.g. + Q-35: Can I have x11vnc only listen on one network interface (e.g. internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - As of Mar/2005 there is the "[343]-listen ipaddr" option that enables + As of Mar/2005 there is the "[356]-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 - "[344]-allow host1,..." option to allow only specific hosts in. + "[357]-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 [345]-localhost now implies "-listen localhost" since that + The option [358]-localhost now implies "-listen localhost" since that is what most people expect it to do. - Q-35: Now that -localhost implies listening only on the loopback + Q-36: Now that -localhost implies listening only on the loopback interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - To do this specify "[346]-allow localhost". Unlike [347]-localhost + To do this specify "[359]-allow localhost". Unlike [360]-localhost this will leave x11vnc listening on all interfaces (but of course only allowing in local connections, e.g. ssh redirs). Then you can later run "x11vnc -R allowonce:somehost" or use to gui to permit a one-shot connection from a remote host. - Q-36: Can I fine tune what types of user input are allowed? E.g. have + Q-37: Can I fine tune what types of user input are allowed? E.g. have some users just be able to move the mouse, but not click or type anything? - As of Feb/2005, the [348]-input option allows you to do this. "K", + As of Feb/2005, the [361]-input option allows you to do this. "K", "M", "B", and "C" stand for Keystroke, Mouse-motion, Button-clicks, and Clipboard, respectively. The setting: "-input M" makes attached viewers only able to move the mouse. "-input KMBC,M" lets normal @@ -2413,12 +2456,12 @@ exit 1 # reject it remote control mechanism or the GUI. E.g. x11vnc -R input:hostname:M - Q-37: Can I prompt the user at the local X display whether the + Q-38: Can I prompt the user at the local X display whether the incoming VNC client should be accepted or not? Can I decide to make some clients view-only? How about running an arbitrary program to make the decisions? - Yes, look at the "[349]-accept command" option, it allows you to + Yes, look at the "[362]-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 @@ -2437,7 +2480,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 [350]-viewonly option has been + mouse on the "View" button. If the [363]-viewonly option has been supplied, the "View" action will not be present: the whole display is view only in that case. @@ -2453,7 +2496,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 [351]ftp://ftp.x.org/ + is available at [364]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 @@ -2492,7 +2535,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [352]dtVncPopup for use + Stefan Radman has written a nice dtksh script [365]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. @@ -2501,23 +2544,23 @@ exit 1 popup is being run, so attached clients will not receive screen updates, etc during this period. - To run a command when a client disconnects, use the "[353]-gone + To run a command when a client disconnects, use the "[366]-gone command" option. This is for the user's convenience only: the return code of the command is not interpreted by x11vnc. The same environment variables are set as in "-accept command" (except that RFB_MODE will be "gone"). - As of Jan/2006 the "[354]-afteraccept command" option will run the + As of Jan/2006 the "[367]-afteraccept command" option will run the command only after the VNC client has been accepted and authenticated. Like -gone the return code is not interprted. RFB_MODE will be "afteraccept"). - Q-38: I start x11vnc as root because it is launched via inetd(8) or a + Q-39: I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user? - As of Feb/2005 x11vnc has the [355]-users option that allows things + As of Feb/2005 x11vnc has the [368]-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. @@ -2529,7 +2572,7 @@ exit 1 warranty ;-). - Q-39: I use a screen-lock when I leave my workstation (e.g. + Q-40: 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 @@ -2542,7 +2585,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 [356]blockdpy.c The idea behind it is simple (but + source for it is [369]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 @@ -2558,16 +2601,16 @@ 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 [357]-accept option and told - to exit via the [358]-gone option (the vnc client user should + The blockdpy utility is launched by the [370]-accept option and told + to exit via the [371]-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. - Q-40: Can I have x11vnc automatically lock the screen when I + Q-41: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [359]-gone option under CDE to run a + Yes, a user mentions he uses the [372]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -2576,7 +2619,7 @@ exit 1 x11vnc -display :0 -forever -gone 'kdesktop_lock' x11vnc -display :0 -forever -gone 'xlock &' - Here is a scheme using the [360]-afteraccept option (in version 0.7.3) + Here is a scheme using the [373]-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 @@ -2601,7 +2644,7 @@ elif [ "X$RFB_MODE" = "Xgone" ]; then fi fi - Q-41: Help! x11vnc and my KDE screensaver keep switching each other on + Q-42: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. This is a new (Jul/2006) problem seen, say, on the version of KDE that @@ -2612,30 +2655,30 @@ fi This may be a bug in kdesktop_lock. For now the only workaround is to disable the screensaver. You can try using another one such as - straight xscreensaver (see the instructions [361]here for how to + straight xscreensaver (see the instructions [374]here for how to disable kdesktop_lock). If you have more info on this or see it outside of KDE please let us know. [Encrypted Connections] - Q-42: How can I tunnel my connection to x11vnc via an encrypted SSH + Q-43: 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 [362]how to tunnel VNC via + See the description earlier on this page on [375]how to tunnel VNC via SSH from Unix to Unix. A number of ways are described along with some issues you may encounter. Other secure encrypted methods exists, e.g. stunnel, IPSEC, various VPNs, etc. - See also the [363]Enhanced TightVNC Viewer page where much of this is + See also the [376]Enhanced TightVNC Viewer page where much of this is now automated. - Q-43: How can I tunnel my connection to x11vnc via an encrypted SSH + Q-44: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [364]Above we described how to tunnel VNC via SSH from Unix to Unix, + [377]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 @@ -2656,11 +2699,11 @@ fi :0 (plus other cmdline options) in the 'Remote command' Putty setting under 'Connections/SSH'. - See also the [365]Enhanced TightVNC Viewer page where much of this is + See also the [378]Enhanced TightVNC Viewer page where much of this is now automated via the Putty plink utility. - For extra protection feel free to run x11vnc with the [366]-localhost - and [367]-rfbauth/[368]-passwdfile options. + For extra protection feel free to run x11vnc with the [379]-localhost + and [380]-rfbauth/[381]-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 @@ -2668,34 +2711,34 @@ 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 [369]chaining ssh's. + automated by [382]chaining ssh's. - As discussed [370]above another option is to first start the VNC + As discussed [383]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[371]-connect localhost" option to establish the reverse connection. + "[384]-connect localhost" option to establish the reverse connection. In this case a Remote port redirection (not Local) is needed for port 5500 instead of 5900 (i.e. 'Source port: 5500' and 'Destination: localhost:5500' for a Remote connection). - Q-44: How can I tunnel my connection to x11vnc via an encrypted SSL + Q-45: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? It is possible to use a "lighter weight" encryption setup than SSH or - IPSEC. SSL tunnels such as [372]stunnel provide an encrypted channel - without the need for Unix users, passwords, and key passphrases - required for ssh (and at the other extreme SSL can also provide a - complete signed certificate chain of trust). OTOH, since SSH is - usually installed everywhere and firewalls often let its port through, - ssh is frequently the path of least resistance (it also nicely manages - public keys for you). - - Update: As of Feb/2006 x11vnc has the options [373]-ssl, - [374]-stunnel, and [375]-sslverify to provide integrated SSL schemes. - They are discussed [376]in the Next FAQ (you may want to skip to it + IPSEC. SSL tunnels such as [385]stunnel (also [386]stunnel.mirt.net) + provide an encrypted channel without the need for Unix users, + passwords, and key passphrases required for ssh (and at the other + extreme SSL can also provide a complete signed certificate chain of + trust). OTOH, since SSH is usually installed everywhere and firewalls + often let its port through, ssh is frequently the path of least + resistance (it also nicely manages public keys for you). + + Update: As of Feb/2006 x11vnc has the options [387]-ssl, + [388]-stunnel, and [389]-sslverify to provide integrated SSL schemes. + They are discussed [390]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [377]stunnel but the general idea + Here are some basic examples using [391]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 @@ -2719,7 +2762,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 [378]signed by + stunnel is built. One can also create certificates [392]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. @@ -2733,7 +2776,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 [379]ssl_vncviewer script can automate + That's it. (note that the [393]ssl_vncviewer script can automate this.) Be sure to use a VNC password because unlike ssh by default the @@ -2741,13 +2784,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 [380]the key management section for details. + and also [394]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 [381]article The article also + found at the stunnel site and in this [395]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [382]x11vnc + certificates. (for both server and clients, see also the [396]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 @@ -2768,7 +2811,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 [383]-inetd mode: + start up x11vnc in [397]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -2811,28 +2854,28 @@ connect = 5900 they probably wouldn't work since the SSL negotiation is likely embedded in the VNC protocol unlike our case where it is external. - Note: as of Mar/2006 libvncserver/x11vnc provides a [384]SSL-enabled - Java applet that can be served up via the [385]-httpdir or [386]-http - options when [387]-ssl is enabled. It will also be served via HTTPS + Note: as of Mar/2006 libvncserver/x11vnc provides a [398]SSL-enabled + Java applet that can be served up via the [399]-httpdir or [400]-http + options when [401]-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 [388]-https option. + the [402]-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 [389]-stunnel or [390]-ssl option on the server side it works well - and is convenient. Here is a simple script [391]ssl_vncviewer that + the [403]-stunnel or [404]-ssl option on the server side it works well + and is convenient. Here is a simple script [405]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.) - Update Jul/2006: we now provide an [392]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [406]Enhanced TightVNC Viewer package that starts up STUNNEL automatically along with some other features. All binaries are provided in the package. - Q-45: Does x11vnc have built-in SSL tunneling? + Q-46: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [393]in the Previous FAQ + You can read about non-built-in methods [407]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 @@ -2843,14 +2886,14 @@ connect = 5900 Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [394]-ssl and [395]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [396]SSL-enabled + As of Feb/2006 the x11vnc [408]-ssl and [409]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [410]SSL-enabled Java Viewer applet is also provided that can be served via HTTP or HTTPS to automate SSL on the client side. - The [397]-ssl mode uses the [398]www.openssl.org library if available - at build time. The [399]-stunnel mode requires the - [400]www.stunnel.org command stunnel(8) to be installed on the system. + The [411]-ssl mode uses the [412]www.openssl.org library if available + at build time. The [413]-stunnel mode requires the + [414]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" @@ -2902,12 +2945,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 [401]x11vnc Key Management for some utilities + See the discussion on [415]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 [402]ssl_vncviewer provides an example on unix + The wrapper script [416]ssl_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -2923,7 +2966,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 - [403]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [417]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.) @@ -2948,10 +2991,10 @@ connect = 5900 including using https to download it into the browser and connect to x11vnc. - See the [404]next FAQ for SSL enabled VNC Viewers. + See the [418]next FAQ for SSL enabled VNC Viewers. - Q-46: How do I use VNC Viewers with built-in SSL tunneling? + Q-47: How do I use VNC Viewers with built-in SSL tunneling? Notes on the SSL enabled Java VNC Viewer provided in classes/ssl/VncViewer.jar: @@ -2959,9 +3002,9 @@ 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 [405]-httpdir can be used to specify the path to .../classes/ssl. + the [419]-httpdir can be used to specify the path to .../classes/ssl. A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - [406]-http can be used to try to have it find the directory + [420]-http can be used to try to have it find the directory automatically. The Java viewer uses SSL to communicate securely with x11vnc. Note @@ -2986,7 +3029,7 @@ connect = 5900 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 [407]-https option to get an additional port dedicated to https + the [421]-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: @@ -2997,9 +3040,9 @@ connect = 5900 notice is a request for a VNC connection. Otherwise it must wait for a timeout to expire before it assumes a VNC connection. - You may also use "?GET=somestring" to have /somestring prepended to - /request.https.vnc.connection". Perhaps you are using a web server - [408]proxy scheme to enter a firewall or otherwise have rules applied + You may also use "urlPrefix=somestring" to have /somestring prepended + to /request.https.vnc.connection". Perhaps you are using a web server + [422]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".) @@ -3023,7 +3066,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 [409]-https option if you want a dedicated + let you connect. Use the [423]-https option if you want a dedicated port for HTTPS connections instead of sharing the VNC port. @@ -3032,10 +3075,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 [410]for + package. The basic ideas of doing this were discussed [424]for external tunnel utilities here. - The [411]ssl_vncviewer script provided with x11vnc can set up the + The [425]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 @@ -3067,19 +3110,19 @@ 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 [412]this page for more information on + separate the two by commas. See [426]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [413]here, + If one uses a Certificate Authority (CA) scheme described [427]here, the wrapper script would use the CA cert instead of the server cert: 3') ssl_vncviewer -verify ./cacert.crt far-away.east:0 - Update Jul/2006: we now provide an [414]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [428]Enhanced TightVNC Viewer package that starts up STUNNEL automatically along with some other features. All binaries are provided in the package. - Q-47: How do I use VNC Viewers with built-in SSL tunneling when going + Q-48: How do I use VNC Viewers with built-in SSL tunneling when going through a Web Proxy? The SSL enabled Java VNC Viewer and firewall Proxies: @@ -3110,7 +3153,7 @@ connect = 5900 (instead of the unsigned one in https://yourmachine.com:5900/ that gives the default index.vnc) - Note that the [415]ssl_vncviewer stunnel wrapper script can use Web + Note that the [429]ssl_vncviewer stunnel wrapper script can use Web proxies as well. Proxies that limit CONNECT to ports 443 and 563: @@ -3139,23 +3182,23 @@ 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 [416]trick discussed above, do: + parameters in the URL. To use the GET [430]trick discussed above, do: https://yourmachine.com/proxy.vnc?PORT=443&GET=1 - Q-48: Can Apache web server act as a gateway for users to connect via + Q-49: Can Apache web server act as a gateway for users to connect via SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? Yes. You will need to configure apache to forward these connections. - It is discussed [417]here. This provides a clean alternative to the + It is discussed [431]here. This provides a clean alternative to the traditional method where the user uses SSH to log in through the gateway to create the encrypted port redirection to x11vnc running on her desktop. - Q-49: Can I create and use my own SSL Certificate Authority (CA) with + Q-50: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [418]this page for how to do this and the utility commands + Yes, see [432]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -3163,7 +3206,7 @@ connect = 5900 [Display Managers and Services] - Q-50: How can I run x11vnc as a "service" that is always available? + Q-51: How can I run x11vnc as a "service" that is always available? There are a number of ways to do this. The primary thing you need to decide is whether you want x11vnc to connect to the X session on the @@ -3174,13 +3217,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 [419]FAQ on x11vnc + * Use the description under "Continuously" in the [433]FAQ on x11vnc and Display Managers - * Use the description in the [420]FAQ on x11vnc and inetd(8) - * Use the description in the [421]FAQ on Unix user logins and + * Use the description in the [434]FAQ on x11vnc and inetd(8) + * Use the description in the [435]FAQ on Unix user logins and inetd(8) * Start x11vnc from your $HOME/.xsession (or $HOME/.xinitrc) - * Although less reliable, see the [422]x11vnc_loop rc.local hack + * Although less reliable, see the [436]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -3199,7 +3242,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg plus any other options you desire. - Q-51: How can I use x11vnc to connect to an X login screen like xdm, + Q-52: 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). @@ -3211,7 +3254,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 [423]-auth option sets the XAUTHORITY variable for you). + (the [437]-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 @@ -3236,7 +3279,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 - [424]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [438]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 @@ -3299,7 +3342,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg Then restart: /usr/sbin/gdm-restart (or reboot). The KillInitClients=false setting is important: without it x11vnc will be - killed immediately after the user logs in. Here are [425]full details + killed immediately after the user logs in. Here are [439]full details on how to configure gdm _________________________________________________________________ @@ -3341,24 +3384,24 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg If you do not want to deal with any display manager startup scripts, here is a kludgey script that can be run manually or out of a boot - file like rc.local: [426]x11vnc_loop It will need some local + file like rc.local: [440]x11vnc_loop It will need some local customization before running. Because the XAUTHORITY auth file must be guessed by this script, use of the display manager script method - described above is greatly preferred. There is also the [427]-loop + described above is greatly preferred. There is also the [441]-loop option that does something similar. If the machine is a traditional Xterminal you may want to read - [428]this FAQ. + [442]this FAQ. - Q-52: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)? Yes, perhaps a line something like this in /etc/inetd.conf will do it for you: 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [429]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [443]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh @@ -3371,7 +3414,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg and that confuses it greatly, causing it to abort). If you do not use a wrapper script as above but rather call x11vnc directly in /etc/inetd.conf and do not redirect stderr to a file, then you must - specify the -q (aka [430]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [444]-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 @@ -3379,12 +3422,12 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg script with "2>logfile" redirection because the errors and warnings printed out are very useful in troubleshooting problems. - Note also the need to set XAUTHORITY via [431]-auth to point to the + Note also the need to set XAUTHORITY via [445]-auth to point to the MIT-COOKIE auth file to get permission to connect to the X display (setting and exporting the XAUTHORITY variable accomplishes the same thing). See the x11vnc_loop file in the previous question for more ideas on what that auth file may be, etc. The scheme described in the - [432]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY + [446]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY issue nicely. Note: On Solaris you cannot have the bare number 5900 in @@ -3446,16 +3489,16 @@ service x11vncservice capture a log) - Q-53: Can I have x11vnc allow a user to log in with her UNIX password + Q-54: 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 [433]inetd(8) using the [434]-unixpw - and [435]-display WAIT options. The reason inetd(8) makes this easier + The easiest way to do this is via [447]inetd(8) using the [448]-unixpw + and [449]-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 [436]this example). + x11vnc's (see [450]this example). - The [437]-display WAIT option makes x11vnc wait until a VNC viewer is + The [451]-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 @@ -3498,7 +3541,7 @@ exit 0 as the first line and any remaining lines are either XAUTHORITY=file or raw xauth data (the above example does the latter). - The [438]-unixpw option allows [439]UNIX password logins. Here are a + The [452]-unixpw option allows [453]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 \ @@ -3518,9 +3561,9 @@ xpw= 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 "[440]-users unixpw=" option. + logs in due to the "[454]-users unixpw=" option. - Note that [441]SSL is required for this mode because otherwise the + Note that [455]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 @@ -3528,21 +3571,21 @@ xpw= some method to work out DISPLAY, XAUTHORITY, etc. - Q-54: Can I have x11vnc restart itself after it terminates? + Q-55: Can I have x11vnc restart itself after it terminates? One could do this in a shell script, but now there is an option - [442]-loop that makes it easier. Of course when x11vnc restarts it + [456]-loop that makes it easier. Of course when x11vnc restarts it needs to have permissions to connect to the (potentially new) X display. This mode could be useful if the X server restarts often. Use e.g. "-loop5000" to sleep 5000 ms between restarts. Also "-loop2000,5" to sleep 2000 ms and only restart 5 times. - Q-55: How do I make x11vnc work with the Java VNC viewer applet in a + Q-56: How do I make x11vnc work with the Java VNC viewer applet in a web browser? To have x11vnc serve up a Java VNC viewer applet to any web browsers - that connect to it, run x11vnc with this [443]option: + that connect to it, run x11vnc with this [457]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -3561,7 +3604,7 @@ xpw= 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 [444]-http option will try to guess where the Java + As of May/2005 the [458]-http option will try to guess where the Java classes jar file is by looking in expected locations and ones relative to the x11vnc binary. @@ -3571,13 +3614,13 @@ xpw= java -cp ./VncViewer.jar VncViewer HOST far-away.east PORT 5900 - Q-56: Are reverse connections (i.e. the VNC server connecting to the + Q-57: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? As of Mar/2004 x11vnc supports reverse connections. On Unix one starts the VNC viewer in listen mode: vncviewer -listen (see your documentation for Windows, etc), and then starts up x11vnc with the - [445]-connect option. To connect immediately at x11vnc startup time + [459]-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). @@ -3585,7 +3628,7 @@ xpw= file is checked periodically (about once a second) for new hosts to connect to. - The [446]-remote control option (aka -R) can also be used to do this + The [460]-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 @@ -3597,7 +3640,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 [447]-vncconnect option to x11vnc (Note: + www.realvnc.com) specify the [461]-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 @@ -3611,7 +3654,7 @@ x11vnc -display :0 -R connect:hostname.domain xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" - Q-57: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real + Q-58: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real display, but for a virtual one I keep around). You can, but you would not be doing this for performance reasons (for @@ -3642,7 +3685,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 - [448]-add_keysyms option to have keysyms added automatically. Also, to + [462]-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" @@ -3664,11 +3707,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) [449]switching even though it + Linux Virtual Console/Terminal (VC/VT) [463]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 [450]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [464]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 @@ -3688,7 +3731,7 @@ startx -- /path/to/Xdummy :1 testing x11vnc). - Q-58: How can I use x11vnc on "headless" machines? Why might I want + Q-59: How can I use x11vnc on "headless" machines? Why might I want to? An interesting application of x11vnc is to let it export displays of @@ -3700,7 +3743,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 [451]this FAQ) and access it from + display via x11vnc (e.g. see [465]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 @@ -3725,7 +3768,7 @@ startx -- /path/to/Xdummy :1 [Resource Usage and Performance] - Q-59: I have lots of memory, but why does x11vnc fail with shmget: + Q-60: 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)? @@ -3743,7 +3786,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 [452]shm_clear to list and prompt for removal + Here is a shell script [466]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, @@ -3777,44 +3820,44 @@ ied) in /etc/system. See the next paragraph for more workarounds. To minimize the number of shm segments used by x11vnc try using the - [453]-onetile option (corresponds to only 3 shm segments used, and + [467]-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 - [454]-noshm option. Performance will be somewhat degraded but when + [468]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [455]earlier question discussing -noshm). + [469]earlier question discussing -noshm). - Q-60: How can I make x11vnc use less system resources? + Q-61: How can I make x11vnc use less system resources? - The [456]-nap (now on by default) and "[457]-wait n" (where n is the + The [470]-nap (now on by default) and "[471]-wait n" (where n is the sleep between polls in milliseconds, the default is 30 or so) option - are good places to start. Something like "[458]-sb 15" will cause + are good places to start. Something like "[472]-sb 15" will cause x11vnc to go into a deep-sleep mode after 15 seconds of no activity (instead of the default 60). Reducing the X server bits per pixel depth (e.g. to 16bpp or even 8bpp) will further decrease memory I/O and network I/O. The ShadowFB - will make x11vnc's screen polling less severe. Using the [459]-onetile + will make x11vnc's screen polling less severe. Using the [473]-onetile option will use less memory and use fewer shared memory slots (add - [460]-fs 1.0 for one less slot). + [474]-fs 1.0 for one less slot). - Q-61: How can I make x11vnc use MORE system resources? + Q-62: How can I make x11vnc use MORE system resources? - You can try [461]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [462]-defer as well. Note that if you try to + You can try [475]-threads and dial down the wait time (e.g. -wait 1) + and possibly dial down [476]-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 [463]-id option) can be streamed over a LAN or wireless at + the x11vnc [477]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. - Q-62: I use x11vnc over a slow link with high latency (e.g. dialup + Q-63: I use x11vnc over a slow link with high latency (e.g. dialup modem), is there anything I can do to speed things up? Some things you might want to experiment with (many of which will help @@ -3826,7 +3869,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 - [464]-solid [color] option to try to do this automatically. + [478]-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 @@ -3835,9 +3878,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 [465]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [479]-scrollcopyrect is active and detecting scrolls for the application). - * If the [466]-wireframe option is not available (earlier than + * If the [480]-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) @@ -3857,7 +3900,7 @@ ied) noticed. VNC viewer parameters: - * Use a [467]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [481]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 @@ -3879,42 +3922,42 @@ ied) file. x11vnc parameters: - * Make sure the [468]-wireframe option is active (it should be on by + * Make sure the [482]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [469]-scrollcopyrect option is active (it should be + * Make sure the [483]-scrollcopyrect option is active (it should be on by default). This detects scrolls in many (but not all) applications an applies the CopyRect encoding for a big speedup. * Enforce a solid background when VNC viewers are connected via - [470]-solid - * Specify [471]-speeds modem to force the wireframe and + [484]-solid + * Specify [485]-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 [472]-nodragging (no screen updates when dragging mouse, + drastic [486]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [473]-fs 1.0 (disables fullscreen updates) - * Try increasing [474]-wait or [475]-defer (reduces the maximum + * Set [487]-fs 1.0 (disables fullscreen updates) + * Try increasing [488]-wait or [489]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [476]-progressive pixelheight mode with the block + * Try the [490]-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 [477]-id (cuts + * If you just want to watch one (simple) window use [491]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [478]-nosel (disables all clipboard selection exchange) - * Use [479]-nocursor and [480]-nocursorpos (repainting the remote + * Set [492]-nosel (disables all clipboard selection exchange) + * Use [493]-nocursor and [494]-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 - [481]-readtimeout n setting if it sometimes takes more than 20sec + [495]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. - * Do not use [482]-fixscreen to automatically refresh the whole + * Do not use [496]-fixscreen to automatically refresh the whole screen, tap three Alt_L's then the screen has painting errors (rare problem). - Q-63: Does x11vnc support the X DAMAGE Xserver extension to find + Q-64: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? Yes, as of Mar/2005 x11vnc will use the X DAMAGE extension by default @@ -3932,7 +3975,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 [483]slow (e.g. + in main memory. So reading the fb is still painfully [497]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 @@ -3950,27 +3993,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 "[484]-xd_area A" option to adjust the size + skipped). You can use the "[498]-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 "[485]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[486]-noxdamage". + The option "[499]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[500]-noxdamage". - Q-64: When I drag windows around with the mouse or scroll up and down + Q-65: 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 [487]slow hardware read rates from + This problem is primarily due to [501]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 - [488]-pointer_mode option for more info. The next bottleneck is + [502]-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 @@ -3980,26 +4023,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 "[489]-pointer_mode 1" option. + the "[503]-pointer_mode 1" option. - Also added was the [490]-nodragging option that disables all screen + Also added was the [504]-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 [491]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [505]-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 [492]-threads option can improve + Also, in some circumstances the [506]-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 [493]wireframe FAQ and - [494]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [507]wireframe FAQ and + [508]scrollcopyrect FAQ below) provide schemes to sweep this problem under the rug for window moves or resizes and for some (but not all) window scrolls. These are the preferred way of avoiding the "lurching" problem, contact me if they are not working. Note on SuSE and some @@ -4012,7 +4055,7 @@ Section "Module" EndSection - Q-65: Why not do something like wireframe animations to avoid the + Q-66: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? Nice idea for a hack! As of Apr/2005 x11vnc by default will apply @@ -4023,8 +4066,8 @@ EndSection the window move/resize stops, it returns to normal processing: you should only see the window appear in the new position. This spares you from interacting with a "lurching" window between all of the - intermediate steps. BTW the lurching is due to [495]slow video card - read rates (see [496]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [509]slow video card + read rates (see [510]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. @@ -4032,7 +4075,7 @@ EndSection for -wireframe to do any good. The mode is currently on by default because most people are afflicted - with the problem. It can be disabled with the [497]-nowireframe option + with the problem. It can be disabled with the [511]-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 @@ -4077,13 +4120,13 @@ EndSection * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [498]"-wireframe tweaks" option for more details. On a slow + See the [512]"-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 - [499]"-wirecopyrect mode" option. It is also on by default. This + [513]"-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 @@ -4114,7 +4157,7 @@ EndSection -nowirecopyrect if this or other painting errors are unacceptable. - Q-66: Can x11vnc try to apply heuristics to detect when a window is + Q-67: Can x11vnc try to apply heuristics to detect when a window is scrolling its contents and use the CopyRect encoding for a speedup? Another nice idea for a hack! As of May/2005 x11vnc will by default @@ -4131,7 +4174,7 @@ EndSection requiring the image data to be transmitted over the network. For fast links the speedup is primarily due to x11vnc not having to read the scrolled framebuffer data from the X server (recall that reading from - the hardware framebuffer is [500]slow). + the hardware framebuffer is [514]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. @@ -4158,10 +4201,10 @@ EndSection the X server display: if one falls too far behind it could become a mess... - The initial implementation of [501]-scrollcopyrect option is useful in + The initial implementation of [515]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [502]-wireframe - [503]-wirecopyrect [504]options, which are also on by default; and if + environment (especially when combined with the [516]-wireframe + [517]-wirecopyrect [518]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. @@ -4194,10 +4237,10 @@ EndSection One can tap the Alt_L key (Left "Alt" key) 3 times in a row to signal x11vnc to refresh the screen to all viewers. Your VNC-viewer may have its own screen refresh hot-key or button. See - also: [505]-fixscreen + also: [519]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [506]-scr_skip option for ways to tweak this on a + See the [520]-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 @@ -4214,7 +4257,7 @@ EndSection because it fails to detect scrolls in it. Sometimes clicking inside the application window or selecting some text in it to force the focus helps. - * When using the [507]-scale option there will be a quick CopyRect + * When using the [521]-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 @@ -4227,7 +4270,7 @@ EndSection If you find the -scrollcopyrect behavior too approximate or distracting you can go back to the standard polling-only update method - with the [508]-noscrollcopyrect (or -noscr for short). If you find + with the [522]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -4251,7 +4294,7 @@ EndSection [Mouse Cursor Shapes] - Q-67: Why isn't the mouse cursor shape (the little icon shape where + Q-68: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? On X servers supporting XFIXES or Solaris/IRIX Overlay extensions it @@ -4266,23 +4309,23 @@ EndSection this is because the cursor shape is often downloaded to the graphics hardware (video card), but I could be mistaken. - A simple kludge is provided by the "[509]-cursor X" option that + A simple kludge is provided by the "[523]-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 "[510]-cursor some" option for + work for those cases. Also see the "[524]-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 - [511]-overlay option is supplied. See [512]this FAQ for more info. + [525]-overlay option is supplied. See [526]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 - [513]Solaris 10. + [527]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 @@ -4290,10 +4333,10 @@ EndSection situations where the cursor transparency can also handled exactly: when the VNC Viewer requires the cursor shape be drawn into the VNC framebuffer or if you apply a patch to your VNC Viewer to extract - hidden alpha channel data under 32bpp. [514]Details can be found here. + hidden alpha channel data under 32bpp. [528]Details can be found here. - Q-68: When using XFIXES cursorshape mode, some of the cursors look + Q-69: 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? @@ -4323,17 +4366,17 @@ EndSection for most cursor themes and you don't have to worry about it. In case it still looks bad for your cursor theme, there are (of - course!) some tunable parameters. The "[515]-alphacut n" option lets + course!) some tunable parameters. The "[529]-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 "[516]-alphafrac f" option tries to correct individual + 240. The "[530]-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 [517]-alpharemove that is useful for + Finally, there is an option [531]-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 @@ -4351,7 +4394,7 @@ EndSection heavily on redglass) look fine with the apparent default of alphacut:255. - Q-69: In XFIXES mode, are there any hacks to handle cursor + Q-70: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? As of Jan/2005 libvncserver has been modified to allow an alpha @@ -4359,10 +4402,10 @@ EndSection alpha channel data to libvncserver. However, this data will only be used for VNC clients that do not support the CursorShapeUpdates VNC extension (or have disabled it). It can be disabled for all clients - with the [518]-nocursorshape x11vnc option. In this case the cursor is + with the [532]-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 [519]-noalphablend option to disable this + the x11vnc side. Use the [533]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -4386,17 +4429,17 @@ EndSection example on how to change the Windows TightVNC viewer to achieve the same thing (send me the patch if you get that working). - This patch is applied to the [520]Enhanced TightVNC Viewer package we + This patch is applied to the [534]Enhanced TightVNC Viewer package we provide. [Mouse Pointer] - Q-70: Why does the mouse arrow just stay in one corner in my + Q-71: 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 [521]tightvnc extension + This default takes advantage of a [535]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [522]-nocursor + the local VNC viewer. You may disable it with the [536]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -4405,22 +4448,22 @@ EndSection can also be disabled via -nocursor. - Q-71: Can I take advantage of the TightVNC extension to the VNC + Q-72: Can I take advantage of the TightVNC extension to the VNC protocol where Cursor Positions Updates are sent back to all connected clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - Use the [523]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [537]-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 [524]-nocursorpos and [525]-nocursorshape. + is the default. See also [538]-nocursorpos and [539]-nocursorshape. - Q-72: Is it possible to swap the mouse buttons (e.g. left-handed + Q-73: 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: [526]-buttonmap + You can remap the mouse buttons via something like: [540]-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. @@ -4428,7 +4471,7 @@ EndSection One user had an X server with only one mouse button(!) and was able to map all of the VNC client mouse buttons to it via: -buttonmap 123-111. - Note that the [527]-debug_pointer option prints out much info for + Note that the [541]-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 @@ -4450,7 +4493,7 @@ EndSection Exactly what keystroke "scrolling" events they should be bound to depends on one's taste. If this method is too approximate, one could - consider not using [528]-buttonmap but rather configuring the X server + consider not using [542]-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"'). @@ -4477,10 +4520,10 @@ EndSection "click" usually gives a multi-line scroll). [Keyboard Issues] - Q-73: How can I get my AltGr and Shift modifiers to work between + Q-74: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [529]-modtweak should help here. It is a mode that monitors + The option [543]-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. @@ -4489,20 +4532,20 @@ EndSection to get the old behavior). This was done because it was noticed on newer XFree86 setups even on bland "us" keyboards like "pc104 us" XFree86 included a "ghost" key with both "<" and ">" it. This key does - not exist on the keyboard (see [530]this FAQ for more info). Without + not exist on the keyboard (see [544]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 [531]FAQ about the -xkb option for a more powerful method + Also see the [545]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 - [532]-debug_keyboard option prints out much info for every keystroke + [546]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. - Q-74: When I try to type a "<" (i.e. less than) instead I get ">" + Q-75: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! Does your keyboard have a single key with both "<" and ">" on it? Even @@ -4510,9 +4553,9 @@ EndSection (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [533]-xkb or [534]-sloppy_keys options and see if + Short Cut: Try the [547]-xkb or [548]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [535]-modtweak is now the default) but it is useful reference for + [549]-modtweak is now the default) but it is useful reference for various tricks and so is kept. @@ -4555,34 +4598,34 @@ EndSection -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([536]-modtweak) is a mode that monitors the + settings. The former ([550]-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 ([537]-remap less-comma) is an immediate remapping of the + The latter ([551]-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 [538]FAQ about the -xkb option as a possible workaround + See also the [552]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [539]-debug_keyboard option prints out much info for + Note that the [553]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. - Q-75: When I try to type a "<" (i.e. less than) instead I get "<," + Q-76: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). This is likely because you press "Shift" then "<" but then released - the Shift key before releasing the "<". Because of a [540]keymapping + the Shift key before releasing the "<". Because of a [554]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [541]-xkb mode, because it works hard to + This should not happen in [555]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [542]-sloppy_keys to attempt a similar type of algorithm. + option [556]-sloppy_keys to attempt a similar type of algorithm. - Q-76: I'm using an "international" keyboard (e.g. German "de", or + Q-77: 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 @@ -4603,7 +4646,7 @@ EndSection In both cases no AltGr is sent to the VNC server, but we know AltGr is needed on the physical international keyboard to type a "@". - This all worked fine with x11vnc running with the [543]-modtweak + This all worked fine with x11vnc running with the [557]-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 @@ -4620,7 +4663,7 @@ EndSection * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [544]-xkb option seems to fix all of the missing keys: "@", "<", + The [558]-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 @@ -4628,7 +4671,7 @@ EndSection debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [545]-xkb if it appears that would be beneficial (e.g. if it sees any + [559]-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. @@ -4643,7 +4686,7 @@ EndSection was attached to keycode 93 (no physical key generates this keycode) while ISO_Level3_Shift was attached to keycode 113. The keycode skipping option was used to disable the ghost key: - [546]-skip_keycodes 93 + [560]-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 @@ -4661,16 +4704,16 @@ EndSection What to do? In general the VNC protocol has not really solved this problem: what should be done if the VNC viewer sends a keysym not recognized by the VNC server side? Workarounds can possibly be - created using the [547]-remap x11vnc option: + created using the [561]-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 - [548]-add_keysyms option in the next paragraph. - Update: for convenience "[549]-remap DEAD" does many of these + [562]-add_keysyms option in the next paragraph. + Update: for convenience "[563]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [550]-remap, an - option [551]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [564]-remap, an + option [565]-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 @@ -4681,7 +4724,7 @@ EndSection disable. - Q-77: When typing I sometimes get double, triple, or more of my + Q-78: When typing I sometimes get double, triple, or more of my keystrokes repeated. I'm sure I only typed them once, what can I do? This may be due to an interplay between your X server's key autorepeat @@ -4689,7 +4732,7 @@ EndSection Short answer: disable key autorepeating by running the command "xset r off" on the Xserver where x11vnc is run (restore via "xset r on") or - use the new (Jul/2004) [552]-norepeat x11vnc option. You will still + use the new (Jul/2004) [566]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. @@ -4713,18 +4756,18 @@ EndSection off", does the problem go away? The workaround is to manually apply "xset r off" and "xset r on" as - needed, or to use the [553]-norepeat (which has since Dec/2004 been + needed, or to use the [567]-norepeat (which has since Dec/2004 been made the default). Note that with X server autorepeat turned off the VNC viewer side of the connection will (nearly always) do its own autorepeating so there is no big loss here, unless someone is also working at the physical display and misses his autorepeating. - Q-78: The x11vnc -norepeat mode is in effect, but I still get repeated + Q-79: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! Are you using x11vnc to log in to an X session via display manager? - (as described in [554]this FAQ) If so, x11vnc is starting before your + (as described in [568]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 @@ -4744,11 +4787,11 @@ EndSection should figure out how to disable that somehow. - Q-79: The machine where I run x11vnc has an AltGr key, but the local + Q-80: The machine where I run x11vnc has an AltGr key, but the local machine where I run the VNC viewer does not. Is there a way I can map a local unused key to send an AltGr? How about a Compose key as well? - Something like "[555]-remap Super_R-Mode_switch" x11vnc option may + Something like "[569]-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)). @@ -4759,7 +4802,7 @@ EndSection specify remappings from a file. - Q-80: I have a Sun machine I run x11vnc on. Its Sun keyboard has just + Q-81: 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) @@ -4771,18 +4814,18 @@ EndSection Since xmodmap(1) modifies the X server mappings you may not want to do this (because it affects local work on that machine). Something like - the [556]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [570]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones needs, and does not modify the X server environment. Note that you cannot send Alt_L in this case, maybe -remap Super_L-Meta_L would be a better choice if the Super_L key is typically unused in Unix. - Q-81: Can I map a keystroke to a mouse button click on the remote + Q-82: Can I map a keystroke to a mouse button click on the remote machine? This can be done directly in some X servers using AccessX and Pointer_EnableKeys, but is a bit awkward. It may be more convenient to - have x11vnc do the remapping. This can be done via the [557]-remap + have x11vnc do the remapping. This can be done via the [571]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -4791,7 +4834,7 @@ EndSection button "paste" because (using XFree86/Xorg Emulate3Buttons) you have to click both buttons on the touch pad at the same time. This remapping: - [558]-remap Super_R-Button2 + [572]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -4800,7 +4843,7 @@ EndSection are generated immediately on the x11vnc side. When the key is released (i.e. goes up) no events are generated. - Q-82: How can I get Caps_Lock to work between my VNC viewer and + Q-83: How can I get Caps_Lock to work between my VNC viewer and x11vnc? This is a little tricky because it is possible to get the Caps_Lock @@ -4810,14 +4853,14 @@ EndSection Caps_Lock in the viewer your local machine goes into the Caps_Lock on state and sends keysym "A" say when you press "a". x11vnc will then fake things up so that Shift is held down to generate "A". The - [559]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[560]-remap Caps_Lock-None". + [573]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[574]-remap Caps_Lock-None". - Also try the [561]-nomodtweak and [562]-capslock options. + Also try the [575]-nomodtweak and [576]-capslock options. [Screen Related Issues and Features] - Q-83: The remote display is larger (in number of pixels) than the + Q-84: 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? @@ -4836,15 +4879,15 @@ EndSection There may also be scaling viewers out there (e.g. TightVNC or UltraVNC on Windows) that automatically shrink or expand the remote framebuffer to fit the local display. Especially for hand-held devices. See also - [563]this FAQ on x11vnc scaling. + [577]this FAQ on x11vnc scaling. - Q-84: Does x11vnc support server-side framebuffer scaling? (E.g. to + Q-85: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). As of Jun/2004 x11vnc provides basic server-side scaling. It is a global scaling of the desktop, not a per-client setting. To enable it - use the "[564]-scale fraction" option. "fraction" can either be a + use the "[578]-scale fraction" option. "fraction" can either be a floating point number (e.g. -scale 0.5) or the alternative m/n fraction notation (e.g. -scale 3/4). Note that if fraction is greater than one the display is magnified. @@ -4865,7 +4908,7 @@ EndSection One can also use the ":nb" with an integer scale factor (say "-scale 2:nb") to use x11vnc as a screen magnifier for vision impaired - [565]applications. Since with integer scale factors the framebuffers + [579]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -4891,7 +4934,7 @@ EndSection If one desires per-client scaling for something like 1:1 from a workstation and 1:2 from a smaller device (e.g. handheld), currently the only option is to run two (or more) x11vnc processes with - different scalings listening on separate ports ([566]-rfbport option, + different scalings listening on separate ports ([580]-rfbport option, etc.). Update: As of May/2006 x11vnc also supports the UltraVNC server-side @@ -4901,8 +4944,8 @@ EndSection "-rfbversion 3.6" for this to be recognized by UltraVNC viewers. BTW, whenever you run two or more x11vnc's on the same X display and - use the [567]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [568]"-connect + use the [581]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [582]"-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 @@ -4911,12 +4954,12 @@ EndSection Update: As of Mar/2005 x11vnc now scales the mouse cursor with the same scale factor as the screen. If you don't want that, use the - [569]"-scale_cursor frac" option to set the cursor scaling to a + [583]"-scale_cursor frac" option to set the cursor scaling to a different factor (e.g. use "-scale_cursor 1" to keep the cursor at its natural unscaled size). - Q-85: Does x11vnc work with Xinerama? (i.e. multiple monitors joined + Q-86: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). Yes, it should generally work because it simply polls the big @@ -4933,24 +4976,24 @@ EndSection screen is not rectangular (e.g. 1280x1024 and 1024x768 monitors joined together), then there will be "non-existent" areas on the screen. The X server will return "garbage" image data for these areas and so they - may be distracting to the viewer. The [570]-blackout x11vnc option + may be distracting to the viewer. The [584]-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 - [571]-xinerama x11vnc option can be used to have it automatically + [585]-xinerama x11vnc option can be used to have it automatically determine the rectangles to be blackened out. (Note on 8bpp PseudoColor displays the fill color may not be black). Update: - [572]-xinerama is now on by default. + [586]-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 [573]-xwarppointer + of the large display. If this happens try using the [587]-xwarppointer option. This instructs x11vnc to fake mouse pointer motions using the XWarpPointer function instead of the XTestFakeMotionEvent XTEST function. (This may be due to a bug in the X server for XTEST when Xinerama is enabled). - Q-86: Can I use x11vnc on a multi-headed display that is not Xinerama + Q-87: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? You can, but it is a little bit awkward: you must start separate @@ -4968,32 +5011,32 @@ EndSection Note: if you are running on Solaris 8 or earlier you can easily hit up against the maximum of 6 shm segments per process (for Xsun in this case) from running multiple x11vnc processes. You should modify - /etc/system as mentioned in another [574]FAQ to increase the limit. It - is probably also a good idea to run with the [575]-onetile option in + /etc/system as mentioned in another [588]FAQ to increase the limit. It + is probably also a good idea to run with the [589]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [576]-noshm to use no shm segments. + [590]-noshm to use no shm segments. - Q-87: Can x11vnc show only a portion of the display? (E.g. for a + Q-88: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - As of Mar/2005 x11vnc has the "[577]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[591]-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 [578]Xinerama screen into two + One user used -clip to split up a large [592]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [579]-id or [580]-sid options are used. The offset is measured + the [593]-id or [594]-sid options are used. The offset is measured from the upper left corner of the selected window. - Q-88: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) + Q-89: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [581]-xrandr option to make x11vnc monitor XRANDR events and also trap + [595]-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. @@ -5003,9 +5046,9 @@ EndSection then the viewer will automatically resize. Otherwise, the new framebuffer is fit as best as possible into the original viewer size (portions of the screen may be clipped, unused, etc). For these - viewers you can try the [582]-padgeom option to make the region big + viewers you can try the [596]-padgeom option to make the region big enough to hold all resizes and rotations. We have fixed this problem - for the TightVNC Viewer on Unix: [583]enhanced_tightvnc_viewer + for the TightVNC Viewer on Unix: [597]enhanced_tightvnc_viewer If you specify "-xrandr newfbsize" then vnc viewers that do not support NewFBSize will be disconnected before the resize. If you @@ -5013,21 +5056,21 @@ EndSection terminate. - Q-89: Independent of any XRANDR, can I have x11vnc rotate and/or + Q-90: Independent of any XRANDR, can I have x11vnc rotate and/or reflect the screen that the VNC viewers see? (e.g. for a handheld whose screen is rotated 90 degrees). - As of Jul/2006 there is the [584]-rotate option allow this. E.g's: + As of Jul/2006 there is the [598]-rotate option allow this. E.g's: "-rotate +90", "-rotate -90", "-rotate x", etc. - Q-90: Why is the view in my VNC viewer completely black? Or why is + Q-91: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? See the next FAQ for a possible explanation. - Q-91: I use Linux Virtual Consoles (VC's) to implement 'Fast User + Q-92: 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 @@ -5056,7 +5099,7 @@ EndSection "chvt 7" for VC #7. - Q-92: I am using x11vnc where my local machine has "popup/hidden + Q-93: 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 @@ -5069,7 +5112,7 @@ EndSection click on the task bar panel, and uncheck "enable auto-hide" from the panel properties dialog box. This will make the panel always visible. - Q-93: Can I use x11vnc to view my VMWare session remotely? + Q-94: Can I use x11vnc to view my VMWare session remotely? Yes, since VMWare usually runs as an X application you can view it via x11vnc in the normal way. @@ -5080,9 +5123,9 @@ EndSection * Fullscreen mode The way VMWare does Fullscreen mode on Linux is to display the Guest - desktop in a separate Virtual Console (e.g. VC 8) (see [585]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [599]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [586]see this discussion + server. So x11vnc cannot access it (however, [600]see this discussion of -rawfb for a possible workaround). x11vnc works fine with "Normal X application window" and "Quick-Switch mode" because these use X. @@ -5103,13 +5146,13 @@ EndSection improve response. One can also cut the display depth (e.g. to 16bpp) in this 2nd X session to improve video performance. This 2nd X session emulates Fullscreen mode to some degree and can be viewed via x11vnc - as long as the VMWare X session [587]is in the active VC. + as long as the VMWare X session [601]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 [588]-id windowid option. The + the VMWare menu buttons) by use of the [602]-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 @@ -5118,14 +5161,14 @@ EndSection mouse)). - Q-94: Can non-X devices (e.g. a raw framebuffer) be viewed (and even + Q-95: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? As of Apr/2005 there is support for this. Two options were added: - "[589]-rawfb string" (to indicate the raw framembuffer device, file, - etc. and its parameters) and "[590]-pipeinput command" (to provide an + "[603]-rawfb string" (to indicate the raw framembuffer device, file, + etc. and its parameters) and "[604]-pipeinput command" (to provide an external program that will inject or otherwise process mouse and - keystroke input). Some useful [591]-pipeinput schemes, VID, CONSOLE, + keystroke input). Some useful [605]-pipeinput schemes, VID, CONSOLE, and UINPUT, have since been built into x11vnc for convenience. This non-X mode for x11vnc is somewhat experimental because it is so @@ -5163,9 +5206,9 @@ EndSection access method). Only use file if map isn't working. BTW, "mmap" is an alias for "map" and if you do not supply a type and the file exists, map is assumed (see the -help output and below for some exceptions to - this). The "snap:" setting applies the [592]-snapfb option with + this). The "snap:" setting applies the [606]-snapfb option with "file:" type reading (this is useful for exporting webcams or TV tuner - video; see [593]the next FAQ for more info). + video; see [607]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 @@ -5206,7 +5249,7 @@ EndSection screen to either shm or a mapped file. The format of these is XWD and so the initial header should be skipped. BTW, since XWD is not strictly RGB the view will only be approximate, but usable. Of course - for the case of Xvfb x11vnc can poll it much better via the [594]X + for the case of Xvfb x11vnc can poll it much better via the [608]X API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it @@ -5235,13 +5278,13 @@ EndSection tty1-tty6), or X graphical display (usually starting at tty7). In addition to the text console other graphical ones may be viewed and interacted with as well, e.g. DirectFB or SVGAlib apps, VMWare non-X - fullscreen, or [595]Qt-embedded apps (PDAs/Handhelds). By default the + fullscreen, or [609]Qt-embedded apps (PDAs/Handhelds). By default the pipeinput mechanisms UINPUT and CONSOLE (keystrokes only) are automatically attempted in this mode under "-rawfb console". The Video4Linux Capture device, /dev/video0, etc is either a Webcam or a TV capture device and needs to have its driver enabled in the - kernel. See [596]this FAQ for details. If specified via "-rawfb Video" + kernel. See [610]this FAQ for details. If specified via "-rawfb Video" then the pipeinput method "VID" is applied (it lets you change video parameters dynamically via keystrokes). @@ -5249,10 +5292,10 @@ EndSection also useful in testing. - All of the above [597]-rawfb options are just for viewing the raw + All of the above [611]-rawfb options are just for viewing the raw framebuffer (although some of the aliases do imply keystroke and mouse pipeinput methods). That may be enough for certain applications of - this feature (e.g. suppose a [598]video camera mapped its framebuffer + this feature (e.g. suppose a [612]video camera mapped its framebuffer into memory and you just wanted to look at it via VNC). To handle the pointer and keyboard input from the viewer users the "-pipeinput cmd" option was added to indicate a helper program to @@ -5290,7 +5333,7 @@ EndSection keystrokes into the Linux console (e.g. the virtual consoles: /dev/tty1, /dev/tty2, etc) in x11vnc/misc/vcinject.pl. It is based on the vncterm/LinuxVNC.c program also in the libvncserver CVS. So to - view and interact with VC #2 (assuming it is the [599]active VC) one + view and interact with VC #2 (assuming it is the [613]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' @@ -5345,7 +5388,7 @@ EndSection better to use the more accurate and faster LinuxVNC program. The advantage x11vnc -rawfb might have is that it can allow interaction with a non-text application, e.g. one based on SVGAlib or - [600]Qt-embedded Also, for example the [601]VMWare Fullscreen mode is + [614]Qt-embedded Also, for example the [615]VMWare Fullscreen mode is actually viewable under -rawfb and can be interacted with if uinput is enabled. @@ -5362,12 +5405,12 @@ EndSection program that passes the framebuffer to libvncserver. - Q-95: Can I export via VNC a Webcam or TV tuner framebuffer using + Q-96: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [602]-rawfb option. + Yes, this is possible to some degree with the [616]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [603]previous FAQ on -rawfb + used for the screen image data. See the [617]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -5379,7 +5422,7 @@ EndSection snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [604]-snapfb mode which appears to be necessary. + The "snap:" enforces [618]-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. @@ -5401,7 +5444,7 @@ EndSection Many video4linux drivers tend to set the framebuffer to be 24bpp (as opposed to 32bpp). Since this can cause problems with VNC viewers, - etc, the [605]-24to32 option will be automatically imposed when in + etc, the [619]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -5409,7 +5452,7 @@ EndSection wavering in brightness is always happening. This can lead to much network bandwidth consumption for the VNC traffic and also local CPU and I/O resource usage. You may want to experiment with "dialing down" - the framerate via the [606]-wait, [607]-slow_fb, or [608]-defer + the framerate via the [620]-wait, [621]-slow_fb, or [622]-defer options. Decreasing the window size and bpp also helps. @@ -5498,16 +5541,16 @@ EndSection format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [609]-freqtab option to supply your own xawtv channel to + See also the [623]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). - Q-96: Can I connect via VNC to a Qt-embedded/Qtopia application + Q-97: Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)? - Yes, the basic method for this is the [610]-rawfb scheme where the + Yes, the basic method for this is the [624]-rawfb scheme where the Linux console framebuffer (usually /dev/fb0) is polled and the uinput driver is used to inject keystrokes and mouse input. Often you will just have to type: @@ -5520,7 +5563,7 @@ EndSection x11vnc -rawfb /dev/fb0@640x480x16 Also, to force usage of the uinput injection method use "-pipeinput - UINPUT". See the [611]-pipeinput description for tunable parameters, + UINPUT". See the [625]-pipeinput description for tunable parameters, etc. One problem with the x11vnc uinput scheme is that it cannot guess the @@ -5536,7 +5579,7 @@ EndSection Even with the correct acceleration setting there is stil some drift (probably because of the mouse threshold where the acceleration kicks in) and so x11vnc needs to reposition the cursor from 0,0 about 5 - times a second. See the [612]-pipeinput UINPUT option for tuning + times a second. See the [626]-pipeinput UINPUT option for tuning parameters that can be set (there are some experimental thresh=N tuning parameters as well) @@ -5567,10 +5610,10 @@ EndSection x11vnc on your device and letting us know what does and does not work. - Q-97: Now that non-X11 devices can be exported via VNC using x11vnc, + Q-98: Now that non-X11 devices can be exported via VNC using x11vnc, can I build it with no dependencies on X11 header files and libraries? - Yes, as of Jul/2006 x11vnc enables building for [613]-rawfb only + Yes, as of Jul/2006 x11vnc enables building for [627]-rawfb only support. Just do something like when building: ./configure --without-x (plus any other flags) make @@ -5581,12 +5624,12 @@ EndSection know what you did. - Q-98: Can I use x11vnc to record a Shock Wave Flash (or other format) + Q-99: Can I use x11vnc to record a Shock Wave Flash (or other format) video of my desktop, e.g. to record a tutorial or demo? Yes, it is possible with a number of tools that record VNC and transform it to swf format or others. One such popular tool is - [614]pyvnc2swf. There are a number of [615]tutorials on how to do + [628]pyvnc2swf. There are a number of [629]tutorials on how to do this. Another option is to use the vnc2mpg that comes in the LibVNCServer package. An important thing to remember when doing this is that tuning @@ -5597,24 +5640,24 @@ EndSection [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - Q-99: Does the Clipboard/Selection get transferred between the + Q-100: Does the Clipboard/Selection get transferred between the vncviewer and the X display? As of Jan/2004 x11vnc supports the "CutText" part of the rfb protocol. Furthermore, x11vnc is able to hold the PRIMARY and CLIPBOARD selection (Xvnc does not seem to do this). If you don't want the - Clipboard/Selection exchanged use the [616]-nosel option. If you don't + Clipboard/Selection exchanged use the [630]-nosel option. If you don't want the PRIMARY selection to be polled for changes use the - [617]-noprimary option. (with a similar thing for CLIPBOARD). You can - also fine-tune it a bit with the [618]-seldir dir option and also - [619]-input. + [631]-noprimary option. (with a similar thing for CLIPBOARD). You can + also fine-tune it a bit with the [632]-seldir dir option and also + [633]-input. You may need to watch out for desktop utilities such as KDE's "Klipper" that do odd things with the selection, clipboard, and cutbuffers. - Q-100: Can I transfer files back and forth with x11vnc? + Q-101: Can I transfer files back and forth with x11vnc? As of Oct/2005 and May/2006 x11vnc enables, respectively, the TightVNC and UltraVNC file transfer implementations that were added to @@ -5622,7 +5665,7 @@ EndSection (and Windows viewers only support filetransfer it appears). TightVNC file transfer is on by default, if you want to disable it use - the [620]-nofilexfer option. UltraVNC file transfer is currently off + the [634]-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 @@ -5632,13 +5675,13 @@ EndSection VNC Viewers. - Q-101: Can I (temporarily) mount my local (viewer-side) Windows/Samba + Q-102: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? You will have to use an external network redirection for this. Filesystem mounting is not part of the VNC protocol. - We show a simple [621]Samba example here. + We show a simple [635]Samba example here. First you will need a tunnel to redirect the SMB requests from the remote machine to the one you sitting at. We use an ssh tunnel: @@ -5675,17 +5718,17 @@ d,ip=127.0.0.1,port=1139 far-away> smbumount /home/fred/smb-haystack-pub At some point we hope to fold some automation for SMB ssh redir setup - into the [622]Enhanced TightVNC Viewer package we provide (as of Sep + into the [636]Enhanced TightVNC Viewer package we provide (as of Sep 2006 it is there for testing). - Q-102: Can I redirect CUPS print jobs from the remote desktop where + Q-103: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? You will have to use an external network redirection for this. Printing is not part of the VNC protocol. - We show a simple Unix to Unix [623]CUPS example here. Non-CUPS port + We show a simple Unix to Unix [637]CUPS example here. Non-CUPS port redirections (e.g. LPD) should also be possible, but may be a bit more tricky. If you are viewing on Windows SMB and don't have a local cups server it may be trickier still (see below). @@ -5757,11 +5800,11 @@ d,ip=127.0.0.1,port=1139 "localhost". At some point we hope to fold some automation for CUPS ssh redir setup - into the [624]Enhanced TightVNC Viewer package we provide (as of Sep + into the [638]Enhanced TightVNC Viewer package we provide (as of Sep 2006 it is there for testing). - Q-103: How can I hear the sound (audio) from the remote applications + Q-104: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? You will have to use an external network audio mechanism for this. @@ -5858,11 +5901,11 @@ or: the applications will fail to run because LD_PRELOAD will point to libraries of the wrong wordsize. * At some point we hope to fold some automation for esd or artsd ssh - redir setup into the [625]Enhanced TightVNC Viewer package we + redir setup into the [639]Enhanced TightVNC Viewer package we provide (as of Sep/2006 it is there for testing). - Q-104: Why don't I hear the "Beeps" in my X session (e.g. when typing + Q-105: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? As of Dec/2003 "Beep" XBell events are tracked by default. The X @@ -5870,16 +5913,16 @@ 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 [626]-nobell option. If + If you don't want to hear the beeps use the [640]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [627]redirector such as esd. + trying a [641]redirector such as esd. Contributions: - Q-105: Thanks for your program and for your help! Can I make a + Q-106: Thanks for your program and for your help! Can I make a donation? Please do (any amount is appreciated) and thank you for your support! @@ -5942,580 +5985,594 @@ References 51. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt 52. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers 53. http://www.stunnel.org/ - 54. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 55. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 56. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 57. http://sourceforge.net/projects/libvncserver/ - 58. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=431725 - 59. http://sourceforge.net/project/shownotes.php?release_id=431725&group_id=32584 - 60. http://www.karlrunge.com/x11vnc/x11vnc-0.8.3.tar.gz - 61. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 62. http://www.tightvnc.com/download.html - 63. http://www.realvnc.com/download-free.html - 64. http://sourceforge.net/projects/cotvnc/ - 65. http://www.ultravnc.com/ - 66. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 67. http://www.karlrunge.com/x11vnc/rx11vnc - 68. http://www.karlrunge.com/x11vnc/rx11vnc.pl - 69. http://www.sunfreeware.com/ - 70. http://www.karlrunge.com/x11vnc/bins - 71. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 72. http://www.karlrunge.com/x11vnc/miscbuild.html - 73. ftp://ftp.uu.net/graphics/jpeg/ - 74. http://www.gzip.org/zlib/ - 75. http://www.sunfreeware.com/ - 76. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 77. http://www.karlrunge.com/x11vnc/x11vnc-0.8.3.tar.gz - 78. http://www.karlrunge.com/x11vnc/bins - 79. mailto:x11vnc-beta@karlrunge.com - 80. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 81. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 82. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 83. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 84. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 86. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 87. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 88. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 89. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkdb - 90. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr - 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allowedcmds - 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocmds - 93. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-env - 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allinput - 95. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 96. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-license - 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 98. http://www.openssl.org/ - 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 100. http://www.stunnel.org/ - 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 103. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 104. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 109. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 111. http://www.karlrunge.com/x11vnc/prevrels.html - 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 113. http://www.tightvnc.com/ - 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 116. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 117. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 118. http://wwws.sun.com/sunray/index.html - 119. http://www.karlrunge.com/x11vnc/sunray.html - 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 122. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 124. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 125. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 127. mailto:xvml@karlrunge.com - 128. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 129. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 130. http://www.karlrunge.com/x11vnc/index.html#faq-build - 131. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 132. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 133. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 134. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 135. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 136. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 137. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 138. http://www.karlrunge.com/x11vnc/index.html#faq-change-port - 139. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 140. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 141. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 142. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 143. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 144. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 145. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 146. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 147. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 148. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 149. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 150. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 151. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 152. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 153. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 154. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 155. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 156. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 157. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 158. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 159. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 160. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 161. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 162. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 163. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 164. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 165. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 166. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 167. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 168. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 169. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver - 170. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 171. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 172. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 173. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 174. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 175. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 176. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 177. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 178. http://www.karlrunge.com/x11vnc/index.html#faq-service - 179. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 180. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 181. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 182. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 183. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 184. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 185. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 186. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 187. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 188. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 189. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 190. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 191. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 192. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 193. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 194. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 195. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 196. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 197. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 198. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 199. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 200. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 201. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 202. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 203. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 204. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 205. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 206. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 207. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 208. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 209. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 210. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 211. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 212. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 213. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 214. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 215. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 216. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 217. http://www.karlrunge.com/x11vnc/index.html#faq-rotate - 218. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 219. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 220. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 221. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 222. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 223. http://www.karlrunge.com/x11vnc/index.html#faq-video - 224. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 225. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 - 226. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf - 227. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 228. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 229. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares - 230. http://www.karlrunge.com/x11vnc/index.html#faq-cups - 231. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 232. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 233. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 234. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 235. http://www.tldp.org/HOWTO/Remote-X-Apps.html - 236. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 237. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 238. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 239. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 240. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 241. http://www.karlrunge.com/x11vnc/index.html#building - 242. http://www.karlrunge.com/x11vnc/index.html#faq-build - 243. http://packages.debian.org/x11vnc - 244. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 245. http://dag.wieers.com/packages/x11vnc/ - 246. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 247. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 248. http://www.sunfreeware.com/ - 249. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 250. http://www.freshports.org/net/x11vnc - 251. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 252. http://pkgsrc.se/x11/x11vnc - 253. http://mike.saunby.net/770/x11vnc/ - 254. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc - 255. http://www.focv.com/ipkg/ - 256. http://www.karlrunge.com/x11vnc/bins - 257. http://www.tightvnc.com/download.html - 258. http://www.realvnc.com/download-free.html - 259. http://sourceforge.net/projects/cotvnc/ - 260. http://www.ultravnc.com/ - 261. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 262. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 263. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 264. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 267. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 268. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 269. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 270. http://fredrik.hubbe.net/x2vnc.html - 271. http://www.hubbe.net/~hubbe/win2vnc.html - 272. http://www.deboer.gmxhome.de/ - 273. http://sourceforge.net/projects/win2vnc/ - 274. http://fredrik.hubbe.net/x2vnc.html - 275. http://freshmeat.net/projects/x2x/ - 276. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 277. http://zapek.com/software/zvnc/ - 278. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 279. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 280. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 281. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 282. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 285. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 54. http://stunnel.mirt.net/ + 55. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 56. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 57. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 58. http://sourceforge.net/projects/libvncserver/ + 59. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=431725 + 60. http://sourceforge.net/project/shownotes.php?release_id=431725&group_id=32584 + 61. http://www.karlrunge.com/x11vnc/x11vnc-0.8.3.tar.gz + 62. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 63. http://www.tightvnc.com/download.html + 64. http://www.realvnc.com/download-free.html + 65. http://sourceforge.net/projects/cotvnc/ + 66. http://www.ultravnc.com/ + 67. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 68. http://www.karlrunge.com/x11vnc/rx11vnc + 69. http://www.karlrunge.com/x11vnc/rx11vnc.pl + 70. http://www.sunfreeware.com/ + 71. http://www.karlrunge.com/x11vnc/bins + 72. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 73. http://www.karlrunge.com/x11vnc/miscbuild.html + 74. ftp://ftp.uu.net/graphics/jpeg/ + 75. http://www.gzip.org/zlib/ + 76. http://www.sunfreeware.com/ + 77. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 78. http://www.karlrunge.com/x11vnc/x11vnc-0.8.3.tar.gz + 79. http://www.karlrunge.com/x11vnc/bins + 80. mailto:x11vnc-beta@karlrunge.com + 81. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 82. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 83. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 84. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 86. http://www.openssl.org/ + 87. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 88. http://www.stunnel.org/ + 89. http://stunnel.mirt.net/ + 90. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA + 93. http://www.karlrunge.com/x11vnc/ssl.html + 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 95. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 96. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 103. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 104. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer + 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, + 113. http://www.karlrunge.com/x11vnc/prevrels.html + 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 115. http://www.tightvnc.com/ + 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 118. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 119. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg + 120. http://wwws.sun.com/sunray/index.html + 121. http://www.karlrunge.com/x11vnc/sunray.html + 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 124. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 127. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 129. mailto:xvml@karlrunge.com + 130. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 131. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 132. http://www.karlrunge.com/x11vnc/index.html#faq-build + 133. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest + 134. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 135. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 136. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 137. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts + 138. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 139. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 140. http://www.karlrunge.com/x11vnc/index.html#faq-change-port + 141. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg + 142. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe + 143. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations + 144. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 145. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp + 146. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 147. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 148. http://www.karlrunge.com/x11vnc/index.html#faq-windowid + 149. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id + 150. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp + 151. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 152. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 153. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays + 154. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg + 155. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control + 156. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 157. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho + 158. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 159. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd + 160. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 161. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords + 162. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared + 163. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 164. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 165. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface + 166. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost + 167. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt + 168. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 169. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt + 170. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy + 171. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock + 172. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver + 173. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix + 174. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty + 175. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 176. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 177. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 178. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 179. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 180. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca + 181. http://www.karlrunge.com/x11vnc/index.html#faq-service + 182. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 183. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 184. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 185. http://www.karlrunge.com/x11vnc/index.html#faq-loop + 186. http://www.karlrunge.com/x11vnc/index.html#faq-java-http + 187. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 188. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 189. http://www.karlrunge.com/x11vnc/index.html#faq-headless + 190. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 191. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource + 192. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource + 193. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link + 194. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage + 195. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 196. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 197. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 198. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape + 199. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha + 200. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 201. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow + 202. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions + 203. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt + 204. http://www.karlrunge.com/x11vnc/index.html#faq-altgr + 205. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 206. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy + 207. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 208. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys + 209. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still + 210. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt + 211. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta + 212. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click + 213. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 214. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 215. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 216. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 217. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen + 218. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen + 219. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 220. http://www.karlrunge.com/x11vnc/index.html#faq-rotate + 221. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen + 222. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 223. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars + 224. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 225. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 226. http://www.karlrunge.com/x11vnc/index.html#faq-video + 227. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 228. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 + 229. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf + 230. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard + 231. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 232. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares + 233. http://www.karlrunge.com/x11vnc/index.html#faq-cups + 234. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 235. http://www.karlrunge.com/x11vnc/index.html#faq-beeps + 236. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 237. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 238. http://www.tldp.org/HOWTO/Remote-X-Apps.html + 239. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 240. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 241. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 242. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 243. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html + 244. http://www.karlrunge.com/x11vnc/index.html#building + 245. http://www.karlrunge.com/x11vnc/index.html#faq-build + 246. http://packages.debian.org/x11vnc + 247. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 248. http://dag.wieers.com/packages/x11vnc/ + 249. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 250. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 251. http://www.sunfreeware.com/ + 252. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 253. http://www.freshports.org/net/x11vnc + 254. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 255. http://pkgsrc.se/x11/x11vnc + 256. http://mike.saunby.net/770/x11vnc/ + 257. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc + 258. http://www.focv.com/ipkg/ + 259. http://www.karlrunge.com/x11vnc/bins + 260. http://www.tightvnc.com/download.html + 261. http://www.realvnc.com/download-free.html + 262. http://sourceforge.net/projects/cotvnc/ + 263. http://www.ultravnc.com/ + 264. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 267. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 268. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 269. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 270. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o + 271. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 272. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb + 273. http://fredrik.hubbe.net/x2vnc.html + 274. http://www.hubbe.net/~hubbe/win2vnc.html + 275. http://www.deboer.gmxhome.de/ + 276. http://sourceforge.net/projects/win2vnc/ + 277. http://fredrik.hubbe.net/x2vnc.html + 278. http://freshmeat.net/projects/x2x/ + 279. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 280. http://zapek.com/software/zvnc/ + 281. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual + 282. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor + 285. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 293. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 301. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 302. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 303. http://wwws.sun.com/sunray/index.html - 304. http://www.karlrunge.com/x11vnc/sunray.html - 305. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 316. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 330. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 331. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 335. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 337. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 338. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 341. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 342. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 351. ftp://ftp.x.org/ - 352. http://www.karlrunge.com/x11vnc/dtVncPopup - 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 356. http://www.karlrunge.com/x11vnc/blockdpy.c - 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 361. http://www.jwz.org/xscreensaver/man1.html - 362. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 363. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 364. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 365. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 369. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 370. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 372. http://www.stunnel.org/ - 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 376. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 377. http://www.stunnel.org/ - 378. http://www.karlrunge.com/x11vnc/ssl.html - 379. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 380. http://www.karlrunge.com/x11vnc/ssl.html - 381. http://www.securityfocus.com/infocus/1677 - 382. http://www.karlrunge.com/x11vnc/ssl.html - 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 384. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 296. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid + 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 304. http://www.karlrunge.com/x11vnc/index.html#xauth_pain + 305. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 306. http://wwws.sun.com/sunray/index.html + 307. http://www.karlrunge.com/x11vnc/sunray.html + 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys + 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd + 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 319. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd + 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd + 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 333. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 334. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel + 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 336. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 345. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared + 348. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 350. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 351. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 354. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 355. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly + 364. ftp://ftp.x.org/ + 365. http://www.karlrunge.com/x11vnc/dtVncPopup + 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 369. http://www.karlrunge.com/x11vnc/blockdpy.c + 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 372. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 374. http://www.jwz.org/xscreensaver/man1.html + 375. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 376. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 377. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 378. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 379. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 382. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh + 383. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 385. http://www.stunnel.org/ + 386. http://stunnel.mirt.net/ 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 391. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 392. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 393. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 395. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 396. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 398. http://www.openssl.org/ - 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 400. http://www.stunnel.org/ - 401. http://www.karlrunge.com/x11vnc/ssl.html - 402. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 403. http://www.karlrunge.com/x11vnc/ssl.html - 404. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 408. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 410. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 411. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 412. http://www.karlrunge.com/x11vnc/ssl-portal.html - 413. http://www.karlrunge.com/x11vnc/ssl.html - 414. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 415. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 416. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 417. http://www.karlrunge.com/x11vnc/ssl-portal.html - 418. http://www.karlrunge.com/x11vnc/ssl.html - 419. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 420. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 421. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 422. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 424. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 425. http://www.jirka.org/gdm-documentation/x241.html - 426. http://www.karlrunge.com/x11vnc/x11vnc_loop - 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 428. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 432. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 433. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 436. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 439. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 441. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 449. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 450. http://www.karlrunge.com/x11vnc/Xdummy - 451. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 452. http://www.karlrunge.com/x11vnc/shm_clear - 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 455. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 458. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb - 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 467. http://www.tightvnc.com/ - 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 390. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 391. http://www.stunnel.org/ + 392. http://www.karlrunge.com/x11vnc/ssl.html + 393. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 394. http://www.karlrunge.com/x11vnc/ssl.html + 395. http://www.securityfocus.com/infocus/1677 + 396. http://www.karlrunge.com/x11vnc/ssl.html + 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 398. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 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-ssl + 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 405. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 406. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 407. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 410. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 412. http://www.openssl.org/ + 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 414. http://www.stunnel.org/ + 415. http://www.karlrunge.com/x11vnc/ssl.html + 416. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 417. http://www.karlrunge.com/x11vnc/ssl.html + 418. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 419. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 422. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 424. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 425. http://www.karlrunge.com/x11vnc/ssl_vncviewer + 426. http://www.karlrunge.com/x11vnc/ssl-portal.html + 427. http://www.karlrunge.com/x11vnc/ssl.html + 428. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 429. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 430. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 431. http://www.karlrunge.com/x11vnc/ssl-portal.html + 432. http://www.karlrunge.com/x11vnc/ssl.html + 433. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 434. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 435. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 436. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop + 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 438. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris + 439. http://www.jirka.org/gdm-documentation/x241.html + 440. http://www.karlrunge.com/x11vnc/x11vnc_loop + 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 442. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 446. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 447. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 450. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 453. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 455. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 458. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect + 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 463. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 464. http://www.karlrunge.com/x11vnc/Xdummy + 465. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 466. http://www.karlrunge.com/x11vnc/shm_clear + 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 469. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap + 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb + 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 483. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 487. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 493. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 494. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 495. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 496. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 500. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 504. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 512. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 513. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 514. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 520. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 521. http://www.tightvnc.com/ - 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 530. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 531. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 538. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 540. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 481. http://www.tightvnc.com/ + 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds + 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout + 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 497. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area + 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem + 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 501. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 507. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 508. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 509. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 510. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 514. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 518. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip + 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 526. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode + 527. http://www.karlrunge.com/x11vnc/index.html#solaris10-build + 528. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut + 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac + 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove + 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend + 534. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 535. http://www.tightvnc.com/ + 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos + 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer + 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes - 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 554. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 563. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 565. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html - 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 574. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 577. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 578. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 583. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 585. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 586. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 587. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 593. http://www.karlrunge.com/x11vnc/index.html#faq-video - 594. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 595. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 596. http://www.karlrunge.com/x11vnc/index.html#faq-video - 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 598. http://www.karlrunge.com/x11vnc/index.html#faq-video + 544. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 545. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 552. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 554. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes + 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 568. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 577. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 579. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html + 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor + 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout + 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 588. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip + 592. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr + 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom + 597. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate 599. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 600. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 601. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 603. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 610. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 614. http://www.unixuser.org/~euske/vnc2swf/ - 615. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ - 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 621. http://www.samba.org/ - 622. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 623. http://www.cups.org/ - 624. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 625. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 627. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 600. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 601. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 607. http://www.karlrunge.com/x11vnc/index.html#faq-video + 608. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 609. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 610. http://www.karlrunge.com/x11vnc/index.html#faq-video + 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 612. http://www.karlrunge.com/x11vnc/index.html#faq-video + 613. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 614. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 615. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 617. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb + 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab + 624. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 628. http://www.unixuser.org/~euske/vnc2swf/ + 629. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ + 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary + 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir + 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer + 635. http://www.samba.org/ + 636. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 637. http://www.cups.org/ + 638. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 639. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell + 641. http://www.karlrunge.com/x11vnc/index.html#faq-sound ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -7266,7 +7323,7 @@ pem References 1. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 2. http://www.stunnel.org/ + 2. http://stunnel.mirt.net/ 3. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext 4. http://www.karlrunge.com/x11vnc/ssl_vncviewer 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir @@ -7354,7 +7411,8 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html: So we assume x11vnc has been started this way on all of the workstations to be granted VNC access: - x11vnc -ssl -http -display :0 -forever -rfbauth ~/.vnc/passwd -rfbport 5915 + x11vnc -ssl SAVE -http -display :0 -forever -rfbauth ~/.vnc/passwd -rfbport 5 +915 i.e. we force SSL VNC connections, port 5915, serve the Java VNC viewer applet, and require a VNC password (another option would be @@ -7379,7 +7437,7 @@ URL. 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] +563&forceProxy=yes [R,NE] # allow incoming proxy CONNECT requests to port 5915 *only* ProxyRequests On @@ -7394,6 +7452,9 @@ URL. # ... # force a reject for any CONNECT not to the known list of x11vnc servers: + # i.e. the viewer requests 'CONNECT mach1:5915' so the "URL" starts with 'ma +ch1:' + # we also allow in normal 'GET http://...' requests. # (list all allowed x11vnc servers here) ProxyRemoteMatch ^(?!(http://|mach1:|mach2:|mach3:|mach4:)) http://localhos t:563/ @@ -7432,6 +7493,9 @@ t:563/ 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). + (The forceProxy=yes parameter is passed to the applet to force the use + of a proxy socket connection, it is not needed in this example since + the CONNECT=$1+5915 does the same thing) Next, the "ProxyRequests On" and "AllowCONNECT 5915" enable the web server to forward proxy requests to port 5915 (and only this port) @@ -7452,12 +7516,35 @@ t:563/ localhost:563 which has proxying disabled ("ProxyRequests Off") and so effectively drops the connection. + There is a point where the VNC Viewer applet can try up to about 3 + times to retrieve the x11vnc certificate, since it needs to get it to + show it to you and ask you if you accept it. This can add about 40 + seconds to the whole process (which takes 1 to 1.5 minutes with all + the dialogs) since a couple of those connections must time out. If you + don't like this waiting around, especially since you are going to + accept the certificate no matter what, you can add a parameter + trustAllVncCerts=yes to the above lines similar to the forceProxy=yes + parameter. You will need to separate the parameters with "&" of + course. This can cut the total time to the VNC password prompt down to + 15 seconds which is pretty good. See [5]Tricks for Better Response + below for an optimized setup. + + Another possible way to speed this up is to use the same SSL key and + certificate for both Apache and x11vnc that way the applet can use the + Web browser's acceptance of the certificate. + + Unfortunately the applet currently is not able to save its own list of + Certificates (e.g. the user says trust this certificate always). As an + applet it cannot open local files, etc. Sadly, the applet cannot even + remember certificates in the same browser session because it is + completely reinitialized for each connection. + Some Ideas for adding extra authentication, etc. for the paranoid: - * VNC passwords: [5]-rfbauth, [6]-passwdfile, or [7]-usepw. Even + * VNC passwords: [6]-rfbauth, [7]-passwdfile, or [8]-usepw. Even adding a company-wide VNC password helps block unwanted access. - * Unix passwords: [8]-unixpw - * SSL Client certificates: [9]-sslverify + * Unix passwords: [9]-unixpw + * SSL Client certificates: [10]-sslverify * Apache AuthUserFile directive: .htaccess, etc. * Add proxy password authentication (requires Viewer changes?) * Run a separate instance of Apache that provides this VNC service @@ -7468,59 +7555,67 @@ t:563/ Using non-Java viewers with this scheme: - The [10]ssl_vncviewer stunnel wrapper script for VNC viewers has the + The [11]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. ssl_vncviewer -proxy www.gateway.east:563 mach1:15 ssl_vncviewer -proxy proxy1.foobar.com:8080,www.gateway.east:563 mach1:15 + For the [12]Enhanced TightVNC Viewer GUI (it uses ssl_vncviewer on + Unix) enter these into the 'VNC Server' entry box: + mach1:15 www.gateway.east:563 + mach1:15 proxy1.foobar.com:8080,www.gateway.east:563 + + then click on the 'Connect' button. The double-proxy one (the 2nd + line) probably will not work on Windows, but the first one should. + Downloading the Java applet via HTTPS: 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 [11]mod_ssl (this is probably not + should be configured for SSL via [13]mod_ssl (this is probably not absolutely necessary; show us how you did it). - It is actually possible to use the x11vnc [12]Key Management utility - "[13]-sslGenCert" to generate your Apache/SSL .crt and .key files. (In + It is actually possible to use the x11vnc [14]Key Management utility + "[15]-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 - conf/ssl.key/server.key). Or you can use the standard methods - described in the Apache mod_ssl documentation. Setting the env var - REQ_ARGS='-days 730' will bump up the expiration date (2 years in this - case). + conf/ssl.key/server.key). Setting the env var REQ_ARGS='-days 730' + will bump up the expiration date (2 years in this case). Or you can + use the standard methods described in the Apache mod_ssl + documentation. In addition to the above sections in httpd.conf one should add the following to ssl.conf: -SSLProxyEngine On + SSLProxyEngine On -# for convenience, a rewrite to avoid having ...?CONNECT=... in URL. -RewriteEngine On -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 "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 /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/ + # for convenience, a rewrite to avoid having ...?CONNECT=... in URL. + RewriteEngine On + RewriteRule /vnc/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&PO +RT=563 [R,NE] + RewriteRule /vnc/proxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&PO +RT=563&forceProxy=yes [R,NE] + + # these "vncs" are for https applet downloading: + RewriteRule /vncs/([^/]*)$ /vncs/$1/index.vnc?CONNECT=$1+5915&PO +RT=563 [R,NE] + RewriteRule /vncs/proxy/([^/]*)$ /vncs/$1/proxy.vnc?CONNECT=$1+5915&PO +RT=563&forceProxy=yes [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 /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. @@ -7541,7 +7636,7 @@ ProxyPass /vncs/mach4/ https://mach4:5915/ 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 + the two legs are two separate SSL sessions. So the data is decrypted inside an apache process and reencrypted for the 2nd SSL session inside the same apache process (a very small gap one might overlook). @@ -7606,7 +7701,7 @@ ProxyPass /vncs/mach4/ https://mach4:5915/ -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 + [16]-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 @@ -7621,7 +7716,7 @@ ProxyPass /vncs/mach4/ https://mach4:5915/ the rigging. There should be better ways to configure Apache to do these, but we have not found them (please let us know if you discover something nice). However, once this scheme has been set up and is - working it is easy to maintain and add workstations, etc. + working it is easy to maintain and add/delete workstations, etc. - In general Apache is not required, but it makes things convenient. The firewall itself could do the port redirection via its firewall @@ -7662,8 +7757,77 @@ ProxyPass /vncs/mach4/ https://mach4:5915/ well (for the ssl.conf case) to avoid the CONNECT proxying completely (which would be nice to avoid). Unfortunately we were not able to get this to work. Since HTTP is a request-response protocol (as opposed to - a full bidirectional link required by VNC) this makes it difficult to - do. It may be possible, but we haven't found out how yet. + a full bidirectional link required by VNC that CONNECT provides) this + makes it difficult to do. It may be possible, but we haven't found out + how yet. + + + Tricks for Better Response: + + The above httpd.conf and ssl.conf examples given above should work OK, + but may lead to slow and/or unreliable loading of the applet and final + connection to x11vnc. The following are what I do to get better + response. YMMV. + + First make sure the x11vnc SSL certificate+key is the same as + Apache's. (otherwise you may get one extra dialog and/or one extra + connection that has to time out). + + Here is what I have in httpd.conf: + RewriteEngine On + RewriteRule /vnc/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&PO +RT=563&httpsPort=443&urlPrefix=_2F_vnc_2F_$1 [R,NE] + RewriteRule /vnc/trust/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&PO +RT=563&httpsPort=443&urlPrefix=_2F_vnc_2F_$1&trustAllVncCerts=yes [R,NE] + RewriteRule /vnc/proxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&PO +RT=563&httpsPort=443&urlPrefix=_2F_vnc_2F_$1&forceProxy=yes [R,NE] + RewriteRule /vnc/trustproxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&PO +RT=563&httpsPort=443&urlPrefix=_2F_vnc_2F_$1&forceProxy=yes&trustAllVncCerts=ye +s [R,NE] + + the rest is the same as above. The httpsPort and urlPrefix provide + useful hints to the VNC Viewer applet when it connects to x11vnc to + glean information about Proxies, certificates, etc. + + Here is what I have in ssl.conf: + RewriteEngine On + RewriteRule /vnc/([^/]*)$ /vnc/$1/index.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vnc_2F_$1 [R,NE] + RewriteRule /vnc/proxy/([^/]*)$ /vnc/$1/proxy.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vnc_2F_$1&forceProxy=yes [R,NE] + RewriteRule /vncs/([^/]*)$ /vncs/$1/index.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vncs_2F_$1 [R,NE] + RewriteRule /vncs/proxy/([^/]*)$ /vncs/$1/proxy.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vncs_2F_$1&forceProxy=yes [R,NE] + RewriteRule /vnct/([^/]*)$ /vncs/$1/index.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vncs_2F_$1&trustAllVncCerts=yes [R,NE +] + RewriteRule /vnct/proxy/([^/]*)$ /vncs/$1/proxy.vnc?CONNECT=$1+5915&P +ORT=563&httpsPort=443&GET=1&urlPrefix=_2F_vncs_2F_$1&forceProxy=yes&trustAllVnc +Certs=yes [R,NE] + + the rest is the same as above. The httpsPort and urlPrefix and GET + provide useful hints to the VNC Viewer applet when it connects to + x11vnc to glean information about Proxies, certificates, etc, and also + for the ultimate VNC connection (GET speeds this up by sending a + special HTTP GET to cause x11vnc to immediately switch to the VNC + protocol). + + To turn these into URLs, as was done above, take the string in the + RewriteRule, e.g. /vncs and turn it into + https://gateway/vncs/machinename Similarly for non-https: + http://gateway:563/vnc/machinename + + If you use the 'trust' and 'vnct' ones, you are performing NO checks, + visual or otherwise, on the VNC SSL certificate. It is trusted without + question. This speeds things up because it avoids a few dialogs about + certificates, but of course has some risk WRT Man in the Middle + attacks. I don't recommend them. It is better to use /vnc or /vncs and + the first time you connect carefully check the Certificate and then + tell your Browser and Java Virtual Machine to trust the certificate + 'Always'. Then if you later get an unexpected dialog, you know + something is wrong. Nearly always it is just an changed or expired + certificate, but better safe than sorry... References @@ -7671,16 +7835,18 @@ References 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 + 5. http://www.karlrunge.com/x11vnc/ssl-portal.html#tricks + 6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 8. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 9. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 10. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 11. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 12. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 13. http://httpd.apache.org/docs/2.0/mod/mod_ssl.html + 14. http://www.karlrunge.com/x11vnc/ssl.html + 15. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 16. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http_ssl ======================================================================= http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html: @@ -8088,7 +8254,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.3 lastmod: 2006-09-20 +x11vnc: allow VNC connections to real X11 displays. 0.8.3 lastmod: 2006-09-23 x11vnc options: -display disp -auth file -id windowid @@ -8189,7 +8355,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.8.3 lastmod: 2006-09-20 +x11vnc: allow VNC connections to real X11 displays. 0.8.3 lastmod: 2006-09-23 (type "x11vnc -opts" to just list the options.) @@ -8681,8 +8847,10 @@ Options: -unixpw [list] Use Unix username and password authentication. x11vnc uses the su(1) program to verify the user's password. [list] is an optional comma separated list of allowed - Unix usernames. See below for per-user options that - can be applied. + Unix usernames. If the [list] string begins with the + character "!" then the entire list is taken as an + exclude list. See below for per-user options that can + be applied. A familiar "login:" and "Password:" dialog is presented to the user on a black screen inside the @@ -8781,11 +8949,14 @@ Options: "deny", e.g. "karl,wally:viewonly,boss:input=M". For "input=" it is the K,M,B,C described under -input. - If a user in the list is "*" that means those + If an item in the list is "*" that means those options apply to all users. It also means all users are allowed to log in after supplying a valid password. Use "deny" to explicitly deny some users if you use - "*" to set a global option. + "*" to set a global option. If [list] begins with + the "!" character then "*" is ignored for checking + if the user is allowed, but the any value of options + associated with it does apply as normal. There are also some utilities for testing password if [list] starts with the "%" character. See the @@ -8824,11 +8995,15 @@ Options: line of its stdin will the username and the second line the received password. If the command exits with status 0 (success) the VNC client will be accepted. It will be - rejected for any other return status. Dynamic passwords - and non-unix passwords can be implemented this way by - providing your own custom helper program. Note that - under unixpw mode the remote viewer is given 3 tries - to enter the correct password. + rejected for any other return status. + + Dynamic passwords and non-unix passwords can be + implemented this way by providing your own custom helper + program. Note that under unixpw mode the remote viewer + is given 3 tries to enter the correct password. + + If a list of allowed users is needed use -unixpw [list] + in addition to this option. -display_WAIT :... A special usage mode for the normal -display option. Useful with -unixpw, but can be used independently @@ -10862,7 +11037,7 @@ Options: @WxHxB at the end of the string. Examples: - -rawfb console (same as -rawfb console) + -rawfb console -rawfb /dev/fb0 (same) -rawfb console3 (force /dev/tty3) -rawfb consolex (no keystrokes or mouse) diff --git a/x11vnc/connections.c b/x11vnc/connections.c index 5ef0f9f..5ceb510 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -1048,7 +1048,7 @@ static unsigned char t2x2_bits[] = { char *ip = addr; char *type = "accept"; if (unixpw && strstr(userhost, "UNIX:") != userhost) { - type = "unixpw"; + type = "UNIXPW"; if (openssl_last_ip) { ip = openssl_last_ip; } @@ -2007,7 +2007,6 @@ enum rfbNewClientAction new_client(rfbClientPtr client) { } clients_served++; -if (getenv("NEW_CLIENT")) fprintf(stderr, "new_client: %s %d\n", client->host, clients_served); if (use_openssl || use_stunnel) { if (! ssl_initialized) { @@ -2016,7 +2015,7 @@ if (getenv("NEW_CLIENT")) fprintf(stderr, "new_client: %s %d\n", client->host, c return(RFB_CLIENT_REFUSE); } } - if (unixpw && unixpw_in_progress) { + if (unixpw_in_progress) { rfbLog("denying additional client: %s during -unixpw login.\n", client->host); return(RFB_CLIENT_REFUSE); @@ -2052,7 +2051,6 @@ if (getenv("NEW_CLIENT")) fprintf(stderr, "new_client: %s %d\n", client->host, c cd->ssl_helper_pid = 0; if (use_openssl && openssl_last_helper_pid) { -if (0) fprintf(stderr, "SET ssl_helper_pid: %d\n", openssl_last_helper_pid); cd->ssl_helper_pid = openssl_last_helper_pid; openssl_last_helper_pid = 0; } @@ -2086,7 +2084,6 @@ if (0) fprintf(stderr, "SET ssl_helper_pid: %d\n", openssl_last_helper_pid); cd->uid = clients_served; - client->clientGoneHook = client_gone; if (client_count) { @@ -2131,8 +2128,10 @@ if (0) fprintf(stderr, "SET ssl_helper_pid: %d\n", openssl_last_helper_pid); client->viewOnly = FALSE; } unixpw_last_try_time = time(NULL); + unixpw_screen(1); unixpw_keystroke(0, 0, 1); + if (!unixpw_in_rfbPE) { rfbLog("new client: %s in non-unixpw_in_rfbPE.\n", client->host); diff --git a/x11vnc/help.c b/x11vnc/help.c index c66c10d..e751aeb 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -513,8 +513,10 @@ void print_help(int mode) { "-unixpw [list] Use Unix username and password authentication. x11vnc\n" " uses the su(1) program to verify the user's password.\n" " [list] is an optional comma separated list of allowed\n" -" Unix usernames. See below for per-user options that\n" -" can be applied.\n" +" Unix usernames. If the [list] string begins with the\n" +" character \"!\" then the entire list is taken as an\n" +" exclude list. See below for per-user options that can\n" +" be applied.\n" "\n" " A familiar \"login:\" and \"Password:\" dialog is\n" " presented to the user on a black screen inside the\n" @@ -613,11 +615,14 @@ void print_help(int mode) { " \"deny\", e.g. \"karl,wally:viewonly,boss:input=M\".\n" " For \"input=\" it is the K,M,B,C described under -input.\n" "\n" -" If a user in the list is \"*\" that means those\n" +" If an item in the list is \"*\" that means those\n" " options apply to all users. It also means all users\n" " are allowed to log in after supplying a valid password.\n" " Use \"deny\" to explicitly deny some users if you use\n" -" \"*\" to set a global option.\n" +" \"*\" to set a global option. If [list] begins with\n" +" the \"!\" character then \"*\" is ignored for checking\n" +" if the user is allowed, but the any value of options\n" +" associated with it does apply as normal.\n" "\n" " There are also some utilities for testing password\n" " if [list] starts with the \"%\" character. See the\n" @@ -656,11 +661,15 @@ void print_help(int mode) { " line of its stdin will the username and the second line\n" " the received password. If the command exits with status\n" " 0 (success) the VNC client will be accepted. It will be\n" -" rejected for any other return status. Dynamic passwords\n" -" and non-unix passwords can be implemented this way by\n" -" providing your own custom helper program. Note that\n" -" under unixpw mode the remote viewer is given 3 tries\n" -" to enter the correct password.\n" +" rejected for any other return status.\n" +"\n" +" Dynamic passwords and non-unix passwords can be\n" +" implemented this way by providing your own custom helper\n" +" program. Note that under unixpw mode the remote viewer\n" +" is given 3 tries to enter the correct password.\n" +"\n" +" If a list of allowed users is needed use -unixpw [list]\n" +" in addition to this option.\n" "\n" #endif "-display WAIT:... A special usage mode for the normal -display option.\n" @@ -2707,7 +2716,7 @@ void print_help(int mode) { " @WxHxB at the end of the string.\n" "\n" " Examples:\n" -" -rawfb console (same as -rawfb console)\n" +" -rawfb console\n" " -rawfb /dev/fb0 (same)\n" " -rawfb console3 (force /dev/tty3)\n" " -rawfb consolex (no keystrokes or mouse)\n" diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c index 240c4bc..bef2cec 100644 --- a/x11vnc/keyboard.c +++ b/x11vnc/keyboard.c @@ -2680,20 +2680,19 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { if (debug_keyboard) { char *str; X_LOCK; - str = XKeysymToString(keysym); + str = XKeysymToString((KeySym) keysym); X_UNLOCK; rfbLog("# keyboard(%s, 0x%x \"%s\") uip=%d %.4f\n", down ? "down":"up", (int) keysym, str ? str : "null", unixpw_in_progress, tnow - x11vnc_start); } - if (keysym <= 0) { rfbLog("keyboard: skipping 0x0 keysym\n"); return; } - if (unixpw && unixpw_in_progress) { + if (unixpw_in_progress) { if (unixpw_denied) { rfbLog("keyboard: ignoring keystroke 0x%x in " "unixpw_denied=1 state\n", (int) keysym); @@ -2703,7 +2702,9 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { rfbLog("keyboard: skipping other client in unixpw\n"); return; } + unixpw_keystroke(down, keysym, 0); + return; } diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c index 0fa2919..a0bd07e 100644 --- a/x11vnc/pointer.c +++ b/x11vnc/pointer.c @@ -617,7 +617,6 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { if (mask >= 0) { got_pointer_calls++; } - get_allowed_input(client, &input); if (debug_pointer && mask >= 0) { static int show_motion = -1; @@ -643,10 +642,13 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { last_x = x; last_y = y; } - if (unixpw && unixpw_in_progress) { + + if (unixpw_in_progress) { return; } + get_allowed_input(client, &input); + if (rotating) { rotate_coords_inverse(x, y, &x, &y, -1, -1); } diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 83a9f38..7e5e5ec 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -1574,6 +1574,7 @@ void accept_openssl(int mode) { * instead of a direct SSL connection. */ rfbLog("Handling VNC request via https GET. [%d]\n", getpid()); + rfbLog("-- %s\n", buf); if (strstr(buf, "/reverse.proxy")) { char *buf2; @@ -1604,6 +1605,9 @@ void accept_openssl(int mode) { "Content-Type: octet-stream\r\n" "Pragma: no-cache\r\n\r\n"; + rfbLog("Handling Check HTTPS request via https GET. [%d]\n", getpid()); + rfbLog("-- %s\n", buf); + SSL_write(ssl, reply, strlen(reply)); SSL_shutdown(ssl); diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index c40d5d6..a14b831 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -122,7 +122,9 @@ static rfbScreenInfo fscreen; static rfbScreenInfoPtr pscreen; void unixpw_screen(int init) { - if (unixpw_nis) { + if (unixpw_cmd) { + ; /* OK */ + } else if (unixpw_nis) { #ifndef UNIXPW_CRYPT rfbLog("-unixpw_nis is not supported on this OS/machine\n"); clean_up_exit(1); @@ -355,6 +357,79 @@ static void kill_child (pid_t pid, int fd) { waitpid(pid, &status, WNOHANG); } +static int scheck(char *str, int n, char *name) { + int j, i; + + if (! str) { + return 0; + } + j = 0; + for (i=0; i<n; i++) { + if (str[i] == '\0') { + j = 1; + break; + } + if (!strcmp(name, "password")) { + if (str[i] == '\n') { + continue; + } + } + if (str[i] < ' ' || str[i] >= 0x7f) { + rfbLog("scheck: invalid character in %s.\n", name); + return 0; + } + } + if (j == 0) { + rfbLog("scheck: unterminated string in %s.\n", name); + return 0; + } + return 1; +} + +int unixpw_list_match(char *user) { + if (! unixpw_list || unixpw_list[0] == '\0') { + return 1; + } else { + char *p, *q, *str = strdup(unixpw_list); + int ok = 0; + int notmode = 0; + + if (str[0] == '!') { + notmode = 1; + ok = 1; + p = strtok(str+1, ","); + } else { + p = strtok(str, ","); + } + while (p) { + if ( (q = strchr(p, ':')) != NULL ) { + *q = '\0'; /* get rid of options. */ + } + if (!strcmp(user, p)) { + if (notmode) { + ok = 0; + } else { + ok = 1; + } + break; + } + if (!notmode && !strcmp("*", p)) { + ok = 1; + break; + } + p = strtok(NULL, ","); + } + free(str); + if (! ok) { + rfbLog("unixpw_list_match: fail for '%s'\n", user); + return 0; + } else { + rfbLog("unixpw_list_match: OK for '%s'\n", user); + return 1; + } + } +} + int crypt_verify(char *user, char *pass) { #ifndef UNIXPW_CRYPT return 0; @@ -362,6 +437,17 @@ int crypt_verify(char *user, char *pass) { struct passwd *pwd; char *realpw, *cr; int n; + + if (! scheck(user, 100, "username")) { + return 0; + } + if (! scheck(pass, 100, "password")) { + return 0; + } + if (! unixpw_list_match(user)) { + return 0; + } + pwd = getpwnam(user); if (! pwd) { return 0; @@ -419,6 +505,17 @@ int cmd_verify(char *user, char *pass) { if (! unixpw_cmd || *unixpw_cmd == '\0') { return 0; } + + if (! scheck(user, 100, "username")) { + return 0; + } + if (! scheck(pass, 100, "password")) { + return 0; + } + if (! unixpw_list_match(user)) { + return 0; + } + if (unixpw_client) { ClientData *cd = (ClientData *) unixpw_client->clientData; if (cd) { @@ -464,33 +561,23 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) { pid_t pid, pidw; struct stat sbuf; static int first = 1; - char instr[32], buf[10]; + char instr[32], cbuf[10]; if (first) { set_db(); first = 0; } - if (unixpw_list) { - char *p, *q, *str = strdup(unixpw_list); - int ok = 0; - - p = strtok(str, ","); - while (p) { - if ( (q = strchr(p, ':')) != NULL ) { - *q = '\0'; /* get rid of options. */ - } - if (!strcmp(user, p) || !strcmp("*", p)) { - ok = 1; - break; - } - p = strtok(NULL, ","); - } - free(str); - if (! ok) { - return 0; - } + if (! scheck(user, 100, "username")) { + return 0; + } + if (! scheck(pass, 100, "password")) { + return 0; + } + if (! unixpw_list_match(user)) { + return 0; } + /* unixpw */ if (no_external_cmds || !cmd_ok("unixpw")) { rfbLog("su_verify: cannot run external commands.\n"); @@ -521,7 +608,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) { bin_true = "/usr/bin/true"; } if (cmd != NULL && cmd[0] != '\0') { - /* this is for ext. cmd su -c "my cmd" */ + /* this is for ext. cmd su -c "my cmd" after login */ bin_true = cmd; } if (bin_true == NULL) { @@ -536,7 +623,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) { return 0; } -if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); + if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); if (fd < 0) { rfbLogPerror("get_pty fd < 0"); @@ -618,7 +705,8 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); tfd = open("/tmp/isatty", O_CREAT|O_WRONLY, 0600); if (isatty(sfd)) { close(tfd); - sprintf(nam, "stty -a < %s > /tmp/isatty 2>&1", slave); + sprintf(nam, "stty -a < %s > /tmp/isatty 2>&1", + slave); system(nam); } else { write(tfd, "NOTTTY\n", 7); @@ -630,11 +718,6 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); try_to_be_nobody(); #if LIBVNCSERVER_HAVE_GETUID - if (0 && db > 1) { - /* does not work, writes to pty... */ - fprintf(stderr, "getuid=%d geteuid=%d\n", - getuid(), geteuid()); - } if (getuid() == 0 || geteuid() == 0) { exit(1); } @@ -648,7 +731,7 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); if (!cmd && getenv("DISPLAY")) { /* this will cause timeout problems with pam_xauth */ char *s = getenv("DISPLAY"); - if (s) *(s-2) = '_'; + if (s) *(s-2) = '_'; /* quite... */ } /* synchronize with parent: */ @@ -677,11 +760,13 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); alarm(10); /* synchronize with child: */ + cbuf[0] = '\0'; + cbuf[1] = '\0'; for (i=0; i<10; i++) { int n; - buf[0] = '\0'; - buf[1] = '\0'; - n = read(fd, buf, 1); + cbuf[0] = '\0'; + cbuf[1] = '\0'; + n = read(fd, cbuf, 1); if (n < 0 && errno == EINTR) { continue; } else { @@ -690,7 +775,7 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); } if (db) { - fprintf(stderr, "read from child: '%s'\n", buf); + fprintf(stderr, "read from child: '%s'\n", cbuf); } alarm(0); @@ -728,42 +813,52 @@ if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd); char pstr[] = "password:"; int n; - buf[0] = '\0'; - buf[1] = '\0'; + cbuf[0] = '\0'; + cbuf[1] = '\0'; - n = read(fd, buf, 1); + n = read(fd, cbuf, 1); if (n < 0 && errno == EINTR) { i--; + if (i < 0) i = 0; continue; } -if (db) fprintf(stderr, "%s", buf); - - if (db > 3 && n == 1 && buf[0] == ':') { - char cmd0[32]; - usleep( 100 * 1000 ); - fprintf(stderr, "\n\n"); - sprintf(cmd0, "ps wu %d", pid); - system(cmd0); - sprintf(cmd0, "stty -a < %s", slave); - system(cmd0); - fprintf(stderr, "\n\n"); + if (db) { + fprintf(stderr, "%s", cbuf); + if (db > 3 && n == 1 && cbuf[0] == ':') { + char cmd0[32]; + usleep( 100 * 1000 ); + fprintf(stderr, "\n\n"); + sprintf(cmd0, "ps wu %d", pid); + system(cmd0); + sprintf(cmd0, "stty -a < %s", slave); + system(cmd0); + fprintf(stderr, "\n\n"); + } } if (n == 1) { - if (isspace((unsigned char) buf[0])) { + if (isspace((unsigned char) cbuf[0])) { i--; + if (i < 0) i = 0; continue; } - instr[j++] = tolower((unsigned char)buf[0]); + if (j >= 32-1) { + rfbLog("su_verify: problem finding Password:\n"); + return 0; + } + instr[j++] = tolower((unsigned char)cbuf[0]); } + if (n <= 0 || strstr(pstr, instr) != pstr) { -if (db) { - fprintf(stderr, "\"Password:\" did not appear: '%s'" " n=%d\n", instr, n); - if (db > 3 && n == 1 && j < 32) { - continue; - } -} + + if (db) { + fprintf(stderr, "\"Password:\" did not " + "appear: '%s'" " n=%d\n", instr, n); + if (db > 3 && n == 1 && j < 32) { + continue; + } + } alarm(0); signal(SIGALRM, SIG_DFL); kill_child(pid, fd); @@ -806,26 +901,27 @@ if (db) { for (i = 0; i< drain_size; i++) { int n; - buf[0] = '\0'; - buf[1] = '\0'; + cbuf[0] = '\0'; + cbuf[1] = '\0'; - n = read(fd, buf, 1); + n = read(fd, cbuf, 1); if (n < 0 && errno == EINTR) { + i--; + if (i < 0) i = 0; continue; } -if (db) fprintf(stderr, "%s", buf); + if (db) fprintf(stderr, "%s", cbuf); if (n <= 0) { break; } - - if (rbuf) { - rbuf[i] = buf[0]; - rsize++; + if (rbuf && *rbuf_size > 0) { + rbuf[rsize++] = cbuf[0]; } } - if (rbuf) { + + if (rbuf && *rbuf_size > 0) { char *s = rbuf; char *p = strdup(pass); int n, o = 0; @@ -861,9 +957,10 @@ if (db) fprintf(stderr, "%s", buf); } *rbuf_size = rsize; strzero(p); + free(p); } -if (db) fprintf(stderr, "\n"); + if (db) fprintf(stderr, "\n"); alarm(0); signal(SIGALRM, SIG_DFL); @@ -898,12 +995,14 @@ static void unixpw_verify(char *user, char *pass) { int ok; if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); - rfbLog("unixpw_verify: %s\n", user); + rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); - colon = strchr(user, ':'); + if (user) { + colon = strchr(user, ':'); + } if (colon) { *colon = '\0'; - rfbLog("unixpw_verify: colon: %s\n", user); + rfbLog("unixpw_verify: colon: '%s'\n", user); } if (unixpw_client) { cd = (ClientData *) unixpw_client->clientData; @@ -1007,7 +1106,7 @@ static void set_db(void) { } void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { - int x, y, i, nmax = 100; + int x, y, i, rc, nmax = 100; static char user_r[100], user[100], pass[100]; static int u_cnt = 0, p_cnt = 0, first = 1; char keystr[100]; @@ -1018,6 +1117,8 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { first = 0; for (i=0; i < nmax; i++) { user_r[i] = '\0'; + user[i] = '\0'; + pass[i] = '\0'; } } @@ -1040,13 +1141,16 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { keep_unixpw_user = NULL; } if (keep_unixpw_pass) { + strzero(keep_unixpw_pass); free(keep_unixpw_pass); keep_unixpw_pass = NULL; } if (keep_unixpw_opts) { + strzero(keep_unixpw_opts); free(keep_unixpw_opts); keep_unixpw_opts = NULL; } + return; } @@ -1058,14 +1162,22 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { rfbLog("unixpw_keystroke: bad keysym1: 0x%x\n", (int) keysym); return; } + + /* rfbKeySym = uint32_t */ + /* KeySym = XID = CARD32 = (unsigned long or unsigned int on LONG64) */ X_LOCK; str = XKeysymToString(keysym); X_UNLOCK; - if (! str) { + if (str == NULL) { rfbLog("unixpw_keystroke: bad keysym2: 0x%x\n", (int) keysym); return; } - snprintf(keystr, 100, "%s", str); + + rc = snprintf(keystr, 100, "%s", str); + if (rc < 1 || rc > 90) { + rfbLog("unixpw_keystroke: bad keysym3: 0x%x\n", (int) keysym); + return; + } if (db > 2) { fprintf(stderr, "%s / %s 0x%x %s\n", in_login ? "login":"pass ", @@ -1073,7 +1185,10 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { } if (keysym == XK_Return || keysym == XK_Linefeed) { - ; /* let "up" pass down below for Return case */ + /* let "up" pass down below for Return case */ + if (down) { + return; + } } else if (! down) { return; } @@ -1082,6 +1197,8 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { if (keysym == XK_BackSpace || keysym == XK_Delete) { if (u_cnt > 0) { user[u_cnt-1] = '\0'; + u_cnt--; + x = text_x(); y = text_y(); if (scaling) { @@ -1102,10 +1219,11 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { y - char_h, x, y, 0); } char_col--; - u_cnt--; } + return; } + if (keysym == XK_Return || keysym == XK_Linefeed) { char pw[] = "Password: "; @@ -1113,6 +1231,7 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { /* * require Up so the Return Up is not processed * by the normal session after login. + * (actually we already returned above) */ return; } @@ -1135,8 +1254,10 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { } else { mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0); } + return; } + if (u_cnt == 0 && keysym == XK_Up) { /* * Allow user to hit Up arrow at beginning to @@ -1144,28 +1265,39 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { */ int i; for (i=0; i < nmax; i++) { + user[i] = '\0'; + } + for (i=0; i < nmax; i++) { + char str[10]; user[u_cnt++] = user_r[i]; if (user_r[i] == '\0') { break; } - keystr[0] = (char) user_r[i]; - keystr[1] = '\0'; + str[0] = (char) user_r[i]; + str[1] = '\0'; + x = text_x(); y = text_y(); rfbDrawString(pscreen, &default8x16Font, x, y, - keystr, white()); + str, white()); mark_rect_as_modified(x, y-char_h, x+char_w, y, scaling); char_col++; usleep(10*1000); } + return; } - if (keysym <= ' ' || keysym >= 0x7f) { + + if (keysym < ' ' || keysym >= 0x7f) { + /* require normal keyboard characters for username */ + rfbLog("unixpw_keystroke: bad keysym4: 0x%x\n", (int) keysym); return; } + if (u_cnt >= nmax - 1) { - rfbLog("unixpw_deny: username too long\n"); + /* user[u_cnt=99] will be '\0' */ + rfbLog("unixpw_deny: username too long: %d\n", u_cnt); for (i=0; i<nmax; i++) { user[i] = '\0'; pass[i] = '\0'; @@ -1179,22 +1311,25 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { #else user[u_cnt++] = (char) keysym; for (i=0; i < nmax; i++) { + /* keep a full copy of username */ user_r[i] = user[i]; } keystr[0] = (char) keysym; #endif + keystr[1] = '\0'; x = text_x(); y = text_y(); -if (db && db <= 2) fprintf(stderr, "u_cnt: %d %d/%d ks: 0x%x %s\n", u_cnt, x, y, keysym, keystr); +if (db && db <= 2) fprintf(stderr, "u_cnt: %d %d/%d ks: 0x%x '%s'\n", u_cnt, x, y, keysym, keystr); - keystr[1] = '\0'; rfbDrawString(pscreen, &default8x16Font, x, y, keystr, white()); mark_rect_as_modified(x, y-char_h, x+char_w, y, scaling); char_col++; + return; + } else if (in_passwd) { if (keysym == XK_BackSpace || keysym == XK_Delete) { if (p_cnt > 0) { @@ -1208,11 +1343,14 @@ if (db && db <= 2) fprintf(stderr, "u_cnt: %d %d/%d ks: 0x%x %s\n", u_cnt, x, y /* * require Up so the Return Up is not processed * by the normal session after login. + * (actually we already returned above) */ return; } + in_login = 0; in_passwd = 0; + pass[p_cnt++] = '\n'; unixpw_verify(user, pass); for (i=0; i<nmax; i++) { @@ -1221,11 +1359,16 @@ if (db && db <= 2) fprintf(stderr, "u_cnt: %d %d/%d ks: 0x%x %s\n", u_cnt, x, y } return; } - if (keysym <= ' ' || keysym >= 0x7f) { + + if (keysym < ' ' || keysym >= 0x7f) { + /* require normal keyboard characters for password */ return; } + if (p_cnt >= nmax - 2) { - rfbLog("unixpw_deny: password too long\n"); + /* pass[u_cnt=98] will be '\n' */ + /* pass[u_cnt=99] will be '\0' */ + rfbLog("unixpw_deny: password too long: %d\n", p_cnt); for (i=0; i<nmax; i++) { user[i] = '\0'; pass[i] = '\0'; @@ -1233,42 +1376,61 @@ if (db && db <= 2) fprintf(stderr, "u_cnt: %d %d/%d ks: 0x%x %s\n", u_cnt, x, y unixpw_deny(); return; } + pass[p_cnt++] = (char) keysym; + + return; + } else { - /* should not happen... clean up a bit. */ + /* should not happen... anyway clean up a bit. */ u_cnt = 0; p_cnt = 0; for (i=0; i<nmax; i++) { + user_r[i] = '\0'; user[i] = '\0'; pass[i] = '\0'; } + + return; } } static void apply_opts (char *user) { char *p, *q, *str, *opts = NULL, *opts_star = NULL; - ClientData *cd = (ClientData *) unixpw_client->clientData; - rfbClientPtr cl = unixpw_client; - int i; + rfbClientPtr cl; + ClientData *cd; + int i, notmode = 0; - if (! cd) { + if (! unixpw_list) { return; } + if (! unixpw_client) { + rfbLog("apply_opts: unixpw_client is NULL\n"); + clean_up_exit(1); + } + cd = (ClientData *) unixpw_client->clientData; + cl = unixpw_client; + + if (! cd) { + rfbLog("apply_opts: no ClientData\n"); + } - if (user) { + if (user && cd) { if (cd->unixname) { free(cd->unixname); } cd->unixname = strdup(user); } - if (! unixpw_list) { - return; - } str = strdup(unixpw_list); /* apply any per-user options. */ - p = strtok(str, ","); + if (str[0] == '!') { + p = strtok(str+1, ","); + notmode = 1; + } else { + p = strtok(str, ","); + } while (p) { if ( (q = strchr(p, ':')) != NULL ) { *q = '\0'; /* get rid of options. */ @@ -1277,6 +1439,7 @@ static void apply_opts (char *user) { continue; } if (user && !strcmp(user, p)) { + /* will not happen in notmode */ opts = strdup(q+1); } if (!strcmp("*", p)) { @@ -1295,13 +1458,19 @@ static void apply_opts (char *user) { while (p) { if (!strcmp(p, "viewonly")) { cl->viewOnly = TRUE; - strncpy(cd->input, "-", CILEN); + if (cd) { + strncpy(cd->input, "-", CILEN); + } } else if (!strcmp(p, "fullaccess")) { cl->viewOnly = FALSE; - strncpy(cd->input, "-", CILEN); + if (cd) { + strncpy(cd->input, "-", CILEN); + } } else if ((q = strstr(p, "input=")) == p) { q += strlen("input="); - strncpy(cd->input, q, CILEN); + if (cd) { + strncpy(cd->input, q, CILEN); + } } else if (!strcmp(p, "deny")) { cl->viewOnly = TRUE; unixpw_deny(); diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index 0910f1e..0dcd61b 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -2,7 +2,7 @@ .TH X11VNC "1" "September 2006" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.8.3, lastmod: 2006-09-20 + version: 0.8.3, lastmod: 2006-09-23 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -617,8 +617,10 @@ uses the .IR su (1) program to verify the user's password. [list] is an optional comma separated list of allowed -Unix usernames. See below for per-user options that -can be applied. +Unix usernames. If the [list] string begins with the +character "!" then the entire list is taken as an +exclude list. See below for per-user options that can +be applied. .IP A familiar "login:" and "Password:" dialog is presented to the user on a black screen inside the @@ -727,11 +729,14 @@ where "opts" is a "+" separated list of "deny", e.g. "karl,wally:viewonly,boss:input=M". For "input=" it is the K,M,B,C described under \fB-input.\fR .IP -If a user in the list is "*" that means those +If an item in the list is "*" that means those options apply to all users. It also means all users are allowed to log in after supplying a valid password. Use "deny" to explicitly deny some users if you use -"*" to set a global option. +"*" to set a global option. If [list] begins with +the "!" character then "*" is ignored for checking +if the user is allowed, but the any value of options +associated with it does apply as normal. .IP There are also some utilities for testing password if [list] starts with the "%" character. See the @@ -784,11 +789,15 @@ run the externally supplied command \fIstr\fR. The first line of its stdin will the username and the second line the received password. If the command exits with status 0 (success) the VNC client will be accepted. It will be -rejected for any other return status. Dynamic passwords -and non-unix passwords can be implemented this way by -providing your own custom helper program. Note that -under unixpw mode the remote viewer is given 3 tries -to enter the correct password. +rejected for any other return status. +.IP +Dynamic passwords and non-unix passwords can be +implemented this way by providing your own custom helper +program. Note that under unixpw mode the remote viewer +is given 3 tries to enter the correct password. +.IP +If a list of allowed users is needed use \fB-unixpw\fR [list] +in addition to this option. .PP \fB-display\fR \fIWAIT:...\fR .IP @@ -3182,7 +3191,7 @@ gives inaccurate information), specify them with a @WxHxB at the end of the string. .IP Examples: -\fB-rawfb\fR console (same as \fB-rawfb\fR console) +\fB-rawfb\fR console \fB-rawfb\fR /dev/fb0 (same) \fB-rawfb\fR console3 (force /dev/tty3) \fB-rawfb\fR consolex (no keystrokes or mouse) diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 1183e73..d5ed3b2 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -460,7 +460,7 @@ static void watch_loop(void) { if (! use_threads) { dtime0(&tm); if (! skip_pe) { - if (unixpw && unixpw_in_progress) { + if (unixpw_in_progress) { rfbClientPtr cl = unixpw_client; if (cl && cl->onHold) { rfbLog(msg, cl->host); @@ -490,17 +490,19 @@ static void watch_loop(void) { unixpw_in_rfbPE = 0; - if (unixpw && unixpw_in_progress) { + if (unixpw_in_progress) { /* rfbPE loop until logged in. */ skip_pe = 0; + check_new_clients(); continue; } else { measure_send_rates(0); fb_update_sent(NULL); } } else { - if (unixpw && unixpw_in_progress) { + if (unixpw_in_progress) { skip_pe = 0; + check_new_clients(); continue; } } @@ -528,12 +530,6 @@ static void watch_loop(void) { eat_viewonly_input(10, 3); } } else { -#if 0 - if (0 && use_xrecord) { - /* XXX not working */ - check_xrecord(); - } -#endif if (wireframe && button_mask) { check_wireframe(); } @@ -544,7 +540,10 @@ static void watch_loop(void) { clean_up_exit(0); } - if (unixpw_in_progress) continue; + if (unixpw_in_progress) { + check_new_clients(); + continue; + } if (! urgent_update) { if (do_copy_screen) { diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index cfe00fa..50fa5f0 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.3 lastmod: 2006-09-20"; +char lastmod[] = "0.8.3 lastmod: 2006-09-23"; /* X display info */ |