diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog index 68abb41..e7993af 100644 --- a/x11vnc/ChangeLog +++ b/x11vnc/ChangeLog @@ -1,3 +1,9 @@ +2007-02-11 Karl Runge + * x11vnc: add -grabalways, -forcedpms, -clientdpms, and + -noserverdpms (ultravnc viewer) for improvements in + the still approximate server locking. Add -loopbg + and -svc, -xdmsvc aliases. Bug fix create_display. + 2007-02-10 Karl Runge * x11vnc: watch things like textchat, etc. more carefully in unixpw state. Monitor broken XDAMAGE reports when diff --git a/x11vnc/README b/x11vnc/README index 3b1eea7..0790d65 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Sat Feb 10 12:01:14 EST 2007 +x11vnc README file Date: Sun Feb 11 21:31:23 EST 2007 The following information is taken from these URLs: @@ -32,6 +32,10 @@ x11vnc: a VNC server for real X displays devices, [13]embedded Linux systems such as Qtopia Core, and natively on [14]Mac OS X Aqua/Quartz. + It also provides an encrypted [15]Terminal Services mode ([16]-svc + option) based on Unix usernames and passwords where the user does not + need to memorize his VNC display number. + I wrote x11vnc back in 2002 because x0rfbserver was basically impossible to build on Solaris and had poor performance. The primary x0rfbserver build problems centered around esoteric C++ toolkits. @@ -39,22 +43,23 @@ x11vnc: a VNC server for real X displays should work on nearly all Unixes. I also added some enhancements to improve the interactive response, many esoteric features, etc. - This page and the [15]FAQ contain a lot of information [16][*], + This page and the [17]FAQ contain a lot of information [18][*], solutions to many problems, and interesting applications, but - nevertheless please feel free to [17]contact me if you have problems + nevertheless please feel free to [19]contact me if you have problems or questions. - Please help [18]beta test the new performance speedup feature using - [19]viewer-side pixel caching. Let me know how it goes; thanks. + Please help [20]beta test the new performance speedup feature using + [21]viewer-side pixel caching. Let me know how it goes; thanks. - An x11vnc side-project provides an [20]Enhanced TightVNC Viewer + An x11vnc side-project provides an [22]Enhanced TightVNC Viewer package (ssvnc) with automatic SSL and/or SSH tunnelling support, SSL - Certificate creation, NewFBSize support on Unix, and cursor - alphablending. This bundle could be placed on, say, a USB memory stick - for SSL/SSH VNC viewing from nearly any networked computer. Please - help test out some recently added features: automatic service - tunnelling via SSH for: CUPS and SMB Printing, ESD/ARTSD Audio, and - SMB (Windows/Samba) filesystem mounting; and Port Knocking. + Certificate creation, and on Unix: NewFBSize, ZRLE, cursor + alphablending, and low color modes support. This bundle could be + placed on, say, a USB memory stick for SSL/SSH VNC viewing from nearly + any networked computer. Please help test out some recently added + features: automatic service tunnelling via SSH for: CUPS and SMB + Printing, ESD/ARTSD Audio, and SMB (Windows/Samba) filesystem + mounting; and Port Knocking. _________________________________________________________________ @@ -67,10 +72,10 @@ x11vnc: a VNC server for real X displays framebuffer (RFB) protocol. Some VNC links: - * [21]http://www.realvnc.com - * [22]http://www.tightvnc.com - * [23]http://www.ultravnc.com/ - * [24]http://www.redstonesoftware.com/ + * [23]http://www.realvnc.com + * [24]http://www.tightvnc.com + * [25]http://www.ultravnc.com/ + * [26]http://www.redstonesoftware.com/ For Unix, the traditional VNC implementation includes a "virtual" X11 server Xvnc (usually launched via the vncserver command) that is not @@ -81,7 +86,7 @@ x11vnc: a VNC server for real X displays The VNC protocol is in most cases better suited for remote connections with low bandwidth and high latency than is the X11 protocol because - it involves far fewer "roundtrips" (an exception is the [25]cached + it involves far fewer "roundtrips" (an exception is the [27]cached pixmap data on the viewing-end provided by X). Also, with no state maintained the viewing-end can crash, be rebooted, or relocated and the applications and desktop continue running. Not so with X11. @@ -109,11 +114,11 @@ x11vnc: a VNC server for real X displays display you wish to view is "far-away.east:0" and the workstation you are presently working at is "sitting-here.west". - Step 0. Download x11vnc ([26]see below) and have it available to run + Step 0. Download x11vnc ([28]see below) and have it available to run on far-away.east (on some linux distros it is as easy as "apt-get install x11vnc", "emerge x11vnc", etc.) Similarly, have a VNC viewer (e.g. vncviewer) ready to run on sitting-here.west. We recommend - [27]TightVNC Viewers (see [28]also here.) + [29]TightVNC Viewers (see [30]also here.) Step 1. By some means log in to far-away.east and get a command shell running there. You can use ssh, or even rlogin, telnet, or any other @@ -132,11 +137,11 @@ x11vnc: a VNC server for real X displays display (i.e. no viewer clients yet). Common Gotcha: To get X11 permissions right, you may also need to set - the XAUTHORITY environment variable (or use the [29]-auth option) to + the XAUTHORITY environment variable (or use the [31]-auth option) to point to the correct MIT-MAGIC-COOKIE file (e.g. /home/joe/.Xauthority). If x11vnc does not have the authority to connect to the display it exits immediately. More on how to fix this - [30]below. + [32]below. If you suspect an X11 permissions problem do this simple test: while sitting at the physical X display open a terminal window @@ -144,7 +149,7 @@ x11vnc: a VNC server for real X displays successfully in that terminal without any need for command line options. If that works OK then you know X11 permissions are the only thing preventing it from working when you try to start x11vnc via a - remote shell. Then fix this with the tips [31]below. + remote shell. Then fix this with the tips [33]below. When x11vnc starts up there will then be much chatter printed out (use "-q" to quiet it), until it finally says something like: @@ -163,8 +168,8 @@ x11vnc: a VNC server for real X displays viewers for Unix, Windows, MacOS, Java-enabled web browsers, and even for PDA's like the Palm Pilot! You can use any of them to connect to x11vnc (see the above VNC links under "Background:" on how to obtain a - viewer for your platform or see [32]this FAQ. For Solaris, vncviewer - is available in the [33]Companion CD package SFWvnc). + viewer for your platform or see [34]this FAQ. For Solaris, vncviewer + is available in the [35]Companion CD package SFWvnc). In this example we'll use the Unix vncviewer program on sitting-here by typing the following command in a second terminal window: @@ -174,13 +179,13 @@ x11vnc: a VNC server for real X displays That should pop up a viewer window on sitting-here.west showing and allowing interaction with the far-away.east:0 X11 desktop. Pretty nifty! When finished, exit the viewer: the remote x11vnc process will - shutdown automatically (or you can use the [34]-forever option to have + shutdown automatically (or you can use the [36]-forever option to have it wait for additional viewer connections). Shortcut: Of course if you left x11vnc running on far-away.east:0 in a - terminal window with the [35]-forever option or as a [36]service, + terminal window with the [37]-forever option or as a [38]service, you'd only have to do Step 3 as you moved around. Be sure to use a VNC - [37]Password or [38]other measures if you do that. + [39]Password or [40]other measures if you do that. Desktop Sharing: The above more or less assumed nobody was sitting at @@ -196,7 +201,7 @@ x11vnc: a VNC server for real X displays For these cases it should be obvious how it is done. The above steps will work, but more easily the user sitting at far-away.east:0 simply starts up x11vnc from a terminal window, after which the guests would - start their VNC viewers. For this usage mode the "[39]-connect + start their VNC viewers. For this usage mode the "[41]-connect host1,host2" option may be of use to automatically connect to the vncviewers in "-listen" mode on the list of hosts. _________________________________________________________________ @@ -228,13 +233,13 @@ x11vnc: a VNC server for real X displays Note that "x11vnc -localhost ..." limits incoming vncviewer connections to only those from the same machine. This is very natural for ssh tunnelling (the redirection appears to come from the same - machine). Use of a [40]VNC password is also strongly recommended. + machine). Use of a [42]VNC password is also strongly recommended. Some VNC viewers will do the ssh tunnelling for you automatically, the TightVNC vncviewer does this when the "-via far-away.east" option is supplied to it (this requires x11vnc to be already running on - far-away.east or having it started by [41]inetd(8)). See the 3rd - script example [42]below for more info. + far-away.east or having it started by [43]inetd(8)). See the 3rd + script example [44]below for more info. Note the -t we used above (force allocate pseudoterminal), it actually seems to improve interactive typing response via VNC! @@ -244,11 +249,11 @@ x11vnc: a VNC server for real X displays gateway machine), then you need to change the above to, e.g.: "-L 5900:OtherHOST:5900". Once logged in, you'll need to do a second login (ssh, rsh, etc.) to the workstation machine 'OtherHOST' and then start - up x11vnc on it (if it isn't already running). (The "[43]-connect + up x11vnc on it (if it isn't already running). (The "[45]-connect gateway:59xx" option may be another alternative here with the viewer already in -listen mode). For an automatic way to use a gateway and have all the network traffic encrypted (including inside the firewall) - see [44]chaining ssh's + see [46]chaining ssh's _________________________________________________________________ @@ -257,11 +262,11 @@ x11vnc: a VNC server for real X displays above port and display numbers may change a bit (e.g. -> 5901 and :1). However, if you "know" port 5900 will be free on the local and remote machines, you can easily automate the above two steps by using the - x11vnc option [45]-bg (forks into background after connection to the + x11vnc option [47]-bg (forks into background after connection to the display is set up) or using the -f option of ssh. Some example scripts are shown below. - You may also want to look at the [46]Enhanced TightVNC Viewer (ssvnc) + You may also want to look at the [48]Enhanced TightVNC Viewer (ssvnc) bundles because they contain scripts and guis to automatically set up SSH tunnels (e.g. "ssl_tightvncviewer -ssh user@far-away.east:0") _________________________________________________________________ @@ -293,7 +298,7 @@ done #2. Another method is to start the VNC viewer in listen mode "vncviewer -listen" and have x11vnc initiate a reverse connection - using the [47]-connect option: + using the [49]-connect option: #!/bin/sh # usage: x11vnc_ssh : # e.g.: x11vnc_ssh snoopy.peanuts.com:0 @@ -336,7 +341,7 @@ export VNC_VIA_CMD vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Of course if you already have the x11vnc running waiting for - connections (or have it started out of [48]inetd(8)), you can simply + connections (or have it started out of [50]inetd(8)), you can simply use the TightVNC "vncviewer -via gateway host:port" in its default mode to provide secure ssh tunnelling. _________________________________________________________________ @@ -344,37 +349,37 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. VNC password file: Also note in the #1. example script that the - [49]option "-rfbauth .vnc/passwd" provides additional protection by + [51]option "-rfbauth .vnc/passwd" provides additional protection by requiring a VNC password for every VNC viewer that connects. The - vncpasswd or storepasswd programs, or the x11vnc [50]-storepasswd + vncpasswd or storepasswd programs, or the x11vnc [52]-storepasswd option can be used to create the password file. x11vnc also has the - slightly less secure [51]-passwdfile and "-passwd XXXXX" [52]options + slightly less secure [53]-passwdfile and "-passwd XXXXX" [54]options to specify passwords. Very Important: It is up to YOU to tell x11vnc to use password protection (-rfbauth or -passwdfile), it will NOT do it for you - automatically or force you to (use [53]-usepw if you want to be forced + automatically or force you to (use [55]-usepw if you want to be forced to). The same goes for encrypting the channel between the viewer and - x11vnc: it is up to you to use ssh, stunnel, [54]-ssl mode, a VPN, - etc. (use the [55]Enhanced TightVNC Viewer (ssvnc) GUI if you want to + x11vnc: it is up to you to use ssh, stunnel, [56]-ssl mode, a VPN, + etc. (use the [57]Enhanced TightVNC Viewer (ssvnc) GUI if you want to be forced to use SSL or SSH). For additional safety, also look into - the -allow and -localhost [56]options and building x11vnc with - [57]tcp_wrappers support to limit host access. + the -allow and -localhost [58]options and building x11vnc with + [59]tcp_wrappers support to limit host access. _________________________________________________________________ Tunnelling x11vnc via SSL: One can also encrypt the VNC traffic using an SSL tunnel such as - [58]stunnel (also [59]stunnel.mirt.net) or using the built-in - (Mar/2006) [60]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer + [60]stunnel (also [61]stunnel.mirt.net) or using the built-in + (Mar/2006) [62]-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 [61]this FAQ on -ssl and -stunnel modes for + useful alternative. See [63]this FAQ on -ssl and -stunnel modes for details and examples. - The [62]Enhanced TightVNC Viewer (ssvnc) bundles contain some + The [64]Enhanced TightVNC Viewer (ssvnc) bundles contain some convenient utilities to automatically set up an SSL tunnel from the viewer-side (i.e. to connect to "x11vnc -ssl ..."). And other enhancements too. @@ -382,29 +387,29 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer. Downloading x11vnc: - x11vnc is a contributed program to the [63]LibVNCServer project at + x11vnc is a contributed program to the [65]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 Feb 2007, the [64]x11vnc-0.8.4.tar.gz source package is - released (recommended download). The [65]x11vnc 0.8.4 release notes. + link. As of Feb 2007, the [66]x11vnc-0.8.4.tar.gz source package is + released (recommended download). The [67]x11vnc 0.8.4 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 [66]x11vnc-0.8.5.tar.gz tarball to build the most up to + bleeding edge [68]x11vnc-0.8.5.tar.gz tarball to build the most up to date one. - Precompiled Binaries/Packages: See the [67]FAQ below for information + Precompiled Binaries/Packages: See the [69]FAQ below for information about where you might obtain a precompiled x11vnc binary from 3rd parties and some ones I create. VNC Viewers: To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try these links: - * [68]http://www.tightvnc.com/download.html - * [69]http://www.realvnc.com/download-free.html - * [70]http://sourceforge.net/projects/cotvnc/ - * [71]http://www.ultravnc.com/ - * [72]Our Enhanced TightVNC Viewer (ssvnc) + * [70]http://www.tightvnc.com/download.html + * [71]http://www.realvnc.com/download-free.html + * [72]http://sourceforge.net/projects/cotvnc/ + * [73]http://www.ultravnc.com/ + * [74]Our Enhanced TightVNC Viewer (ssvnc) More tools: Here is a rsh/ssh wrapper script rx11vnc that attempts to @@ -415,8 +420,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: - * [73]rx11vnc wrapper script - * [74]rx11vnc.pl wrapper script to tunnel traffic thru ssh + * [75]rx11vnc wrapper script + * [76]rx11vnc.pl wrapper script to tunnel traffic thru ssh _________________________________________________________________ @@ -447,8 +452,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 [75]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc - binaries are [76]here. + are at [77]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc + binaries are [78]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 @@ -468,12 +473,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 [77]build scripts below + libvncserver's choice of AM_CFLAGS. See the [79]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 [78]Misc. Build problems here. + You can find information on [80]Misc. Build problems here. _________________________________________________________________ @@ -511,9 +516,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 - [79]ftp://ftp.uu.net/graphics/jpeg/ and zlib at - [80]http://www.gzip.org/zlib/. See also - [81]http://www.sunfreeware.com/ for Solaris binary packages of these + [81]ftp://ftp.uu.net/graphics/jpeg/ and zlib at + [82]http://www.gzip.org/zlib/. See also + [83]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. @@ -584,7 +589,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 [82]this workaround FAQ. + OS's, see [84]this workaround FAQ. Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in @@ -620,7 +625,7 @@ make up by the configure and make. - Building on Mac OS X: There is now [83]native Mac OS X support for + Building on Mac OS X: There is now [85]native Mac OS X support for x11vnc by using the raw framebuffer feature. This mode does not use or need X11 at all. To build you may need to disable X11: ./configure --without-x ... @@ -634,7 +639,7 @@ make OpenSSL: Starting with version 0.8.3 x11vnc can now be built with - [84]SSL support. For this to be enabled the libssl.so library needs to + [86]SSL support. For this to be enabled the libssl.so library needs to be available at build time. So you may need to have additional CPPFLAGS and LDFLAGS items if your libssl.so is in a non-standard place. @@ -652,61 +657,72 @@ make Spring 2007. The version 0.8.5 beta tarball is kept here: - [85]x11vnc-0.8.5.tar.gz + [87]x11vnc-0.8.5.tar.gz There are also some Linux, Solaris, Mac OS X, and other OS test - binaries [86]here. Please kick the tires and report bugs, performance - regressions, undesired behavior, etc. to [87]me. + binaries [88]here. Please kick the tires and report bugs, performance + regressions, undesired behavior, etc. to [89]me. - To aid testing of the [88]built-in SSL support for x11vnc, a number of + To aid testing of the [90]built-in SSL support for x11vnc, a number of VNC Viewer packages for Unix, Mac OS X, and Windows have been created that provide SSL Support for the TightVNC Viewer (this is done by - [89]wrapper scripts and a GUI that start STUNNEL, [90]more details + [91]wrapper scripts and a GUI that start STUNNEL, [92]more details here). It should be pretty convenient for automatic SSL and SSH connections. It is described and can be downloaded from the - [91]Enhanced TightVNC Viewer (ssvnc) page. + [93]Enhanced TightVNC Viewer (ssvnc) page. Here are some features that will appear in the 0.8.5 release: - * [92]Viewer-side pixmap caching. This one will benefit from much + * [94]Viewer-side pixmap caching. This one will benefit from much testing. A large area of pixels (at least 2-3 times as big as the framebuffer itself; the bigger the better...) is placed below the framebuffer to act as a buffer/cache area for pixel data. The VNC CopyRect encoding is used to move it around (so any viewer should work). Until we start modifying viewers you will be able to see the cache area if you scroll down (this makes it easier to - debug!). For testing the default is "-ncache 12". The Enhanced - TightVNC Viewer has a nice [93]-ycrop option to help hide the - pixel cache area from view. + debug!). For testing the default is "-ncache 12". The unix + Enhanced TightVNC Viewer has a nice [95]-ycrop option to help hide + the pixel cache area from view. + * Implementations of UltraVNC's SingleWindow and ServerInput + extensions (require ultravnc viewer). They toggle the selection of + a single window ([96]-id), and disable (friendly) user input and + viewing at the VNC server. + * Short aliases "[97]-svc" and "[98]-xdmsvc" for commonly used + FINDCREATEDISPLAY usage modes. + * A simple way to emulate inetd(8) to some degree via the + "[99]-loopbg" option. + * Monitor the accuracy of XDAMAGE and apply "[100]-noxdamage" if it + is not working well. OpenGL applications like like [101]beryl have + been shown to make XDAMAGE not work properly. Here are some features that appeared in the 0.8.4 release: - * Native [94]Mac OS X Aqua/Quartz support. (i.e. OSXvnc alternative; - some activities are faster) - * A [95]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY -unixpw - ..." that will Create a new X session (either virtual or real and - with or without a display manager, e.g. kdm) for the user if it - cannot find the user's X session display via the FINDDISPLAY - method. - * x11vnc can act as a VNC [96]reflector/repeater using the - "[97]-reflect host:N" option. Instead of polling an X display, the - remote VNC Server host:N is connected to and re-exported via VNC. - This is intended for use in broadcasting a display to many (e.g. > - 16; classroom or large demo) VNC viewers where bandwidth and other - resources are conserved by spreading the load over a number of - repeaters. + * Native [102]Mac OS X Aqua/Quartz support. (i.e. OSXvnc + alternative; some activities are faster) + * A [103]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY + -unixpw ..." that will Create a new X session (either virtual or + real and with or without a display manager, e.g. kdm) for the user + if it cannot find the user's X session display via the FINDDISPLAY + method. See the [104]-svc and the [105]-xdmsvc aliases. + * x11vnc can act as a VNC [106]reflector/repeater using the + "[107]-reflect host:N" option. Instead of polling an X display, + the remote VNC Server host:N is connected to and re-exported via + VNC. This is intended for use in broadcasting a display to many + (e.g. > 16; classroom or large demo) VNC viewers where bandwidth + and other resources are conserved by spreading the load over a + number of repeaters. * Wireframe copyrect detection for local user activity (e.g. someone sitting at the physical display moving windows) Use - [98]-nowireframelocal to disable. - * The "[99]-N" option couples the VNC Display number to the X + [108]-nowireframelocal to disable. + * The "[109]-N" option couples the VNC Display number to the X Display number. E.g. if your X DISPLAY is :2 then the VNC display will be :2 (i.e. using port 5902). If that port is taken x11vnc will exit. - * Option [100]-nodpms to avoid problems with programs like KDE's + * Option [110]-nodpms to avoid problems with programs like KDE's kdesktop_lock that keep restarting the screen saver every few seconds. * To automatically fix the common mouse motion problem on XINERAMA - (multi-headed) displays, the [101]-xwarppointer option is enabled + (multi-headed) displays, the [111]-xwarppointer option is enabled by default when XINERAMA is active. If you have a Mac please try out the native Mac OS X support, build @@ -716,61 +732,62 @@ make Here are some features that appeared in the 0.8.3 release: - * The [102]-ssl option provides SSL encryption and authentication - natively via the [103]www.openssl.org library. One can use from a + * The [112]-ssl option provides SSL encryption and authentication + natively via the [113]www.openssl.org library. One can use from a simple self-signed certificate server certificate up to full CA and client certificate authentication schemes. - * Similar to -ssl, the [104]-stunnel option starts up a SSL tunnel + * Similar to -ssl, the [114]-stunnel option starts up a SSL tunnel server stunnel (that must be installed separately on the system: - [105]www.stunnel.org [106]stunnel.mirt.net ) to allow only + [115]www.stunnel.org [116]stunnel.mirt.net ) to allow only encrypted SSL connections from the network. - * The [107]-sslverify option allows for authenticating VNC clients + * The [117]-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 - [108]-sslGenCert, [109]-sslGenCA, and [110]related options. + [118]-sslGenCert, [119]-sslGenCA, and [120]related options. * An SSL enabled Java applet VNC Viewer applet is provided in classes/ssl/VncViewer.jar. In addition to normal HTTP, the applet may be loaded into the web browser via HTTPS (HTTP over SSL). (one can use the VNC port, e.g. https://host:5900/, or also the - separate [111]-https port option). A wrapper shell script - [112]ss_vncviewer is also provided that sets up a stunnel - client-side tunnel on Unix systems. See [113]Enhanced TightVNC + separate [121]-https port option). A wrapper shell script + [122]ss_vncviewer is also provided that sets up a stunnel + client-side tunnel on Unix systems. See [123]Enhanced TightVNC Viewer (ssvnc) for other SSL/SSH viewer possibilities. - * The [114]-unixpw option supports Unix username and password - authentication (a simpler variant is the [115]-unixpw_nis option + * The [124]-unixpw option supports Unix username and password + authentication (a simpler variant is the [125]-unixpw_nis option that works in environments where the encrypted passwords are - readable, e.g. NIS). The [116]-ssl or [117]-localhost + - [118]-stunnel options are enforced in this mode to prevent + readable, e.g. NIS). The [126]-ssl or [127]-localhost + + [128]-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 [119]-unixpw with "[120]-display WAIT:cmd=FINDDISPLAY" or + * Coupling [129]-unixpw with "[130]-display WAIT:cmd=FINDDISPLAY" or "-display WAIT:cmd=FINDCREATEDISPLAY" provides a way to allow a user to login with their UNIX password and have their display - connected to [121]automatically. - * Hooks are provided in the [122]-unixpw_cmd and "[123]-passwdfile + connected to [131]automatically. See the [132]-svc and the + [133]-xdmsvc aliases. + * Hooks are provided in the [134]-unixpw_cmd and "[135]-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 [124]-rawfb only operation (e.g. + "./configure --without-x" for [136]-rawfb only operation (e.g. embedded linux console devices). - * The [125]-rotate option enables you to rotate or reflect the + * The [137]-rotate option enables you to rotate or reflect the screen before exporting via VNC. This is intended for use on handhelds and other devices where the rotation orientation is not "natural". - * The "[126]-ultrafilexfer" alias is provided and improved UltraVNC + * The "[138]-ultrafilexfer" alias is provided and improved UltraVNC filetransfer rates have been achieved. - * Under the "[127]-connect_or_exit host" option x11vnc will exit + * Under the "[139]-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 "[128]-rawfb rand" and "-rawfb none" options are useful for + * The "[140]-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 "[129]-verbose" + * Reduced spewing of information at startup, use "[141]-verbose" (also "-v") to turn it back on for debugging or if you are going to send me a problem report. - Here are some [130]Previous Release Notes + Here are some [142]Previous Release Notes _________________________________________________________________ Some Notes: @@ -797,11 +814,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 [131]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [143]-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 [132]TightVNC encoding gives the best response for my + I also find the [144]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. @@ -813,17 +830,17 @@ make is X11's default listening port). Had port 5900 been taken by some other application, x11vnc would have next tried 5901. That would mean the viewer command above should be changed to vncviewer - far-away.east:1. You can force the port with the "[133]-rfbport NNNN" + far-away.east:1. You can force the port with the "[145]-rfbport NNNN" option where NNNN is the desired port number. If that port is already - taken, x11vnc will exit immediately. The "[134]-N" option will try to + taken, x11vnc will exit immediately. The "[146]-N" option will try to match the VNC display number to the X display. (also see the "SunRay Gotcha" note below) Options: x11vnc has (far too) many features that may be activated - via its [135]command line options. Useful options are, e.g., -scale to + via its [147]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 - [136]-storepasswd option can be used to create the password file). + [148]-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 @@ -850,7 +867,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 [137]even more + window manager decorations. There will be an [149]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 @@ -860,8 +877,8 @@ make Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [138]SunRay - session. Here are some [139]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [150]SunRay + session. Here are some [151]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -873,7 +890,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 - [140]-scrollcopyrect and [141]-wireframe speedups using the + [152]-scrollcopyrect and [153]-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 @@ -920,14 +937,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 - [142]this FAQ for details. + [154]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" [143]options, however, for a partial hack + X" and "-cursor some" [155]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 [144]-overlay option is also supplied. A similar thing is done + the [156]-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 @@ -935,18 +952,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 [145]the FAQ on this below.) The + redirectors do exist, e.g. esd [157]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 [146]-scrollcopyrect option + * The scroll detection algorithm for the [158]-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 [147]contact me if you have any questions, + Please feel free to [159]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [148]this link + Also, some people ask if they can make a donation, see [160]this link for that. _________________________________________________________________ @@ -955,354 +972,354 @@ make [Building and Starting] - [149]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [161]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? - [150]Q-2: I can't get x11vnc and/or libvncserver to compile. + [162]Q-2: I can't get x11vnc and/or libvncserver to compile. - [151]Q-3: I just built x11vnc successfully, but when I use it my + [163]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). - [152]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [164]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [153]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [165]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [154]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [166]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [155]Q-7: How can I see all of x11vnc's command line options and + [167]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [156]Q-8: I don't like typing arcane command line options every time I + [168]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? - [157]Q-9: How can I get the GUI to run in the System Tray, or at least + [169]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [158]Q-10: How can I get x11vnc to listen on a different port besides + [170]Q-10: How can I get x11vnc to listen on a different port besides the default VNC port (5900)? - [159]Q-11: Can I make x11vnc more quiet and also go into the + [171]Q-11: Can I make x11vnc more quiet and also go into the background after starting up? - [160]Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [172]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. - [161]Q-13: Are there any build-time customizations possible, e.g. + [173]Q-13: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [162]Q-14: I have two separate machine displays in front of me, one + [174]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? - [163]Q-15: I am running Win2VNC on my Windows machine and "x11vnc + [175]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 - [164]Q-16: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect + [176]Q-16: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect mouse and keyboard input to it from Windows and X11 machines via Win2VNC and x2vnc, respectively? [Color Issues] - [165]Q-17: The X display I run x11vnc on is only 8 bits per pixel + [177]Q-17: 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. - [166]Q-18: Color problems: Why are the colors for some windows + [178]Q-18: 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. - [167]Q-19: How do I figure out the window id to supply to the -id + [179]Q-19: How do I figure out the window id to supply to the -id windowid option? - [168]Q-20: Why don't menus or other transient windows come up when I + [180]Q-20: Why don't menus or other transient windows come up when I am using the -id windowid option to view a single application window? - [169]Q-21: My X display is depth 24 at 24bpp (instead of the normal + [181]Q-21: 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] - [170]Q-22: Can I use x11vnc to view and interact with an Xterminal + [182]Q-22: 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? - [171]Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [183]Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? [Sun Rays] - [172]Q-24: I'm having trouble using x11vnc with my Sun Ray session. + [184]Q-24: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [173]Q-25: How do I stop x11vnc once it is running in the background? + [185]Q-25: How do I stop x11vnc once it is running in the background? - [174]Q-26: Can I change settings in x11vnc without having to restart + [186]Q-26: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [175]Q-27: How do I create a VNC password for use with x11vnc? + [187]Q-27: How do I create a VNC password for use with x11vnc? - [176]Q-28: Can I make it so -storepasswd doesn't show my password on + [188]Q-28: Can I make it so -storepasswd doesn't show my password on the screen? - [177]Q-29: Can I have two passwords for VNC viewers, one for full + [189]Q-29: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [178]Q-30: Can I have as many full-access and view-only passwords as I + [190]Q-30: Can I have as many full-access and view-only passwords as I like? - [179]Q-31: Does x11vnc support Unix usernames and passwords? Can I + [191]Q-31: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - [180]Q-32: Can I supply an external program to provide my own custom + [192]Q-32: 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)? - [181]Q-33: Why does x11vnc exit as soon as the VNC viewer disconnects? + [193]Q-33: 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? - [182]Q-34: Can I limit which machines incoming VNC clients can connect + [194]Q-34: Can I limit which machines incoming VNC clients can connect from? - [183]Q-35: How do I build x11vnc/libvncserver with libwrap + [195]Q-35: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [184]Q-36: Can I have x11vnc only listen on one network interface + [196]Q-36: 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? - [185]Q-37: Now that -localhost implies listening only on the loopback + [197]Q-37: 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? - [186]Q-38: Can I fine tune what types of user input are allowed? E.g. + [198]Q-38: 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? - [187]Q-39: Can I prompt the user at the local X display whether the + [199]Q-39: 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? - [188]Q-40: I start x11vnc as root because it is launched via inetd(8) + [200]Q-40: 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? - [189]Q-41: I use a screen-lock when I leave my workstation (e.g. + [201]Q-41: 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? - [190]Q-42: Can I have x11vnc automatically lock the screen when I + [202]Q-42: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? [Encrypted Connections] - [191]Q-43: How can I tunnel my connection to x11vnc via an encrypted + [203]Q-43: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [192]Q-44: How can I tunnel my connection to x11vnc via an encrypted + [204]Q-44: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [193]Q-45: How can I tunnel my connection to x11vnc via an encrypted + [205]Q-45: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [194]Q-46: Does x11vnc have built-in SSL tunneling? + [206]Q-46: Does x11vnc have built-in SSL tunneling? - [195]Q-47: How do I use VNC Viewers with built-in SSL tunneling? + [207]Q-47: How do I use VNC Viewers with built-in SSL tunneling? - [196]Q-48: How do I use VNC Viewers with built-in SSL tunneling when + [208]Q-48: How do I use VNC Viewers with built-in SSL tunneling when going through a Web Proxy? - [197]Q-49: Can Apache web server act as a gateway for users to connect + [209]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? - [198]Q-50: Can I create and use my own SSL Certificate Authority (CA) + [210]Q-50: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [199]Q-51: How can I run x11vnc as a "service" that is always + [211]Q-51: How can I run x11vnc as a "service" that is always available? - [200]Q-52: How can I use x11vnc to connect to an X login screen like + [212]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). - [201]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [213]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [202]Q-54: Can I have x11vnc allow a user to log in with her UNIX - password and then have it find her X session display on that machine - and then connect to it? How about starting an X session if one cannot - be found? + [214]Q-54: Can I have x11vnc allow a user to log in with her UNIX + username and password and then have it find her X session display on + that machine and then connect to it? How about starting an X session + if one cannot be found? - [203]Q-55: Can I have x11vnc restart itself after it terminates? + [215]Q-55: Can I have x11vnc restart itself after it terminates? - [204]Q-56: How do I make x11vnc work with the Java VNC viewer applet + [216]Q-56: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [205]Q-57: Are reverse connections (i.e. the VNC server connecting to + [217]Q-57: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [206]Q-58: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [218]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). - [207]Q-59: How can I use x11vnc on "headless" machines? Why might I + [219]Q-59: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [208]Q-60: I have lots of memory, but why does x11vnc fail with + [220]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)? - [209]Q-61: How can I make x11vnc use less system resources? + [221]Q-61: How can I make x11vnc use less system resources? - [210]Q-62: How can I make x11vnc use MORE system resources? + [222]Q-62: How can I make x11vnc use MORE system resources? - [211]Q-63: I use x11vnc over a slow link with high latency (e.g. + [223]Q-63: I use x11vnc over a slow link with high latency (e.g. dialup modem or broadband), is there anything I can do to speed things up? - [212]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find + [224]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [213]Q-65: My OpenGL application shows no screen updates unless I + [225]Q-65: My OpenGL application shows no screen updates unless I supply the -noxdamage option to x11vnc. - [214]Q-66: When I drag windows around with the mouse or scroll up and + [226]Q-66: 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? - [215]Q-67: Why not do something like wireframe animations to avoid the + [227]Q-67: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [216]Q-68: Can x11vnc try to apply heuristics to detect when a window + [228]Q-68: Can x11vnc try to apply heuristics to detect when a window is scrolling its contents and use the CopyRect encoding for a speedup? - [217]Q-69: Can x11vnc do client-side caching of pixel data? I.e. so + [229]Q-69: Can x11vnc do client-side caching of pixel data? I.e. so when that pixel data is needed again it does not have to be retransmitted over the network. [Mouse Cursor Shapes] - [218]Q-70: Why isn't the mouse cursor shape (the little icon shape + [230]Q-70: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? - [219]Q-71: When using XFIXES cursorshape mode, some of the cursors + [231]Q-71: 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? - [220]Q-72: In XFIXES mode, are there any hacks to handle cursor + [232]Q-72: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [221]Q-73: Why does the mouse arrow just stay in one corner in my + [233]Q-73: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - [222]Q-74: Can I take advantage of the TightVNC extension to the VNC + [234]Q-74: 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)? - [223]Q-75: Is it possible to swap the mouse buttons (e.g. left-handed + [235]Q-75: 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] - [224]Q-76: How can I get my AltGr and Shift modifiers to work between + [236]Q-76: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [225]Q-77: When I try to type a "<" (i.e. less than) instead I get ">" + [237]Q-77: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [226]Q-78: When I try to type a "<" (i.e. less than) instead I get + [238]Q-78: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [227]Q-79: I'm using an "international" keyboard (e.g. German "de", or + [239]Q-79: 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? - [228]Q-80: When typing I sometimes get double, triple, or more of my + [240]Q-80: 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? - [229]Q-81: The x11vnc -norepeat mode is in effect, but I still get + [241]Q-81: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [230]Q-82: The machine where I run x11vnc has an AltGr key, but the + [242]Q-82: 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? - [231]Q-83: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [243]Q-83: 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) - [232]Q-84: Running x11vnc on HP-UX I cannot type "#" I just get a "3" + [244]Q-84: Running x11vnc on HP-UX I cannot type "#" I just get a "3" instead. - [233]Q-85: Can I map a keystroke to a mouse button click on the remote + [245]Q-85: Can I map a keystroke to a mouse button click on the remote machine? - [234]Q-86: How can I get Caps_Lock to work between my VNC viewer and + [246]Q-86: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [235]Q-87: The remote display is larger (in number of pixels) than the + [247]Q-87: 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? - [236]Q-88: Does x11vnc support server-side framebuffer scaling? (E.g. + [248]Q-88: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [237]Q-89: Does x11vnc work with Xinerama? (i.e. multiple monitors + [249]Q-89: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [238]Q-90: Can I use x11vnc on a multi-headed display that is not + [250]Q-90: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [239]Q-91: Can x11vnc show only a portion of the display? (E.g. for a + [251]Q-91: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - [240]Q-92: Does x11vnc support the XRANDR (X Resize, Rotate and + [252]Q-92: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [241]Q-93: Independent of any XRANDR, can I have x11vnc rotate and/or + [253]Q-93: 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). - [242]Q-94: Why is the view in my VNC viewer completely black? Or why + [254]Q-94: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [243]Q-95: I use Linux Virtual Consoles (VC's) to implement 'Fast User + [255]Q-95: 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 @@ -1310,64 +1327,68 @@ make otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [244]Q-96: I am using x11vnc where my local machine has "popup/hidden + [256]Q-96: I am using x11vnc where my local machine has "popup/hidden taskbars" and the remote display where x11vnc runs also has "popup/hidden taskbars" and they interfere and fight with eachother. What can I do? - [245]Q-97: Help! x11vnc and my KDE screensaver keep switching each + [257]Q-97: Help! x11vnc and my KDE screensaver keep switching each other on and off every few seconds. - [246]Q-98: Can I use x11vnc to view my VMWare session remotely? + [258]Q-98: I am running the beryl 3D window manager (or MythTv, Google + Earth, or some other OpenGL app) and I do not get screen updates in + x11vnc. + + [259]Q-99: Can I use x11vnc to view my VMWare session remotely? [Exporting non-X11 devices via VNC] - [247]Q-99: Can non-X devices (e.g. a raw framebuffer) be viewed (and + [260]Q-100: Can non-X devices (e.g. a raw framebuffer) be viewed (and even controlled) via VNC with x11vnc? - [248]Q-100: Can I export via VNC a Webcam or TV tuner framebuffer + [261]Q-101: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [249]Q-101: Can I connect via VNC to a Qt-embedded/Qtopia application + [262]Q-102: 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)? - [250]Q-102: Now that non-X11 devices can be exported via VNC using + [263]Q-103: 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? - [251]Q-103: Does x11vnc support Mac OS X Aqua/Quartz displays natively + [264]Q-104: Does x11vnc support Mac OS X Aqua/Quartz displays natively (i.e. no X11 involved)? - [252]Q-104: Can x11vnc be used as a VNC reflector/repeater to improve + [265]Q-105: Can x11vnc be used as a VNC reflector/repeater to improve performance for the case of a large number of simultaneous VNC viewers (e.g. classroom broadcasting or a large demo)? [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - [253]Q-105: Does the Clipboard/Selection get transferred between the + [266]Q-106: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [254]Q-106: Can I use x11vnc to record a Shock Wave Flash (or other + [267]Q-107: 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? - [255]Q-107: Can I transfer files back and forth with x11vnc? + [268]Q-108: Can I transfer files back and forth with x11vnc? - [256]Q-108: Can I (temporarily) mount my local (viewer-side) + [269]Q-109: Can I (temporarily) mount my local (viewer-side) Windows/Samba File share on the machine where x11vnc is running? - [257]Q-109: Can I redirect CUPS print jobs from the remote desktop + [270]Q-110: Can I redirect CUPS print jobs from the remote desktop where x11vnc is running to a printer on my local (viewer-side) machine? - [258]Q-110: How can I hear the sound (audio) from the remote + [271]Q-111: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [259]Q-111: Why don't I hear the "Beeps" in my X session (e.g. when + [272]Q-112: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [260]Q-112: Thanks for your program and for your help! Can I make a + [273]Q-113: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1380,7 +1401,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 [261]-display + on). Set your DISPLAY environment variable or use the [274]-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). @@ -1397,9 +1418,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 [262]this Howto for much info on X11 permissions. For example, you + or [275]this Howto for much info on X11 permissions. For example, you may need to set your XAUTHORITY environment variable or use the - [263]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. + [276]-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 @@ -1421,7 +1442,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 [264]this faq for other display manager + read the gdm cookie file, see [277]this faq for other display manager cookie file names). While running x11vnc as root, remember it comes with no warranty ;-). @@ -1431,7 +1452,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 [265]-users option). + (please read the documentation on the [278]-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 @@ -1609,7 +1630,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [266]Solaris build script to run the configure command. That + above [279]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 @@ -1635,7 +1656,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 - [267]SunOS 4.x + [280]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 @@ -1645,28 +1666,28 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [268]build steps above and [269]FAQ provide enough info + Hopefully the [281]build steps above and [282]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) [270]http://packages.debian.org/x11vnc - - Slackware: (.tgz) [271]http://www.linuxpackages.net/ Redhat/Fedora: - (.rpm) [272]http://dag.wieers.com/packages/x11vnc/ - [273]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) - [274]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) - [275]http://www.sunfreeware.com/ FreeBSD: (.tbz) - [276]http://www.freebsd.org/ [277]http://www.freshports.org/net/x11vnc - OpenBSD: (.tgz) [278]http://www.openbsd.org/ NetBSD: (src) - [279]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) - [280]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp - Zaurus [281]http://www.pdaxrom.org/ and [282]http://www.focv.com/ + Debian: (.deb) [283]http://packages.debian.org/x11vnc + + Slackware: (.tgz) [284]http://www.linuxpackages.net/ Redhat/Fedora: + (.rpm) [285]http://dag.wieers.com/packages/x11vnc/ + [286]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) + [287]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) + [288]http://www.sunfreeware.com/ FreeBSD: (.tbz) + [289]http://www.freebsd.org/ [290]http://www.freshports.org/net/x11vnc + OpenBSD: (.tgz) [291]http://www.openbsd.org/ NetBSD: (src) + [292]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) + [293]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp + Zaurus [294]http://www.pdaxrom.org/ and [295]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 [283]my collection of + (and all else fails!) you can try one of [296]my collection of binaries for various OS's and x11vnc releases. As a general note, the x11vnc program is simple enough you don't @@ -1684,7 +1705,7 @@ typedef unsigned int in_addr_t; If you use a standalone binary like this and also want x11vnc to serve up the Java VNC Viewer jar file (either SSL enabled or regular one), then you will need to extract the classes subdirectory from the source - tarball and point x11vnc to it via the [284]-httpdir option. E.g.: + tarball and point x11vnc to it via the [297]-httpdir option. E.g.: x11vnc -httpdir /path/to/x11vnc-0.8.3/classes/ssl ... @@ -1693,11 +1714,11 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [285]http://www.tightvnc.com/download.html - * [286]http://www.realvnc.com/download-free.html - * [287]http://sourceforge.net/projects/cotvnc/ - * [288]http://www.ultravnc.com/ - * [289]Our Enhanced TightVNC Viewer (ssvnc) + * [298]http://www.tightvnc.com/download.html + * [299]http://www.realvnc.com/download-free.html + * [300]http://sourceforge.net/projects/cotvnc/ + * [301]http://www.ultravnc.com/ + * [302]Our Enhanced TightVNC Viewer (ssvnc) Q-7: How can I see all of x11vnc's command line options and @@ -1705,7 +1726,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 - [290]here as well. Yes, x11vnc does have a lot of options, doesn't + [303]here as well. Yes, x11vnc does have a lot of options, doesn't it... @@ -1737,10 +1758,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 [291]-gui option for more info. Examples: "x11vnc + for testing. See the [304]-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 "[292]-gui tray" system tray mode. + also a "[305]-gui tray" system tray mode. Q-9: How can I get the GUI to run in the System Tray, or at least be a @@ -1775,7 +1796,7 @@ display :0 PORT=59xx line to see which port it found, then subtract 5900 from it for the VNC display number to enter into the VNC Viewer(s). - The "[293]-N" option will try to match the VNC display number to the X + The "[306]-N" option will try to match the VNC display number to the X display (e.g. X11 DISPLAY of :5 (port 6005) will have VNC display :5 (port 5905)). @@ -1783,11 +1804,11 @@ display :0 Q-11: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [294]-q and [295]-bg options, respectively. (also: -quiet is + Use the [307]-q and [308]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[296]-o logfile" option. + the "[309]-o logfile" option. Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with @@ -1808,7 +1829,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 [297]build notes for general background). + (see the [310]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -1879,21 +1900,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 "[298]-nofb" option + Yes, for best response start up x11vnc with the "[311]-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 [299]x2vnc, however you would + This will also work X11 to X11 using [312]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: - * [300]Original Win2VNC - * [301]Enhanced Win2VNC and [302]sourceforge link - * [303]x2vnc - * [304]x2x also [305]here - * [306]zvnc (MorphOS) + * [313]Original Win2VNC + * [314]Enhanced Win2VNC and [315]sourceforge link + * [316]x2vnc + * [317]x2x also [318]here + * [319]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). @@ -1913,7 +1934,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 [307]-visual option to allow you to force the framebuffer + has the [320]-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: @@ -1927,7 +1948,7 @@ display :0 and keyboard input to it from Windows and X11 machines via Win2VNC and x2vnc, respectively? - Yes, as of Nov/2006 [308]you can. There may be a trick or two you'll + Yes, as of Nov/2006 [321]you can. There may be a trick or two you'll need to do to get the Clipboard exchange between the machines to work. @@ -1938,7 +1959,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 [309]-flashcmap option to have x11vnc watch for changes in the + Use the [322]-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 @@ -1947,13 +1968,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 [310]-8to24 (Jan/2006) can often remove the need + Also note the option [323]-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 [311]-notruecolor option has corrected colors + In some rare cases the [324]-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. @@ -1964,13 +1985,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 [312]previous question regarding 8 bpp + You may want to review the [325]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [313]-overlay option + On some hardware (Sun/SPARC and SGI), the [326]-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 - [314]-8to24 option may help (also discussed below). + [327]-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 @@ -2006,7 +2027,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 [315]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [328]-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 @@ -2031,7 +2052,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [316]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [329]-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 @@ -2045,11 +2066,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [317]-flashcmap to avoid color flashing completely. + [330]-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: [318]-fixscreen V=3.0 to + row, or by using something like: [331]-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. @@ -2062,23 +2083,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 [319]-8to24 help description for information on + speedup. See the [332]-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 [320]-id option to + possible workaround in this case is to use the [333]-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 [321]-8to24 method + for x11vnc to be able to do so in real time. The [334]-8to24 method does this approximately and is somewhat usable. Fortunately the - [322]-overlay option works for Solaris machines with overlay visuals + [335]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. @@ -2089,9 +2110,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 [323]color problems. + debugging x11vnc [336]color problems. - Also, as of Dec/2004 you can use "[324]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[337]-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. @@ -2109,7 +2130,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 [325]-sid windowid option ("shifted" windowid). + polling, try the [338]-sid windowid option ("shifted" windowid). Q-21: My X display is depth 24 at 24bpp (instead of the normal depth @@ -2144,7 +2165,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 [326]-24to32 option to have + Update: as of Apr/2006 you can use the [339]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra transformation could slow things down further however. @@ -2163,15 +2184,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 [327]-display option to point the display to that of + machine. Use the [340]-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 [328]-noshm option (this enables the polling + and finally supply the [341]-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 [329]-flipbyteorder if the + on the polling rate. You may also need [342]-flipbyteorder if the colors get messed up due to endian byte order differences. Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct @@ -2195,7 +2216,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 - [330]-auth option to point to the correct file). Other options include + [343]-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 - @@ -2207,7 +2228,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [331]this note on the "xauth add ..." command. + two hosts, see [344]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 @@ -2221,7 +2242,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 [332]poll + Not recommended, but as a last resort, you could have x11vnc [345]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...) @@ -2250,13 +2271,13 @@ TrueColor defdepth 24 Q-24: I'm having trouble using x11vnc with my Sun Ray session. - The [333]Sun Ray technology is a bit like "VNC done in hardware" (the + The [346]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 [334]this discussion of Sun Ray issues for + "Soft Ray". Please see [347]this discussion of Sun Ray issues for solutions to problems. [Remote Control] @@ -2264,18 +2285,18 @@ TrueColor defdepth 24 Q-25: 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 [335]-remote and [336]-query + amount of things on the fly: see the [348]-remote and [349]-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 [337]-forever option has not been supplied, x11vnc will + If the [350]-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 [338]-bg option + If you have not put x11vnc in the background via the [351]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2285,15 +2306,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 [339]-clear_mods - option and [340]-clear_keys option can be used to release pressed keys + by tapping Ctrl, Shift, and Alt. Alternatively, the [352]-clear_mods + option and [353]-clear_keys option can be used to release pressed keys at startup and exit. Q-26: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [341]-remote (same as -R) and [342]-query (same as -Q) + Look at the [354]-remote (same as -R) and [355]-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", @@ -2304,7 +2325,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 [343]-gui option for more info. You will need to + mechanism. See the [356]-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". @@ -2319,12 +2340,12 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [344]option, which is the same functionality of storepasswd. Be sure + [357]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: "[345]-rfbauth + You then use the password via the x11vnc option: "[358]-rfbauth $HOME/myvncpasswd" As of Jan/2006 if you do not supply any arguments: @@ -2336,11 +2357,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [346]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [359]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [347]-usepw option to automatically use any password + You can use the [360]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2372,14 +2393,14 @@ TrueColor defdepth 24 Q-29: 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 [348]-viewpasswd option to supply the - view-only password. Note the full-access password option [349]-passwd + Yes, as of May/2004 there is the [361]-viewpasswd option to supply the + view-only password. Note the full-access password option [362]-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 - [350]-passwdfile option to specify a file containing plain text + [363]-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 @@ -2387,7 +2408,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 [351]-rfbauth + View-only passwords currently do not work for the [364]-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 @@ -2400,7 +2421,7 @@ TrueColor defdepth 24 Q-30: Can I have as many full-access and view-only passwords as I like? - Yes, as of Jan/2006 in the libvncserver CVS the [352]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [365]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2410,7 +2431,7 @@ TrueColor defdepth 24 Q-31: 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 [353]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [366]-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 @@ -2420,7 +2441,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [354]-unixpw_nis option for non-shadow-password + There is also the [367]-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 @@ -2429,11 +2450,11 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [355]-localhost and 2) [356]-stunnel or - [357]-ssl options. Without these one might send the Unix username and + provide extra security: the 1) [368]-localhost and 2) [369]-stunnel or + [370]-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 [358]-ssl (the constraint is automatically relaxed if + stunnel or [371]-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). @@ -2446,19 +2467,19 @@ TrueColor defdepth 24 out the pam_self.so entry in /etc/pam.d/su. - Previous discussion (prior to -unixpw option): + Previous older discussion (prior to the -unixpw option): Until the VNC protocol and libvncserver support this things will be approximate at best. One approximate method involves starting x11vnc with the - [359]-localhost option. This basically requires the viewer user to log + [372]-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 [360]elsewhere on this page. [361]stunnel does this as well. + mentioned [373]elsewhere on this page. [374]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 @@ -2469,7 +2490,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 [362]-accept option that runs a program to examine the connection + the [375]-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 @@ -2505,7 +2526,7 @@ exit 1 # reject it method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) usernames and passwords)? Yes, there are several possibilities. For background see the FAQ on - the [363]-accept where an external program may be run to decide if a + the [376]-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, @@ -2513,26 +2534,26 @@ exit 1 # reject it To provide more direct coupling to the VNC client's username and/or supplied password the following options were added in Sep/2006: - * [364]-unixpw_cmd command - * [365]-passwdfile cmd:command - * [366]-passwdfile custom:command + * [377]-unixpw_cmd command + * [378]-passwdfile cmd:command + * [379]-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 [367]-unixpw_cmd the normal [368]-unixpw Login: and Password: + For [380]-unixpw_cmd the normal [381]-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 "[369]-passwdfile cmd:command" the command is run and it returns a - password list (like a password file, see the [370]-passwdfile + For "[382]-passwdfile cmd:command" the command is run and it returns a + password list (like a password file, see the [383]-passwdfile read:filename mode). Perhaps a dynamic, one-time password is retrieved from a server this way. - For "[371]-passwdfile custom:command" one gets complete control over + For "[384]-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 @@ -2546,7 +2567,7 @@ exit 1 # reject it it is rejected. In all cases the "RFB_*" enviornment variables are set as under - [372]-accept. These variables can provide useful information for the + [385]-accept. These variables can provide useful information for the externally supplied program to use. @@ -2556,15 +2577,15 @@ exit 1 # reject it These defaults are simple safety measures to avoid someone unknowingly leaving his X11 desktop exposed (to the internet, say) for long - periods of time. Use the [373]-forever option (aka -many) to have + periods of time. Use the [386]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [374]-shared option to have x11vnc allow multiple clients to + Use the [387]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([375]see - above), stunnel, [376]-ssl, or a VPN to authenticate and encrypt the + Recommended additional safety measures include using ssh ([388]see + above), stunnel, [389]-ssl, or a VPN to authenticate and encrypt the viewer connections or to at least use the -rfbauth passwd-file - [377]option to use VNC password protection (or [378]-passwdfile) It is + [390]option to use VNC password protection (or [391]-passwdfile) It is up to YOU to apply these security measures, they will not be done for you automatically. @@ -2572,7 +2593,7 @@ exit 1 # reject it Q-34: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [379]-allow and [380]-localhost options to limit + Yes, look at the [392]-allow and [393]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -2584,7 +2605,7 @@ exit 1 # reject it Note that -localhost achieves the same thing as "-allow 127.0.0.1" For more control, build libvncserver with libwrap support - [381](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [394](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. @@ -2604,7 +2625,7 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [382]inetd you do not need to build + Note that if you run x11vnc out of [395]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. @@ -2613,15 +2634,15 @@ exit 1 # reject it internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - As of Mar/2005 there is the "[383]-listen ipaddr" option that enables + As of Mar/2005 there is the "[396]-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 - "[384]-allow host1,..." option to allow only specific hosts in. + "[397]-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 [385]-localhost now implies "-listen localhost" since that + The option [398]-localhost now implies "-listen localhost" since that is what most people expect it to do. @@ -2629,7 +2650,7 @@ exit 1 # reject it interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - To do this specify "[386]-allow localhost". Unlike [387]-localhost + To do this specify "[399]-allow localhost". Unlike [400]-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 @@ -2640,7 +2661,7 @@ exit 1 # reject it some users just be able to move the mouse, but not click or type anything? - As of Feb/2005, the [388]-input option allows you to do this. "K", + As of Feb/2005, the [401]-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 @@ -2655,7 +2676,7 @@ exit 1 # reject it some clients view-only? How about running an arbitrary program to make the decisions? - Yes, look at the "[389]-accept command" option, it allows you to + Yes, look at the "[402]-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 @@ -2674,7 +2695,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 [390]-viewonly option has been + mouse on the "View" button. If the [403]-viewonly option has been supplied, the "View" action will not be present: the whole display is view only in that case. @@ -2690,7 +2711,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 [391]ftp://ftp.x.org/ + is available at [404]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 @@ -2729,7 +2750,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [392]dtVncPopup for use + Stefan Radman has written a nice dtksh script [405]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. @@ -2738,13 +2759,13 @@ 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 "[393]-gone + To run a command when a client disconnects, use the "[406]-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 "[394]-afteraccept command" option will run the + As of Jan/2006 the "[407]-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"). @@ -2754,7 +2775,7 @@ exit 1 display manager like gdm(1). Can I have x11vnc later switch to a different user? - As of Feb/2005 x11vnc has the [395]-users option that allows things + As of Feb/2005 x11vnc has the [408]-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. @@ -2779,7 +2800,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 [396]blockdpy.c The idea behind it is simple (but + source for it is [409]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 @@ -2795,16 +2816,27 @@ 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 [397]-accept option and told - to exit via the [398]-gone option (the vnc client user should + The blockdpy utility is launched by the [410]-accept option and told + to exit via the [411]-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. + be found in the source code for the utility at the above link. Roughly + it is something like this: + x11vnc ... -accept "blockdpy -bg -f $HOME/.bdpy" -gone "touch $HOME/.bdpy" + + but please read the top of the file. + + Update: As of Feb/2007 there is some builtin support for this: + [412]-forcedpms and [413]-clientdpms however, they are probably less + robust than the above blockdpy.c scheme, since if the person floods + the physical machine with mouse or pointer input he can usually see + flashes of the screen before the monitor is powered off again. See + also the [414]-grabkbd, [415]-grabptr, and [416]-grabalways options. Q-42: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [399]-gone option under CDE to run a + Yes, a user mentions he uses the [417]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -2813,7 +2845,7 @@ exit 1 x11vnc -display :0 -forever -gone 'kdesktop_lock' x11vnc -display :0 -forever -gone 'xlock &' - Here is a scheme using the [400]-afteraccept option (in version 0.7.3) + Here is a scheme using the [418]-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 @@ -2844,21 +2876,21 @@ fi 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 [401]how to tunnel VNC via + See the description earlier on this page on [419]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 [402]Enhanced TightVNC Viewer (ssvnc) page where much of + See also the [420]Enhanced TightVNC Viewer (ssvnc) page where much of this is now automated. Q-44: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [403]Above we described how to tunnel VNC via SSH from Unix to Unix, + [421]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 @@ -2879,11 +2911,11 @@ fi :0 (plus other cmdline options) in the 'Remote command' Putty setting under 'Connections/SSH'. - See also the [404]Enhanced TightVNC Viewer (ssvnc) page where much of + See also the [422]Enhanced TightVNC Viewer (ssvnc) page where much of this is now automated via the Putty plink utility. - For extra protection feel free to run x11vnc with the [405]-localhost - and [406]-rfbauth/[407]-passwdfile options. + For extra protection feel free to run x11vnc with the [423]-localhost + and [424]-rfbauth/[425]-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 @@ -2891,11 +2923,11 @@ fi dialog setting to: 'Destination: otherhost:5900', Once logged in, you'll need to do a second login (ssh or rsh) to the workstation machine 'otherhost' and then start up x11vnc on it. This can also be - automated by [408]chaining ssh's. + automated by [426]chaining ssh's. - As discussed [409]above another option is to first start the VNC + As discussed [427]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[410]-connect localhost" option to establish the reverse connection. + "[428]-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). @@ -2905,7 +2937,7 @@ fi channel using an external tool like stunnel? It is possible to use a "lighter weight" encryption setup than SSH or - IPSEC. SSL tunnels such as [411]stunnel (also [412]stunnel.mirt.net) + IPSEC. SSL tunnels such as [429]stunnel (also [430]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 @@ -2913,12 +2945,12 @@ fi 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 [413]-ssl, - [414]-stunnel, and [415]-sslverify to provide integrated SSL schemes. - They are discussed [416]in the Next FAQ (you may want to skip to it + Update: As of Feb/2006 x11vnc has the options [431]-ssl, + [432]-stunnel, and [433]-sslverify to provide integrated SSL schemes. + They are discussed [434]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [417]stunnel but the general idea + Here are some basic examples using [435]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 @@ -2942,7 +2974,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 [418]signed by + stunnel is built. One can also create certificates [436]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. @@ -2956,7 +2988,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 [419]ss_vncviewer script can automate + That's it. (note that the [437]ss_vncviewer script can automate this.) Be sure to use a VNC password because unlike ssh by default the @@ -2964,13 +2996,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 [420]the key management section for details. + and also [438]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 [421]article The article also + found at the stunnel site and in this [439]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [422]x11vnc + certificates. (for both server and clients, see also the [440]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 @@ -2991,7 +3023,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 [423]-inetd mode: + start up x11vnc in [441]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -3034,28 +3066,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 [424]SSL-enabled - Java applet that can be served up via the [425]-httpdir or [426]-http - options when [427]-ssl is enabled. It will also be served via HTTPS + Note: as of Mar/2006 libvncserver/x11vnc provides a [442]SSL-enabled + Java applet that can be served up via the [443]-httpdir or [444]-http + options when [445]-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 [428]-https option. + the [446]-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 [429]-stunnel or [430]-ssl option on the server side it works well - and is convenient. Here is a simple script [431]ss_vncviewer that + the [447]-stunnel or [448]-ssl option on the server side it works well + and is convenient. Here is a simple script [449]ss_vncviewer that automates running stunnel on the VNC viewer side on Unix a little more carefully than the commands printed above. (One could probably do a similar thing with a .BAT file on Windows in the stunnel folder.) - Update Jul/2006: we now provide an [432]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [450]Enhanced TightVNC Viewer (ssvnc) package that starts up STUNNEL automatically along with some other features. All binaries are provided in the package. Q-46: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [433]in the Previous FAQ + You can read about non-built-in methods [451]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 @@ -3066,14 +3098,14 @@ connect = 5900 Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [434]-ssl and [435]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [436]SSL-enabled + As of Feb/2006 the x11vnc [452]-ssl and [453]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [454]SSL-enabled Java Viewer applet is also provided that can be served via HTTP or HTTPS to automate SSL on the client side. - The [437]-ssl mode uses the [438]www.openssl.org library if available - at build time. The [439]-stunnel mode requires the - [440]www.stunnel.org command stunnel(8) to be installed on the system. + The [455]-ssl mode uses the [456]www.openssl.org library if available + at build time. The [457]-stunnel mode requires the + [458]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" @@ -3125,12 +3157,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 [441]x11vnc Key Management for some utilities + See the discussion on [459]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 [442]ss_vncviewer provides an example on unix + The wrapper script [460]ss_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -3146,7 +3178,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 - [443]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [461]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.) @@ -3171,7 +3203,7 @@ connect = 5900 including using https to download it into the browser and connect to x11vnc. - See the [444]next FAQ for SSL enabled VNC Viewers. + See the [462]next FAQ for SSL enabled VNC Viewers. Q-47: How do I use VNC Viewers with built-in SSL tunneling? @@ -3182,9 +3214,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 [445]-httpdir can be used to specify the path to .../classes/ssl. + the [463]-httpdir can be used to specify the path to .../classes/ssl. A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - [446]-http can be used to try to have it find the directory + [464]-http can be used to try to have it find the directory automatically. The Java viewer uses SSL to communicate securely with x11vnc. Note @@ -3209,7 +3241,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 [447]-https option to get an additional port dedicated to https + the [465]-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: @@ -3222,7 +3254,7 @@ connect = 5900 You may also use "urlPrefix=somestring" to have /somestring prepended to /request.https.vnc.connection". Perhaps you are using a web server - [448]proxy scheme to enter a firewall or otherwise have rules applied + [466]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".) @@ -3246,11 +3278,11 @@ 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 [449]-https option if you want a dedicated + let you connect. Use the [467]-https option if you want a dedicated port for HTTPS connections instead of sharing the VNC port. To see example x11vnc output for a successful https://host:5900/ - connection with the Java Applet see [450]This Page. + connection with the Java Applet see [468]This Page. Notes on the VNC Viewer ss_vncviewer wrapper script: @@ -3258,10 +3290,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 [451]for + package. The basic ideas of doing this were discussed [469]for external tunnel utilities here. - The [452]ss_vncviewer script provided with x11vnc can set up the + The [470]ss_vncviewer script provided with x11vnc can set up the stunnel tunnel automatically on unix as long as the stunnel command is installed on the Viewer machine and available in PATH (and vncviewer too of course). Note that on Debian based system you will need to @@ -3293,14 +3325,14 @@ 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 [453]this page for more information on + separate the two by commas. See [471]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [454]here, + If one uses a Certificate Authority (CA) scheme described [472]here, the wrapper script would use the CA cert instead of the server cert: 3') ss_vncviewer -verify ./cacert.crt far-away.east:0 - Update Jul/2006: we now provide an [455]Enhanced TightVNC Viewer + Update Jul/2006: we now provide an [473]Enhanced TightVNC Viewer (ssvnc) package that starts up STUNNEL automatically along with some other features. All binaries are provided in the package. @@ -3336,7 +3368,7 @@ connect = 5900 (instead of the unsigned one in https://yourmachine.com:5900/ that gives the default index.vnc) - Note that the [456]ss_vncviewer stunnel wrapper script can use Web + Note that the [474]ss_vncviewer stunnel wrapper script can use Web proxies as well. Proxies that limit CONNECT to ports 443 and 563: @@ -3365,7 +3397,7 @@ connect = 5900 https://yourmachine.com/proxy.vnc?PORT=443 this is cleaner because it avoids editing the file, but requires more - parameters in the URL. To use the GET [457]trick discussed above, do: + parameters in the URL. To use the GET [475]trick discussed above, do: https://yourmachine.com/proxy.vnc?PORT=443&GET=1 @@ -3373,7 +3405,7 @@ connect = 5900 SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? Yes. You will need to configure apache to forward these connections. - It is discussed [458]here. This provides a clean alternative to the + It is discussed [476]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. @@ -3381,7 +3413,7 @@ connect = 5900 Q-50: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [459]this page for how to do this and the utility commands + Yes, see [477]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -3400,14 +3432,14 @@ connect = 5900 need to have sufficient permissions to connect to the X display. Here are some ideas: - * Use the description under "Continuously" in the [460]FAQ on x11vnc + * Use the description under "Continuously" in the [478]FAQ on x11vnc and Display Managers - * Use the description in the [461]FAQ on x11vnc and inetd(8) - * Use the description in the [462]FAQ on Unix user logins and + * Use the description in the [479]FAQ on x11vnc and inetd(8) + * Use the description in the [480]FAQ on Unix user logins and inetd(8) * Start x11vnc from your $HOME/.xsession (or $HOME/.xinitrc or autostart script or ...) - * Although less reliable, see the [463]x11vnc_loop rc.local hack + * Although less reliable, see the [481]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -3429,7 +3461,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg X startup scripts (traditionally .xsession/.xinitrc) may have to be in a different directory or have a different basename. One user recommends the description under 'Running Scripts Automatically' at - [464]this link. + [482]this link. Q-52: How can I use x11vnc to connect to an X login screen like xdm, @@ -3444,7 +3476,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 [465]-auth option sets the XAUTHORITY variable for you). + (the [483]-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 @@ -3469,7 +3501,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 - [466]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [484]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 @@ -3517,7 +3549,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg and XAUTHORITY environment variables for the Xsetup script!!! You may also want to force the VNC port with something like "-rfbport - 5900" (or [467]-N) to avoid autoselecting one if 5900 is already + 5900" (or [485]-N) to avoid autoselecting one if 5900 is already taken. _________________________________________________________________ @@ -3533,7 +3565,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 [468]full details + killed immediately after the user logs in. Here are [486]full details on how to configure gdm _________________________________________________________________ @@ -3575,14 +3607,14 @@ 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: [469]x11vnc_loop It will need some local + file like rc.local: [487]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 [470]-loop + described above is greatly preferred. There is also the [488]-loop option that does something similar. If the machine is a traditional Xterminal you may want to read - [471]this FAQ. + [489]this FAQ. Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)? @@ -3592,7 +3624,7 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [472]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [490]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh @@ -3605,7 +3637,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 [473]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [491]-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 @@ -3613,12 +3645,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 [474]-auth to point to the + Note also the need to set XAUTHORITY via [492]-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 - [475]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY + [493]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 @@ -3680,65 +3712,80 @@ service x11vncservice capture a log) - Q-54: Can I have x11vnc allow a user to log in with her UNIX password - and then have it find her X session display on that machine and then - connect to it? How about starting an X session if one cannot be found? + Q-54: Can I have x11vnc allow a user to log in with her UNIX username + and password and then have it find her X session display on that + machine and then connect to it? How about starting an X session if one + cannot be found? - The easiest way to do this is via [476]inetd(8) using the [477]-unixpw - and [478]-display WAIT options. The reason inetd(8) makes this easier + The easiest way to do this is via [494]inetd(8) using the [495]-unixpw + and [496]-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 [479]this example). + x11vnc's (see [497]this example and also the [498]-loopbg option). + + Also with inetd(8) users always connect to a fixed VNC display, say + machine:0, and do not need to memorize a special VNC display number + just for their personal use, etc. + + Update: use the [499]-svc and [500]-xdmsvc options that are shorthand + for common FINDCREATEDISPLAY usage modes (terminal services) described + below. (i.e. just use "-svc" instead of "-display + WAIT:cmd=FINDCREATEDISPLAY-Xvfb -unixpw -users unixpw= -ssl SAVE") - The [480]-display WAIT option makes x11vnc wait until a VNC viewer is + The [501]-display WAIT option makes x11vnc wait until a VNC viewer is connected before attaching to the X display. Additionally it can be used to run an external command that returns the DISPLAY and - XAUTHORITY data. We provide some builtin ones (FINDDISPLAY and + XAUTHORITY data. We provide some useful builtin ones (FINDDISPLAY and FINDCREATEDISPLAY below), but in principle one could supply "-display WAIT:cmd=/path/to/find_display" where the script find_display might look something like: -#!/bin/sh + #!/bin/sh -PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin -export PATH + PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin + export PATH -user=$1 -if [ "X$user" = "X" ]; then + user=$1 + if [ "X$user" = "X" ]; then user=$USER -fi -if [ "X$user" = "X" ]; then + fi + if [ "X$user" = "X" ]; then user=$LOGNAME -fi -if [ "X$user" = "X" ]; then + fi + if [ "X$user" = "X" ]; then echo "" exit 1 -fi + fi -display=`who | grep "^${user}[ ][ ]*:[0-9]" | head -1 | awk '{print $2}'` -if [ "X$display" = "X" ]; then - display=`who | grep "^${user}[ ]" | awk '{print $NF}' | grep '(:[0-9]' + display=`who | grep "^${user}[ ][ ]*:[0-9]" | head -1 | awk '{pri +nt $2}'` + if [ "X$display" = "X" ]; then + display=`who | grep "^${user}[ ]" | awk '{print $NF}' | grep '(:[0-9]' | sed -e 's/[()]//g' | head -1` - if [ "X$display" = "X" ]; then + if [ "X$display" = "X" ]; then echo "" exit 1 - fi -fi + fi + fi -echo "DISPLAY=$display" -xauth extract - "$display" 2>/dev/null + echo "DISPLAY=$display" + xauth extract - "$display" 2>/dev/null -exit 0 + exit 0 - A default script similar to the above is used under "-display + A default script somewhat like the above is used under "-display WAIT:cmd=FINDDISPLAY" (use "WAIT:cmd=FINDDISPLAY-print" to print it - out). The format for any such script is that it returns DISPLAY=:disp + out). The format for any such command is that it returns DISPLAY=:disp as the first line and any remaining lines are either XAUTHORITY=file - or raw xauth data (the above example does the latter). On Linux if the - virtual terminal is known append ",VT=n" to the DISPLAY line. Or if - you only know the X server process ID and suspect a chvt will be + or raw xauth data (the above example does the latter). If applicable + (-unixpw mode), the program is run as the Unix user name who logged + in. + + On Linux if the virtual terminal is known the program should append + ",VT=n" to the DISPLAY line; a chvt n will be attempted automatially. + Or if you only know the X server process ID and suspect a chvt will be needed append ",XPID=n". - The [481]-unixpw option allows [482]UNIX password logins. It + The [502]-unixpw option allows [503]UNIX password logins. It conveniently knows the Unix username whose X display should be found. Here are a couple /etc/inetd.conf examples for this: 5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd @@ -3759,52 +3806,59 @@ 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 "[483]-users unixpw=" option. + logs in due to the "[504]-users unixpw=" option. - Note that [484]SSL is required for this mode because otherwise the - unix password would be passed in clear text over the network. In + Note that [505]SSL is required for this mode because otherwise the + Unix password would be passed in clear text over the network. In general -unixpw is not required for this sort of scheme, but it is convenient because it determines exactly who the Unix user is whose display should be sought. Otherwise the find_display script would have to use some method to work out DISPLAY, XAUTHORITY, etc (perhaps you use multiple inetd ports and hardwire usernames for different ports). + If you really want to disable the SSL or SSH [506]-localhost + constraints (this is not recommended unless you really know what you + are doing: Unix passwords sent in clear text is a very bad idea...) + read the [507]-unixpw documentation. + A recently (Nov/2006) added extension to FINDDISPLAY is FINDCREATEDISPLAY where if it does not find a display via the - FINDDISPLAY method it will create an X server session for the user. - This is the only time x11vnc actually tries to start up an X server. - By default it will only try to start up virtual (non-hardware) X - servers: first [485]Xdummy and if that does not work Xvfb. Note that - Xdummy requires root permission and only works on Linux. + FINDDISPLAY method it will create an X server session for the user + (i.e. desktop/terminal server). This is the only time x11vnc actually + tries to start up an X server. By default it will only try to start up + virtual (non-hardware) X servers: first [508]Xdummy and if that is not + available then Xvfb. Note that Xdummy requires root permission and + only works on Linux whereas Xvfb works just about everywhere. So an inetd(8) example might look like: -5915 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd \ +5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd \ -o /var/log/x11vnc.log -http -ssl SAVE -unixpw -users unixpw= \ - -display WAIT:cmd=FINDCREATEDISPLAY -passwd secret -prog /usr/local/bin/x -11vnc + -display WAIT:cmd=FINDCREATEDISPLAY -prog /usr/local/bin/x11vnc Where the very long lines have been split. This will allow direct SSL - (e.g. [486]ss_vncviewer) access and also Java Web browers access via: - https://hostname:5915/. + (e.g. [509]ss_vncviewer) access and also Java Web browers access via: + https://hostname:5900/. + + Tip: Note that [510]-svc is a short hand for the long "-ssl SAVE + -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY" part. If you do not plan on using the Java Web browser applet you can remove - the -http and -prog options since this will speed up logging in a - little bit (x11vnc will not have to wait to see if a connection is + the -http (and -prog) option since this will speed up logging-in by a + few seconds (x11vnc will not have to wait to see if a connection is HTTPS or VNC). For reference, xinetd format in the file, say, /etc/xinetd.d/x11vnc: service x11vnc { type = UNLISTED - port = 5915 + port = 5900 socket_type = stream protocol = tcp wait = no user = root server = /usr/local/bin/x11vnc server_args = -inetd -o /var/log/x11vnc.log -http -ssl SAVE -unixpw - -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY -passwd secret -prog /usr/l -ocal/bin/x11vnc + -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY -prog /usr/local/bin/x11vnc disable = no } @@ -3814,7 +3868,7 @@ ocal/bin/x11vnc WAIT:cmd=FINDCREATEDISPLAY-X,Xvfb,Xdummy". The "X" one means to try to start up a real, hardware X server, e.g. startx(1) (if there is already a real X server running this may only work on Linux and the - chvt program may [487]need to be run to switch to the correct Linux + chvt program may [511]need to be run to switch to the correct Linux virtual terminal). x11vnc will try to run chvt automatically if it can determine which VT should be switched to. @@ -3841,34 +3895,57 @@ ocal/bin/x11vnc will also typically block UDP (port 177 for XDMCP) by default effectively limiting the UDP connections to localhost. + Tip: Note that [512]-xdmsvc is a short hand for the long "-ssl SAVE + -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp" + part. E.g.: +service x11vnc +{ + type = UNLISTED + port = 5900 + socket_type = stream + protocol = tcp + wait = no + user = root + server = /usr/local/bin/x11vnc + server_args = -inetd -o /var/log/x11vnc.log -xdmsvc + disable = no +} + + (or "-svc" instead of "-xdmsvc" for no XDMCP). + The "-display WAIT:cmd=FINDCREATEDISPLAY" scheme can be used to - provide a "desktop service" on the machine: you always get some - desktop there, either a real hardware X server or a virtual one - (depending on how you set things up). So it provides simple "terminal - services" based on Unix username and password. The created X server - sessions (virtual or real hardware) will remain running after you - disconnect the VNC viewer (and will be found again on reconnecting via - VNC). To terminate them use the normal way to Exit/LogOut from inside - your X session. The user does not have to memorize which VNC display - number is his. They all go the same one (e.g. :0) and it switches - based on username. + provide a "desktop service" (i.e. terminal service) on the machine: + you always get some desktop there, either a real hardware X server or + a virtual one (depending on how you set things up). So it provides + simple "terminal services" based on Unix username and password. The + created X server sessions (virtual or real hardware) will remain + running after you disconnect the VNC viewer and will be found again on + reconnecting via VNC and logging in. To terminate them use the normal + way to Exit/LogOut from inside your X session. The user does not have + to memorize which VNC display number is his. They all go the same one + (e.g. :0) and it switches based on username. 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 - [488]-loop that makes it easier. Of course when x11vnc restarts it + [513]-loop that makes it easier. Of course when x11vnc restarts it needs to have permissions to connect to the (potentially new) X display. This mode could be useful if the X server restarts often. Use e.g. "-loop5000" to sleep 5000 ms between restarts. Also "-loop2000,5" to sleep 2000 ms and only restart 5 times. + One can also use the [514]-loopbg to emulate inetd(8) to some degree, + where each connected process runs in the background. It could be + combined, say, with the [515]-svc option to provide simple terminal + services without using inetd(8). + 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 [489]option: + that connect to it, run x11vnc with this [516]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -3887,7 +3964,7 @@ ocal/bin/x11vnc 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 [490]-http option will try to guess where the Java + As of May/2005 the [517]-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. @@ -3903,7 +3980,7 @@ ocal/bin/x11vnc 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 - [491]-connect option. To connect immediately at x11vnc startup time + [518]-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). @@ -3911,7 +3988,7 @@ ocal/bin/x11vnc file is checked periodically (about once a second) for new hosts to connect to. - The [492]-remote control option (aka -R) can also be used to do this + The [519]-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 @@ -3923,7 +4000,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 [493]-vncconnect option to x11vnc (Note: + www.realvnc.com) specify the [520]-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 @@ -3966,17 +4043,18 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1" "screen scrape" it efficiently (more than, say, 100X faster than normal video hardware). - Update Nov/2006: See the [494]FINDCREATEDISPLAY discussion of the - "[495]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or + Update Nov/2006: See the [521]FINDCREATEDISPLAY discussion of the + "[522]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or Xdummy, or even real ones by changing an option) X servers are started automatically for new users connecting. This provides a "desktop service" for the machine. You either get your real X session or your virtual (Xvfb/Xdummy) one whenever you connect to the machine - (inetd(8) is a nice way to provide this service). + (inetd(8) is a nice way to provide this service). The [523]-svc and + [524]-xdmsvc aliases can also come in handy here. There are some annoyances WRT Xvfb though. The default keyboard mapping seems to be very poor. One should run x11vnc with - [496]-add_keysyms option to have keysyms added automatically. Also, to + [525]-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" @@ -3988,9 +4066,9 @@ xmodmap -e "keycode any = Alt_R" xmodmap -e "keycode any = Meta_L" xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L" - (these are applied automatically in the [497]FINDCREATEDISPLAY mode). - Perhaps the Xvfb options -xkbdb or -xkbmap could be used to get a - better default keyboard mapping. + (note: these are applied automatically in the [526]FINDCREATEDISPLAY + mode). Perhaps the Xvfb options -xkbdb or -xkbmap could be used to get + a better default keyboard mapping. A user points out a faster and more accurate method is to use the "dummy" Device Driver of XFree86/Xorg instead of Xvfb. He uses this to @@ -4003,11 +4081,11 @@ xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L" The main drawback to this method (besides requiring extra configuration and possibly root permission) is that it also does the - Linux Virtual Console/Terminal (VC/VT) [498]switching even though it + Linux Virtual Console/Terminal (VC/VT) [527]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 [499]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [528]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 @@ -4039,7 +4117,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 [500]this FAQ) and access it from + display via x11vnc (e.g. see [529]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 @@ -4062,9 +4140,10 @@ startx -- /path/to/Xdummy :1 cards as it can hold to provide multiple simultaneous access or testing on different kinds of video hardware. - See also the [501]FINDCREATEDISPLAY discussion of the "[502]-display + See also the [530]FINDCREATEDISPLAY discussion of the "[531]-display WAIT:cmd=FINDDISPLAY" option where virtual Xvfb or Xdummy, or real X - servers are started automatically for new users connecting. + servers are started automatically for new users connecting. The + [532]-svc and [533]-xdmsvc aliases can also come in handy here. [Resource Usage and Performance] @@ -4086,7 +4165,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 [503]shm_clear to list and prompt for removal + Here is a shell script [534]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, @@ -4120,40 +4199,40 @@ ied) in /etc/system. See the next paragraph for more workarounds. To minimize the number of shm segments used by x11vnc try using the - [504]-onetile option (corresponds to only 3 shm segments used, and + [535]-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 - [505]-noshm option. Performance will be somewhat degraded but when + [536]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [506]earlier question discussing -noshm). + [537]earlier question discussing -noshm). Q-61: How can I make x11vnc use less system resources? - The [507]-nap (now on by default) and "[508]-wait n" (where n is the + The [538]-nap (now on by default) and "[539]-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 "[509]-sb 15" will cause + are good places to start. Something like "[540]-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 [510]-onetile + will make x11vnc's screen polling less severe. Using the [541]-onetile option will use less memory and use fewer shared memory slots (add - [511]-fs 1.0 for one less slot). + [542]-fs 1.0 for one less slot). Q-62: How can I make x11vnc use MORE system resources? - You can try [512]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [513]-defer as well. Note that if you try to + You can try [543]-threads and dial down the wait time (e.g. -wait 1) + and possibly dial down [544]-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 [514]-id option) can be streamed over a LAN or wireless at + the x11vnc [545]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. @@ -4169,7 +4248,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 - [515]-solid [color] option to try to do this automatically. + [546]-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 @@ -4178,9 +4257,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 [516]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [547]-scrollcopyrect is active and detecting scrolls for the application). - * If the [517]-wireframe option is not available (earlier than + * If the [548]-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) @@ -4203,7 +4282,7 @@ ied) noticed. VNC viewer parameters: - * Use a [518]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [549]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 @@ -4225,37 +4304,37 @@ ied) file. x11vnc parameters: - * Make sure the [519]-wireframe option is active (it should be on by + * Make sure the [550]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [520]-scrollcopyrect option is active (it should be + * Make sure the [551]-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 - [521]-solid - * Specify [522]-speeds modem to force the wireframe and + [552]-solid + * Specify [553]-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 [523]-nodragging (no screen updates when dragging mouse, + drastic [554]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [524]-fs 1.0 (disables fullscreen updates) - * Try increasing [525]-wait or [526]-defer (reduces the maximum + * Set [555]-fs 1.0 (disables fullscreen updates) + * Try increasing [556]-wait or [557]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [527]-progressive pixelheight mode with the block + * Try the [558]-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 [528]-id (cuts + * If you just want to watch one (simple) window use [559]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [529]-nosel (disables all clipboard selection exchange) - * Use [530]-nocursor and [531]-nocursorpos (repainting the remote + * Set [560]-nosel (disables all clipboard selection exchange) + * Use [561]-nocursor and [562]-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 - [532]-readtimeout n setting if it sometimes takes more than 20sec + [563]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. - * Do not use [533]-fixscreen to automatically refresh the whole + * Do not use [564]-fixscreen to automatically refresh the whole screen, tap three Alt_L's then the screen has painting errors (rare problem). @@ -4324,7 +4403,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 [534]slow (e.g. + in main memory. So reading the fb is still painfully [565]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 @@ -4342,20 +4421,20 @@ 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 "[535]-xd_area A" option to adjust the size + skipped). You can use the "[566]-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 "[536]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[537]-noxdamage". + The option "[567]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[568]-noxdamage". Q-65: My OpenGL application shows no screen updates unless I supply the -noxdamage option to x11vnc. One user reports in his environment (MythTV using the NVIDIA OpenGL drivers) he gets no updates after the initial screen is drawn unless - he uses the "[538]-noxdamage" option. + he uses the "[569]-noxdamage" option. This seems to be a bug in the X DAMAGE implementation of that driver. You may have to use -noxdamage as well. A way to autodetect this will @@ -4367,14 +4446,14 @@ ied) 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 [539]slow hardware read rates from + This problem is primarily due to [570]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 - [540]-pointer_mode option for more info. The next bottleneck is + [571]-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 @@ -4384,26 +4463,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 "[541]-pointer_mode 1" option. + the "[572]-pointer_mode 1" option. - Also added was the [542]-nodragging option that disables all screen + Also added was the [573]-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 [543]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [574]-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 [544]-threads option can improve + Also, in some circumstances the [575]-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 [545]wireframe FAQ and - [546]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [576]wireframe FAQ and + [577]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 @@ -4427,8 +4506,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 [547]slow video card - read rates (see [548]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [578]slow video card + read rates (see [579]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. @@ -4436,7 +4515,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 [549]-nowireframe option + with the problem. It can be disabled with the [580]-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 @@ -4481,13 +4560,13 @@ EndSection * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [550]"-wireframe tweaks" option for more details. On a slow + See the [581]"-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 - [551]"-wirecopyrect mode" option. It is also on by default. This + [582]"-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 @@ -4535,7 +4614,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 [552]slow). + the hardware framebuffer is [583]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. @@ -4562,10 +4641,10 @@ EndSection the X server display: if one falls too far behind it could become a mess... - The initial implementation of [553]-scrollcopyrect option is useful in + The initial implementation of [584]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [554]-wireframe - [555]-wirecopyrect [556]options, which are also on by default; and if + environment (especially when combined with the [585]-wireframe + [586]-wirecopyrect [587]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. @@ -4598,10 +4677,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: [557]-fixscreen + also: [588]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [558]-scr_skip option for ways to tweak this on a + See the [589]-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 @@ -4618,7 +4697,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 [559]-scale option there will be a quick CopyRect + * When using the [590]-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 @@ -4631,7 +4710,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 [560]-noscrollcopyrect (or -noscr for short). If you find + with the [591]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -4656,9 +4735,9 @@ EndSection that pixel data is needed again it does not have to be retransmitted over the network. - As of Dec/2006 in the [561]0.8.5 development tarball there is an + As of Dec/2006 in the [592]0.8.5 development tarball there is an experimental client-side caching implementation enabled by the - "[562]-ncache n" option. In fact, during the test period at least it + "[593]-ncache n" option. In fact, during the test period at least it is on by default with n set to 12. To disable it use "-noncache". It is a simple scheme where a (very large) lower portion of the @@ -4691,7 +4770,7 @@ EndSection perhaps something else, maybe double buffering or other offscreen rendering...). - The Enhanced TightVNC Viewer Unix viewer has a nice [563]-ycrop option + The Enhanced TightVNC Viewer Unix viewer has a nice [594]-ycrop option to help hide the pixel cache area from view. It will turn on automatically if the framebuffer appears to be very tall (height more than twice the width), or you can supply the actual value for the @@ -4721,7 +4800,7 @@ EndSection an additional factor of 2 in memory use. However, even in the smallest usage mode with n equal 2 and - [564]-ncache_no_rootpixmap set (this requires only 2X additional + [595]-ncache_no_rootpixmap set (this requires only 2X additional framebuffer memory) there is still a noticable improvement for many activities, although it is not as dramatic as with, say n equal 12 and rootpixmap (desktop background) caching enabled. @@ -4732,7 +4811,7 @@ EndSection be tuned to use less, or the VNC community will extend the protocol to allow caching and replaying of compressed blobs of data. - Another option to experiment with is "[565]-ncache_cr". By specifying + Another option to experiment with is "[596]-ncache_cr". By specifying it, x11vnc will try to do smooth opaque window moves instead of its wireframe. This can give a very nice effect (note: on Unix the realvnc viewer seems to be smoother than the tightvnc viewer), but can lead to @@ -4792,23 +4871,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 "[566]-cursor X" option that + A simple kludge is provided by the "[597]-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 "[567]-cursor some" option for + work for those cases. Also see the "[598]-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 - [568]-overlay option is supplied. See [569]this FAQ for more info. + [599]-overlay option is supplied. See [600]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 - [570]Solaris 10. + [601]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 @@ -4816,7 +4895,7 @@ EndSection situations where the cursor transparency can also handled exactly: when the VNC Viewer requires the cursor shape be drawn into the VNC framebuffer or if you apply a patch to your VNC Viewer to extract - hidden alpha channel data under 32bpp. [571]Details can be found here. + hidden alpha channel data under 32bpp. [602]Details can be found here. Q-71: When using XFIXES cursorshape mode, some of the cursors look @@ -4849,17 +4928,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 "[572]-alphacut n" option lets + course!) some tunable parameters. The "[603]-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 "[573]-alphafrac f" option tries to correct individual + 240. The "[604]-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 [574]-alpharemove that is useful for + Finally, there is an option [605]-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 @@ -4885,10 +4964,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 [575]-nocursorshape x11vnc option. In this case the cursor is + with the [606]-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 [576]-noalphablend option to disable this + the x11vnc side. Use the [607]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -4912,7 +4991,7 @@ EndSection example on how to change the Windows TightVNC viewer to achieve the same thing (send me the patch if you get that working). - This patch is applied to the [577]Enhanced TightVNC Viewer (ssvnc) + This patch is applied to the [608]Enhanced TightVNC Viewer (ssvnc) package we provide. [Mouse Pointer] @@ -4920,9 +4999,9 @@ EndSection Q-73: 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 [578]tightvnc extension + This default takes advantage of a [609]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [579]-nocursor + the local VNC viewer. You may disable it with the [610]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -4936,17 +5015,17 @@ EndSection clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - Use the [580]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [611]-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 [581]-nocursorpos and [582]-nocursorshape. + is the default. See also [612]-nocursorpos and [613]-nocursorshape. Q-75: 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: [583]-buttonmap + You can remap the mouse buttons via something like: [614]-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. @@ -4954,7 +5033,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 [584]-debug_pointer option prints out much info for + Note that the [615]-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 @@ -4976,7 +5055,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 [585]-buttonmap but rather configuring the X server + consider not using [616]-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"'). @@ -5006,7 +5085,7 @@ EndSection Q-76: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [586]-modtweak should help here. It is a mode that monitors + The option [617]-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. @@ -5015,16 +5094,16 @@ EndSection to get the old behavior). This was done because it was noticed on newer XFree86 setups even on bland "us" keyboards like "pc104 us" XFree86 included a "ghost" key with both "<" and ">" it. This key does - not exist on the keyboard (see [587]this FAQ for more info). Without + not exist on the keyboard (see [618]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 [588]FAQ about the -xkb option for a more powerful method + Also see the [619]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 - [589]-debug_keyboard option prints out much info for every keystroke + [620]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. @@ -5036,9 +5115,9 @@ EndSection (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [590]-xkb or [591]-sloppy_keys options and see if + Short Cut: Try the [621]-xkb or [622]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [592]-modtweak is now the default) but it is useful reference for + [623]-modtweak is now the default) but it is useful reference for various tricks and so is kept. @@ -5081,17 +5160,17 @@ EndSection -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([593]-modtweak) is a mode that monitors the + settings. The former ([624]-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 ([594]-remap less-comma) is an immediate remapping of the + The latter ([625]-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 [595]FAQ about the -xkb option as a possible workaround + See also the [626]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [596]-debug_keyboard option prints out much info for + Note that the [627]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. @@ -5099,13 +5178,13 @@ EndSection (i.e. an extra comma). This is likely because you press "Shift" then "<" but then released - the Shift key before releasing the "<". Because of a [597]keymapping + the Shift key before releasing the "<". Because of a [628]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [598]-xkb mode, because it works hard to + This should not happen in [629]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [599]-sloppy_keys to attempt a similar type of algorithm. + option [630]-sloppy_keys to attempt a similar type of algorithm. Q-79: I'm using an "international" keyboard (e.g. German "de", or @@ -5129,7 +5208,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 [600]-modtweak + This all worked fine with x11vnc running with the [631]-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 @@ -5146,7 +5225,7 @@ EndSection * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [601]-xkb option seems to fix all of the missing keys: "@", "<", + The [632]-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 @@ -5154,7 +5233,7 @@ EndSection debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [602]-xkb if it appears that would be beneficial (e.g. if it sees any + [633]-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. @@ -5169,7 +5248,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: - [603]-skip_keycodes 93 + [634]-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 @@ -5187,16 +5266,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 [604]-remap x11vnc option: + created using the [635]-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 - [605]-add_keysyms option in the next paragraph. - Update: for convenience "[606]-remap DEAD" does many of these + [636]-add_keysyms option in the next paragraph. + Update: for convenience "[637]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [607]-remap, an - option [608]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [638]-remap, an + option [639]-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 @@ -5215,7 +5294,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) [609]-norepeat x11vnc option. You will still + use the new (Jul/2004) [640]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. @@ -5239,7 +5318,7 @@ EndSection off", does the problem go away? The workaround is to manually apply "xset r off" and "xset r on" as - needed, or to use the [610]-norepeat (which has since Dec/2004 been + needed, or to use the [641]-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 @@ -5250,7 +5329,7 @@ EndSection keystrokes!! Are you using x11vnc to log in to an X session via display manager? - (as described in [611]this FAQ) If so, x11vnc is starting before your + (as described in [642]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 @@ -5274,7 +5353,7 @@ EndSection 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 "[612]-remap Super_R-Mode_switch" x11vnc option may + Something like "[643]-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)). @@ -5297,7 +5376,7 @@ EndSection Since xmodmap(1) modifies the X server mappings you may not want to do this (because it affects local work on that machine). Something like - the [613]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [644]-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. @@ -5317,7 +5396,7 @@ EndSection and similar triple mappings (with two in the AltGr/Mode_switch group) of a keysum to a single keycode. - Use the [614]-nomodtweak option as a workaround. You can also use + Use the [645]-nomodtweak option as a workaround. You can also use xmodmap to correct these mappings in the server, e.g.: xmodmap -e "keycode 47 = 3 numbersign" @@ -5331,7 +5410,7 @@ EndSection This can be done directly in some X servers using AccessX and Pointer_EnableKeys, but is a bit awkward. It may be more convenient to - have x11vnc do the remapping. This can be done via the [615]-remap + have x11vnc do the remapping. This can be done via the [646]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -5340,7 +5419,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: - [616]-remap Super_R-Button2 + [647]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -5359,10 +5438,10 @@ 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 - [617]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[618]-remap Caps_Lock-None". + [648]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[649]-remap Caps_Lock-None". - Also try the [619]-nomodtweak and [620]-capslock options. + Also try the [650]-nomodtweak and [651]-capslock options. [Screen Related Issues and Features] @@ -5385,7 +5464,7 @@ EndSection There may also be scaling viewers out there (e.g. TightVNC or UltraVNC on Windows) that automatically shrink or expand the remote framebuffer to fit the local display. Especially for hand-held devices. See also - [621]this FAQ on x11vnc scaling. + [652]this FAQ on x11vnc scaling. Q-88: Does x11vnc support server-side framebuffer scaling? (E.g. to @@ -5393,7 +5472,7 @@ EndSection As of Jun/2004 x11vnc provides basic server-side scaling. It is a global scaling of the desktop, not a per-client setting. To enable it - use the "[622]-scale fraction" option. "fraction" can either be a + use the "[653]-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. @@ -5414,7 +5493,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 - [623]applications. Since with integer scale factors the framebuffers + [654]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -5440,7 +5519,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 ([624]-rfbport option, + different scalings listening on separate ports ([655]-rfbport option, etc.). Update: As of May/2006 x11vnc also supports the UltraVNC server-side @@ -5450,8 +5529,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 [625]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [626]"-connect + use the [656]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [657]"-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 @@ -5460,7 +5539,7 @@ 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 - [627]"-scale_cursor frac" option to set the cursor scaling to a + [658]"-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). @@ -5482,17 +5561,17 @@ 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 [628]-blackout x11vnc option + may be distracting to the viewer. The [659]-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 - [629]-xinerama x11vnc option can be used to have it automatically + [660]-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: - [630]-xinerama is now on by default. + [661]-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 [631]-xwarppointer + of the large display. If this happens try using the [662]-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 @@ -5517,23 +5596,23 @@ EndSection Note: if you are running on Solaris 8 or earlier you can easily hit up against the maximum of 6 shm segments per process (for Xsun in this case) from running multiple x11vnc processes. You should modify - /etc/system as mentioned in another [632]FAQ to increase the limit. It - is probably also a good idea to run with the [633]-onetile option in + /etc/system as mentioned in another [663]FAQ to increase the limit. It + is probably also a good idea to run with the [664]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [634]-noshm to use no shm segments. + [665]-noshm to use no shm segments. Q-91: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - As of Mar/2005 x11vnc has the "[635]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[666]-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 [636]Xinerama screen into two + One user used -clip to split up a large [667]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [637]-id or [638]-sid options are used. The offset is measured + the [668]-id or [669]-sid options are used. The offset is measured from the upper left corner of the selected window. @@ -5542,7 +5621,7 @@ EndSection crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [639]-xrandr option to make x11vnc monitor XRANDR events and also trap + [670]-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. @@ -5552,9 +5631,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 [640]-padgeom option to make the region big + viewers you can try the [671]-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: [641]enhanced_tightvnc_viewer + for the TightVNC Viewer on Unix: [672]enhanced_tightvnc_viewer If you specify "-xrandr newfbsize" then vnc viewers that do not support NewFBSize will be disconnected before the resize. If you @@ -5566,7 +5645,7 @@ EndSection reflect the screen that the VNC viewers see? (e.g. for a handheld whose screen is rotated 90 degrees). - As of Jul/2006 there is the [642]-rotate option allow this. E.g's: + As of Jul/2006 there is the [673]-rotate option allow this. E.g's: "-rotate +90", "-rotate -90", "-rotate x", etc. @@ -5631,13 +5710,13 @@ EndSection This may be a bug in kdesktop_lock. For now the only workaround is to disable the screensaver. You can try using another one such as - straight xscreensaver (see the instructions [643]here for how to + straight xscreensaver (see the instructions [674]here for how to disable kdesktop_lock). If you have more info on this or see it outside of KDE please let us know. Update: It appears this is due to kdesktop_lock enabling the screen saver when the Monitor is in DPMS low-power state (e.g. standby, - suspend, or off). In Nov/2006 the x11vnc [644]-nodpms option was added + suspend, or off). In Nov/2006 the x11vnc [675]-nodpms option was added as a workaround. Normally it is a good thing that the monitor powers down (since x11vnc can still poll the framebuffer in this state), but if you experience the kdesktop_lock problem you can specify the @@ -5647,7 +5726,22 @@ EndSection disable the screensaver). Feel free to file a bug against kdesktop_lock with KDE. - Q-98: Can I use x11vnc to view my VMWare session remotely? + Q-98: I am running the beryl 3D window manager (or MythTv, Google + Earth, or some other OpenGL app) and I do not get screen updates in + x11vnc. + + This appears to be because the 3D OpenGL/GLX hardware screen updates + do not get reported via the XDAMAGE mechanism. So this is a bug in + [676]beryl or XDAMAGE/Xorg or the (possibly 3rd party) video card + driver. + + As a workaround apply the [677]-noxdamage option. As of Feb/2007 + x11vnc will try to autodetect the problem and disable XDAMAGE if is + appears to be missing a lot of updates. But if you know you are using + beryl you might as well always supply -noxdamage. Thanks to [678]this + user who reported the problem and discovered the workaround. + + Q-99: 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. @@ -5658,9 +5752,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 [645]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [679]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [646]see this discussion + server. So x11vnc cannot access it (however, [680]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. @@ -5681,13 +5775,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 [647]is in the active VC. + as long as the VMWare X session [681]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 [648]-id windowid option. The + the VMWare menu buttons) by use of the [682]-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 @@ -5699,14 +5793,14 @@ EndSection [Exporting non-X11 devices via VNC] - Q-99: Can non-X devices (e.g. a raw framebuffer) be viewed (and even + Q-100: 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: - "[649]-rawfb string" (to indicate the raw framembuffer device, file, - etc. and its parameters) and "[650]-pipeinput command" (to provide an + "[683]-rawfb string" (to indicate the raw framembuffer device, file, + etc. and its parameters) and "[684]-pipeinput command" (to provide an external program that will inject or otherwise process mouse and - keystroke input). Some useful [651]-pipeinput schemes, VID, CONSOLE, + keystroke input). Some useful [685]-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 @@ -5744,9 +5838,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 [652]-snapfb option with + this). The "snap:" setting applies the [686]-snapfb option with "file:" type reading (this is useful for exporting webcams or TV tuner - video; see [653]the next FAQ for more info). + video; see [687]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 @@ -5790,7 +5884,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 [654]X + for the case of Xvfb x11vnc can poll it much better via the [688]X API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it @@ -5819,13 +5913,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 [655]Qt-embedded apps (PDAs/Handhelds). By default the + fullscreen, or [689]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 [656]this FAQ for details. If specified via "-rawfb Video" + kernel. See [690]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). @@ -5833,10 +5927,10 @@ EndSection also useful in testing. - All of the above [657]-rawfb options are just for viewing the raw + All of the above [691]-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 [658]video camera mapped its framebuffer + this feature (e.g. suppose a [692]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 @@ -5874,7 +5968,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 [659]active VC) one + view and interact with VC #2 (assuming it is the [693]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' @@ -5929,7 +6023,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 - [660]Qt-embedded Also, for example the [661]VMWare Fullscreen mode is + [694]Qt-embedded Also, for example the [695]VMWare Fullscreen mode is actually viewable under -rawfb and can be interacted with if uinput is enabled. @@ -5946,12 +6040,12 @@ EndSection program that passes the framebuffer to libvncserver. - Q-100: Can I export via VNC a Webcam or TV tuner framebuffer using + Q-101: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [662]-rawfb option. + Yes, this is possible to some degree with the [696]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [663]previous FAQ on -rawfb + used for the screen image data. See the [697]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -5963,7 +6057,7 @@ EndSection snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [664]-snapfb mode which appears to be necessary. + The "snap:" enforces [698]-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. @@ -5985,7 +6079,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 [665]-24to32 option will be automatically imposed when in + etc, the [699]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -5993,7 +6087,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 [666]-wait, [667]-slow_fb, or [668]-defer + the framerate via the [700]-wait, [701]-slow_fb, or [702]-defer options. Decreasing the window size and bpp also helps. @@ -6082,16 +6176,16 @@ EndSection format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [669]-freqtab option to supply your own xawtv channel to + See also the [703]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). - Q-101: Can I connect via VNC to a Qt-embedded/Qtopia application + Q-102: 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 [670]-rawfb scheme where the + Yes, the basic method for this is the [704]-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: @@ -6104,7 +6198,7 @@ EndSection x11vnc -rawfb /dev/fb0@640x480x16 Also, to force usage of the uinput injection method use "-pipeinput - UINPUT". See the [671]-pipeinput description for tunable parameters, + UINPUT". See the [705]-pipeinput description for tunable parameters, etc. One problem with the x11vnc uinput scheme is that it cannot guess the @@ -6120,7 +6214,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 [672]-pipeinput UINPUT option for tuning + times a second. See the [706]-pipeinput UINPUT option for tuning parameters that can be set (there are some experimental thresh=N tuning parameters as well) @@ -6151,10 +6245,10 @@ EndSection x11vnc on your device and letting us know what does and does not work. - Q-102: Now that non-X11 devices can be exported via VNC using x11vnc, + Q-103: 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 [673]-rawfb only + Yes, as of Jul/2006 x11vnc enables building for [707]-rawfb only support. Just do something like when building: ./configure --without-x (plus any other flags) make @@ -6165,16 +6259,16 @@ EndSection know what you did. - Q-103: Does x11vnc support Mac OS X Aqua/Quartz displays natively + Q-104: Does x11vnc support Mac OS X Aqua/Quartz displays natively (i.e. no X11 involved)? Yes, since Nov/2006 in the development tree (x11vnc-0.8.4 tarball) there is support for native Mac OS X Aqua/Quartz displays using the - [674]-rawfb mechanism described above. The mouse and keyboard input is + [708]-rawfb mechanism described above. The mouse and keyboard input is acheived via Mac OS X API's. - So you can use x11vnc as an alternative to [675]OSXvnc (aka Vine - Server), or [676]Apple Remote Desktop (ARD). Perhaps there is some + So you can use x11vnc as an alternative to [709]OSXvnc (aka Vine + Server), or [710]Apple Remote Desktop (ARD). Perhaps there is some x11vnc feature you'd like to use on Mac OS X, etc. For a number of activities (e.g. window drags) it seems to be faster than OSXvnc. @@ -6184,7 +6278,7 @@ EndSection (XDarwin) running on Mac OS X (people often install this software to display remote X11 apps on their Mac OS X system, or use some old favorites locally such as xterm). However in this case x11vnc will - only work reasonably in single window [677]-id windowid mode (and the + only work reasonably in single window [711]-id windowid mode (and the window may need to have mouse focus). If you do not have the DISPLAY env. variable set, x11vnc will assume @@ -6198,9 +6292,9 @@ EndSection ./configure --without-x make - Win2VNC/x2vnc: One handy use is to use the [678]-nofb mode to + Win2VNC/x2vnc: One handy use is to use the [712]-nofb mode to redirect mouse and keyboard input to a nearby Mac (i.e. one to the - side of your desk) via [679]x2vnc or Win2VNC. See [680]this FAQ for + side of your desk) via [713]x2vnc or Win2VNC. See [714]this FAQ for more info. Options: Here are the Mac OS X specific x11vnc options: @@ -6270,17 +6364,17 @@ rm -f $tmp command for you). Then once you are connected via VNC, iconify the Terminal windows (you can't delete them since that will kill x11vnc). - Q-104: Can x11vnc be used as a VNC reflector/repeater to improve + Q-105: Can x11vnc be used as a VNC reflector/repeater to improve performance for the case of a large number of simultaneous VNC viewers (e.g. classroom broadcasting or a large demo)? - Yes, as of Feb/2007 there is the "[681]-reflect host:N" option to + Yes, as of Feb/2007 there is the "[715]-reflect host:N" option to connect to the VNC server "host:N" (either another x11vnc or any other VNC server) and re-export it. VNC viewers then connect to the x11vnc(s) running -reflect. The -reflect option is the same as: "-rawfb vnc:host:N". See the - [682]-rawfb description under "VNC HOST" for more details. + [716]-rawfb description under "VNC HOST" for more details. You can replace "host:N" with "listen" or "listen:port" for reverse connections. @@ -6341,20 +6435,20 @@ rm -f $tmp re-exports via VNC to its clients C). However, CopyRect and CursorShape encodings are preserved in the reflection and that helps. Dragging windows with the mouse can be a problem (especially if S is - not doing wireframing somehow, consider [683]-nodragging if the + not doing wireframing somehow, consider [717]-nodragging if the problem is severe) For a really fast reflector/repeater it would have to be implemented from scratch with performance in mind. See these other projects: - [684]http://sourceforge.net/projects/vnc-reflector/, - [685]http://www.tightvnc.com/projector/ (closed source?), - [686]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g + [718]http://sourceforge.net/projects/vnc-reflector/, + [719]http://www.tightvnc.com/projector/ (closed source?), + [720]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g ateway and not a broadcaster?) Automation via Reverse Connections: Instead of having the R's connect directly to S and then the C's connect directly to the R they should use, some convenience can be achieved by using reverse - connections (the x11vnc "[687]"-connect host1,host2,..." option). + connections (the x11vnc "[721]"-connect host1,host2,..." option). Suppose all the clients "C" are started up in Listen mode: client1> vncviewer -listen client2> vncviewer -listen @@ -6383,36 +6477,36 @@ ateway and not a broadcaster?) [Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps, Thanks, etc.] - Q-105: Does the Clipboard/Selection get transferred between the + Q-106: 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 [688]-nosel option. If you don't + Clipboard/Selection exchanged use the [722]-nosel option. If you don't want the PRIMARY selection to be polled for changes use the - [689]-noprimary option. (with a similar thing for CLIPBOARD). You can - also fine-tune it a bit with the [690]-seldir dir option and also - [691]-input. + [723]-noprimary option. (with a similar thing for CLIPBOARD). You can + also fine-tune it a bit with the [724]-seldir dir option and also + [725]-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-106: Can I use x11vnc to record a Shock Wave Flash (or other format) + Q-107: 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 - [692]pyvnc2swf. There are a number of [693]tutorials on how to do + [726]pyvnc2swf. There are a number of [727]tutorials on how to do this. Another option is to use the vnc2mpg that comes in the LibVNCServer package. An important thing to remember when doing this is that tuning parameters should be applied to x11vnc to speed up its polling for this sort of application, e.g. "-wait 10 -defer 10". - Q-107: Can I transfer files back and forth with x11vnc? + Q-108: 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 @@ -6420,7 +6514,7 @@ ateway and not a broadcaster?) (and Windows viewers only support filetransfer it appears). TightVNC file transfer is on by default, if you want to disable it use - the [694]-nofilexfer option. UltraVNC file transfer is currently off + the [728]-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 @@ -6430,13 +6524,13 @@ ateway and not a broadcaster?) VNC Viewers. - Q-108: Can I (temporarily) mount my local (viewer-side) Windows/Samba + Q-109: 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 [695]Samba example here. + We show a simple [729]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: @@ -6473,17 +6567,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 [696]Enhanced TightVNC Viewer (ssvnc) package we provide (as + into the [730]Enhanced TightVNC Viewer (ssvnc) package we provide (as of Sep 2006 it is there for testing). - Q-109: Can I redirect CUPS print jobs from the remote desktop where + Q-110: 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 [697]CUPS example here. Non-CUPS port + We show a simple Unix to Unix [731]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). @@ -6555,11 +6649,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 [698]Enhanced TightVNC Viewer (ssvnc) package we provide (as + into the [732]Enhanced TightVNC Viewer (ssvnc) package we provide (as of Sep 2006 it is there for testing). - Q-110: How can I hear the sound (audio) from the remote applications + Q-111: 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. @@ -6656,11 +6750,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 [699]Enhanced TightVNC Viewer (ssvnc) package + redir setup into the [733]Enhanced TightVNC Viewer (ssvnc) package we provide (as of Sep/2006 it is there for testing). - Q-111: Why don't I hear the "Beeps" in my X session (e.g. when typing + Q-112: 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 @@ -6668,16 +6762,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 [700]-nobell option. If + If you don't want to hear the beeps use the [734]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [701]redirector such as esd. + trying a [735]redirector such as esd. Contributions: - Q-112: Thanks for your program and for your help! Can I make a + Q-113: 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! @@ -6701,693 +6795,727 @@ References 12. http://www.karlrunge.com/x11vnc/index.html#faq-video 13. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded 14. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 15. http://www.karlrunge.com/x11vnc/index.html#faq - 16. http://www.karlrunge.com/x11vnc/disclaimer.html - 17. http://www.karlrunge.com/x11vnc/index.html#contact - 18. http://www.karlrunge.com/x11vnc/index.html#beta-test - 19. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 20. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 21. http://www.realvnc.com/ - 22. http://www.tightvnc.com/ - 23. http://www.ultravnc.com/ - 24. http://www.redstonesoftware.com/vnc.html - 25. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 26. http://www.karlrunge.com/x11vnc/index.html#downloading - 27. http://www.tightvnc.com/download.html - 28. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 29. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 30. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 31. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 32. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 33. http://www.sun.com/software/solaris/freeware/ - 34. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 35. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 36. http://www.karlrunge.com/x11vnc/index.html#faq-service - 37. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 38. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 39. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 15. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 16. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 17. http://www.karlrunge.com/x11vnc/index.html#faq + 18. http://www.karlrunge.com/x11vnc/disclaimer.html + 19. http://www.karlrunge.com/x11vnc/index.html#contact + 20. http://www.karlrunge.com/x11vnc/index.html#beta-test + 21. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 22. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 23. http://www.realvnc.com/ + 24. http://www.tightvnc.com/ + 25. http://www.ultravnc.com/ + 26. http://www.redstonesoftware.com/vnc.html + 27. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 28. http://www.karlrunge.com/x11vnc/index.html#downloading + 29. http://www.tightvnc.com/download.html + 30. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 31. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 32. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 33. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 34. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 35. http://www.sun.com/software/solaris/freeware/ + 36. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 37. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 38. http://www.karlrunge.com/x11vnc/index.html#faq-service + 39. http://www.karlrunge.com/x11vnc/index.html#faq-passwd 40. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 41. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 42. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via - 43. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 44. http://www.karlrunge.com/x11vnc/chainingssh.html - 45. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 46. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 47. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 48. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 49. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 50. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 51. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 52. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 53. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 54. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 55. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 56. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 57. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 58. http://www.stunnel.org/ - 59. http://stunnel.mirt.net/ - 60. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 61. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 62. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 63. http://sourceforge.net/projects/libvncserver/ - 64. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=483129 - 65. http://sourceforge.net/project/shownotes.php?release_id=483129&group_id=32584 - 66. http://www.karlrunge.com/x11vnc/x11vnc-0.8.5.tar.gz - 67. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 68. http://www.tightvnc.com/download.html - 69. http://www.realvnc.com/download-free.html - 70. http://sourceforge.net/projects/cotvnc/ - 71. http://www.ultravnc.com/ - 72. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 73. http://www.karlrunge.com/x11vnc/rx11vnc - 74. http://www.karlrunge.com/x11vnc/rx11vnc.pl - 75. http://www.sunfreeware.com/ - 76. http://www.karlrunge.com/x11vnc/bins - 77. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 78. http://www.karlrunge.com/x11vnc/miscbuild.html - 79. ftp://ftp.uu.net/graphics/jpeg/ - 80. http://www.gzip.org/zlib/ - 81. http://www.sunfreeware.com/ - 82. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 83. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 84. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 85. http://www.karlrunge.com/x11vnc/x11vnc-0.8.5.tar.gz - 86. http://www.karlrunge.com/x11vnc/bins - 87. mailto:xvml-beta@karlrunge.com - 88. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 89. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 90. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 91. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 92. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 93. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#ycrop - 94. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 95. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 96. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal - 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 103. http://www.openssl.org/ - 104. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 105. http://www.stunnel.org/ - 106. http://stunnel.mirt.net/ - 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert - 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA - 110. http://www.karlrunge.com/x11vnc/ssl.html - 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 112. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 113. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 119. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 121. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 124. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer - 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit - 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 129. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, - 130. http://www.karlrunge.com/x11vnc/prevrels.html - 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 132. http://www.tightvnc.com/ - 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 135. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 136. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 137. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 138. http://wwws.sun.com/sunray/index.html - 139. http://www.karlrunge.com/x11vnc/sunray.html - 140. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 142. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 143. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 144. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 145. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 146. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 147. mailto:xvml@karlrunge.com - 148. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 149. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 150. http://www.karlrunge.com/x11vnc/index.html#faq-build - 151. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 152. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 153. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 154. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 155. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 156. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 157. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 158. http://www.karlrunge.com/x11vnc/index.html#faq-change-port - 159. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 160. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 161. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 162. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 163. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 164. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb - 165. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 166. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 167. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 168. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 169. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 170. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 171. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 172. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 173. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 174. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 175. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 176. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 177. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 178. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 179. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 180. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords - 181. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 182. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 183. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 184. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 185. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 186. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 187. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 188. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 189. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 190. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 191. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 192. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 193. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 194. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 195. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 196. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 197. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 198. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 199. http://www.karlrunge.com/x11vnc/index.html#faq-service - 200. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 201. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 202. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 203. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 204. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 205. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 206. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 207. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 208. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 209. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 210. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 211. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 212. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 213. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl - 214. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 215. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 216. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 217. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching - 218. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 219. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 220. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 221. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 222. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 223. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 224. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 225. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 226. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 227. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 228. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 229. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 230. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 231. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 232. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key - 233. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 234. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 235. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 236. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 237. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 238. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 239. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 240. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 241. http://www.karlrunge.com/x11vnc/index.html#faq-rotate - 242. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 243. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 244. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 245. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver - 246. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 247. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 248. http://www.karlrunge.com/x11vnc/index.html#faq-video - 249. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 250. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 - 251. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 252. http://www.karlrunge.com/x11vnc/index.html#faq-reflect - 253. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 254. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf - 255. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 256. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares - 257. http://www.karlrunge.com/x11vnc/index.html#faq-cups - 258. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 259. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 260. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 261. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 262. http://www.tldp.org/HOWTO/Remote-X-Apps.html - 263. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 264. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 266. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 267. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 268. http://www.karlrunge.com/x11vnc/index.html#building - 269. http://www.karlrunge.com/x11vnc/index.html#faq-build - 270. http://packages.debian.org/x11vnc - 271. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 272. http://dag.wieers.com/packages/x11vnc/ - 273. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 274. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 275. http://www.sunfreeware.com/ - 276. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 277. http://www.freshports.org/net/x11vnc - 278. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 279. http://pkgsrc.se/x11/x11vnc - 280. http://mike.saunby.googlepages.com/ - 281. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc - 282. http://www.focv.com/ipkg/ - 283. http://www.karlrunge.com/x11vnc/bins - 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 285. http://www.tightvnc.com/download.html - 286. http://www.realvnc.com/download-free.html - 287. http://sourceforge.net/projects/cotvnc/ - 288. http://www.ultravnc.com/ - 289. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 292. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 297. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 299. http://fredrik.hubbe.net/x2vnc.html - 300. http://www.hubbe.net/~hubbe/win2vnc.html - 301. http://www.deboer.gmxhome.de/ - 302. http://sourceforge.net/projects/win2vnc/ - 303. http://fredrik.hubbe.net/x2vnc.html - 304. http://freshmeat.net/projects/x2x/ - 305. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 306. http://zapek.com/software/zvnc/ - 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 308. http://www.karlrunge.com/x11vnc/index.html#faq-macosx - 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 312. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 323. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 331. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 332. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 333. http://wwws.sun.com/sunray/index.html - 334. http://www.karlrunge.com/x11vnc/sunray.html - 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 346. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 351. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 360. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 361. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 363. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 41. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 42. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file + 43. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 44. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via + 45. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 46. http://www.karlrunge.com/x11vnc/chainingssh.html + 47. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 48. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 49. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 50. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 51. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 52. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 53. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 54. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 55. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 56. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 57. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 58. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 59. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 60. http://www.stunnel.org/ + 61. http://stunnel.mirt.net/ + 62. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 63. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 64. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 65. http://sourceforge.net/projects/libvncserver/ + 66. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=483129 + 67. http://sourceforge.net/project/shownotes.php?release_id=483129&group_id=32584 + 68. http://www.karlrunge.com/x11vnc/x11vnc-0.8.5.tar.gz + 69. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 70. http://www.tightvnc.com/download.html + 71. http://www.realvnc.com/download-free.html + 72. http://sourceforge.net/projects/cotvnc/ + 73. http://www.ultravnc.com/ + 74. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 75. http://www.karlrunge.com/x11vnc/rx11vnc + 76. http://www.karlrunge.com/x11vnc/rx11vnc.pl + 77. http://www.sunfreeware.com/ + 78. http://www.karlrunge.com/x11vnc/bins + 79. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 80. http://www.karlrunge.com/x11vnc/miscbuild.html + 81. ftp://ftp.uu.net/graphics/jpeg/ + 82. http://www.gzip.org/zlib/ + 83. http://www.sunfreeware.com/ + 84. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 85. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 86. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 87. http://www.karlrunge.com/x11vnc/x11vnc-0.8.5.tar.gz + 88. http://www.karlrunge.com/x11vnc/bins + 89. mailto:xvml-beta@karlrunge.com + 90. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 91. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 92. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 93. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 94. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 95. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#ycrop + 96. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 101. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 102. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 103. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 104. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 106. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal + 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 113. http://www.openssl.org/ + 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 115. http://www.stunnel.org/ + 116. http://stunnel.mirt.net/ + 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert + 119. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA + 120. http://www.karlrunge.com/x11vnc/ssl.html + 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 122. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 123. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 124. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 129. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 130. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 131. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 135. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 136. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 137. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 138. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer + 139. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit + 140. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v, + 142. http://www.karlrunge.com/x11vnc/prevrels.html + 143. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 144. http://www.tightvnc.com/ + 145. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 146. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 147. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 148. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 149. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg + 150. http://wwws.sun.com/sunray/index.html + 151. http://www.karlrunge.com/x11vnc/sunray.html + 152. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 153. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 154. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 155. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 156. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 157. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 158. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 159. mailto:xvml@karlrunge.com + 160. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 161. http://www.karlrunge.com/x11vnc/index.html#faq-xperms + 162. http://www.karlrunge.com/x11vnc/index.html#faq-build + 163. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest + 164. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build + 165. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 166. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 167. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts + 168. http://www.karlrunge.com/x11vnc/index.html#faq-config-file + 169. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 170. http://www.karlrunge.com/x11vnc/index.html#faq-change-port + 171. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg + 172. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe + 173. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations + 174. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 175. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp + 176. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb + 177. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 178. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 179. http://www.karlrunge.com/x11vnc/index.html#faq-windowid + 180. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id + 181. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp + 182. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 183. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 184. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays + 185. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg + 186. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control + 187. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 188. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho + 189. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 190. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd + 191. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 192. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords + 193. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared + 194. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt + 195. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 196. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface + 197. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost + 198. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt + 199. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 200. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt + 201. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy + 202. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock + 203. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix + 204. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty + 205. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 206. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 207. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 208. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy + 209. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 210. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca + 211. http://www.karlrunge.com/x11vnc/index.html#faq-service + 212. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 213. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 214. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 215. http://www.karlrunge.com/x11vnc/index.html#faq-loop + 216. http://www.karlrunge.com/x11vnc/index.html#faq-java-http + 217. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect + 218. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 219. http://www.karlrunge.com/x11vnc/index.html#faq-headless + 220. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 221. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource + 222. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource + 223. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link + 224. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage + 225. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl + 226. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 227. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 228. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 229. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching + 230. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape + 231. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha + 232. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 233. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow + 234. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions + 235. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt + 236. http://www.karlrunge.com/x11vnc/index.html#faq-altgr + 237. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 238. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy + 239. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 240. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys + 241. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still + 242. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt + 243. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta + 244. http://www.karlrunge.com/x11vnc/index.html#faq-hpux-multi-key + 245. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click + 246. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock + 247. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars + 248. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 249. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 250. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen + 251. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen + 252. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr + 253. http://www.karlrunge.com/x11vnc/index.html#faq-rotate + 254. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen + 255. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 256. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars + 257. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver + 258. http://www.karlrunge.com/x11vnc/index.html#faq-beryl + 259. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 260. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 261. http://www.karlrunge.com/x11vnc/index.html#faq-video + 262. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 263. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11 + 264. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 265. http://www.karlrunge.com/x11vnc/index.html#faq-reflect + 266. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard + 267. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf + 268. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer + 269. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares + 270. http://www.karlrunge.com/x11vnc/index.html#faq-cups + 271. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 272. http://www.karlrunge.com/x11vnc/index.html#faq-beeps + 273. http://www.karlrunge.com/x11vnc/index.html#faq-thanks + 274. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 275. http://www.tldp.org/HOWTO/Remote-X-Apps.html + 276. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 277. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 278. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 279. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 280. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html + 281. http://www.karlrunge.com/x11vnc/index.html#building + 282. http://www.karlrunge.com/x11vnc/index.html#faq-build + 283. http://packages.debian.org/x11vnc + 284. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 285. http://dag.wieers.com/packages/x11vnc/ + 286. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 287. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 288. http://www.sunfreeware.com/ + 289. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 290. http://www.freshports.org/net/x11vnc + 291. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 292. http://pkgsrc.se/x11/x11vnc + 293. http://mike.saunby.googlepages.com/ + 294. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc + 295. http://www.focv.com/ipkg/ + 296. http://www.karlrunge.com/x11vnc/bins + 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 298. http://www.tightvnc.com/download.html + 299. http://www.realvnc.com/download-free.html + 300. http://sourceforge.net/projects/cotvnc/ + 301. http://www.ultravnc.com/ + 302. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html + 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 305. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray + 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o + 310. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding + 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb + 312. http://fredrik.hubbe.net/x2vnc.html + 313. http://www.hubbe.net/~hubbe/win2vnc.html + 314. http://www.deboer.gmxhome.de/ + 315. http://sourceforge.net/projects/win2vnc/ + 316. http://fredrik.hubbe.net/x2vnc.html + 317. http://freshmeat.net/projects/x2x/ + 318. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 319. http://zapek.com/software/zvnc/ + 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual + 321. http://www.karlrunge.com/x11vnc/index.html#faq-macosx + 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor + 325. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp + 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap + 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 + 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 336. http://www.karlrunge.com/x11vnc/index.html#faq-overlays + 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid + 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display + 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 344. http://www.karlrunge.com/x11vnc/index.html#xauth_pain + 345. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 346. http://wwws.sun.com/sunray/index.html + 347. http://www.karlrunge.com/x11vnc/sunray.html + 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 351. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg + 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods + 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys + 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query + 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd + 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 359. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw + 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd + 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd + 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth 365. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd - 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 369. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 372. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 375. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 377. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 378. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 379. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 381. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 382. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 391. ftp://ftp.x.org/ - 392. http://www.karlrunge.com/x11vnc/dtVncPopup - 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 395. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 396. http://www.karlrunge.com/x11vnc/blockdpy.c - 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 401. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 402. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 403. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 404. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 408. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 409. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 411. http://www.stunnel.org/ - 412. http://stunnel.mirt.net/ - 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 416. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 417. http://www.stunnel.org/ - 418. http://www.karlrunge.com/x11vnc/ssl.html - 419. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 420. http://www.karlrunge.com/x11vnc/ssl.html - 421. http://www.securityfocus.com/infocus/1677 - 422. http://www.karlrunge.com/x11vnc/ssl.html - 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 424. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 431. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 432. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 433. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 436. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 438. http://www.openssl.org/ - 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 440. http://www.stunnel.org/ - 441. http://www.karlrunge.com/x11vnc/ssl.html - 442. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 443. http://www.karlrunge.com/x11vnc/ssl.html - 444. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 448. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 450. http://www.karlrunge.com/x11vnc/ssl-output.html + 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 369. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 372. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 373. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 374. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel + 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 376. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 379. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd + 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 385. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt + 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever + 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared + 388. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 390. http://www.karlrunge.com/x11vnc/index.html#faq-passwd + 391. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile + 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 394. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 395. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 396. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen + 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow + 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly + 404. ftp://ftp.x.org/ + 405. http://www.karlrunge.com/x11vnc/dtVncPopup + 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 409. http://www.karlrunge.com/x11vnc/blockdpy.c + 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept + 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forcedpms + 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clientdpms + 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabkbd + 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-grabptr + 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone + 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 419. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 420. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 421. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 422. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth + 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile + 426. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh + 427. http://www.karlrunge.com/x11vnc/index.html#tunnelling + 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 429. http://www.stunnel.org/ + 430. http://stunnel.mirt.net/ + 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 434. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 435. http://www.stunnel.org/ + 436. http://www.karlrunge.com/x11vnc/ssl.html + 437. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 438. http://www.karlrunge.com/x11vnc/ssl.html + 439. http://www.securityfocus.com/infocus/1677 + 440. http://www.karlrunge.com/x11vnc/ssl.html + 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 442. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 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-ssl + 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 449. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 450. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html 451. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 452. http://www.karlrunge.com/x11vnc/ss_vncviewer - 453. http://www.karlrunge.com/x11vnc/ssl-portal.html - 454. http://www.karlrunge.com/x11vnc/ssl.html - 455. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 456. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 457. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 458. http://www.karlrunge.com/x11vnc/ssl-portal.html + 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 454. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 456. http://www.openssl.org/ + 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 458. http://www.stunnel.org/ 459. http://www.karlrunge.com/x11vnc/ssl.html - 460. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 461. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 462. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 463. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 464. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset - 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 466. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N - 468. http://www.jirka.org/gdm-documentation/x241.html - 469. http://www.karlrunge.com/x11vnc/x11vnc_loop - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 471. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 475. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 476. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 479. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd - 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 482. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 484. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 485. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 486. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer - 487. http://www.karlrunge.com/x11vnc/faq-linuxvc + 460. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 461. http://www.karlrunge.com/x11vnc/ssl.html + 462. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 466. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal + 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https + 468. http://www.karlrunge.com/x11vnc/ssl-output.html + 469. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext + 470. http://www.karlrunge.com/x11vnc/ss_vncviewer + 471. http://www.karlrunge.com/x11vnc/ssl-portal.html + 472. http://www.karlrunge.com/x11vnc/ssl.html + 473. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 474. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 475. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers + 476. http://www.karlrunge.com/x11vnc/ssl-portal.html + 477. http://www.karlrunge.com/x11vnc/ssl.html + 478. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 479. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 480. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 481. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop + 482. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset + 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 484. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris + 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N + 486. http://www.jirka.org/gdm-documentation/x241.html + 487. http://www.karlrunge.com/x11vnc/x11vnc_loop 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 494. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 497. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 498. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 499. http://www.karlrunge.com/x11vnc/Xdummy - 500. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 501. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay - 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 503. http://www.karlrunge.com/x11vnc/shm_clear - 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 506. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb - 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 518. http://www.tightvnc.com/ - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive - 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 534. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 539. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 545. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 546. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 547. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 548. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 489. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth + 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd + 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q + 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth + 493. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin + 494. http://www.karlrunge.com/x11vnc/index.html#faq-inetd + 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 497. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd + 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 503. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords + 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users + 505. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost + 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw + 508. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 509. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer + 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 511. http://www.karlrunge.com/x11vnc/faq-linuxvc + 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop + 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir + 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http + 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote + 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect + 521. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 526. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 527. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 528. http://www.karlrunge.com/x11vnc/Xdummy + 529. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously + 530. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay + 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT + 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-svc + 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xdmsvc + 534. http://www.karlrunge.com/x11vnc/shm_clear + 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 537. http://www.karlrunge.com/x11vnc/index.html#faq-noshm + 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap + 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb + 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 549. http://www.tightvnc.com/ 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 552. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 556. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 561. http://www.karlrunge.com/x11vnc/index.html#beta-test - 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache - 563. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#ycrop - 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap - 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr - 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 569. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 570. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 571. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 577. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 578. http://www.tightvnc.com/ - 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 587. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 588. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 595. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 597. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 600. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes - 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 611. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 621. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 623. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html - 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 632. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 636. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 639. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 641. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 642. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate - 643. http://www.jwz.org/xscreensaver/man1.html - 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms - 645. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 646. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 647. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 652. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 653. http://www.karlrunge.com/x11vnc/index.html#faq-video - 654. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 655. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 656. http://www.karlrunge.com/x11vnc/index.html#faq-video - 657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 658. http://www.karlrunge.com/x11vnc/index.html#faq-video - 659. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 660. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded - 661. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 663. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 668. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 670. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput - 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 674. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 675. http://www.redstonesoftware.com/vnc.html - 676. http://www.apple.com/remotedesktop/ - 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 678. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 679. http://fredrik.hubbe.net/x2vnc.html - 680. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 681. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect - 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 684. http://sourceforge.net/projects/vnc-reflector/ - 685. http://www.tightvnc.com/projector/ - 686. http://www.ultravnc.com/addons/repeater.html - 687. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 688. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 689. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 690. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 691. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 692. http://www.unixuser.org/~euske/vnc2swf/ - 693. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ - 694. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 695. http://www.samba.org/ - 696. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 697. http://www.cups.org/ - 698. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 699. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html - 700. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 701. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid + 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds + 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs + 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive + 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout + 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 565. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area + 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem + 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 570. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode + 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads + 576. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 577. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect + 578. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode + 579. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 583. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow + 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe + 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 587. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe + 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen + 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip + 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 592. http://www.karlrunge.com/x11vnc/index.html#beta-test + 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache + 594. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html#ycrop + 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap + 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr + 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor + 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay + 600. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode + 601. http://www.karlrunge.com/x11vnc/index.html#solaris10-build + 602. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks + 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut + 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac + 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove + 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend + 608. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 609. http://www.tightvnc.com/ + 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor + 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos + 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos + 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape + 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer + 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap + 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 618. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 619. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 626. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak + 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 628. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless + 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak + 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb + 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes + 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 638. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 639. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms + 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 641. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat + 642. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager + 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 646. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 647. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap + 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak + 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock + 652. http://www.karlrunge.com/x11vnc/index.html#faq-scaling + 653. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale + 654. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html + 655. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport + 656. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui + 657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 658. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor + 659. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout + 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama + 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer + 663. http://www.karlrunge.com/x11vnc/index.html#faq-solshm + 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile + 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm + 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip + 667. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama + 668. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 670. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr + 671. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom + 672. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate + 674. http://www.jwz.org/xscreensaver/man1.html + 675. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms + 676. http://www.beryl-project.org/ + 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage + 678. http://www.dslinux.org/blogs/pepsiman/?p=73 + 679. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 680. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 681. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 684. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 685. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 687. http://www.karlrunge.com/x11vnc/index.html#faq-video + 688. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb + 689. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 690. http://www.karlrunge.com/x11vnc/index.html#faq-video + 691. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 692. http://www.karlrunge.com/x11vnc/index.html#faq-video + 693. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc + 694. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded + 695. http://www.karlrunge.com/x11vnc/index.html#faq-vmware + 696. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 697. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 698. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb + 699. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 + 700. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait + 701. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb + 702. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer + 703. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab + 704. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb + 705. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 706. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput + 707. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 708. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 709. http://www.redstonesoftware.com/vnc.html + 710. http://www.apple.com/remotedesktop/ + 711. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 712. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id + 713. http://fredrik.hubbe.net/x2vnc.html + 714. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc + 715. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect + 716. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb + 717. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging + 718. http://sourceforge.net/projects/vnc-reflector/ + 719. http://www.tightvnc.com/projector/ + 720. http://www.ultravnc.com/addons/repeater.html + 721. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect + 722. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel + 723. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary + 724. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir + 725. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input + 726. http://www.unixuser.org/~euske/vnc2swf/ + 727. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ + 728. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer + 729. http://www.samba.org/ + 730. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 731. http://www.cups.org/ + 732. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 733. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html + 734. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell + 735. http://www.karlrunge.com/x11vnc/index.html#faq-sound ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -9763,7 +9891,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.5 lastmod: 2007-02-10 +x11vnc: allow VNC connections to real X11 displays. 0.8.5 lastmod: 2007-02-11 x11vnc options: -display disp -auth file -N @@ -9778,67 +9906,69 @@ x11vnc options: -http_ssl -connect string -connect_or_exit str -vncconnect -novncconnect -allow host1[,host2..] -localhost -nolookup -input string - -grabkbd -grabptr -viewpasswd string - -passwdfile filename -unixpw [list] -unixpw_nis [list] - -unixpw_cmd cmd -display WAIT:... -ssl [pem] - -ssltimeout n -sslnofail -ssldir [dir] - -sslverify [path] -sslGenCA [dir] -sslGenCert type name - -sslEncKey [pem] -sslCertInfo [pem] -sslDelCert [pem] - -stunnel [pem] -stunnel3 [pem] -https [port] - -usepw -storepasswd pass file -nopw - -accept string -afteraccept string -gone string - -users list -noshm -flipbyteorder - -onetile -solid [color] -blackout string - -xinerama -noxinerama -xtrap - -xrandr [mode] -rotate string -padgeom WxH - -o logfile -flag file -rc filename - -norc -env VAR=VALUE -prog /path/to/x11vnc - -h, -help -?, -opts -V, -version - -license -dbg -q, -quiet - -v, -verbose -bg -modtweak - -nomodtweak -xkb -noxkb - -capslock -skip_lockkeys -skip_keycodes string - -sloppy_keys -skip_dups -noskip_dups - -add_keysyms -noadd_keysyms -clear_mods - -clear_keys -remap string -norepeat - -repeat -nofb -nobell - -nosel -noprimary -nosetprimary - -noclipboard -nosetclipboard -seldir string - -cursor [mode] -nocursor -cursor_drag - -arrow n -noxfixes -alphacut n - -alphafrac fraction -alpharemove -noalphablend - -nocursorshape -cursorpos -nocursorpos - -xwarppointer -noxwarppointer -buttonmap string - -nodragging -ncache n -ncache_cr - -ncache_no_moveraise -ncache_no_dtchange -ncache_no_rootpixmap - -ncache_keep_anims -ncache_old_wm -ncache_pad n - -wireframe [str] -nowireframe -nowireframelocal - -wirecopyrect mode -nowirecopyrect -debug_wireframe - -scrollcopyrect mode -noscrollcopyrect -scr_area n - -scr_skip list -scr_inc list -scr_keys list - -scr_term list -scr_keyrepeat lo-hi -scr_parms string - -fixscreen string -debug_scroll -noxrecord - -grab_buster -nograb_buster -debug_grabs - -debug_sel -pointer_mode n -input_skip n - -allinput -speeds rd,bw,lat -wmdt string - -debug_pointer -debug_keyboard -defer time - -wait time -wait_ui factor -nowait_bog - -slow_fb time -readtimeout n -nap - -nonap -sb time -nofbpm - -fbpm -nodpms -dpms - -noxdamage -xd_area A -xd_mem f - -sigpipe string -threads -nothreads - -fs f -gaps n -grow n - -fuzz n -debug_tiles -snapfb - -rawfb string -freqtab file -pipeinput cmd - -macnodim -macnosleep -macnosaver - -macnowait -macwheel n -macnoswap - -macnoresize -maciconanim n -macmenu - -gui [gui-opts] -remote command -query variable - -QD variable -sync -noremote - -yesremote -unsafe -safer - -privremote -nocmds -allowedcmds list - -deny_all + -grabkbd -grabptr -grabalways + -viewpasswd string -passwdfile filename -unixpw [list] + -unixpw_nis [list] -unixpw_cmd cmd -svc + -xdmsvc -display WAIT:... -nossl + -ssl [pem] -ssltimeout n -sslnofail + -ssldir [dir] -sslverify [path] -sslGenCA [dir] + -sslGenCert type name -sslEncKey [pem] -sslCertInfo [pem] + -sslDelCert [pem] -stunnel [pem] -stunnel3 [pem] + -https [port] -usepw -storepasswd pass file + -nopw -accept string -afteraccept string + -gone string -users list -noshm + -flipbyteorder -onetile -solid [color] + -blackout string -xinerama -noxinerama + -xtrap -xrandr [mode] -rotate string + -padgeom WxH -o logfile -flag file + -rc filename -norc -env VAR=VALUE + -prog /path/to/x11vnc -h, -help -?, -opts + -V, -version -license -dbg + -q, -quiet -v, -verbose -bg + -modtweak -nomodtweak -xkb + -noxkb -capslock -skip_lockkeys + -skip_keycodes string -sloppy_keys -skip_dups + -noskip_dups -add_keysyms -noadd_keysyms + -clear_mods -clear_keys -remap string + -norepeat -repeat -nofb + -nobell -nosel -noprimary + -nosetprimary -noclipboard -nosetclipboard + -seldir string -cursor [mode] -nocursor + -cursor_drag -arrow n -noxfixes + -alphacut n -alphafrac fraction -alpharemove + -noalphablend -nocursorshape -cursorpos + -nocursorpos -xwarppointer -noxwarppointer + -buttonmap string -nodragging -ncache n + -ncache_cr -ncache_no_moveraise -ncache_no_dtchange + -ncache_no_rootpixmap -ncache_keep_anims -ncache_old_wm + -ncache_pad n -wireframe [str] -nowireframe + -nowireframelocal -wirecopyrect mode -nowirecopyrect + -debug_wireframe -scrollcopyrect mode -noscrollcopyrect + -scr_area n -scr_skip list -scr_inc list + -scr_keys list -scr_term list -scr_keyrepeat lo-hi + -scr_parms string -fixscreen string -debug_scroll + -noxrecord -grab_buster -nograb_buster + -debug_grabs -debug_sel -pointer_mode n + -input_skip n -allinput -speeds rd,bw,lat + -wmdt string -debug_pointer -debug_keyboard + -defer time -wait time -wait_ui factor + -nowait_bog -slow_fb time -readtimeout n + -nap -nonap -sb time + -nofbpm -fbpm -nodpms + -dpms -forcedpms -clientdpms + -noserverdpms -noxdamage -xd_area A + -xd_mem f -sigpipe string -threads + -nothreads -fs f -gaps n + -grow n -fuzz n -debug_tiles + -snapfb -rawfb string -freqtab file + -pipeinput cmd -macnodim -macnosleep + -macnosaver -macnowait -macwheel n + -macnoswap -macnoresize -maciconanim n + -macmenu -gui [gui-opts] -remote command + -query variable -QD variable -sync + -noremote -yesremote -unsafe + -safer -privremote -nocmds + -allowedcmds list -deny_all libvncserver options: -rfbport port TCP port for RFB protocol @@ -9872,7 +10002,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.8.5 lastmod: 2007-02-10 +x11vnc: allow VNC connections to real X11 displays. 0.8.5 lastmod: 2007-02-11 (type "x11vnc -opts" to just list the options.) @@ -10160,14 +10290,32 @@ Options: disconnects, opposite of -forever. This is the Default. -forever Keep listening for more connections rather than exiting as soon as the first client(s) disconnect. Same as -many + -loop Create an outer loop restarting the x11vnc process - whenever it terminates. -bg and -inetd are ignored in - this mode. Useful for continuing even if the X server - terminates and restarts (you will need permission to - reconnect of course). Use, e.g., -loop100 to sleep - 100 millisecs between restarts, etc. Default is 2000ms - (i.e. 2 secs) Use, e.g. -loop300,5 to sleep 300 ms - and only loop 5 times. + whenever it terminates. -bg and -inetd are ignored + in this mode (however see -loopbg below). + + Useful for continuing even if the X server terminates + and restarts (at that moment the process will need + permission to reconnect to the new X server of course). + + Use, e.g., -loop100 to sleep 100 millisecs between + restarts, etc. Default is 2000ms (i.e. 2 secs) Use, + e.g. -loop300,5 to sleep 300 ms and only loop 5 times. + + If -loopbg (plus any numbers) is specified instead, + the "-bg" option is implied and the mode approximates + inetd(8) usage to some degree. In this case when + it goes into the background any listening sockets + (i.e. ports 5900, 5800) are closed, so the next one + in the loop can use them. This mode will only be of + use if a VNC client (the only client for that process) + is already connected before the process goes into the + background, for example, usage of -display WAIT:.., + -svc, and -connect can make use of this "poor man's" + inetd mode. The default wait time is 500ms in this + mode. This usage could use useful: -svc -loopbg + -timeout n Exit unless a client connects within the first n seconds after startup. -inetd Launched by inetd(8): stdio instead of listening socket. @@ -10297,6 +10445,11 @@ Options: act on the local user's input. Again, some degree of cooperation from the person at the display is assumed. +-grabalways Apply both -grabkbd and -grabptr even when no VNC + viewers are connected. If you only want one of them, + use the -R remote control to turn the other back on, + e.g. -R nograbptr. + -viewpasswd string Supply a 2nd password for view-only logins. The -passwd (full-access) password must also be supplied. @@ -10538,6 +10691,14 @@ Options: If a list of allowed users is needed use -unixpw [list] in addition to this option. +-svc Terminal services mode. Also "-service", implies + -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb -unixpw + -users unixpw= -ssl SAVE + +-xdmsvc Terminal services mode. Also "-xdm_service", implies + -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp -unixpw + -users unixpw= -ssl SAVE + -display_WAIT :... A special usage mode for the normal -display option. Useful with -unixpw, but can be used independently of it. If the display string begins with WAIT: then @@ -10641,7 +10802,7 @@ Options: Where /.../x11vnc is the full path to x11vnc. It is used in the Apache SSL-portal example (see FAQ). - An experimental option is WAIT:cmd=FINDCREATEDISPLAY + An interesting option is WAIT:cmd=FINDCREATEDISPLAY that is like FINDDISPLAY in that is uses the same method to find an existing display. However, if it does not find one it will try to *start* up an X server session @@ -10656,11 +10817,12 @@ Options: and only works on Linux. Xvfb is available on most platforms and does not require root. - When x11vnc exits (i.e. user disconnects) the X server - session stays running in the background. Presumably - the FINDDISPLAY will find it next time. The user must - exit the X session in the usual way for it to terminate - (or kill the X server process if all else fails). + When x11vnc exits (i.e. user disconnects) the X + server session stays running in the background. + The FINDDISPLAY will find it directly next time. + The user must exit the X session in the usual way for + it to terminate (or kill the X server process if all + else fails). So this is a somewhat odd mode for x11vnc in that it will start up and poll virtual X servers! This can @@ -10697,6 +10859,13 @@ Options: for kdm in kdmrc: Enable=true in section [Xdmcp] for xdm in xdm-config: DisplayManager.requestPort: 177 + See the shorthand options above "-svc" and "-xdmsvc" + that specify the above options for some useful cases. + +-nossl Disable the -ssl option (see below). Since -ssl is off + by default -nossl would only be used on the commandline + to unset any *earlier* -ssl option (or -svc...) + -ssl [pem] Use the openssl library (www.openssl.org) to provide a built-in encrypted SSL tunnel between VNC viewers and x11vnc. This requires libssl support to be compiled @@ -12487,6 +12656,32 @@ t for details. -nodpms is basically the same as running "xset dpms force on" periodically. Default: -dpms +-forcedpms If the system supports the DPMS (Display Power + Management Signaling) extension, then try to keep the + monitor in a powered off state. This is to prevent + nosey people at the physical display from viewing + what is on the screen. Be sure lock the screen before + disconnecting. + + This method is far from bullet proof, e.g. suppose + someone attaches a non-DPMS monitor, or loads the + machine so that there is a gap of time before x11vnc + restores the powered off state? On many machines if + he floods it with keyboard and mouse input he can see + flashes of what is on the screen before the DPMS off + state is reestablished. For this to work securely + there would need to be support in the X server to do + this exactly rather than approximately with DPMS. + +-clientdpms As -forcedpms but only when VNC clients are connected. + +-noserverdpms The UltraVNC ServerInput extension is supported. + This allows the VNC viewer to click a button that will + cause the server (x11vnc) to try to disable keyboard + and mouse input at the physical display and put the + monitor in dpms powered off state. Use this option to + skip powering off the monitor. + -noxdamage Do not use the X DAMAGE extension to detect framebuffer changes even if it is available. Use -xdamage if your default is to have it off. @@ -13172,6 +13367,8 @@ n nograbkbd disable -grabkbd mode. grabptr enable -grabptr mode. nograbptr disable -grabptr mode. + grabalways enable -grabalways mode. + nograbalways disable -grabalways mode. client_input:str set the K, M, B -input on a per-client basis. select which client as for disconnect, e.g. client_input:host:MB @@ -13335,6 +13532,12 @@ n nofbpm enable -nofbpm mode. dpms disable -nodpms mode. nodpms enable -nodpms mode. + forcedpms enable -forcedpms mode. + noforcedpms disable -forcedpms mode. + clientdpms enable -clientdpms mode. + noclientdpms disable -clientdpms mode. + noserverdpms enable -noserverdpms mode. + serverdpms disable -noserverdpms mode. xdamage enable xdamage polling hints. noxdamage disable xdamage polling hints. xd_area:A set -xd_area max pixel area to "A" @@ -13440,38 +13643,40 @@ n listen lookup nolookup accept afteraccept gone shm noshm flipbyteorder noflipbyteorder onetile noonetile solid_color solid nosolid blackout xinerama noxinerama - xtrap noxtrap xrandr noxrandr xrandr_mode rotate - padgeom quiet q noquiet modtweak nomodtweak xkb noxkb - capslock nocapslock skip_lockkeys noskip_lockkeys - skip_keycodes sloppy_keys nosloppy_keys skip_dups - noskip_dups add_keysyms noadd_keysyms clear_mods - noclear_mods clear_keys noclear_keys remap repeat - norepeat fb nofb bell nobell sel nosel primary - noprimary setprimary nosetprimary clipboard noclipboard - setclipboard nosetclipboard seldir cursorshape - nocursorshape cursorpos nocursorpos cursor_drag - nocursor_drag cursor show_cursor noshow_cursor - nocursor arrow xfixes noxfixes xdamage noxdamage - xd_area xd_mem alphacut alphafrac alpharemove - noalpharemove alphablend noalphablend xwarppointer - xwarp noxwarppointer noxwarp buttonmap dragging - nodragging ncache_cr noncache_cr ncache_no_moveraise - noncache_no_moveraise ncache_no_dtchange - noncache_no_dtchange ncache_no_rootpixmap - noncache_no_rootpixmap ncache_reset_rootpixmap - ncache_keep_anims noncache_keep_anims ncache noncache - ncache_size wireframe_mode wireframe wf nowireframe nowf - wireframelocal wfl nowireframelocal nowfl wirecopyrect - wcr nowirecopyrect nowcr scr_area scr_skip scr_inc - scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect - scr noscrollcopyrect noscr fixscreen noxrecord xrecord - reset_record pointer_mode pm input_skip allinput - noallinput input grabkbd nograbkbd grabptr nograbptr - client_input ssltimeout speeds wmdt debug_pointer dp - nodebug_pointer nodp debug_keyboard dk nodebug_keyboard - nodk deferupdate defer wait_ui wait_bog nowait_bog - slow_fb wait readtimeout nap nonap sb screen_blank - fbpm nofbpm dpms nodpms fs gaps grow fuzz snapfb + xtrap noxtrap xrandr noxrandr xrandr_mode rotate padgeom + quiet q noquiet modtweak nomodtweak xkb noxkb capslock + nocapslock skip_lockkeys noskip_lockkeys skip_keycodes + sloppy_keys nosloppy_keys skip_dups noskip_dups + add_keysyms noadd_keysyms clear_mods noclear_mods + clear_keys noclear_keys remap repeat norepeat fb nofb + bell nobell sel nosel primary noprimary setprimary + nosetprimary clipboard noclipboard setclipboard + nosetclipboard seldir cursorshape nocursorshape + cursorpos nocursorpos cursor_drag nocursor_drag cursor + show_cursor noshow_cursor nocursor arrow xfixes + noxfixes xdamage noxdamage xd_area xd_mem alphacut + alphafrac alpharemove noalpharemove alphablend + noalphablend xwarppointer xwarp noxwarppointer + noxwarp buttonmap dragging nodragging ncache_cr + noncache_cr ncache_no_moveraise noncache_no_moveraise + ncache_no_dtchange noncache_no_dtchange + ncache_no_rootpixmap noncache_no_rootpixmap + ncache_reset_rootpixmap ncache_keep_anims + noncache_keep_anims ncache_old_wm noncache_old_wm + ncache noncache ncache_size wireframe_mode wireframe wf + nowireframe nowf wireframelocal wfl nowireframelocal + nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area + scr_skip scr_inc scr_keys scr_term scr_keyrepeat + scr_parms scrollcopyrect scr noscrollcopyrect noscr + fixscreen noxrecord xrecord reset_record pointer_mode pm + input_skip allinput noallinput input grabkbd nograbkbd + grabptr nograbptr grabalways nograbalways client_input + ssltimeout speeds wmdt debug_pointer dp nodebug_pointer + nodp debug_keyboard dk nodebug_keyboard nodk deferupdate + defer wait_ui wait_bog nowait_bog slow_fb wait + readtimeout nap nonap sb screen_blank fbpm nofbpm dpms + nodpms clientdpms noclientdpms forcedpms noforcedpms + noserverdpms serverdpms fs gaps grow fuzz snapfb nosnapfb rawfb uinput_accel uinput_thresh uinput_reset uinput_always progressive rfbport http nohttp httpport httpdir enablehttpproxy noenablehttpproxy alwaysshared diff --git a/x11vnc/connections.c b/x11vnc/connections.c index 5e5ebd4..d9c47a8 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -2377,7 +2377,9 @@ void check_new_clients(void) { return; } - if (grab_kbd || grab_ptr) { + if (grab_always) { + ; + } else if (grab_kbd || grab_ptr) { static double last_force = 0.0; if (client_count != last_count || dnow() > last_force + 0.25) { int q = (client_count == last_count); diff --git a/x11vnc/help.c b/x11vnc/help.c index d7b2ebc..8d60c93 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -306,14 +306,32 @@ void print_help(int mode) { " disconnects, opposite of -forever. This is the Default.\n" "-forever Keep listening for more connections rather than exiting\n" " as soon as the first client(s) disconnect. Same as -many\n" +"\n" "-loop Create an outer loop restarting the x11vnc process\n" -" whenever it terminates. -bg and -inetd are ignored in\n" -" this mode. Useful for continuing even if the X server\n" -" terminates and restarts (you will need permission to\n" -" reconnect of course). Use, e.g., -loop100 to sleep\n" -" 100 millisecs between restarts, etc. Default is 2000ms\n" -" (i.e. 2 secs) Use, e.g. -loop300,5 to sleep 300 ms\n" -" and only loop 5 times.\n" +" whenever it terminates. -bg and -inetd are ignored\n" +" in this mode (however see -loopbg below).\n" +"\n" +" Useful for continuing even if the X server terminates\n" +" and restarts (at that moment the process will need\n" +" permission to reconnect to the new X server of course).\n" +"\n" +" Use, e.g., -loop100 to sleep 100 millisecs between\n" +" restarts, etc. Default is 2000ms (i.e. 2 secs) Use,\n" +" e.g. -loop300,5 to sleep 300 ms and only loop 5 times.\n" +"\n" +" If -loopbg (plus any numbers) is specified instead,\n" +" the \"-bg\" option is implied and the mode approximates\n" +" inetd(8) usage to some degree. In this case when\n" +" it goes into the background any listening sockets\n" +" (i.e. ports 5900, 5800) are closed, so the next one\n" +" in the loop can use them. This mode will only be of\n" +" use if a VNC client (the only client for that process)\n" +" is already connected before the process goes into the\n" +" background, for example, usage of -display WAIT:..,\n" +" -svc, and -connect can make use of this \"poor man's\"\n" +" inetd mode. The default wait time is 500ms in this\n" +" mode. This usage could use useful: -svc -loopbg\n" +"\n" "-timeout n Exit unless a client connects within the first n seconds\n" " after startup.\n" "-inetd Launched by inetd(8): stdio instead of listening socket.\n" @@ -445,6 +463,11 @@ void print_help(int mode) { " act on the local user's input. Again, some degree of\n" " cooperation from the person at the display is assumed.\n" "\n" +"-grabalways Apply both -grabkbd and -grabptr even when no VNC\n" +" viewers are connected. If you only want one of them,\n" +" use the -R remote control to turn the other back on,\n" +" e.g. -R nograbptr.\n" +"\n" "-viewpasswd string Supply a 2nd password for view-only logins. The -passwd\n" " (full-access) password must also be supplied.\n" "\n" @@ -688,6 +711,14 @@ void print_help(int mode) { " in addition to this option.\n" "\n" #endif +"-svc Terminal services mode. Also \"-service\", implies\n" +" -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb -unixpw\n" +" -users unixpw= -ssl SAVE\n" +"\n" +"-xdmsvc Terminal services mode. Also \"-xdm_service\", implies\n" +" -display WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp -unixpw\n" +" -users unixpw= -ssl SAVE\n" +"\n" "-display WAIT:... A special usage mode for the normal -display option.\n" " Useful with -unixpw, but can be used independently\n" " of it. If the display string begins with WAIT: then\n" @@ -792,7 +823,7 @@ void print_help(int mode) { " Where /.../x11vnc is the full path to x11vnc.\n" " It is used in the Apache SSL-portal example (see FAQ).\n" "\n" -" An experimental option is WAIT:cmd=FINDCREATEDISPLAY\n" +" An interesting option is WAIT:cmd=FINDCREATEDISPLAY\n" " that is like FINDDISPLAY in that is uses the same method\n" " to find an existing display. However, if it does not\n" " find one it will try to *start* up an X server session\n" @@ -807,11 +838,12 @@ void print_help(int mode) { " and only works on Linux. Xvfb is available on most\n" " platforms and does not require root.\n" "\n" -" When x11vnc exits (i.e. user disconnects) the X server\n" -" session stays running in the background. Presumably\n" -" the FINDDISPLAY will find it next time. The user must\n" -" exit the X session in the usual way for it to terminate\n" -" (or kill the X server process if all else fails).\n" +" When x11vnc exits (i.e. user disconnects) the X\n" +" server session stays running in the background.\n" +" The FINDDISPLAY will find it directly next time.\n" +" The user must exit the X session in the usual way for\n" +" it to terminate (or kill the X server process if all\n" +" else fails).\n" "\n" " So this is a somewhat odd mode for x11vnc in that it\n" " will start up and poll virtual X servers! This can\n" @@ -848,7 +880,14 @@ void print_help(int mode) { " for kdm in kdmrc: Enable=true in section [Xdmcp]\n" " for xdm in xdm-config: DisplayManager.requestPort: 177\n" "\n" +" See the shorthand options above \"-svc\" and \"-xdmsvc\"\n" +" that specify the above options for some useful cases.\n" +"\n" #ifndef NO_SSL_OR_UNIXPW +"-nossl Disable the -ssl option (see below). Since -ssl is off\n" +" by default -nossl would only be used on the commandline\n" +" to unset any *earlier* -ssl option (or -svc...)\n" +"\n" "-ssl [pem] Use the openssl library (www.openssl.org) to provide a\n" " built-in encrypted SSL tunnel between VNC viewers and\n" " x11vnc. This requires libssl support to be compiled\n" @@ -2649,6 +2688,32 @@ void print_help(int mode) { " for details. -nodpms is basically the same as running\n" " \"xset dpms force on\" periodically. Default: %s\n" "\n" +"-forcedpms If the system supports the DPMS (Display Power\n" +" Management Signaling) extension, then try to keep the\n" +" monitor in a powered off state. This is to prevent\n" +" nosey people at the physical display from viewing\n" +" what is on the screen. Be sure lock the screen before\n" +" disconnecting.\n" +"\n" +" This method is far from bullet proof, e.g. suppose\n" +" someone attaches a non-DPMS monitor, or loads the\n" +" machine so that there is a gap of time before x11vnc\n" +" restores the powered off state? On many machines if\n" +" he floods it with keyboard and mouse input he can see\n" +" flashes of what is on the screen before the DPMS off\n" +" state is reestablished. For this to work securely\n" +" there would need to be support in the X server to do\n" +" this exactly rather than approximately with DPMS.\n" +"\n" +"-clientdpms As -forcedpms but only when VNC clients are connected.\n" +"\n" +"-noserverdpms The UltraVNC ServerInput extension is supported.\n" +" This allows the VNC viewer to click a button that will\n" +" cause the server (x11vnc) to try to disable keyboard\n" +" and mouse input at the physical display and put the\n" +" monitor in dpms powered off state. Use this option to\n" +" skip powering off the monitor.\n" +"\n" "-noxdamage Do not use the X DAMAGE extension to detect framebuffer\n" " changes even if it is available. Use -xdamage if your\n" " default is to have it off.\n" @@ -3339,6 +3404,8 @@ void print_help(int mode) { " nograbkbd disable -grabkbd mode.\n" " grabptr enable -grabptr mode.\n" " nograbptr disable -grabptr mode.\n" +" grabalways enable -grabalways mode.\n" +" nograbalways disable -grabalways mode.\n" " client_input:str set the K, M, B -input on a per-client\n" " basis. select which client as for\n" " disconnect, e.g. client_input:host:MB\n" @@ -3503,6 +3570,12 @@ void print_help(int mode) { " nofbpm enable -nofbpm mode.\n" " dpms disable -nodpms mode.\n" " nodpms enable -nodpms mode.\n" +" forcedpms enable -forcedpms mode.\n" +" noforcedpms disable -forcedpms mode.\n" +" clientdpms enable -clientdpms mode.\n" +" noclientdpms disable -clientdpms mode.\n" +" noserverdpms enable -noserverdpms mode.\n" +" serverdpms disable -noserverdpms mode.\n" " xdamage enable xdamage polling hints.\n" " noxdamage disable xdamage polling hints.\n" " xd_area:A set -xd_area max pixel area to \"A\"\n" @@ -3608,38 +3681,40 @@ void print_help(int mode) { " listen lookup nolookup accept afteraccept gone shm\n" " noshm flipbyteorder noflipbyteorder onetile noonetile\n" " solid_color solid nosolid blackout xinerama noxinerama\n" -" xtrap noxtrap xrandr noxrandr xrandr_mode rotate\n" -" padgeom quiet q noquiet modtweak nomodtweak xkb noxkb\n" -" capslock nocapslock skip_lockkeys noskip_lockkeys\n" -" skip_keycodes sloppy_keys nosloppy_keys skip_dups\n" -" noskip_dups add_keysyms noadd_keysyms clear_mods\n" -" noclear_mods clear_keys noclear_keys remap repeat\n" -" norepeat fb nofb bell nobell sel nosel primary\n" -" noprimary setprimary nosetprimary clipboard noclipboard\n" -" setclipboard nosetclipboard seldir cursorshape\n" -" nocursorshape cursorpos nocursorpos cursor_drag\n" -" nocursor_drag cursor show_cursor noshow_cursor\n" -" nocursor arrow xfixes noxfixes xdamage noxdamage\n" -" xd_area xd_mem alphacut alphafrac alpharemove\n" -" noalpharemove alphablend noalphablend xwarppointer\n" -" xwarp noxwarppointer noxwarp buttonmap dragging\n" -" nodragging ncache_cr noncache_cr ncache_no_moveraise\n" -" noncache_no_moveraise ncache_no_dtchange\n" -" noncache_no_dtchange ncache_no_rootpixmap\n" -" noncache_no_rootpixmap ncache_reset_rootpixmap\n" -" ncache_keep_anims noncache_keep_anims ncache noncache\n" -" ncache_size wireframe_mode wireframe wf nowireframe nowf\n" -" wireframelocal wfl nowireframelocal nowfl wirecopyrect\n" -" wcr nowirecopyrect nowcr scr_area scr_skip scr_inc\n" -" scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect\n" -" scr noscrollcopyrect noscr fixscreen noxrecord xrecord\n" -" reset_record pointer_mode pm input_skip allinput\n" -" noallinput input grabkbd nograbkbd grabptr nograbptr\n" -" client_input ssltimeout speeds wmdt debug_pointer dp\n" -" nodebug_pointer nodp debug_keyboard dk nodebug_keyboard\n" -" nodk deferupdate defer wait_ui wait_bog nowait_bog\n" -" slow_fb wait readtimeout nap nonap sb screen_blank\n" -" fbpm nofbpm dpms nodpms fs gaps grow fuzz snapfb\n" +" xtrap noxtrap xrandr noxrandr xrandr_mode rotate padgeom\n" +" quiet q noquiet modtweak nomodtweak xkb noxkb capslock\n" +" nocapslock skip_lockkeys noskip_lockkeys skip_keycodes\n" +" sloppy_keys nosloppy_keys skip_dups noskip_dups\n" +" add_keysyms noadd_keysyms clear_mods noclear_mods\n" +" clear_keys noclear_keys remap repeat norepeat fb nofb\n" +" bell nobell sel nosel primary noprimary setprimary\n" +" nosetprimary clipboard noclipboard setclipboard\n" +" nosetclipboard seldir cursorshape nocursorshape\n" +" cursorpos nocursorpos cursor_drag nocursor_drag cursor\n" +" show_cursor noshow_cursor nocursor arrow xfixes\n" +" noxfixes xdamage noxdamage xd_area xd_mem alphacut\n" +" alphafrac alpharemove noalpharemove alphablend\n" +" noalphablend xwarppointer xwarp noxwarppointer\n" +" noxwarp buttonmap dragging nodragging ncache_cr\n" +" noncache_cr ncache_no_moveraise noncache_no_moveraise\n" +" ncache_no_dtchange noncache_no_dtchange\n" +" ncache_no_rootpixmap noncache_no_rootpixmap\n" +" ncache_reset_rootpixmap ncache_keep_anims\n" +" noncache_keep_anims ncache_old_wm noncache_old_wm\n" +" ncache noncache ncache_size wireframe_mode wireframe wf\n" +" nowireframe nowf wireframelocal wfl nowireframelocal\n" +" nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area\n" +" scr_skip scr_inc scr_keys scr_term scr_keyrepeat\n" +" scr_parms scrollcopyrect scr noscrollcopyrect noscr\n" +" fixscreen noxrecord xrecord reset_record pointer_mode pm\n" +" input_skip allinput noallinput input grabkbd nograbkbd\n" +" grabptr nograbptr grabalways nograbalways client_input\n" +" ssltimeout speeds wmdt debug_pointer dp nodebug_pointer\n" +" nodp debug_keyboard dk nodebug_keyboard nodk deferupdate\n" +" defer wait_ui wait_bog nowait_bog slow_fb wait\n" +" readtimeout nap nonap sb screen_blank fbpm nofbpm dpms\n" +" nodpms clientdpms noclientdpms forcedpms noforcedpms\n" +" noserverdpms serverdpms fs gaps grow fuzz snapfb\n" " nosnapfb rawfb uinput_accel uinput_thresh uinput_reset\n" " uinput_always progressive rfbport http nohttp httpport\n" " httpdir enablehttpproxy noenablehttpproxy alwaysshared\n" diff --git a/x11vnc/options.c b/x11vnc/options.c index 4a124d9..485634e 100644 --- a/x11vnc/options.c +++ b/x11vnc/options.c @@ -356,6 +356,9 @@ int watch_fbpm = 0; #endif int watch_dpms = 0; /* -dpms */ +int force_dpms = 0; +int client_dpms = 0; +int no_ultra_dpms = 0; int watch_selection = 1; /* normal selection/cutbuffer maintenance */ int watch_primary = 1; /* more dicey, poll for changes in PRIMARY */ diff --git a/x11vnc/options.h b/x11vnc/options.h index 3a09e4a..e74c4a5 100644 --- a/x11vnc/options.h +++ b/x11vnc/options.h @@ -261,6 +261,9 @@ extern int all_input; extern int watch_fbpm; extern int watch_dpms; +extern int force_dpms; +extern int client_dpms; +extern int no_ultra_dpms; extern int watch_selection; extern int watch_primary; diff --git a/x11vnc/pm.c b/x11vnc/pm.c index 50fb49c..b730c1f 100644 --- a/x11vnc/pm.c +++ b/x11vnc/pm.c @@ -123,16 +123,22 @@ void set_dpms_mode(char *mode) { want = DPMSModeStandby; } else if (!strcmp(mode, "suspend")) { want = DPMSModeSuspend; + } else if (!strcmp(mode, "enable")) { + DPMSEnable(dpy); + return; + } else if (!strcmp(mode, "disable")) { + DPMSDisable(dpy); + return; } else { return; } if (DPMSInfo(dpy, &level, &enabled)) { char *from; - fprintf(stderr, "DPMSInfo level: %d enabled: %d\n", level, enabled); if (enabled && level != want) { XErrorHandler old_handler = XSetErrorHandler(trap_xerror); trapped_xerror = 0; + rfbLog("DPMSInfo level: %d enabled: %d\n", level, enabled); if (level == DPMSModeStandby) { from = "DPMSModeStandby"; } else if (level == DPMSModeSuspend) { @@ -188,6 +194,14 @@ static void check_dpms(void) { init_dpms = 1; } + if (force_dpms || (client_dpms && client_count)) { + static int last_enable = 0; + if (time(NULL) > last_enable) { + set_dpms_mode("enable"); + last_enable = time(NULL); + } + set_dpms_mode("off"); + } if (! watch_dpms) { return; } diff --git a/x11vnc/remote.c b/x11vnc/remote.c index d8dfa5c..13d8f04 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -3287,6 +3287,9 @@ char *process_remote_cmd(char *cmd, int stringonly) { goto qry; } grab_kbd = 1; + if (grab_always) { + adjust_grabs(1, 0); + } rfbLog("enabled grab_kbd\n"); } else if (!strcmp(p, "nograbkbd")) { int orig = grab_kbd; @@ -3303,12 +3306,16 @@ char *process_remote_cmd(char *cmd, int stringonly) { #endif } rfbLog("disabled grab_kbd\n"); + } else if (!strcmp(p, "grabptr")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, grab_ptr); goto qry; } grab_ptr = 1; + if (grab_always) { + adjust_grabs(1, 0); + } rfbLog("enabled grab_ptr\n"); } else if (!strcmp(p, "nograbptr")) { int orig = grab_ptr; @@ -3326,6 +3333,36 @@ char *process_remote_cmd(char *cmd, int stringonly) { } rfbLog("disabled grab_ptr\n"); + } else if (!strcmp(p, "grabalways")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, grab_always); + goto qry; + } + grab_ptr = 1; + grab_kbd = 1; + grab_always = 1; + adjust_grabs(1, 0); + rfbLog("enabled grab_always\n"); + } else if (!strcmp(p, "nograbalways")) { + int orig = grab_always; + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !grab_always); + goto qry; + } + grab_ptr = 0; + grab_kbd = 0; + grab_always = 0; + if (orig && dpy) { +#if !NO_X11 + X_LOCK; + XUngrabKeyboard(dpy, CurrentTime); + XUngrabPointer(dpy, CurrentTime); + X_UNLOCK; +#endif + } + adjust_grabs(0, 0); + rfbLog("disabled grab_always\n"); + } else if (strstr(p, "client_input") == p) { NOTAPP COLON_CHECK("client_input:") @@ -3583,6 +3620,51 @@ char *process_remote_cmd(char *cmd, int stringonly) { rfbLog("remote_cmd: turning on -nodpms mode.\n"); watch_dpms = 1; + } else if (!strcmp(p, "clientdpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, client_dpms); + goto qry; + } + rfbLog("remote_cmd: turning on -clientdpms mode.\n"); + client_dpms = 1; + } else if (!strcmp(p, "noclientdpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !client_dpms); + goto qry; + } + rfbLog("remote_cmd: turning off -clientdpms mode.\n"); + client_dpms = 0; + + } else if (!strcmp(p, "forcedpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, force_dpms); + goto qry; + } + rfbLog("remote_cmd: turning on -forcedpms mode.\n"); + force_dpms = 1; + } else if (!strcmp(p, "noforcedpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !force_dpms); + goto qry; + } + rfbLog("remote_cmd: turning off -forcedpms mode.\n"); + force_dpms = 0; + + } else if (!strcmp(p, "noserverdpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, no_ultra_dpms); + goto qry; + } + rfbLog("remote_cmd: turning on -noserverdpms mode.\n"); + no_ultra_dpms = 1; + } else if (!strcmp(p, "serverdpms")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !no_ultra_dpms); + goto qry; + } + rfbLog("remote_cmd: turning off -noserverdpms mode.\n"); + no_ultra_dpms = 0; + } else if (strstr(p, "fs") == p) { COLON_CHECK("fs:") if (query) { diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 9ccc4a9..36a6b42 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -1458,6 +1458,24 @@ void accept_openssl(int mode) { } close(i); } + if (screen->listenSock >= 0) { + close(screen->listenSock); + FD_CLR(screen->listenSock,&screen->allFds); + screen->listenSock = -1; + } + if (screen->httpListenSock >= 0) { + close(screen->httpListenSock); + FD_CLR(screen->httpListenSock,&screen->allFds); + screen->httpListenSock = -1; + } + if (openssl_sock >= 0) { + close(openssl_sock); + openssl_sock = -1; + } + if (https_sock >= 0) { + close(https_sock); + https_sock = -1; + } /* * sadly, we are a long lived child and so the large diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h index a93dfe6..1b1a96b 100644 --- a/x11vnc/ssltools.h +++ b/x11vnc/ssltools.h @@ -869,6 +869,8 @@ char create_display[] = "#!/bin/sh\n" "\n" "#CREATE_DISPLAY_OUTPUT=/tmp/cdo.txt\n" +"\n" +"CREATE_DISPLAY_OUTPUT=/tmp/cdo.$USER.txt\n" "if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n" " if [ \"X$CREATE_DISPLAY_EXEC\" = \"X\" ]; then\n" " CREATE_DISPLAY_EXEC=1\n" @@ -1033,29 +1035,56 @@ char create_display[] = " $have_xauth -f $authfile nextract - `hostname`:$N | $have_xauth nmerge -\n" " fi\n" "\n" +" result=0\n" +" ns=4\n" " if [ \"X$use_xdmcp_query\" = \"X1\" ]; then\n" " # we cannot use -nolisten tcp\n" -" #echo \"$* -from localhost -once -query localhost\"\n" -" #nohup $* -from localhost -once -query localhost 1>&2 &\n" " echo \"$* -once -query localhost\" 1>&2\n" -" nohup $* -once -query localhost 1>&2 &\n" -" pid=$!\n" -" elif [ \"X$have_startx\" != \"X\" ]; then\n" -" echo \"$have_startx $sess -- $* -nolisten tcp -auth $authfile\" 1>&2\n" -" $have_startx $sess -- $* -nolisten tcp -auth $authfile 1>&2 &\n" +" if [ \"X$have_root\" != \"X\" ]; then\n" +" nohup $* -once -query localhost 1>&2 &\n" +" else\n" +" nohup sh -c \"(sleep $ns; $* -once -query localhost -auth $authfile)\" 1>&2 &\n" +" ns=0\n" +" result=1\n" +" fi\n" " pid=$!\n" -" elif [ \"X$have_xinit\" != \"X\" ]; then\n" -" echo \"$have_xinit $sess -- $* -nolisten tcp -auth $authfile\" 1>&2\n" -" $have_xinit $sess -- $* -nolisten tcp -auth $authfile 1>&2 &\n" +" elif [ \"X$have_startx\" != \"X\" -o \"X$have_xinit\" != \"X\" ]; then\n" +" if [ \"X$have_startx\" != \"X\" ]; then\n" +" sxcmd=$have_startx\n" +" else\n" +" sxcmd=$have_xinit\n" +" fi\n" +" echo \"$sxcmd $sess -- $* -nolisten tcp -auth $authfile\" 1>&2\n" +" if [ \"X$have_root\" != \"X\" ]; then\n" +" $sxcmd $sess -- $* -nolisten tcp -auth $authfile 1>&2 &\n" +" else\n" +" nohup sh -c \"(sleep $ns; $sxcmd $sess -- $* -nolisten tcp -auth $authfile)\" 1>&2 &\n" +" ns=0\n" +" result=1\n" +" fi\n" " pid=$!\n" " else\n" " echo \"$* -nolisten tcp -auth $authfile\" 1>&2\n" -" nohup $* -nolisten tcp -auth $authfile 1>&2 &\n" -" pid=$!\n" -" nohup $sess 1>&2 &\n" +" if [ \"X$have_root\" != \"X\" ]; then\n" +" nohup $* -nolisten tcp -auth $authfile 1>&2 &\n" +" pid=$!\n" +" sleep 2\n" +" nohup $sess 1>&2 &\n" +" else\n" +" nohup sh -c \"(sleep $ns; $* -nolisten tcp -auth $authfile)\" 1>&2 &\n" +" pid=$!\n" +" sleep 2\n" +" nohup sh -c \"(sleep $ns; $sess)\" 1>&2 &\n" +" ns=0\n" +" result=1\n" +" fi\n" " fi\n" -" sleep 4\n" -" if kill -0 $pid; then\n" +" sleep $ns\n" +" if [ \"X$result\" = \"X1\" ]; then\n" +" :\n" +" elif [ -d /proc/$pid ]; then\n" +" result=1\n" +" elif kill -0 $pid; then\n" " result=1\n" " else\n" " result=0\n" @@ -1123,17 +1152,33 @@ char create_display[] = " #have_startx=$save_have_startx\n" "\n" " if [ \"X$result\" = \"X1\" -a \"X$have_xmodmap\" != \"X\" ]; then\n" -" (\n" -" sleep 1; $have_xmodmap -display :$N -e \"keycode any = Shift_R\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"add Shift = Shift_L Shift_R\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"keycode any = Control_R\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"add Control = Control_L Control_R\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"keycode any = Alt_L\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"keycode any = Alt_R\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"keycode any = Meta_L\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"clear Mod1\" \n" -" sleep 1; $have_xmodmap -display :$N -e \"add Mod1 = Alt_L Alt_R Meta_L\" \n" -" ) 1>&2 &\n" +" if [ \"X$have_root\" = \"X\" ]; then\n" +" nohup sh -c \"(\n" +" sleep 6;\n" +" $have_xmodmap -display :$N -e 'keycode any = Shift_R' \\\n" +" -e 'add Shift = Shift_L Shift_R' \\\n" +" -e 'keycode any = Control_R' \\\n" +" -e 'add Control = Control_L Control_R' \\\n" +" -e 'keycode any = Alt_L' \\\n" +" -e 'keycode any = Alt_R' \\\n" +" -e 'keycode any = Meta_L' \\\n" +" -e 'clear Mod1' \\\n" +" -e 'add Mod1 = Alt_L Alt_R Meta_L' \\\n" +" )\" 1>&2 &\n" +" else\n" +" (\n" +" sleep 1;\n" +" $have_xmodmap -display :$N -e 'keycode any = Shift_R' \\\n" +" -e 'add Shift = Shift_L Shift_R' \\\n" +" -e 'keycode any = Control_R' \\\n" +" -e 'add Control = Control_L Control_R' \\\n" +" -e 'keycode any = Alt_L' \\\n" +" -e 'keycode any = Alt_R' \\\n" +" -e 'keycode any = Meta_L' \\\n" +" -e 'clear Mod1' \\\n" +" -e 'add Mod1 = Alt_L Alt_R Meta_L' \\\n" +" ) 1>&2 &\n" +" fi\n" " fi\n" "}\n" "\n" diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc index 02f4108..bd05c1b 100755 --- a/x11vnc/tkx11vnc +++ b/x11vnc/tkx11vnc @@ -213,6 +213,7 @@ Pointer =D nocursorshape -- noxfixes + cursor_drag =GAL AlphaBlending:: noalphablend alphacut: @@ -257,6 +258,8 @@ Misc =D nobell nolookup bg + =S loop + =S loopbg =-C:ignore,exit sigpipe: =0 inetd @@ -329,6 +332,10 @@ Permissions timeout: grabkbd grabptr + grabalways + forcedpms + clientdpms + noserverdpms =GAL LOFF Tuning diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h index 21caea8..8b84847 100644 --- a/x11vnc/tkx11vnc.h +++ b/x11vnc/tkx11vnc.h @@ -224,6 +224,7 @@ char gui_code[] = ""; " =D nocursorshape\n" " --\n" " noxfixes\n" +" cursor_drag\n" " =GAL AlphaBlending::\n" " noalphablend\n" " alphacut:\n" @@ -268,6 +269,8 @@ char gui_code[] = ""; " =D nobell\n" " nolookup\n" " bg\n" +" =S loop\n" +" =S loopbg\n" " =-C:ignore,exit sigpipe:\n" " =0 inetd\n" "\n" @@ -340,6 +343,10 @@ char gui_code[] = ""; " timeout:\n" " grabkbd\n" " grabptr\n" +" grabalways\n" +" forcedpms\n" +" clientdpms\n" +" noserverdpms\n" " =GAL LOFF\n" "\n" "Tuning\n" diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index 91a8ec3..ceb0b8f 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -558,7 +558,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int #ifndef UNIXPW_SU return 0; #else - int i, j, status, fd = -1, sfd, tfd, drain_size = 4096, rsize = 0; + int i, j, status, fd = -1, sfd, tfd, drain_size = 65536, rsize = 0; int slow_pw = 1; char *slave, *bin_true = NULL, *bin_su = NULL; pid_t pid, pidw; @@ -1542,7 +1542,7 @@ void unixpw_accept(char *user) { } else if (switch_user(u, 0)) { rfbLog("unixpw_accept switched to user: %s\n", user); } else { - rfbLog("unixpw_accept failed to switched to user: %s\n", user); + rfbLog("unixpw_accept failed to switch to user: %s\n", user); } free(u); } diff --git a/x11vnc/user.c b/x11vnc/user.c index 4250938..7124092 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -1404,6 +1404,7 @@ int wait_for_client(int *argc, char** argv, int http) { break; } + if (unixpw) { if (! unixpw_in_progress) { rfbLog("unixpw but no unixpw_in_progress\n"); @@ -1517,12 +1518,15 @@ if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprint fprintf(mt, "%s", create_display); fclose(mt); + findcreatedisplay = 1; + if (getuid() != 0) { /* if not root, run as the other user... */ n = 18000; + close_exec_fds(); res = su_verify(keep_unixpw_user, keep_unixpw_pass, create_cmd, line, &n, nodisp); -if (db) fprintf(stderr, "line: '%s'\n", line); +if (db) fprintf(stderr, "c-res=%d n=%d line: '%s'\n", res, n, line); } else { FILE *p; @@ -1633,6 +1637,8 @@ if (db) fprintf(stderr, "\n"); fprintf(mt, "%s", create_display); fclose(mt); + findcreatedisplay = 1; + rfbLog("wait_for_client: FINDCREATEDISPLAY cmd: %s\n", create_cmd); p = popen(create_cmd, "r"); @@ -1772,7 +1778,7 @@ fprintf(stderr, "\n");} } else if (switch_user(u, 0)) { rfbLog("unixpw_accept switched to user: %s\n", user); } else { - rfbLog("unixpw_accept failed to switched to user: %s\n", user); + rfbLog("unixpw_accept failed to switch to user: %s\n", user); } free(u); } diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index c28ccfc..05a13a0 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -2,7 +2,7 @@ .TH X11VNC "1" "February 2007" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.8.5, lastmod: 2007-02-10 + version: 0.8.5, lastmod: 2007-02-11 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -360,13 +360,30 @@ as soon as the first client(s) disconnect. Same as \fB-many\fR \fB-loop\fR .IP Create an outer loop restarting the x11vnc process -whenever it terminates. \fB-bg\fR and \fB-inetd\fR are ignored in -this mode. Useful for continuing even if the X server -terminates and restarts (you will need permission to -reconnect of course). Use, e.g., \fB-loop100\fR to sleep -100 millisecs between restarts, etc. Default is 2000ms -(i.e. 2 secs) Use, e.g. \fB-loop300,5\fR to sleep 300 ms -and only loop 5 times. +whenever it terminates. \fB-bg\fR and \fB-inetd\fR are ignored +in this mode (however see \fB-loopbg\fR below). +.IP +Useful for continuing even if the X server terminates +and restarts (at that moment the process will need +permission to reconnect to the new X server of course). +.IP +Use, e.g., \fB-loop100\fR to sleep 100 millisecs between +restarts, etc. Default is 2000ms (i.e. 2 secs) Use, +e.g. \fB-loop300,5\fR to sleep 300 ms and only loop 5 times. +.IP +If \fB-loopbg\fR (plus any numbers) is specified instead, +the "\fB-bg\fR" option is implied and the mode approximates +.IR inetd (8) +usage to some degree. In this case when +it goes into the background any listening sockets +(i.e. ports 5900, 5800) are closed, so the next one +in the loop can use them. This mode will only be of +use if a VNC client (the only client for that process) +is already connected before the process goes into the +background, for example, usage of \fB-display\fR WAIT:.., +\fB-svc,\fR and \fB-connect\fR can make use of this "poor man's" +inetd mode. The default wait time is 500ms in this +mode. This usage could use useful: \fB-svc\fR \fB-loopbg\fR .PP \fB-timeout\fR \fIn\fR .IP @@ -544,6 +561,13 @@ for resizes, etc, will act on the local user's input. Again, some degree of cooperation from the person at the display is assumed. .PP +\fB-grabalways\fR +.IP +Apply both \fB-grabkbd\fR and \fB-grabptr\fR even when no VNC +viewers are connected. If you only want one of them, +use the \fB-R\fR remote control to turn the other back on, +e.g. \fB-R\fR nograbptr. +.PP \fB-viewpasswd\fR \fIstring\fR .IP Supply a 2nd password for view-only logins. The \fB-passwd\fR @@ -819,6 +843,18 @@ is given 3 tries to enter the correct password. If a list of allowed users is needed use \fB-unixpw\fR [list] in addition to this option. .PP +\fB-svc\fR +.IP +Terminal services mode. Also "\fB-service\fR", implies +\fB-display\fR WAIT:cmd=FINDCREATEDISPLAY-Xvfb \fB-unixpw\fR +\fB-users\fR unixpw= \fB-ssl\fR SAVE +.PP +\fB-xdmsvc\fR +.IP +Terminal services mode. Also "\fB-xdm_service\fR", implies +\fB-display\fR WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp \fB-unixpw\fR +\fB-users\fR unixpw= \fB-ssl\fR SAVE +.PP \fB-display\fR \fIWAIT:...\fR .IP A special usage mode for the normal \fB-display\fR option. @@ -928,7 +964,7 @@ by client web browsers. For example: Where /.../x11vnc is the full path to x11vnc. It is used in the Apache SSL-portal example (see FAQ). .IP -An experimental option is WAIT:cmd=FINDCREATEDISPLAY +An interesting option is WAIT:cmd=FINDCREATEDISPLAY that is like FINDDISPLAY in that is uses the same method to find an existing display. However, if it does not find one it will try to *start* up an X server session @@ -943,11 +979,12 @@ the shared library. Xdummy requires root permission and only works on Linux. Xvfb is available on most platforms and does not require root. .IP -When x11vnc exits (i.e. user disconnects) the X server -session stays running in the background. Presumably -the FINDDISPLAY will find it next time. The user must -exit the X session in the usual way for it to terminate -(or kill the X server process if all else fails). +When x11vnc exits (i.e. user disconnects) the X +server session stays running in the background. +The FINDDISPLAY will find it directly next time. +The user must exit the X session in the usual way for +it to terminate (or kill the X server process if all +else fails). .IP So this is a somewhat odd mode for x11vnc in that it will start up and poll virtual X servers! This can @@ -991,6 +1028,15 @@ display manager. This seems to be: for gdm in gdm.conf: Enable=true in section [xdmcp] for kdm in kdmrc: Enable=true in section [Xdmcp] for xdm in xdm-config: DisplayManager.requestPort: 177 +.IP +See the shorthand options above "\fB-svc\fR" and "\fB-xdmsvc\fR" +that specify the above options for some useful cases. +.PP +\fB-nossl\fR +.IP +Disable the \fB-ssl\fR option (see below). Since \fB-ssl\fR is off +by default \fB-nossl\fR would only be used on the commandline +to unset any *earlier* \fB-ssl\fR option (or \fB-svc...)\fR .PP \fB-ssl\fR \fI[pem]\fR .IP @@ -3117,6 +3163,38 @@ manpage for details. \fB-nodpms\fR is basically the same as running "xset dpms force on" periodically. Default: \fB-dpms\fR .PP +\fB-forcedpms\fR +.IP +If the system supports the DPMS (Display Power +Management Signaling) extension, then try to keep the +monitor in a powered off state. This is to prevent +nosey people at the physical display from viewing +what is on the screen. Be sure lock the screen before +disconnecting. +.IP +This method is far from bullet proof, e.g. suppose +someone attaches a non-DPMS monitor, or loads the +machine so that there is a gap of time before x11vnc +restores the powered off state? On many machines if +he floods it with keyboard and mouse input he can see +flashes of what is on the screen before the DPMS off +state is reestablished. For this to work securely +there would need to be support in the X server to do +this exactly rather than approximately with DPMS. +.PP +\fB-clientdpms\fR +.IP +As \fB-forcedpms\fR but only when VNC clients are connected. +.PP +\fB-noserverdpms\fR +.IP +The UltraVNC ServerInput extension is supported. +This allows the VNC viewer to click a button that will +cause the server (x11vnc) to try to disable keyboard +and mouse input at the physical display and put the +monitor in dpms powered off state. Use this option to +skip powering off the monitor. +.PP \fB-noxdamage\fR .IP Do not use the X DAMAGE extension to detect framebuffer @@ -3940,6 +4018,10 @@ grabptr enable \fB-grabptr\fR mode. .IP nograbptr disable \fB-grabptr\fR mode. .IP +grabalways enable \fB-grabalways\fR mode. +.IP +nograbalways disable \fB-grabalways\fR mode. +.IP client_input:str set the K, M, B \fB-input\fR on a per-client basis. select which client as for disconnect, e.g. client_input:host:MB @@ -4245,6 +4327,18 @@ dpms disable \fB-nodpms\fR mode. .IP nodpms enable \fB-nodpms\fR mode. .IP +forcedpms enable \fB-forcedpms\fR mode. +.IP +noforcedpms disable \fB-forcedpms\fR mode. +.IP +clientdpms enable \fB-clientdpms\fR mode. +.IP +noclientdpms disable \fB-clientdpms\fR mode. +.IP +noserverdpms enable \fB-noserverdpms\fR mode. +.IP +serverdpms disable \fB-noserverdpms\fR mode. +.IP xdamage enable xdamage polling hints. .IP noxdamage disable xdamage polling hints. @@ -4422,38 +4516,40 @@ unlock connect allowonce allow localhost nolocalhost listen lookup nolookup accept afteraccept gone shm noshm flipbyteorder noflipbyteorder onetile noonetile solid_color solid nosolid blackout xinerama noxinerama -xtrap noxtrap xrandr noxrandr xrandr_mode rotate -padgeom quiet q noquiet modtweak nomodtweak xkb noxkb -capslock nocapslock skip_lockkeys noskip_lockkeys -skip_keycodes sloppy_keys nosloppy_keys skip_dups -noskip_dups add_keysyms noadd_keysyms clear_mods -noclear_mods clear_keys noclear_keys remap repeat -norepeat fb nofb bell nobell sel nosel primary -noprimary setprimary nosetprimary clipboard noclipboard -setclipboard nosetclipboard seldir cursorshape -nocursorshape cursorpos nocursorpos cursor_drag -nocursor_drag cursor show_cursor noshow_cursor -nocursor arrow xfixes noxfixes xdamage noxdamage -xd_area xd_mem alphacut alphafrac alpharemove -noalpharemove alphablend noalphablend xwarppointer -xwarp noxwarppointer noxwarp buttonmap dragging -nodragging ncache_cr noncache_cr ncache_no_moveraise -noncache_no_moveraise ncache_no_dtchange -noncache_no_dtchange ncache_no_rootpixmap -noncache_no_rootpixmap ncache_reset_rootpixmap -ncache_keep_anims noncache_keep_anims ncache noncache -ncache_size wireframe_mode wireframe wf nowireframe nowf -wireframelocal wfl nowireframelocal nowfl wirecopyrect -wcr nowirecopyrect nowcr scr_area scr_skip scr_inc -scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect -scr noscrollcopyrect noscr fixscreen noxrecord xrecord -reset_record pointer_mode pm input_skip allinput -noallinput input grabkbd nograbkbd grabptr nograbptr -client_input ssltimeout speeds wmdt debug_pointer dp -nodebug_pointer nodp debug_keyboard dk nodebug_keyboard -nodk deferupdate defer wait_ui wait_bog nowait_bog -slow_fb wait readtimeout nap nonap sb screen_blank -fbpm nofbpm dpms nodpms fs gaps grow fuzz snapfb +xtrap noxtrap xrandr noxrandr xrandr_mode rotate padgeom +quiet q noquiet modtweak nomodtweak xkb noxkb capslock +nocapslock skip_lockkeys noskip_lockkeys skip_keycodes +sloppy_keys nosloppy_keys skip_dups noskip_dups +add_keysyms noadd_keysyms clear_mods noclear_mods +clear_keys noclear_keys remap repeat norepeat fb nofb +bell nobell sel nosel primary noprimary setprimary +nosetprimary clipboard noclipboard setclipboard +nosetclipboard seldir cursorshape nocursorshape +cursorpos nocursorpos cursor_drag nocursor_drag cursor +show_cursor noshow_cursor nocursor arrow xfixes +noxfixes xdamage noxdamage xd_area xd_mem alphacut +alphafrac alpharemove noalpharemove alphablend +noalphablend xwarppointer xwarp noxwarppointer +noxwarp buttonmap dragging nodragging ncache_cr +noncache_cr ncache_no_moveraise noncache_no_moveraise +ncache_no_dtchange noncache_no_dtchange +ncache_no_rootpixmap noncache_no_rootpixmap +ncache_reset_rootpixmap ncache_keep_anims +noncache_keep_anims ncache_old_wm noncache_old_wm +ncache noncache ncache_size wireframe_mode wireframe wf +nowireframe nowf wireframelocal wfl nowireframelocal +nowfl wirecopyrect wcr nowirecopyrect nowcr scr_area +scr_skip scr_inc scr_keys scr_term scr_keyrepeat +scr_parms scrollcopyrect scr noscrollcopyrect noscr +fixscreen noxrecord xrecord reset_record pointer_mode pm +input_skip allinput noallinput input grabkbd nograbkbd +grabptr nograbptr grabalways nograbalways client_input +ssltimeout speeds wmdt debug_pointer dp nodebug_pointer +nodp debug_keyboard dk nodebug_keyboard nodk deferupdate +defer wait_ui wait_bog nowait_bog slow_fb wait +readtimeout nap nonap sb screen_blank fbpm nofbpm dpms +nodpms clientdpms noclientdpms forcedpms noforcedpms +noserverdpms serverdpms fs gaps grow fuzz snapfb nosnapfb rawfb uinput_accel uinput_thresh uinput_reset uinput_always progressive rfbport http nohttp httpport httpdir enablehttpproxy noenablehttpproxy alwaysshared diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index ab44ef5..17144e0 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1302,12 +1302,16 @@ static void check_loop_mode(int argc, char* argv[]) { loop_max = atoi(q+1); *q = '\0'; } + if (strstr(p, "-loopbg") == p) { + set_env("X11VNC_LOOP_MODE_BG", "1"); + loop_sleep = 500; + } q = strpbrk(p, "0123456789"); if (q) { loop_sleep = atoi(q); if (loop_sleep <= 0) { - loop_sleep = 10; + loop_sleep = 20; } } } @@ -1528,7 +1532,6 @@ int main(int argc, char* argv[]) { int dt = 0, bg = 0; int got_rfbwait = 0; int got_httpdir = 0, try_http = 0; - int waited_for_client = 0; int orig_use_xdamage = use_xdamage; XImage *fb0 = NULL; @@ -1745,6 +1748,14 @@ int main(int argc, char* argv[]) { connect_once = 0; } else if (strstr(arg, "-loop") == arg) { ; /* handled above */ +#if LIBVNCSERVER_HAVE_SETSID + bg = 1; + opts_bg = bg; +#else + fprintf(stderr, "warning: -bg mode not supported.\n"); +#endif + } else if (strstr(arg, "-loop") == arg) { + ; /* handled above */ } else if (!strcmp(arg, "-timeout")) { CHECK_ARGC first_conn_timeout = atoi(argv[++i]); @@ -1792,6 +1803,10 @@ int main(int argc, char* argv[]) { grab_kbd = 1; } else if (!strcmp(arg, "-grabptr")) { grab_ptr = 1; + } else if (!strcmp(arg, "-grabalways")) { + grab_kbd = 1; + grab_ptr = 1; + grab_always = 1; } else if (!strcmp(arg, "-viewpasswd")) { vpw_loc = i; CHECK_ARGC @@ -1801,6 +1816,18 @@ int main(int argc, char* argv[]) { CHECK_ARGC passwdfile = strdup(argv[++i]); got_passwdfile = 1; + } else if (!strcmp(arg, "-svc") || !strcmp(arg, "-service")) { + use_dpy = strdup("WAIT:cmd=FINDCREATEDISPLAY-Xvfb"); + unixpw = 1; + users_list = strdup("unixpw="); + use_openssl = 1; + openssl_pem = strdup("SAVE"); + } else if (!strcmp(arg, "-xdmsvc") || !strcmp(arg, "-xdm_service")) { + use_dpy = strdup("WAIT:cmd=FINDCREATEDISPLAY-Xvfb.xdmcp"); + unixpw = 1; + users_list = strdup("unixpw="); + use_openssl = 1; + openssl_pem = strdup("SAVE"); #ifndef NO_SSL_OR_UNIXPW } else if (!strcmp(arg, "-unixpw_cmd") || !strcmp(arg, "-unixpw_cmd_unsafe")) { @@ -1834,6 +1861,9 @@ int main(int argc, char* argv[]) { set_env("UNIXPW_DISABLE_SSL", "1"); set_env("UNIXPW_DISABLE_LOCALHOST", "1"); } + } else if (!strcmp(arg, "-nossl")) { + use_openssl = 0; + openssl_pem = NULL; } else if (!strcmp(arg, "-ssl")) { use_openssl = 1; if (i < argc-1) { @@ -2344,6 +2374,12 @@ int main(int argc, char* argv[]) { watch_dpms = 1; } else if (!strcmp(arg, "-dpms")) { watch_dpms = 0; + } else if (!strcmp(arg, "-forcedpms")) { + force_dpms = 1; + } else if (!strcmp(arg, "-clientdpms")) { + client_dpms = 1; + } else if (!strcmp(arg, "-noserverdpms")) { + no_ultra_dpms = 1; } else if (!strcmp(arg, "-xdamage")) { use_xdamage++; } else if (!strcmp(arg, "-noxdamage")) { @@ -2563,7 +2599,7 @@ int main(int argc, char* argv[]) { orig_use_xdamage = use_xdamage; if (getenv("X11VNC_LOOP_MODE")) { - if (bg) { + if (bg && !getenv("X11VNC_LOOP_MODE_BG")) { if (! quiet) { fprintf(stderr, "disabling -bg in -loop " "mode\n"); @@ -3210,6 +3246,13 @@ int main(int argc, char* argv[]) { scr = DefaultScreen(dpy); rootwin = RootWindow(dpy, scr); + if (grab_always) { + Window save = window; + window = rootwin; + adjust_grabs(1, 0); + window = save; + } + if (! quiet && ! raw_fb_str) { rfbLog("\n"); rfbLog("------------------ USEFUL INFORMATION ------------------\n"); @@ -3764,6 +3807,26 @@ int main(int argc, char* argv[]) { #if LIBVNCSERVER_HAVE_FORK && LIBVNCSERVER_HAVE_SETSID if (bg) { + if (getenv("X11VNC_LOOP_MODE_BG")) { + if (screen && screen->listenSock >= 0) { + close(screen->listenSock); + FD_CLR(screen->listenSock,&screen->allFds); + screen->listenSock = -1; + } + if (screen && screen->httpListenSock >= 0) { + close(screen->httpListenSock); + FD_CLR(screen->httpListenSock,&screen->allFds); + screen->httpListenSock = -1; + } + if (openssl_sock >= 0) { + close(openssl_sock); + openssl_sock = -1; + } + if (https_sock >= 0) { + close(https_sock); + https_sock = -1; + } + } /* fork into the background now */ int p, n; if ((p = fork()) > 0) { diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h index 05aaaa4..2034095 100644 --- a/x11vnc/x11vnc.h +++ b/x11vnc/x11vnc.h @@ -482,6 +482,9 @@ extern int hack_val; extern rfbClientPtr last_pointer_client; extern rfbClientPtr latest_client; +extern int waited_for_client; +extern int findcreatedisplay; + extern int client_count; extern int clients_served; diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index 893d48a..862dbca 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.5 lastmod: 2007-02-10"; +char lastmod[] = "0.8.5 lastmod: 2007-02-11"; /* X display info */ @@ -146,6 +146,9 @@ int hack_val = 0; rfbClientPtr last_pointer_client = NULL; rfbClientPtr latest_client = NULL; +int waited_for_client = 0; +int findcreatedisplay = 0; + int client_count = 0; int clients_served = 0; diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index 0b5eac1..7b8dc30 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -21,6 +21,7 @@ int grab_buster = 0; int grab_kbd = 0; int grab_ptr = 0; +int grab_always = 0; int sync_tod_delay = 20; void initialize_vnc_connect_prop(void); @@ -871,6 +872,7 @@ void check_xevents(int reset) { XSetErrorHandler(old_handler); trapped_xerror = 0; + last_call = now; } /* check for CUT_BUFFER0 and VNC_CONNECT changes: */ @@ -1156,7 +1158,6 @@ void check_xevents(int reset) { } X_UNLOCK; - last_call = now; #endif /* NO_X11 */ } @@ -1346,14 +1347,22 @@ void set_server_input(rfbClientPtr cl, int grab) { return; #else if (grab) { + if (!no_ultra_dpms) { + set_dpms_mode("enable"); + set_dpms_mode("off"); + force_dpms = 1; + } + process_remote_cmd("cmd=grabkbd", 0); process_remote_cmd("cmd=grabptr", 0); - set_dpms_mode("off"); - } else { process_remote_cmd("cmd=nograbkbd", 0); process_remote_cmd("cmd=nograbptr", 0); + + if (!no_ultra_dpms) { + force_dpms = 0; + } } #endif } diff --git a/x11vnc/xevents.h b/x11vnc/xevents.h index bdf768c..e45c7e7 100644 --- a/x11vnc/xevents.h +++ b/x11vnc/xevents.h @@ -6,6 +6,7 @@ extern int grab_buster; extern int grab_kbd; extern int grab_ptr; +extern int grab_always; extern int sync_tod_delay; extern void initialize_vnc_connect_prop(void); diff --git a/x11vnc/xwrappers.c b/x11vnc/xwrappers.c index a7ecba0..416b4ee 100644 --- a/x11vnc/xwrappers.c +++ b/x11vnc/xwrappers.c @@ -1042,7 +1042,7 @@ int xauth_raw(int on) { rfbLog("could not create tmp xauth file: %s\n", tmp); return 0; } - if (db) fprintf(stderr, "tmp: %s\n", tmp); + if (db) fprintf(stderr, "XAUTHORITY tmp: %s\n", tmp); write(tmp_fd, xauth_raw_data, xauth_raw_len); close(tmp_fd); if (getenv("XAUTHORITY")) {