summaryrefslogtreecommitdiffstats
path: root/x11vnc
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc')
-rw-r--r--x11vnc/ChangeLog6
-rw-r--r--x11vnc/README3608
-rw-r--r--x11vnc/cleanup.c2
-rw-r--r--x11vnc/connections.c4
-rw-r--r--x11vnc/cursor.c31
-rw-r--r--x11vnc/help.c114
-rw-r--r--x11vnc/keyboard.c2
-rw-r--r--x11vnc/macosx.c78
-rw-r--r--x11vnc/macosx.h2
-rw-r--r--x11vnc/macosxCG.c116
-rw-r--r--x11vnc/macosxCGS.c88
-rw-r--r--x11vnc/macosxCGS.h1
-rw-r--r--x11vnc/options.c10
-rw-r--r--x11vnc/options.h7
-rw-r--r--x11vnc/pm.c96
-rw-r--r--x11vnc/pointer.c2
-rw-r--r--x11vnc/remote.c30
-rw-r--r--x11vnc/scan.c32
-rw-r--r--x11vnc/screen.c55
-rw-r--r--x11vnc/unixpw.c3
-rw-r--r--x11vnc/userinput.c96
-rw-r--r--x11vnc/win_utils.c45
-rw-r--r--x11vnc/win_utils.h2
-rw-r--r--x11vnc/x11vnc.1136
-rw-r--r--x11vnc/x11vnc.c57
-rw-r--r--x11vnc/x11vnc.h7
-rw-r--r--x11vnc/x11vnc_defs.c9
-rw-r--r--x11vnc/xdamage.c31
-rw-r--r--x11vnc/xevents.c25
-rw-r--r--x11vnc/xwrappers.c38
30 files changed, 2949 insertions, 1784 deletions
diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog
index 8429fcc..7339734 100644
--- a/x11vnc/ChangeLog
+++ b/x11vnc/ChangeLog
@@ -1,3 +1,9 @@
+2006-11-21 Karl Runge <runge@karlrunge.com>
+ * x11vnc: macosx: problem with padded framebuffer rows, wait for
+ user to switch back, CutText xfer support, ignore a few more
+ types of toplevels. Add local user wireframing. -dpms/-nodpms
+ option to work around kdesktop_lock problem.
+
2006-11-13 Karl Runge <runge@karlrunge.com>
* x11vnc: Native Mac OS X support.
diff --git a/x11vnc/README b/x11vnc/README
index 96928fc..7d34167 100644
--- a/x11vnc/README
+++ b/x11vnc/README
@@ -1,5 +1,5 @@
-x11vnc README file Date: Mon Nov 13 09:43:23 EST 2006
+x11vnc README file Date: Tue Nov 21 16:42:16 EST 2006
The following information is taken from these URLs:
@@ -28,8 +28,9 @@ x11vnc: a VNC server for real X displays
It has built-in [7]SSL encryption and authentication, UNIX [8]account
and password support, server-side [9]scaling, [10]single port HTTPS
and VNC, and TightVNC and UltraVNC [11]file-transfer. It has also been
- extended to work with [12]webcams and TV tuner capture devices and
- with [13]embedded Linux systems such as Qtopia Core.
+ extended to work with non-X devices: [12]webcams and TV tuner capture
+ devices, [13]embedded Linux systems such as Qtopia Core, and natively
+ on [14]Mac OS X Aqua/Quartz.
I wrote x11vnc back in 2002 because x0rfbserver was basically
impossible to build on Solaris and had poor performance. The primary
@@ -38,13 +39,13 @@ x11vnc: a VNC server for real X displays
should work on nearly all Unixes. I also added some enhancements to
improve the interactive response, add many esoteric features, etc.
- This page and the [14]FAQ contain a lot of information [15][*],
+ This page and the [15]FAQ contain a lot of information [16][*],
solutions to many problems, and interesting applications, but
- nevertheless please feel free to [16]contact me if you have problems
+ nevertheless please feel free to [17]contact me if you have problems
or questions.
- An x11vnc side-project provides an [17]Enhanced TightVNC Viewer
- package with automatic SSL and/or SSH tunnelling support, SSL
+ An x11vnc side-project provides an [18]Enhanced TightVNC Viewer
+ package (ssvnc) with automatic SSL and/or SSH tunnelling support, SSL
Certificate creation, NewFBSize support on Unix, and cursor
alphablending. Please help test out some recently added features:
automatic service tunnelling via SSH for CUPS and SMB Printing,
@@ -60,10 +61,10 @@ x11vnc: a VNC server for real X displays
framebuffer (RFB) protocol
Some VNC links:
- * [18]http://www.realvnc.com
- * [19]http://www.tightvnc.com
- * [20]http://www.ultravnc.com/
- * [21]http://www.redstonesoftware.com/
+ * [19]http://www.realvnc.com
+ * [20]http://www.tightvnc.com
+ * [21]http://www.ultravnc.com/
+ * [22]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
@@ -101,10 +102,10 @@ 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 ([22]see below) and have it available to run
+ Step 0. Download x11vnc ([23]see below) and have it available to run
on far-away.east. Similarly, have a VNC viewer (e.g. vncviewer) ready
- to run on sitting-here.west. We recommend [23]TightVNC Viewers (see
- [24]also here.)
+ to run on sitting-here.west. We recommend [24]TightVNC Viewers (see
+ [25]also here.)
Step 1. By some means log in to far-away.east and get a command shell
running there. You can use ssh, rlogin, telnet, or any other method to
@@ -123,11 +124,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 [25]-auth option) to
+ the XAUTHORITY environment variable (or use the [26]-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
- [26]below.
+ [27]below.
If you suspect an X11 permissions problem do this simple test: while
sitting at the physical X display open a terminal window
@@ -135,7 +136,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 [27]below.
+ remote shell. Then fix this with the tips [28]below.
When x11vnc starts up there will then be much chatter printed out,
until it finally says something like:
@@ -154,8 +155,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 [28]this FAQ. For Solaris, vncviewer
- is available in the [29]Companion CD package SFWvnc).
+ viewer for your platform or see [29]this FAQ. For Solaris, vncviewer
+ is available in the [30]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:
@@ -165,13 +166,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 [30]-forever option to have
+ shutdown automatically (or you can use the [31]-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 [31]-forever option or as a [32]service,
+ terminal window with the [32]-forever option or as a [33]service,
you'd only have to do Step 3 as you moved around. Be sure to use a VNC
- [33]Password or [34]other measures if you do that.
+ [34]Password or [35]other measures if you do that.
Desktop Sharing: The above more or less assumed nobody was sitting at
@@ -187,7 +188,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 "[35]-connect
+ start their VNC viewers. For this usage mode the "[36]-connect
host1,host2" option may be of use automatically connect to vncviewers
in "-listen" mode on the list of hosts.
_________________________________________________________________
@@ -216,13 +217,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 [36]VNC password is also strongly recommended.
+ machine). Use of a [37]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 [37]inetd(8)). See the 3rd
- script example [38]below for more info.
+ far-away.east or having it started by [38]inetd(8)). See the 3rd
+ script example [39]below for more info.
Note the -t we used above (force allocate pseudoterminal), it actually
seems to improve interactive typing response via VNC!
@@ -234,7 +235,7 @@ x11vnc: a VNC server for real X displays
(ssh, rsh, etc.) to the workstation machine 'otherhost' and then start
up x11vnc on it (if it isn't already running). For an automatic way to
use a gateway and have all the network traffic encrypted (including
- inside the firewall) see [39]chaining ssh's
+ inside the firewall) see [40]chaining ssh's
_________________________________________________________________
@@ -243,13 +244,13 @@ 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 [40]-bg (forks into background after connection to the
+ x11vnc option [41]-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 [41]Enhanced TightVNC Viewer
- packages, because they contain scripts and guis to automatically set
- up SSH tunnels (e.g. "ssl_tightvncviewer -ssh user@far-away.east:0")
+ You may also want to look at the [42]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")
_________________________________________________________________
#1. A simple example script, assuming no problems with port 5900 being
@@ -279,7 +280,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 [42]-connect option:
+ using the [43]-connect option:
#!/bin/sh
# usage: x11vnc_ssh <host>:<xdisplay>
# e.g.: x11vnc_ssh snoopy.peanuts.com:0
@@ -322,7 +323,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 [43]inetd(8)), you can simply
+ connections (or have it started out of [44]inetd(8)), you can simply
use the TightVNC "vncviewer -via gateway host:port" in its default
mode to provide secure ssh tunnelling.
_________________________________________________________________
@@ -330,66 +331,67 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer.
VNC password file: Also note in the #1. example script that the
- [44]option "-rfbauth .vnc/passwd" provides additional protection by
+ [45]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 [45]-storepasswd
+ vncpasswd or storepasswd programs, or the x11vnc [46]-storepasswd
option can be used to create the password file. x11vnc also has the
- slightly less secure [46]-passwdfile and "-passwd XXXXX" [47]options
+ slightly less secure [47]-passwdfile and "-passwd XXXXX" [48]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 [48]-usepw if you want to be forced
+ automatically or force you to (use [49]-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, [49]-ssl mode, a VPN,
- etc. (use the [50]Enhanced TightVNC Viewer package if you want to be
- forced to use SSL or SSH). For additional safety, also look into the
- -allow and -localhost [51]options and building x11vnc with
- [52]tcp_wrappers support to limit host access.
+ x11vnc: it is up to you to use ssh, stunnel, [50]-ssl mode, a VPN,
+ etc. (use the [51]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 [52]options and building x11vnc with
+ [53]tcp_wrappers support to limit host access.
_________________________________________________________________
Tunnelling x11vnc via SSL:
One can also encrypt the VNC traffic using an SSL tunnel such as
- [53]stunnel (also [54]stunnel.mirt.net) or using the built-in
- (Mar/2006) [55]-ssl openssl mode. A SSL-enabled Java applet VNC Viewer
+ [54]stunnel (also [55]stunnel.mirt.net) or using the built-in
+ (Mar/2006) [56]-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 [56]this FAQ on -ssl and -stunnel modes for
+ useful alternative. See [57]this FAQ on -ssl and -stunnel modes for
details and examples.
- The [57]Enhanced TightVNC Viewer packages contains some convenient
- utilities to automatically set up an SSL tunnel from the viewer-side
- (i.e. to connect to "x11vnc -ssl ..."). And other enhancements too.
+ The [58]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.
_________________________________________________________________
Downloading x11vnc:
- x11vnc is a contributed program to the [58]LibVNCServer project at
+ x11vnc is a contributed program to the [59]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 Nov 2006, the [59]x11vnc-0.8.3.tar.gz source package is
- released (recommended download). The [60]x11vnc 0.8.3 release notes.
+ link. As of Nov 2006, the [60]x11vnc-0.8.3.tar.gz source package is
+ released (recommended download). The [61]x11vnc 0.8.3 release notes.
The x11vnc package is the subset of the libvncserver package needed to
build the x11vnc program. Also, you can get a copy of my latest,
- bleeding edge [61]x11vnc-0.8.4.tar.gz tarball to build the most up to
+ bleeding edge [62]x11vnc-0.8.4.tar.gz tarball to build the most up to
date one.
- Precompiled Binaries/Packages: See the [62]FAQ below for information
+ Precompiled Binaries/Packages: See the [63]FAQ below for information
about where you might obtain a precompiled x11vnc binary from 3rd
parties and some ones I create.
To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix)
try these links:
- * [63]http://www.tightvnc.com/download.html
- * [64]http://www.realvnc.com/download-free.html
- * [65]http://sourceforge.net/projects/cotvnc/
- * [66]http://www.ultravnc.com/
- * [67]Our Enhanced TightVNC Viewer packages
+ * [64]http://www.tightvnc.com/download.html
+ * [65]http://www.realvnc.com/download-free.html
+ * [66]http://sourceforge.net/projects/cotvnc/
+ * [67]http://www.ultravnc.com/
+ * [68]Our Enhanced TightVNC Viewer (ssvnc)
More tools: Here is a rsh/ssh wrapper script rx11vnc that attempts to
@@ -400,8 +402,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:
- * [68]rx11vnc wrapper script
- * [69]rx11vnc.pl wrapper script to tunnel traffic thru ssh
+ * [69]rx11vnc wrapper script
+ * [70]rx11vnc.pl wrapper script to tunnel traffic thru ssh
_________________________________________________________________
@@ -432,8 +434,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 [70]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc
- binaries are [71]here.
+ are at [71]http://www.sunfreeware.com/. Some Solaris pre-built x11vnc
+ binaries are [72]here.
However, one user reports it does work fine when built with Sun Studio
10, so YMMV. In fact, here is a little build script to do this on
@@ -453,12 +455,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 [72]build scripts below
+ libvncserver's choice of AM_CFLAGS. See the [73]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 [73]Misc. Build problems here.
+ You can find information on [74]Misc. Build problems here.
_________________________________________________________________
@@ -496,9 +498,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
- [74]ftp://ftp.uu.net/graphics/jpeg/ and zlib at
- [75]http://www.gzip.org/zlib/. See also
- [76]http://www.sunfreeware.com/ for Solaris binary packages of these
+ [75]ftp://ftp.uu.net/graphics/jpeg/ and zlib at
+ [76]http://www.gzip.org/zlib/. See also
+ [77]http://www.sunfreeware.com/ for Solaris binary packages of these
libraries as well as for gcc. Normally they will install into
/usr/local but you can install them anywhere with the
--prefix=/path/to/anywhere, etc.
@@ -569,7 +571,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 [77]this workaround FAQ.
+ OS's, see [78]this workaround FAQ.
Building on FreeBSD, OpenBSD, ...: The jpeg libraries seem to be in
@@ -617,81 +619,83 @@ make
Winter 2006.
The version 0.8.4 beta tarball is kept here:
- [78]x11vnc-0.8.4.tar.gz
+ [79]x11vnc-0.8.4.tar.gz
There are also some Linux, Solaris, and other OS test binaries
- [79]here. Please kick the tires and report bugs, performance
- regressions, undesired behavior, etc. to [80]me.
+ [80]here. Please kick the tires and report bugs, performance
+ regressions, undesired behavior, etc. to [81]me.
- To aid testing of the [81]built-in SSL support for x11vnc, a number of
+ To aid testing of the [82]built-in SSL support for x11vnc, a number of
packages for Unix and Windows have been created that provide SSL
- Support for the TightVNC Viewer (this is done by [82]wrapper scripts
- that start STUNNEL, [83]more details here) It should be pretty
+ Support for the TightVNC Viewer (this is done by [83]wrapper scripts
+ that start STUNNEL, [84]more details here) It should be pretty
convenient for SSL connections. A number of other features were added
to TightVNC Viewer (e.g. rfbNewFBSize resizing support). It is
- described and can be downloaded from the [84]Enhanced TightVNC Viewer
- page.
+ described and can be downloaded from the [85]Enhanced TightVNC Viewer
+ (ssvnc) page.
Here are some features that will appear in the 0.8.4 release:
* Native Mac OS X support.
+ * Wireframe copyrect detection for local user activity (e.g. someone
+ sitting at the physical display moving windows)
Here are some features that appeared in the 0.8.3 release:
- * The [85]-ssl option provides SSL encryption and authentication
- natively via the [86]www.openssl.org library. One can use from a
+ * The [86]-ssl option provides SSL encryption and authentication
+ natively via the [87]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 [87]-stunnel option starts up a SSL tunnel
+ * Similar to -ssl, the [88]-stunnel option starts up a SSL tunnel
server stunnel (that must be installed separately on the system:
- [88]www.stunnel.org [89]stunnel.mirt.net ) to allow only encrypted
+ [89]www.stunnel.org [90]stunnel.mirt.net ) to allow only encrypted
SSL connections from the network.
- * The [90]-sslverify option allows for authenticating VNC clients
+ * The [91]-sslverify option allows for authenticating VNC clients
via their certificates in either -ssl or -stunnel modes.
* Certificate creation and management tools are provide in the
- [91]-sslGenCert, [92]-sslGenCA, and [93]related options.
+ [92]-sslGenCert, [93]-sslGenCA, and [94]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 [94]-https port option). A wrapper shell script
- [95]ssl_vncviewer is also provided that sets up a stunnel
- client-side tunnel on Unix systems. See [96]Enhanced TightVNC
- Viewer for other SSL/SSH viewer possibilities.
- * The [97]-unixpw option supports Unix username and password
- authentication (a simpler variant is the [98]-unixpw_nis option
+ separate [95]-https port option). A wrapper shell script
+ [96]ss_vncviewer is also provided that sets up a stunnel
+ client-side tunnel on Unix systems. See [97]Enhanced TightVNC
+ Viewer (ssvnc) for other SSL/SSH viewer possibilities.
+ * The [98]-unixpw option supports Unix username and password
+ authentication (a simpler variant is the [99]-unixpw_nis option
that works in environments where the encrypted passwords are
- readable, e.g. NIS). The [99]-ssl or [100]-localhost +
- [101]-stunnel options are enforced in this mode to prevent
+ readable, e.g. NIS). The [100]-ssl or [101]-localhost +
+ [102]-stunnel options are enforced in this mode to prevent
password sniffing. As a convenience, these requirements are lifted
if a SSH tunnel can be deduced (but -localhost still applies).
- * Coupling [102]-unixpw with [103]-display WAIT:cmd=FINDDISPLAY
+ * Coupling [103]-unixpw with [104]-display WAIT:cmd=FINDDISPLAY
provides a way to allow a user to login with their UNIX password
- and have their display connected to [104]automatically.
- * Hooks are provided in the [105]-unixpw_cmd and "[106]-passwdfile
+ and have their display connected to [105]automatically.
+ * Hooks are provided in the [106]-unixpw_cmd and "[107]-passwdfile
cmd:,custom:..." options to allow you to supply your own
authentication and password lookup programs.
* x11vnc can be configured and built to not depend on X11 libraries
- "./configure --without-x" for [107]-rawfb only operation (e.g.
+ "./configure --without-x" for [108]-rawfb only operation (e.g.
embedded linux console devices).
- * The [108]-rotate option enables you to rotate or reflect the
+ * The [109]-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 "[109]-ultrafilexfer" alias is provided and improved UltraVNC
+ * The "[110]-ultrafilexfer" alias is provided and improved UltraVNC
filetransfer rates have been achieved.
- * Under the "[110]-connect_or_exit host" option x11vnc will exit
+ * Under the "[111]-connect_or_exit host" option x11vnc will exit
immediately unless the reverse connection to host succeeds. The
"-rfbport 0" option disables TCP listening for connections (useful
for this mode).
- * The "[111]-rawfb rand" and "-rawfb none" options are useful for
+ * The "[112]-rawfb rand" and "-rawfb none" options are useful for
testing automation scripts, etc., without requiring a full
desktop.
- * Reduced spewing of information at startup, use "[112]-verbose"
+ * Reduced spewing of information at startup, use "[113]-verbose"
(also "-v") to turn it back on for debugging or if you are going
to send me a problem report.
- Here are some [113]Previous Release Notes
+ Here are some [114]Previous Release Notes
_________________________________________________________________
Some Notes:
@@ -718,11 +722,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 [114]-solid [color] option that
+ Update: As of Feb/2005 x11vnc has the [115]-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 [115]TightVNC encoding gives the best response for my
+ I also find the [116]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.
@@ -734,16 +738,16 @@ make
is X11's default listening port). Had port 5900 been taken by some
other application, x11vnc would have next tried 5901. That would mean
the viewer command above should be changed to vncviewer
- far-away.east:1. You can force the port with the "[116]-rfbport NNNN"
+ far-away.east:1. You can force the port with the "[117]-rfbport NNNN"
option where NNNN is the desired port number. If that port is already
taken, x11vnc will exit immediately. (also see the "SunRay Gotcha"
note below)
Options: x11vnc has (far too) many features that may be activated
- via its [117]command line options. Useful options are, e.g., -scale to
+ via its [118]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
- [118]-storepasswd option can be used to create the password file).
+ [119]-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
@@ -770,7 +774,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 [119]even more
+ window manager decorations. There will be an [120]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
@@ -780,8 +784,8 @@ make
Sun Ray Notes:
- You can run x11vnc on your (connected or disconnected) [120]SunRay
- session. Here are some [121]notes on SunRay usage with x11vnc.
+ You can run x11vnc on your (connected or disconnected) [121]SunRay
+ session. Here are some [122]notes on SunRay usage with x11vnc.
_________________________________________________________________
@@ -793,7 +797,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
- [122]-scrollcopyrect and [123]-wireframe speedups using the
+ [123]-scrollcopyrect and [124]-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
@@ -840,14 +844,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
- [124]this FAQ for details.
+ [125]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" [125]options, however, for a partial hack
+ X" and "-cursor some" [126]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 [126]-overlay option is also supplied. A similar thing is done
+ the [127]-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
@@ -855,18 +859,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 [127]the FAQ on this below.) The
+ redirectors do exist, e.g. esd [128]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 [128]-scrollcopyrect option
+ * The scroll detection algorithm for the [129]-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 [129]contact me if you have any questions,
+ Please feel free to [130]contact me if you have any questions,
problems, or comments about x11vnc, etc.
- Also, some people ask if they can make a donation, see [130]this link
+ Also, some people ask if they can make a donation, see [131]this link
for that.
_________________________________________________________________
@@ -875,341 +879,345 @@ make
[Building and Starting]
- [131]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed
+ [132]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?
- [132]Q-2: I can't get x11vnc and/or libvncserver to compile.
+ [133]Q-2: I can't get x11vnc and/or libvncserver to compile.
- [133]Q-3: I just built x11vnc successfully, but when I use it my
+ [134]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).
- [134]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old
+ [135]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old
Unix/Linux) and it doesn't compile!
- [135]Q-5: Where can I get a precompiled x11vnc binary for my Operating
+ [136]Q-5: Where can I get a precompiled x11vnc binary for my Operating
System?
- [136]Q-6: Where can I get a VNC Viewer binary (or source code) for the
+ [137]Q-6: Where can I get a VNC Viewer binary (or source code) for the
Operating System I will be viewing from?
- [137]Q-7: How can I see all of x11vnc's command line options and
+ [138]Q-7: How can I see all of x11vnc's command line options and
documentation on how to use them?
- [138]Q-8: I don't like typing arcane command line options every time I
+ [139]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?
- [139]Q-9: How can I get the GUI to run in the System Tray, or at least
+ [140]Q-9: How can I get the GUI to run in the System Tray, or at least
be a smaller, simpler icon?
- [140]Q-10: How can I get x11vnc to listen on a different port besides
+ [141]Q-10: How can I get x11vnc to listen on a different port besides
the default VNC port (5900)?
- [141]Q-11: Can I make x11vnc more quiet and also go into the
+ [142]Q-11: Can I make x11vnc more quiet and also go into the
background after starting up?
- [142]Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies
+ [143]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.
- [143]Q-13: Are there any build-time customizations possible, e.g.
+ [144]Q-13: Are there any build-time customizations possible, e.g.
change defaults, create a smaller binary, etc?
[Win2VNC Related]
- [144]Q-14: I have two separate machine displays in front of me, one
+ [145]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?
- [145]Q-15: I am running Win2VNC on my Windows machine and "x11vnc
+ [146]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
+ [147]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]
- [146]Q-16: The X display I run x11vnc on is only 8 bits per pixel
+ [148]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.
- [147]Q-17: Color problems: Why are the colors for some windows
+ [149]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.
- [148]Q-18: How do I figure out the window id to supply to the -id
+ [150]Q-19: How do I figure out the window id to supply to the -id
windowid option?
- [149]Q-19: Why don't menus or other transient windows come up when I
+ [151]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?
- [150]Q-20: My X display is depth 24 at 24bpp (instead of the normal
+ [152]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]
- [151]Q-21: Can I use x11vnc to view and interact with an Xterminal
+ [153]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?
- [152]Q-22: How do I get my X permissions (MIT-MAGIC-COOKIE file)
+ [154]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]
- [153]Q-23: I'm having trouble using x11vnc with my Sun Ray session.
+ [155]Q-24: I'm having trouble using x11vnc with my Sun Ray session.
[Remote Control]
- [154]Q-24: How do I stop x11vnc once it is running in the background?
+ [156]Q-25: How do I stop x11vnc once it is running in the background?
- [155]Q-25: Can I change settings in x11vnc without having to restart
+ [157]Q-26: Can I change settings in x11vnc without having to restart
it? Can I remote control it?
[Security and Permissions]
- [156]Q-26: How do I create a VNC password for use with x11vnc?
+ [158]Q-27: How do I create a VNC password for use with x11vnc?
- [157]Q-27: Can I make it so -storepasswd doesn't show my password on
+ [159]Q-28: Can I make it so -storepasswd doesn't show my password on
the screen?
- [158]Q-28: Can I have two passwords for VNC viewers, one for full
+ [160]Q-29: Can I have two passwords for VNC viewers, one for full
access and the other for view-only access to the display?
- [159]Q-29: Can I have as many full-access and view-only passwords as I
+ [161]Q-30: Can I have as many full-access and view-only passwords as I
like?
- [160]Q-30: Does x11vnc support Unix usernames and passwords? Can I
+ [162]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?
- [161]Q-31: Can I supply an external program to provide my own custom
+ [163]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)?
- [162]Q-32: Why does x11vnc exit as soon as the VNC viewer disconnects?
+ [164]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?
- [163]Q-33: Can I limit which machines incoming VNC clients can connect
+ [165]Q-34: Can I limit which machines incoming VNC clients can connect
from?
- [164]Q-34: How do I build x11vnc/libvncserver with libwrap
+ [166]Q-35: How do I build x11vnc/libvncserver with libwrap
(tcp_wrappers) support?
- [165]Q-35: Can I have x11vnc only listen on one network interface
+ [167]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?
- [166]Q-36: Now that -localhost implies listening only on the loopback
+ [168]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?
- [167]Q-37: Can I fine tune what types of user input are allowed? E.g.
+ [169]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?
- [168]Q-38: Can I prompt the user at the local X display whether the
+ [170]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?
- [169]Q-39: I start x11vnc as root because it is launched via inetd(8)
+ [171]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?
- [170]Q-40: I use a screen-lock when I leave my workstation (e.g.
+ [172]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?
- [171]Q-41: Can I have x11vnc automatically lock the screen when I
+ [173]Q-42: Can I have x11vnc automatically lock the screen when I
disconnect the VNC viewer?
- [172]Q-42: Help! x11vnc and my KDE screensaver keep switching each
- other on and off every few seconds.
-
[Encrypted Connections]
- [173]Q-43: How can I tunnel my connection to x11vnc via an encrypted
+ [174]Q-43: How can I tunnel my connection to x11vnc via an encrypted
SSH channel between two Unix machines?
- [174]Q-44: How can I tunnel my connection to x11vnc via an encrypted
+ [175]Q-44: How can I tunnel my connection to x11vnc via an encrypted
SSH channel from Windows using an SSH client like Putty?
- [175]Q-45: How can I tunnel my connection to x11vnc via an encrypted
+ [176]Q-45: How can I tunnel my connection to x11vnc via an encrypted
SSL channel using an external tool like stunnel?
- [176]Q-46: Does x11vnc have built-in SSL tunneling?
+ [177]Q-46: Does x11vnc have built-in SSL tunneling?
- [177]Q-47: How do I use VNC Viewers with built-in SSL tunneling?
+ [178]Q-47: How do I use VNC Viewers with built-in SSL tunneling?
- [178]Q-48: How do I use VNC Viewers with built-in SSL tunneling when
+ [179]Q-48: How do I use VNC Viewers with built-in SSL tunneling when
going through a Web Proxy?
- [179]Q-49: Can Apache web server act as a gateway for users to connect
+ [180]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?
- [180]Q-50: Can I create and use my own SSL Certificate Authority (CA)
+ [181]Q-50: Can I create and use my own SSL Certificate Authority (CA)
with x11vnc?
[Display Managers and Services]
- [181]Q-51: How can I run x11vnc as a "service" that is always
+ [182]Q-51: How can I run x11vnc as a "service" that is always
available?
- [182]Q-52: How can I use x11vnc to connect to an X login screen like
+ [183]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).
- [183]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
+ [184]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
- [184]Q-54: Can I have x11vnc allow a user to log in with her UNIX
- password and then have it find her X display on that machine and
+ [185]Q-54: Can I have x11vnc allow a user to log in with her UNIX
+ password and then have it find her X display on that machine and then
connect to it?
- [185]Q-55: Can I have x11vnc restart itself after it terminates?
+ [186]Q-55: Can I have x11vnc restart itself after it terminates?
- [186]Q-56: How do I make x11vnc work with the Java VNC viewer applet
+ [187]Q-56: How do I make x11vnc work with the Java VNC viewer applet
in a web browser?
- [187]Q-57: Are reverse connections (i.e. the VNC server connecting to
+ [188]Q-57: Are reverse connections (i.e. the VNC server connecting to
the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported?
- [188]Q-58: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a
+ [189]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).
- [189]Q-59: How can I use x11vnc on "headless" machines? Why might I
+ [190]Q-59: How can I use x11vnc on "headless" machines? Why might I
want to?
[Resource Usage and Performance]
- [190]Q-60: I have lots of memory, but why does x11vnc fail with
+ [191]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)?
- [191]Q-61: How can I make x11vnc use less system resources?
+ [192]Q-61: How can I make x11vnc use less system resources?
- [192]Q-62: How can I make x11vnc use MORE system resources?
+ [193]Q-62: How can I make x11vnc use MORE system resources?
- [193]Q-63: I use x11vnc over a slow link with high latency (e.g.
+ [194]Q-63: I use x11vnc over a slow link with high latency (e.g.
dialup modem), is there anything I can do to speed things up?
- [194]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find
+ [195]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find
modified regions of the screen quickly and efficiently?
- [195]Q-65: When I drag windows around with the mouse or scroll up and
+ [196]Q-65: My OpenGL application shows no screen updates unless I
+ supply the -noxdamage option to x11vnc.
+
+ [197]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?
- [196]Q-66: Why not do something like wireframe animations to avoid the
+ [198]Q-67: Why not do something like wireframe animations to avoid the
windows "lurching" when being moved or resized?
- [197]Q-67: Can x11vnc try to apply heuristics to detect when a window
+ [199]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?
[Mouse Cursor Shapes]
- [198]Q-68: Why isn't the mouse cursor shape (the little icon shape
+ [200]Q-69: Why isn't the mouse cursor shape (the little icon shape
where the mouse pointer is) correct as I move from window to window?
- [199]Q-69: When using XFIXES cursorshape mode, some of the cursors
+ [201]Q-70: 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?
- [200]Q-70: In XFIXES mode, are there any hacks to handle cursor
+ [202]Q-71: In XFIXES mode, are there any hacks to handle cursor
transparency ("alpha channel") exactly?
[Mouse Pointer]
- [201]Q-71: Why does the mouse arrow just stay in one corner in my
+ [203]Q-72: Why does the mouse arrow just stay in one corner in my
vncviewer, whereas my cursor (that does move) is just a dot?
- [202]Q-72: Can I take advantage of the TightVNC extension to the VNC
+ [204]Q-73: 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)?
- [203]Q-73: Is it possible to swap the mouse buttons (e.g. left-handed
+ [205]Q-74: 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]
- [204]Q-74: How can I get my AltGr and Shift modifiers to work between
+ [206]Q-75: How can I get my AltGr and Shift modifiers to work between
keyboards for different languages?
- [205]Q-75: When I try to type a "<" (i.e. less than) instead I get ">"
+ [207]Q-76: When I try to type a "<" (i.e. less than) instead I get ">"
(i.e. greater than)! Strangely, typing ">" works OK!!
- [206]Q-76: When I try to type a "<" (i.e. less than) instead I get
+ [208]Q-77: When I try to type a "<" (i.e. less than) instead I get
"<," (i.e. an extra comma).
- [207]Q-77: I'm using an "international" keyboard (e.g. German "de", or
+ [209]Q-78: 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?
- [208]Q-78: When typing I sometimes get double, triple, or more of my
+ [210]Q-79: 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?
- [209]Q-79: The x11vnc -norepeat mode is in effect, but I still get
+ [211]Q-80: The x11vnc -norepeat mode is in effect, but I still get
repeated keystrokes!!
- [210]Q-80: The machine where I run x11vnc has an AltGr key, but the
+ [212]Q-81: 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?
- [211]Q-81: I have a Sun machine I run x11vnc on. Its Sun keyboard has
+ [213]Q-82: 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)
- [212]Q-82: Can I map a keystroke to a mouse button click on the remote
+ [214]Q-83: Can I map a keystroke to a mouse button click on the remote
machine?
- [213]Q-83: How can I get Caps_Lock to work between my VNC viewer and
+ [215]Q-84: How can I get Caps_Lock to work between my VNC viewer and
x11vnc?
[Screen Related Issues and Features]
- [214]Q-84: The remote display is larger (in number of pixels) than the
+ [216]Q-85: 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?
- [215]Q-85: Does x11vnc support server-side framebuffer scaling? (E.g.
+ [217]Q-86: Does x11vnc support server-side framebuffer scaling? (E.g.
to make the desktop smaller).
- [216]Q-86: Does x11vnc work with Xinerama? (i.e. multiple monitors
+ [218]Q-87: Does x11vnc work with Xinerama? (i.e. multiple monitors
joined together to form one big, single screen).
- [217]Q-87: Can I use x11vnc on a multi-headed display that is not
+ [219]Q-88: Can I use x11vnc on a multi-headed display that is not
Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)?
- [218]Q-88: Can x11vnc show only a portion of the display? (E.g. for a
+ [220]Q-89: Can x11vnc show only a portion of the display? (E.g. for a
special purpose rfb application).
- [219]Q-89: Does x11vnc support the XRANDR (X Resize, Rotate and
+ [221]Q-90: Does x11vnc support the XRANDR (X Resize, Rotate and
Reflection) extension? Whenever I rotate or resize the screen x11vnc
just seems to crash.
- [220]Q-90: Independent of any XRANDR, can I have x11vnc rotate and/or
+ [222]Q-91: 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).
- [221]Q-91: Why is the view in my VNC viewer completely black? Or why
+ [223]Q-92: Why is the view in my VNC viewer completely black? Or why
is everything flashing around randomly?
- [222]Q-92: I use Linux Virtual Consoles (VC's) to implement 'Fast User
+ [224]Q-93: 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
@@ -1217,53 +1225,60 @@ make
otherwise all messed up unless the X session x11vnc is attached to is
in the active VC?
- [223]Q-93: I am using x11vnc where my local machine has "popup/hidden
- taskbars" (e.g. GNOME or MacOS X) and the remote display where x11vnc
- runs also has "popup/hidden taskbars" (e.g. GNOME). When I move the
- mouse to the edge of the screen where the popups happen, the taskbars
- interfere and fight with each other in strange ways. What can I do?
+ [225]Q-94: 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?
- [224]Q-94: Can I use x11vnc to view my VMWare session remotely?
+ [226]Q-95: Help! x11vnc and my KDE screensaver keep switching each
+ other on and off every few seconds.
+
+ [227]Q-96: Can I use x11vnc to view my VMWare session remotely?
- [225]Q-95: Can non-X devices (e.g. a raw framebuffer) be viewed (and
+ [Exporting non-X11 devices via VNC]
+
+ [228]Q-97: Can non-X devices (e.g. a raw framebuffer) be viewed (and
even controlled) via VNC with x11vnc?
- [226]Q-96: Can I export via VNC a Webcam or TV tuner framebuffer using
+ [229]Q-98: Can I export via VNC a Webcam or TV tuner framebuffer using
x11vnc?
- [227]Q-97: Can I connect via VNC to a Qt-embedded/Qtopia application
+ [230]Q-99: 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)?
- [228]Q-98: Now that non-X11 devices can be exported via VNC using
+ [231]Q-100: 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?
- [229]Q-99: Can I use x11vnc to record a Shock Wave Flash (or other
- format) video of my desktop, e.g. to record a tutorial or demo?
+ [232]Q-101: Does x11vnc support Mac OS X Aqua/Quartz displays natively
+ (i.e. no X11 involved)?
[Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps,
Thanks, etc.]
- [230]Q-100: Does the Clipboard/Selection get transferred between the
+ [233]Q-102: Does the Clipboard/Selection get transferred between the
vncviewer and the X display?
- [231]Q-101: Can I transfer files back and forth with x11vnc?
+ [234]Q-103: 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?
+
+ [235]Q-104: Can I transfer files back and forth with x11vnc?
- [232]Q-102: Can I (temporarily) mount my local (viewer-side)
+ [236]Q-105: Can I (temporarily) mount my local (viewer-side)
Windows/Samba File share on the machine where x11vnc is running?
- [233]Q-103: Can I redirect CUPS print jobs from the remote desktop
+ [237]Q-106: Can I redirect CUPS print jobs from the remote desktop
where x11vnc is running to a printer on my local (viewer-side)
machine?
- [234]Q-104: How can I hear the sound (audio) from the remote
+ [238]Q-107: How can I hear the sound (audio) from the remote
applications on the desktop I am viewing via x11vnc?
- [235]Q-105: Why don't I hear the "Beeps" in my X session (e.g. when
+ [239]Q-108: Why don't I hear the "Beeps" in my X session (e.g. when
typing tput bel in an xterm)?
- [236]Q-106: Thanks for your program and for your help! Can I make a
+ [240]Q-109: Thanks for your program and for your help! Can I make a
donation?
_________________________________________________________________
@@ -1276,7 +1291,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 [237]-display
+ on). Set your DISPLAY environment variable or use the [241]-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).
@@ -1293,9 +1308,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 [238]this Howto for much info on X11 permissions. For example, you
+ or [242]this Howto for much info on X11 permissions. For example, you
may need to set your XAUTHORITY environment variable or use the
- [239]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g.
+ [243]-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
@@ -1317,7 +1332,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 [240]this faq for other display manager
+ read the gdm cookie file, see [244]this faq for other display manager
cookie file names). While running x11vnc as root, remember it comes
with no warranty ;-).
@@ -1327,7 +1342,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 [241]-users option).
+ (please read the documentation on the [245]-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
@@ -1349,8 +1364,9 @@ make
Q-2: I can't get x11vnc and/or libvncserver to compile.
Make sure you have gcc (or other C compiler) and all of the required
- libraries and corresponding -dev/-devel packages installed. These
- include Xorg/XFree86, libX11, libjpeg, libz, libssl, ...
+ libraries and the corresponding -dev/-devel packages installed. These
+ include Xorg/XFree86, libX11, libjpeg, libz, libssl, ... and don't
+ forget the devs: libjpeg-dev, libssl-dev ...
The most common build problem that people encounter is that the
necessary X11 libraries are installed on their system however it does
@@ -1411,12 +1427,27 @@ libssl.so libcrypto.so libcrypt.so
For other distros or OS's the package names may not be the same but
will look similar. Also, distros tend to rename packages as well so
- the above list may be out of date.
+ the above list may be out of date. So only use the above lists as
+ hints for the package names that are needed.
Note: there is growing trend in Linux and other distros to slice up
core X11 software into more and smaller packages. So be prepared for
more headaches compiling software.
+ libssl: One user pointed out that if you use a precompiled binary
+ (either one you downloaded or built on another machine) there is a
+ chance it won't work because that x11vnc binary requires libssl0.9.7
+ but the system only has libssl0.9.8 (which evidently is incompatible
+ with 0.9.7 and has a different SONAME). Your distro should allow you
+ do have both runtimes installed on your system:
+ % dpkg -l libssl0.9.7 libssl0.9.8
+ ...
+ ii libssl0.9.7 0.9.7g-5ubuntu SSL shared libraries
+ ii libssl0.9.8 0.9.8a-7ubuntu SSL shared libraries
+
+ (in fact it should have installed both by default if it knew what it
+ was doing).
+
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
@@ -1457,6 +1488,23 @@ h
20/03/2005 22:33:09 No XTEST extension, switching to -xwarppointer mode for
20/03/2005 22:33:09 pointer motion input.
+ Also, as of Nov/2006 there will be a configure build time warning as
+ well:
+ ...
+ checking for XFixesGetCursorImage in -lXfixes... yes
+ checking for XDamageQueryExtension in -lXdamage... yes
+ configure: WARNING:
+ ==========================================================================
+ A working build environment for the XTEST extension was not found (libXtst).
+ An x11vnc built this way will be only barely usable. You will be able to
+ move the mouse but not click or type. There can also be deadlocks if an
+ application grabs the X server.
+
+ It is recommended that you install the necessary development packages
+ for XTEST (perhaps it is named something like libxtst-dev) and run
+ configure again.
+ ==========================================================================
+
Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old
Unix/Linux) and it doesn't compile!
@@ -1472,7 +1520,7 @@ h
earlier and perhaps non-Solaris):
First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the
- above [242]Solaris build script to run the configure command. That
+ above [246]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
@@ -1498,7 +1546,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
- [243]SunOS 4.x
+ [247]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
@@ -1508,28 +1556,28 @@ typedef unsigned int in_addr_t;
Q-5: Where can I get a precompiled x11vnc binary for my Operating
System?
- Hopefully the [244]build steps above and [245]FAQ provide enough info
+ Hopefully the [248]build steps above and [249]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) [246]http://packages.debian.org/x11vnc
-
- Slackware: (.tgz) [247]http://www.linuxpackages.net/ Redhat/Fedora:
- (.rpm) [248]http://dag.wieers.com/packages/x11vnc/
- [249]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm)
- [250]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg)
- [251]http://www.sunfreeware.com/ FreeBSD: (.tbz)
- [252]http://www.freebsd.org/ [253]http://www.freshports.org/net/x11vnc
- OpenBSD: (.tgz) [254]http://www.openbsd.org/ NetBSD: (src)
- [255]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb)
- [256]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus
- [257]http://www.pdaxrom.org/ and [258]http://www.focv.com/
+ Debian: (.deb) [250]http://packages.debian.org/x11vnc
+
+ Slackware: (.tgz) [251]http://www.linuxpackages.net/ Redhat/Fedora:
+ (.rpm) [252]http://dag.wieers.com/packages/x11vnc/
+ [253]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm)
+ [254]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg)
+ [255]http://www.sunfreeware.com/ FreeBSD: (.tbz)
+ [256]http://www.freebsd.org/ [257]http://www.freshports.org/net/x11vnc
+ OpenBSD: (.tgz) [258]http://www.openbsd.org/ NetBSD: (src)
+ [259]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb)
+ [260]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus
+ [261]http://www.pdaxrom.org/ and [262]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 [259]my collection of
+ (and all else fails!) you can try one of [263]my collection of
binaries for various OS's and x11vnc releases.
As a general note, the x11vnc program is simple enough you don't
@@ -1547,7 +1595,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 [260]-httpdir option. E.g.:
+ tarball and point x11vnc to it via the [264]-httpdir option. E.g.:
x11vnc -httpdir /path/to/x11vnc-0.8.3/classes/ssl ...
@@ -1556,11 +1604,11 @@ typedef unsigned int in_addr_t;
To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix)
try here:
- * [261]http://www.tightvnc.com/download.html
- * [262]http://www.realvnc.com/download-free.html
- * [263]http://sourceforge.net/projects/cotvnc/
- * [264]http://www.ultravnc.com/
- * [265]Our Enhanced TightVNC Viewer packages
+ * [265]http://www.tightvnc.com/download.html
+ * [266]http://www.realvnc.com/download-free.html
+ * [267]http://sourceforge.net/projects/cotvnc/
+ * [268]http://www.ultravnc.com/
+ * [269]Our Enhanced TightVNC Viewer (ssvnc)
Q-7: How can I see all of x11vnc's command line options and
@@ -1568,7 +1616,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
- [266]here as well. Yes, x11vnc does have a lot of options, doesn't
+ [270]here as well. Yes, x11vnc does have a lot of options, doesn't
it...
@@ -1600,10 +1648,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 [267]-gui option for more info. Examples: "x11vnc
+ for testing. See the [271]-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 "[268]-gui tray" system tray mode.
+ also a "[272]-gui tray" system tray mode.
Q-9: How can I get the GUI to run in the System Tray, or at least be a
@@ -1642,11 +1690,11 @@ display :0
Q-11: Can I make x11vnc more quiet and also go into the background
after starting up?
- Use the [269]-q and [270]-bg options, respectively. (also: -quiet is
+ Use the [273]-q and [274]-bg options, respectively. (also: -quiet is
an alias for -q)
Note that under -bg the stderr messages will be lost unless you use
- the "[271]-o logfile" option.
+ the "[275]-o logfile" option.
Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with
@@ -1667,7 +1715,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 [272]build notes for general background).
+ (see the [276]build notes for general background).
/*
* Mar/2006
* Build-time customization via CPPFLAGS.
@@ -1738,21 +1786,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 "[273]-nofb" option
+ Yes, for best response start up x11vnc with the "[277]-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 [274]x2vnc, however you would
+ This will also work X11 to X11 using [278]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:
- * [275]Original Win2VNC
- * [276]Enhanced Win2VNC and [277]sourceforge link
- * [278]x2vnc
- * [279]x2x also [280]here
- * [281]zvnc (MorphOS)
+ * [279]Original Win2VNC
+ * [280]Enhanced Win2VNC and [281]sourceforge link
+ * [282]x2vnc
+ * [283]x2x also [284]here
+ * [285]zvnc (MorphOS)
All of them will work with x11vnc (except x2x where it is not needed).
@@ -1772,7 +1820,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 [282]-visual option to allow you to force the framebuffer
+ has the [286]-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:
@@ -1781,13 +1829,23 @@ display :0
So the visual will be set to 8bpp TrueColor and Win2VNC can handle
this. Since Win2VNC does not use the framebuffer data there should be
no problems in doing this.
+
+ 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?
+
+ Yes, as of Nov/2006 [287]you can. There may be a trick or two you'll
+ need to do to get the Clipboard exchange between the machines to work.
+
+
+
[Color Issues]
- Q-16: The X display I run x11vnc on is only 8 bits per pixel (bpp)
+ 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.
- Use the [283]-flashcmap option to have x11vnc watch for changes in the
+ Use the [288]-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
@@ -1796,30 +1854,30 @@ display :0
example of this. Consider reconfiguring the system to 16 bpp or depth
24 TrueColor if at all possible.
- Also note the option [284]-8to24 (Jan/2006) can often remove the need
+ Also note the option [289]-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 [285]-notruecolor option has corrected colors
+ In some rare cases the [290]-notruecolor option has corrected colors
on 8bpp displays. The red, green, and blue masks were non-zero in 8bpp
PseudoColor on an obscure setup, and this option corrected the
problems.
- Q-17: Color problems: Why are the colors for some windows incorrect in
+ 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.
- You may want to review the [286]previous question regarding 8 bpp
+ You may want to review the [291]previous question regarding 8 bpp
PseudoColor.
- On some hardware (Sun/SPARC and SGI), the [287]-overlay option
+ On some hardware (Sun/SPARC and SGI), the [292]-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
- [288]-8to24 option may help (also discussed below).
+ [293]-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
@@ -1855,7 +1913,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 [289]-overlay x11vnc option (Aug/2004) to have x11vnc use the
+ use the [294]-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
@@ -1880,7 +1938,7 @@ TrueColor defdepth 24
Xsun, e.g. in your /etc/dt/config/Xservers file).
- The -8to24 mode: The [290]-8to24 x11vnc option (Jan/2006) is a kludge
+ The -8to24 mode: The [295]-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
@@ -1894,11 +1952,11 @@ TrueColor defdepth 24
32bpp view is exported via VNC.
Even on pure 8bpp displays it can be used as an alternative to
- [291]-flashcmap to avoid color flashing completely.
+ [296]-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: [292]-fixscreen V=3.0 to
+ row, or by using something like: [297]-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.
@@ -1911,42 +1969,42 @@ 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 [293]-8to24 help description for information on
+ speedup. See the [298]-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 [294]-id option to
+ possible workaround in this case is to use the [299]-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 [295]-8to24 method
+ for x11vnc to be able to do so in real time. The [300]-8to24 method
does this approximately and is somewhat usable. Fortunately the
- [296]-overlay option works for Solaris machines with overlay visuals
+ [301]-overlay option works for Solaris machines with overlay visuals
where most of this problem occurs.
- Q-18: How do I figure out the window id to supply to the -id windowid
+ Q-19: How do I figure out the window id to supply to the -id windowid
option?
Run the xwininfo program in a terminal. It will ask you to click on
the desired application window. After clicking, it will print out much
information, including the window id (e.g. 0x6000010). Also, the
visual and depth of the window printed out is often useful in
- debugging x11vnc [297]color problems.
+ debugging x11vnc [302]color problems.
- Also, as of Dec/2004 you can use "[298]-id pick" to have x11vnc run
+ Also, as of Dec/2004 you can use "[303]-id pick" to have x11vnc run
xwininfo(1) for you and after you click the window it extracts the
windowid. Besides "pick" there is also "id:root" to allow you to go
back to root window when doing remote-control.
- Q-19: Why don't menus or other transient windows come up when I am
+ 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?
This is related to the behavior of the XGetImage(3X11) and
@@ -1958,10 +2016,10 @@ TrueColor defdepth 24
you should be able to see these transient windows.
If things are not working and you still want to do the single window
- polling, try the [299]-sid windowid option ("shifted" windowid).
+ polling, try the [304]-sid windowid option ("shifted" windowid).
- Q-20: My X display is depth 24 at 24bpp (instead of the normal depth
+ 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?
@@ -1993,7 +2051,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 [300]-24to32 option to have
+ Update: as of Apr/2006 you can use the [305]-24to32 option to have
x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra
transformation could slow things down further however.
@@ -2004,7 +2062,7 @@ TrueColor defdepth 24
24bpp for the vncviewers to work on that X display.
[Xterminals]
- Q-21: Can I use x11vnc to view and interact with an Xterminal (e.g.
+ 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?
@@ -2012,18 +2070,18 @@ TrueColor defdepth 24
since you will be polling the X display over the network as opposed to
over the local hardware. To do this, run x11vnc on a UNIX machine as
close as possible network-wise (e.g. same switch) to the Xterminal
- machine. Use the [301]-display option to point the display to that of
+ machine. Use the [306]-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 [302]-noshm option (this enables the polling
+ and finally supply the [307]-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 [303]-flipbyteorder if the
+ on the polling rate. You may also need [308]-flipbyteorder if the
colors get messed up due to endian byte order differences.
- Q-22: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct
+ Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct
for a Unix/Linux machine acting as an Xterminal?
If the X display machine is a traditional Xterminal (where the X
@@ -2044,7 +2102,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
- [304]-auth option to point to the correct file). Other options include
+ [309]-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 -
@@ -2056,7 +2114,7 @@ TrueColor defdepth 24
details.
If the display name in the cookie file needs to be changed between the
- two hosts, see [305]this note on the "xauth add ..." command.
+ two hosts, see [310]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
@@ -2070,7 +2128,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 [306]poll
+ Not recommended, but as a last resort, you could have x11vnc [311]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...)
@@ -2097,34 +2155,34 @@ TrueColor defdepth 24
[Sun Rays]
- Q-23: I'm having trouble using x11vnc with my Sun Ray session.
+ Q-24: I'm having trouble using x11vnc with my Sun Ray session.
- The [307]Sun Ray technology is a bit like "VNC done in hardware" (the
+ The [312]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 [308]this discussion of Sun Ray issues for
+ "Soft Ray". Please see [313]this discussion of Sun Ray issues for
solutions to problems.
[Remote Control]
- Q-24: How do I stop x11vnc once it is running in the background?
+ 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 [309]-remote and [310]-query
+ amount of things on the fly: see the [314]-remote and [315]-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 [311]-forever option has not been supplied, x11vnc will
+ If the [316]-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 [312]-bg option
+ If you have not put x11vnc in the background via the [317]-bg option
or shell & operator, then simply press Ctrl-C in the shell where
x11vnc is running to stop it.
@@ -2134,15 +2192,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 [313]-clear_mods
- option and [314]-clear_keys option can be used to release pressed keys
+ by tapping Ctrl, Shift, and Alt. Alternatively, the [318]-clear_mods
+ option and [319]-clear_keys option can be used to release pressed keys
at startup and exit.
- Q-25: Can I change settings in x11vnc without having to restart it?
+ Q-26: Can I change settings in x11vnc without having to restart it?
Can I remote control it?
- Look at the [315]-remote (same as -R) and [316]-query (same as -Q)
+ Look at the [320]-remote (same as -R) and [321]-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",
@@ -2153,14 +2211,14 @@ TrueColor defdepth 24
correctly for communication to be possible.
There is also a simple Tcl/Tk gui based on this remote control
- mechanism. See the [317]-gui option for more info. You will need to
+ mechanism. See the [322]-gui option for more info. You will need to
have Tcl/Tk (i.e. /usr/bin/wish) installed for it to work. It can also
run in the system tray: "-gui tray" or as a standalone icon window:
"-gui icon".
[Security and Permissions]
- Q-26: How do I create a VNC password for use with x11vnc?
+ Q-27: How do I create a VNC password for use with x11vnc?
You may already have one in $HOME/.vnc/passwd if you have used, say,
the vncserver program from the regular RealVNC or TightVNC packages
@@ -2168,12 +2226,12 @@ TrueColor defdepth 24
vncpasswd(1) program from those packages.
As of Jun/2004 x11vnc supports the -storepasswd "pass" "file"
- [318]option, which is the same functionality of storepasswd. Be sure
+ [323]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: "[319]-rfbauth
+ You then use the password via the x11vnc option: "[324]-rfbauth
$HOME/myvncpasswd"
As of Jan/2006 if you do not supply any arguments:
@@ -2185,11 +2243,11 @@ TrueColor defdepth 24
~/.mypass", the password you are prompted for will be stored in that
file.
- x11vnc also has the [320]-passwdfile and -passwd/-viewpasswd plain
+ x11vnc also has the [325]-passwdfile and -passwd/-viewpasswd plain
text (i.e. not obscured like the -rfbauth VNC passwords) password
options.
- You can use the [321]-usepw option to automatically use any password
+ You can use the [326]-usepw option to automatically use any password
file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is
used with the -passwdfile option).
@@ -2201,7 +2259,7 @@ TrueColor defdepth 24
who do not know better.
- Q-27: Can I make it so -storepasswd doesn't show my password on the
+ Q-28: Can I make it so -storepasswd doesn't show my password on the
screen?
You can use the vncpasswd program from RealVNC or TightVNC mentioned
@@ -2218,17 +2276,17 @@ TrueColor defdepth 24
~/.mypass"
- Q-28: Can I have two passwords for VNC viewers, one for full access
+ 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 [322]-viewpasswd option to supply the
- view-only password. Note the full-access password option [323]-passwd
+ Yes, as of May/2004 there is the [327]-viewpasswd option to supply the
+ view-only password. Note the full-access password option [328]-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
- [324]-passwdfile option to specify a file containing plain text
+ [329]-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
@@ -2236,7 +2294,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 [325]-rfbauth
+ View-only passwords currently do not work for the [330]-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
@@ -2246,10 +2304,10 @@ TrueColor defdepth 24
straight-forward to work out what to do from the VNC source code.
- Q-29: Can I have as many full-access and view-only passwords as I
+ 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 [326]-passwdfile
+ Yes, as of Jan/2006 in the libvncserver CVS the [331]-passwdfile
option has been extended to handle as many passwords as you like. You
put the view-only passwords after a line __BEGIN_VIEWONLY__.
@@ -2257,9 +2315,9 @@ TrueColor defdepth 24
You can have x11vnc re-read the file dynamically when it is modified.
- Q-30: Does x11vnc support Unix usernames and passwords? Can I further
+ 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 [327]-unixpw option that does
+ Update: as of Feb/2006 x11vnc has the [332]-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
@@ -2269,7 +2327,7 @@ TrueColor defdepth 24
A list of allowed Unix usernames may also be supplied along with
per-user settings.
- There is also the [328]-unixpw_nis option for non-shadow-password
+ There is also the [333]-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
@@ -2278,11 +2336,11 @@ TrueColor defdepth 24
shadow(5).
Two settings are enforced in the -unixpw and -unixpw_nis modes to
- provide extra security: the 1) [329]-localhost and 2) [330]-stunnel or
- [331]-ssl options. Without these one might send the Unix username and
+ provide extra security: the 1) [334]-localhost and 2) [335]-stunnel or
+ [336]-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 [332]-ssl (the constraint is automatically relaxed if
+ stunnel or [337]-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).
@@ -2301,13 +2359,13 @@ TrueColor defdepth 24
approximate at best.
One approximate method involves starting x11vnc with the
- [333]-localhost option. This basically requires the viewer user to log
+ [338]-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 [334]elsewhere on this page. [335]stunnel does this as well.
+ mentioned [339]elsewhere on this page. [340]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
@@ -2318,7 +2376,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 [336]-accept option that runs a program to examine the connection
+ the [341]-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
@@ -2350,11 +2408,11 @@ exit 1 # reject it
always be "root".
- Q-31: Can I supply an external program to provide my own custom login
+ 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)?
Yes, there are several possibilities. For background see the FAQ on
- the [337]-accept where an external program may be run to decide if a
+ the [342]-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,
@@ -2362,26 +2420,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:
- * [338]-unixpw_cmd command
- * [339]-passwdfile cmd:command
- * [340]-passwdfile custom:command
+ * [343]-unixpw_cmd command
+ * [344]-passwdfile cmd:command
+ * [345]-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 [341]-unixpw_cmd the normal [342]-unixpw Login: and Password:
+ For [346]-unixpw_cmd the normal [347]-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 "[343]-passwdfile cmd:command" the command is run and it returns a
- password list (like a password file, see the [344]-passwdfile
+ For "[348]-passwdfile cmd:command" the command is run and it returns a
+ password list (like a password file, see the [349]-passwdfile
read:filename mode). Perhaps a dynamic, one-time password is retrieved
from a server this way.
- For "[345]-passwdfile custom:command" one gets complete control over
+ For "[350]-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
@@ -2395,33 +2453,33 @@ exit 1 # reject it
it is rejected.
In all cases the "RFB_*" enviornment variables are set as under
- [346]-accept. These variables can provide useful information for the
+ [351]-accept. These variables can provide useful information for the
externally supplied program to use.
- Q-32: Why does x11vnc exit as soon as the VNC viewer disconnects? And
+ 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?
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 [347]-forever option (aka -many) to have
+ periods of time. Use the [352]-forever option (aka -many) to have
x11vnc wait for more connections after the first client disconnects.
- Use the [348]-shared option to have x11vnc allow multiple clients to
+ Use the [353]-shared option to have x11vnc allow multiple clients to
connect simultaneously.
- Recommended additional safety measures include using ssh ([349]see
- above), stunnel, [350]-ssl, or a VPN to authenticate and encrypt the
+ Recommended additional safety measures include using ssh ([354]see
+ above), stunnel, [355]-ssl, or a VPN to authenticate and encrypt the
viewer connections or to at least use the -rfbauth passwd-file
- [351]option to use VNC password protection (or [352]-passwdfile) It is
+ [356]option to use VNC password protection (or [357]-passwdfile) It is
up to YOU to apply these security measures, they will not be done for
you automatically.
- Q-33: Can I limit which machines incoming VNC clients can connect
+ Q-34: Can I limit which machines incoming VNC clients can connect
from?
- Yes, look at the [353]-allow and [354]-localhost options to limit
+ Yes, look at the [358]-allow and [359]-localhost options to limit
connections by hostname or IP address. E.g.
x11vnc -allow 192.168.0.1,192.168.0.2
@@ -2433,11 +2491,11 @@ exit 1 # reject it
Note that -localhost achieves the same thing as "-allow 127.0.0.1"
For more control, build libvncserver with libwrap support
- [355](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5)
+ [360](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5)
for complete details.
- Q-34: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers)
+ Q-35: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers)
support?
Here is one way to pass this information to the configure script:
@@ -2453,43 +2511,43 @@ exit 1 # reject it
is "vnc", e.g.:
vnc: 192.168.100.3 .example.com
- Note that if you run x11vnc out of [356]inetd you do not need to build
+ Note that if you run x11vnc out of [361]inetd you do not need to build
x11vnc with libwrap support because the /usr/sbin/tcpd reference in
/etc/inetd.conf handles the tcp_wrappers stuff.
- Q-35: Can I have x11vnc only listen on one network interface (e.g.
+ 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?
- As of Mar/2005 there is the "[357]-listen ipaddr" option that enables
+ As of Mar/2005 there is the "[362]-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
- "[358]-allow host1,..." option to allow only specific hosts in.
+ "[363]-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 [359]-localhost now implies "-listen localhost" since that
+ The option [364]-localhost now implies "-listen localhost" since that
is what most people expect it to do.
- Q-36: Now that -localhost implies listening only on the loopback
+ 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?
- To do this specify "[360]-allow localhost". Unlike [361]-localhost
+ To do this specify "[365]-allow localhost". Unlike [366]-localhost
this will leave x11vnc listening on all interfaces (but of course only
allowing in local connections, e.g. ssh redirs). Then you can later
run "x11vnc -R allowonce:somehost" or use to gui to permit a one-shot
connection from a remote host.
- Q-37: Can I fine tune what types of user input are allowed? E.g. have
+ 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?
- As of Feb/2005, the [362]-input option allows you to do this. "K",
+ As of Feb/2005, the [367]-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
@@ -2499,12 +2557,12 @@ exit 1 # reject it
remote control mechanism or the GUI. E.g. x11vnc -R input:hostname:M
- Q-38: Can I prompt the user at the local X display whether the
+ 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?
- Yes, look at the "[363]-accept command" option, it allows you to
+ Yes, look at the "[368]-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
@@ -2523,7 +2581,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 [364]-viewonly option has been
+ mouse on the "View" button. If the [369]-viewonly option has been
supplied, the "View" action will not be present: the whole display is
view only in that case.
@@ -2539,7 +2597,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 [365]ftp://ftp.x.org/
+ is available at [370]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
@@ -2578,7 +2636,7 @@ elif [ $rc = 4 ]; then
fi
exit 1
- Stefan Radman has written a nice dtksh script [366]dtVncPopup for use
+ Stefan Radman has written a nice dtksh script [371]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.
@@ -2587,23 +2645,23 @@ exit 1
popup is being run, so attached clients will not receive screen
updates, etc during this period.
- To run a command when a client disconnects, use the "[367]-gone
+ To run a command when a client disconnects, use the "[372]-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 "[368]-afteraccept command" option will run the
+ As of Jan/2006 the "[373]-afteraccept command" option will run the
command only after the VNC client has been accepted and authenticated.
Like -gone the return code is not interprted. RFB_MODE will be
"afteraccept").
- Q-39: I start x11vnc as root because it is launched via inetd(8) or a
+ 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?
- As of Feb/2005 x11vnc has the [369]-users option that allows things
+ As of Feb/2005 x11vnc has the [374]-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.
@@ -2615,7 +2673,7 @@ exit 1
warranty ;-).
- Q-40: I use a screen-lock when I leave my workstation (e.g.
+ 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
@@ -2628,7 +2686,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 [370]blockdpy.c The idea behind it is simple (but
+ source for it is [375]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
@@ -2644,16 +2702,16 @@ exit 1
bulletproof. A really robust solution would likely require X server
and perhaps even video hardware support.
- The blockdpy utility is launched by the [371]-accept option and told
- to exit via the [372]-gone option (the vnc client user should
+ The blockdpy utility is launched by the [376]-accept option and told
+ to exit via the [377]-gone option (the vnc client user should
obviously re-lock the screen before disconnecting!). Instructions can
be found in the source code for the utility at the above link.
- Q-41: Can I have x11vnc automatically lock the screen when I
+ Q-42: Can I have x11vnc automatically lock the screen when I
disconnect the VNC viewer?
- Yes, a user mentions he uses the [373]-gone option under CDE to run a
+ Yes, a user mentions he uses the [378]-gone option under CDE to run a
screen lock program:
x11vnc -display :0 -forever -gone 'dtaction LockDisplay'
@@ -2662,7 +2720,7 @@ exit 1
x11vnc -display :0 -forever -gone 'kdesktop_lock'
x11vnc -display :0 -forever -gone 'xlock &'
- Here is a scheme using the [374]-afteraccept option (in version 0.7.3)
+ Here is a scheme using the [379]-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
@@ -2687,41 +2745,27 @@ elif [ "X$RFB_MODE" = "Xgone" ]; then
fi
fi
- Q-42: Help! x11vnc and my KDE screensaver keep switching each other on
- and off every few seconds.
-
- This is a new (Jul/2006) problem seen, say, on the version of KDE that
- is shipped with SuSE 10.1. It is not yet clear what is causing this...
- If you move the mouse through x11vnc the screensaver shuts off like it
- should but then a second or two after you stop moving the mouse the
- screensaver snaps back on.
-
- 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 [375]here for how to
- disable kdesktop_lock). If you have more info on this or see it
- outside of KDE please let us know.
[Encrypted Connections]
Q-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 [376]how to tunnel VNC via
+ See the description earlier on this page on [380]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 [377]Enhanced TightVNC Viewer page where much of this is
- now automated.
+ See also the [381]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?
- [378]Above we described how to tunnel VNC via SSH from Unix to Unix,
+ [382]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
@@ -2742,11 +2786,11 @@ fi
:0 (plus other cmdline options) in the 'Remote command' Putty setting
under 'Connections/SSH'.
- See also the [379]Enhanced TightVNC Viewer page where much of this is
- now automated via the Putty plink utility.
+ See also the [383]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 [380]-localhost
- and [381]-rfbauth/[382]-passwdfile options.
+ For extra protection feel free to run x11vnc with the [384]-localhost
+ and [385]-rfbauth/[386]-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
@@ -2754,11 +2798,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 [383]chaining ssh's.
+ automated by [387]chaining ssh's.
- As discussed [384]above another option is to first start the VNC
+ As discussed [388]above another option is to first start the VNC
viewer in "listen" mode, and then launch x11vnc with the
- "[385]-connect localhost" option to establish the reverse connection.
+ "[389]-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).
@@ -2768,7 +2812,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 [386]stunnel (also [387]stunnel.mirt.net)
+ IPSEC. SSL tunnels such as [390]stunnel (also [391]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
@@ -2776,12 +2820,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 [388]-ssl,
- [389]-stunnel, and [390]-sslverify to provide integrated SSL schemes.
- They are discussed [391]in the Next FAQ (you may want to skip to it
+ Update: As of Feb/2006 x11vnc has the options [392]-ssl,
+ [393]-stunnel, and [394]-sslverify to provide integrated SSL schemes.
+ They are discussed [395]in the Next FAQ (you may want to skip to it
now).
- Here are some basic examples using [392]stunnel but the general idea
+ Here are some basic examples using [396]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
@@ -2805,7 +2849,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 [393]signed by
+ stunnel is built. One can also create certificates [397]signed by
Certificate Authorities or self-signed if desired using the x11vnc
utilities described there.
@@ -2819,7 +2863,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 [394]ssl_vncviewer script can automate
+ That's it. (note that the [398]ss_vncviewer script can automate
this.)
Be sure to use a VNC password because unlike ssh by default the
@@ -2827,13 +2871,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 [395]the key management section for details.
+ and also [399]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 [396]article The article also
+ found at the stunnel site and in this [400]article The article also
shows the detailed steps to set up all the authentication
- certificates. (for both server and clients, see also the [397]x11vnc
+ certificates. (for both server and clients, see also the [401]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
@@ -2854,7 +2898,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 [398]-inetd mode:
+ start up x11vnc in [402]-inetd mode:
stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh
Where the script x11vnc_sh starts up x11vnc:
@@ -2897,28 +2941,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 [399]SSL-enabled
- Java applet that can be served up via the [400]-httpdir or [401]-http
- options when [402]-ssl is enabled. It will also be served via HTTPS
+ Note: as of Mar/2006 libvncserver/x11vnc provides a [403]SSL-enabled
+ Java applet that can be served up via the [404]-httpdir or [405]-http
+ options when [406]-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 [403]-https option.
+ the [407]-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 [404]-stunnel or [405]-ssl option on the server side it works well
- and is convenient. Here is a simple script [406]ssl_vncviewer that
+ the [408]-stunnel or [409]-ssl option on the server side it works well
+ and is convenient. Here is a simple script [410]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 [407]Enhanced TightVNC Viewer
- package that starts up STUNNEL automatically along with some other
- features. All binaries are provided in the package.
+ Update Jul/2006: we now provide an [411]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 [408]in the Previous FAQ
+ You can read about non-built-in methods [412]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
@@ -2929,14 +2973,14 @@ connect = 5900
Built-in SSL x11vnc options:
- As of Feb/2006 the x11vnc [409]-ssl and [410]-stunnel options automate
- the SSL tunnel creation on the x11vnc server side. An [411]SSL-enabled
+ As of Feb/2006 the x11vnc [413]-ssl and [414]-stunnel options automate
+ the SSL tunnel creation on the x11vnc server side. An [415]SSL-enabled
Java Viewer applet is also provided that can be served via HTTP or
HTTPS to automate SSL on the client side.
- The [412]-ssl mode uses the [413]www.openssl.org library if available
- at build time. The [414]-stunnel mode requires the
- [415]www.stunnel.org command stunnel(8) to be installed on the system.
+ The [416]-ssl mode uses the [417]www.openssl.org library if available
+ at build time. The [418]-stunnel mode requires the
+ [419]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"
@@ -2988,12 +3032,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 [416]x11vnc Key Management for some utilities
+ See the discussion on [420]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 [417]ssl_vncviewer provides an example on unix
+ The wrapper script [421]ss_vncviewer provides an example on unix
(-verify option).
Here are some notes on the simpler default (non-CA) operation. To have
@@ -3009,7 +3053,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
- [418]here), then Man-In-The-Middle-Attacks are prevented. Otherwise,
+ [422]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.)
@@ -3034,7 +3078,7 @@ connect = 5900
including using https to download it into the browser and connect to
x11vnc.
- See the [419]next FAQ for SSL enabled VNC Viewers.
+ See the [423]next FAQ for SSL enabled VNC Viewers.
Q-47: How do I use VNC Viewers with built-in SSL tunneling?
@@ -3045,9 +3089,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 [420]-httpdir can be used to specify the path to .../classes/ssl.
+ the [424]-httpdir can be used to specify the path to .../classes/ssl.
A typical location might be /usr/local/share/x11vnc/classes/ssl. Or
- [421]-http can be used to try to have it find the directory
+ [425]-http can be used to try to have it find the directory
automatically.
The Java viewer uses SSL to communicate securely with x11vnc. Note
@@ -3072,7 +3116,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 [422]-https option to get an additional port dedicated to https
+ the [426]-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:
@@ -3085,7 +3129,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
- [423]proxy scheme to enter a firewall or otherwise have rules applied
+ [427]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".)
@@ -3109,22 +3153,22 @@ 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 [424]-https option if you want a dedicated
+ let you connect. Use the [428]-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 [425]This Page.
+ connection with the Java Applet see [429]This Page.
- Notes on the VNC Viewer ssl_vncviewer wrapper script:
+ Notes on the VNC Viewer ss_vncviewer wrapper script:
If you want to use a native VNC Viewer with the SSL enabled x11vnc you
will need to run an external SSL tunnel on the Viewer side. There do
not seem to be any native SSL VNC Viewers outside of the x11vnc
- package. The basic ideas of doing this were discussed [426]for
+ package. The basic ideas of doing this were discussed [430]for
external tunnel utilities here.
- The [427]ssl_vncviewer script provided with x11vnc can set up the
+ The [431]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
@@ -3133,15 +3177,15 @@ connect = 5900
you want to override the defaults.
Here are some examples:
- 1) ssl_vncviewer far-away.east:0
+ 1) ss_vncviewer far-away.east:0
- 2) ssl_vncviewer far-away.east:0 -encodings "copyrect tight zrle hextile"
+ 2) ss_vncviewer far-away.east:0 -encodings "copyrect tight zrle hextile"
- 3) ssl_vncviewer -verify ./server.crt far-away.east:0
+ 3) ss_vncviewer -verify ./server.crt far-away.east:0
- 4) ssl_vncviewer -mycert ./client.pem far-away.east:0
+ 4) ss_vncviewer -mycert ./client.pem far-away.east:0
- 5) ssl_vncviewer -proxy far-away.east:8080 myworkstation:0
+ 5) ss_vncviewer -proxy far-away.east:8080 myworkstation:0
The first one is the default mode and accepts the x11vnc certificate
without question. The second one is as the first, but adds the
@@ -3156,16 +3200,16 @@ 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 [428]this page for more information on
+ separate the two by commas. See [432]this page for more information on
how Web proxies come into play.
- If one uses a Certificate Authority (CA) scheme described [429]here,
+ If one uses a Certificate Authority (CA) scheme described [433]here,
the wrapper script would use the CA cert instead of the server cert:
- 3') ssl_vncviewer -verify ./cacert.crt far-away.east:0
+ 3') ss_vncviewer -verify ./cacert.crt far-away.east:0
- Update Jul/2006: we now provide an [430]Enhanced TightVNC Viewer
- package that starts up STUNNEL automatically along with some other
- features. All binaries are provided in the package.
+ Update Jul/2006: we now provide an [434]Enhanced TightVNC Viewer
+ (ssvnc) package that starts up STUNNEL automatically along with some
+ other features. All binaries are provided in the package.
Q-48: How do I use VNC Viewers with built-in SSL tunneling when going
@@ -3199,7 +3243,7 @@ connect = 5900
(instead of the unsigned one in https://yourmachine.com:5900/ that
gives the default index.vnc)
- Note that the [431]ssl_vncviewer stunnel wrapper script can use Web
+ Note that the [435]ss_vncviewer stunnel wrapper script can use Web
proxies as well.
Proxies that limit CONNECT to ports 443 and 563:
@@ -3228,7 +3272,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 [432]trick discussed above, do:
+ parameters in the URL. To use the GET [436]trick discussed above, do:
https://yourmachine.com/proxy.vnc?PORT=443&GET=1
@@ -3236,7 +3280,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 [433]here. This provides a clean alternative to the
+ It is discussed [437]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.
@@ -3244,7 +3288,7 @@ connect = 5900
Q-50: Can I create and use my own SSL Certificate Authority (CA) with
x11vnc?
- Yes, see [434]this page for how to do this and the utility commands
+ Yes, see [438]this page for how to do this and the utility commands
x11vnc provides to create and manage many types of certificates and
private keys.
@@ -3263,14 +3307,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 [435]FAQ on x11vnc
+ * Use the description under "Continuously" in the [439]FAQ on x11vnc
and Display Managers
- * Use the description in the [436]FAQ on x11vnc and inetd(8)
- * Use the description in the [437]FAQ on Unix user logins and
+ * Use the description in the [440]FAQ on x11vnc and inetd(8)
+ * Use the description in the [441]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 [438]x11vnc_loop rc.local hack
+ * Although less reliable, see the [442]x11vnc_loop rc.local hack
below.
The display manager scheme will not be specific to which user has the
@@ -3292,7 +3336,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
- [439]this link.
+ [443]this link.
Q-52: How can I use x11vnc to connect to an X login screen like xdm,
@@ -3307,7 +3351,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 [440]-auth option sets the XAUTHORITY variable for you).
+ (the [444]-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
@@ -3332,7 +3376,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
- [441]the example at the end of this FAQ). Then restart dtlogin, e.g.:
+ [445]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
@@ -3395,7 +3439,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 [442]full details
+ killed immediately after the user logs in. Here are [446]full details
on how to configure gdm
_________________________________________________________________
@@ -3437,14 +3481,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: [443]x11vnc_loop It will need some local
+ file like rc.local: [447]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 [444]-loop
+ described above is greatly preferred. There is also the [448]-loop
option that does something similar.
If the machine is a traditional Xterminal you may want to read
- [445]this FAQ.
+ [449]this FAQ.
Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
@@ -3454,7 +3498,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 [446]-inetd
+ where the shell script /usr/local/bin/x11vnc_sh uses the [450]-inetd
option and looks something like (you'll need to customize to your
settings).
#!/bin/sh
@@ -3467,7 +3511,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 [447]-quiet) option: "/usr/local/bin/x11vnc -q
+ specify the -q (aka [451]-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
@@ -3475,12 +3519,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 [448]-auth to point to the
+ Note also the need to set XAUTHORITY via [452]-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
- [449]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY
+ [453]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
@@ -3543,15 +3587,16 @@ service x11vncservice
Q-54: Can I have x11vnc allow a user to log in with her UNIX password
- and then have it find her X display on that machine and connect to it?
+ and then have it find her X display on that machine and then connect
+ to it?
- The easiest way to do this is via [450]inetd(8) using the [451]-unixpw
- and [452]-display WAIT options. The reason inetd(8) makes this easier
+ The easiest way to do this is via [454]inetd(8) using the [455]-unixpw
+ and [456]-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 [453]this example).
+ x11vnc's (see [457]this example).
- The [454]-display WAIT option makes x11vnc wait until a VNC viewer is
+ The [458]-display WAIT option makes x11vnc wait until a VNC viewer is
connected before attaching to the X display. Additionally it can be
used to run an external command that returns the DISPLAY and
XAUTHORITY data. So one could supply "-display
@@ -3594,7 +3639,7 @@ exit 0
as the first line and any remaining lines are either XAUTHORITY=file
or raw xauth data (the above example does the latter).
- The [455]-unixpw option allows [456]UNIX password logins. Here are a
+ The [459]-unixpw option allows [460]UNIX password logins. Here are a
couple /etc/inetd.conf examples for this:
5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd
-unixpw \
@@ -3614,9 +3659,9 @@ xpw=
directory will need to be set up to allow "nobody" to use them.
In the second one x11vnc is run as root and switches to the user that
- logs in due to the "[457]-users unixpw=" option.
+ logs in due to the "[461]-users unixpw=" option.
- Note that [458]SSL is required for this mode because otherwise the
+ Note that [462]SSL is required for this mode because otherwise the
unix password would be passed in clear text over the network. In
general -unixpw is not required for this sort of scheme, but it is
convenient because it determines exactly who the user is whose display
@@ -3627,7 +3672,7 @@ xpw=
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
- [459]-loop that makes it easier. Of course when x11vnc restarts it
+ [463]-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"
@@ -3638,7 +3683,7 @@ xpw=
web browser?
To have x11vnc serve up a Java VNC viewer applet to any web browsers
- that connect to it, run x11vnc with this [460]option:
+ that connect to it, run x11vnc with this [464]option:
-httpdir /path/to/the/java/classes/dir
(this directory will contain the files index.vnc and, for example,
@@ -3657,7 +3702,7 @@ xpw=
then you can connect to that URL with any Java enabled browser. Feel
free to customize the default index.vnc file in the classes directory.
- As of May/2005 the [461]-http option will try to guess where the Java
+ As of May/2005 the [465]-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.
@@ -3673,7 +3718,7 @@ xpw=
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
- [462]-connect option. To connect immediately at x11vnc startup time
+ [466]-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).
@@ -3681,7 +3726,7 @@ xpw=
file is checked periodically (about once a second) for new hosts to
connect to.
- The [463]-remote control option (aka -R) can also be used to do this
+ The [467]-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
@@ -3693,7 +3738,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 [464]-vncconnect option to x11vnc (Note:
+ www.realvnc.com) specify the [468]-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
@@ -3738,7 +3783,7 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1"
There are some annoyances WRT Xvfb though. The default keyboard
mapping seems to be very poor. One should run x11vnc with
- [465]-add_keysyms option to have keysyms added automatically. Also, to
+ [469]-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"
@@ -3760,11 +3805,11 @@ xmodmap -e "add Control = Control_L Control_R"
The main drawback to this method (besides requiring extra
configuration and possibly root permission) is that it also does the
- Linux Virtual Console/Terminal (VC/VT) [466]switching even though it
+ Linux Virtual Console/Terminal (VC/VT) [470]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 [467]Xdummy that allows you to
+ Jul/2005 we have an LD_PRELOAD script [471]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
@@ -3796,7 +3841,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 [468]this FAQ) and access it from
+ display via x11vnc (e.g. see [472]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
@@ -3839,7 +3884,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 [469]shm_clear to list and prompt for removal
+ Here is a shell script [473]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,
@@ -3873,40 +3918,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
- [470]-onetile option (corresponds to only 3 shm segments used, and
+ [474]-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
- [471]-noshm option. Performance will be somewhat degraded but when
+ [475]-noshm option. Performance will be somewhat degraded but when
done over local machine sockets it should be acceptable (see an
- [472]earlier question discussing -noshm).
+ [476]earlier question discussing -noshm).
Q-61: How can I make x11vnc use less system resources?
- The [473]-nap (now on by default) and "[474]-wait n" (where n is the
+ The [477]-nap (now on by default) and "[478]-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 "[475]-sb 15" will cause
+ are good places to start. Something like "[479]-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 [476]-onetile
+ will make x11vnc's screen polling less severe. Using the [480]-onetile
option will use less memory and use fewer shared memory slots (add
- [477]-fs 1.0 for one less slot).
+ [481]-fs 1.0 for one less slot).
Q-62: How can I make x11vnc use MORE system resources?
- You can try [478]-threads and dial down the wait time (e.g. -wait 1)
- and possibly dial down [479]-defer as well. Note that if you try to
+ You can try [482]-threads and dial down the wait time (e.g. -wait 1)
+ and possibly dial down [483]-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 [480]-id option) can be streamed over a LAN or wireless at
+ the x11vnc [484]-id option) can be streamed over a LAN or wireless at
a reasonable frame rate.
@@ -3922,7 +3967,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
- [481]-solid [color] option to try to do this automatically.
+ [485]-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
@@ -3931,9 +3976,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 [482]-scrollcopyrect is active and
+ problem in x11vnc 0.7.2 if [486]-scrollcopyrect is active and
detecting scrolls for the application).
- * If the [483]-wireframe option is not available (earlier than
+ * If the [487]-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)
@@ -3956,7 +4001,7 @@ ied)
noticed.
VNC viewer parameters:
- * Use a [484]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer
+ * Use a [488]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
@@ -3978,37 +4023,37 @@ ied)
file.
x11vnc parameters:
- * Make sure the [485]-wireframe option is active (it should be on by
+ * Make sure the [489]-wireframe option is active (it should be on by
default) and you have Opaque Moves/Resizes Enabled in the window
manager.
- * Make sure the [486]-scrollcopyrect option is active (it should be
+ * Make sure the [490]-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
- [487]-solid
- * Specify [488]-speeds modem to force the wireframe and
+ [491]-solid
+ * Specify [492]-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 [489]-nodragging (no screen updates when dragging mouse,
+ drastic [493]-nodragging (no screen updates when dragging mouse,
but sometimes you miss visual feedback)
- * Set [490]-fs 1.0 (disables fullscreen updates)
- * Try increasing [491]-wait or [492]-defer (reduces the maximum
+ * Set [494]-fs 1.0 (disables fullscreen updates)
+ * Try increasing [495]-wait or [496]-defer (reduces the maximum
"frame rate", but won't help much for large screen changes)
- * Try the [493]-progressive pixelheight mode with the block
+ * Try the [497]-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 [494]-id (cuts
+ * If you just want to watch one (simple) window use [498]-id (cuts
down extraneous polling and updates, but can be buggy or
insufficient)
- * Set [495]-nosel (disables all clipboard selection exchange)
- * Use [496]-nocursor and [497]-nocursorpos (repainting the remote
+ * Set [499]-nosel (disables all clipboard selection exchange)
+ * Use [500]-nocursor and [501]-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
- [498]-readtimeout n setting if it sometimes takes more than 20sec
+ [502]-readtimeout n setting if it sometimes takes more than 20sec
to paint the full screen, etc.
- * Do not use [499]-fixscreen to automatically refresh the whole
+ * Do not use [503]-fixscreen to automatically refresh the whole
screen, tap three Alt_L's then the screen has painting errors
(rare problem).
@@ -4031,7 +4076,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 [500]slow (e.g.
+ in main memory. So reading the fb is still painfully [504]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
@@ -4049,27 +4094,39 @@ 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 "[501]-xd_area A" option to adjust the size
+ skipped). You can use the "[505]-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 "[502]-xd_mem f" may also be of use in tuning the
- algorithm. To disable using DAMAGE entirely use "[503]-noxdamage".
+ The option "[506]-xd_mem f" may also be of use in tuning the
+ algorithm. To disable using DAMAGE entirely use "[507]-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 "[508]-noxdamage" option.
- Q-65: When I drag windows around with the mouse or scroll up and down
+ This seems to be a bug in the X DAMAGE implementation of that driver.
+ You may have to use -noxdamage as well. A way to autodetect this will
+ be tried, probably the best it will do is automatically stop using X
+ DAMAGE.
+
+
+ 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?
- This problem is primarily due to [504]slow hardware read rates from
+ This problem is primarily due to [509]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
- [505]-pointer_mode option for more info. The next bottleneck is
+ [510]-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
@@ -4079,26 +4136,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 "[506]-pointer_mode 1" option.
+ the "[511]-pointer_mode 1" option.
- Also added was the [507]-nodragging option that disables all screen
+ Also added was the [512]-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 [508]-pointer_mode n option was introduced. n=1 is
+ As of Dec/2004 the [513]-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 [509]-threads option can improve
+ Also, in some circumstances the [514]-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 [510]wireframe FAQ and
- [511]scrollcopyrect FAQ below) provide schemes to sweep this problem
+ As of Apr/2005 two new options (see the [515]wireframe FAQ and
+ [516]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
@@ -4111,7 +4168,7 @@ Section "Module"
EndSection
- Q-66: Why not do something like wireframe animations to avoid the
+ Q-67: Why not do something like wireframe animations to avoid the
windows "lurching" when being moved or resized?
Nice idea for a hack! As of Apr/2005 x11vnc by default will apply
@@ -4122,8 +4179,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 [512]slow video card
- read rates (see [513]here too). A displacement, even a small one, of a
+ intermediate steps. BTW the lurching is due to [517]slow video card
+ read rates (see [518]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.
@@ -4131,7 +4188,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 [514]-nowireframe option
+ with the problem. It can be disabled with the [519]-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
@@ -4176,13 +4233,13 @@ EndSection
* Maximum time to show a wireframe animation.
* Minimum time between sending wireframe outlines.
- See the [515]"-wireframe tweaks" option for more details. On a slow
+ See the [520]"-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
- [516]"-wirecopyrect mode" option. It is also on by default. This
+ [521]"-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
@@ -4213,7 +4270,7 @@ EndSection
-nowirecopyrect if this or other painting errors are unacceptable.
- Q-67: Can x11vnc try to apply heuristics to detect when a window is
+ 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?
Another nice idea for a hack! As of May/2005 x11vnc will by default
@@ -4230,7 +4287,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 [517]slow).
+ the hardware framebuffer is [522]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.
@@ -4257,10 +4314,10 @@ EndSection
the X server display: if one falls too far behind it could become a
mess...
- The initial implementation of [518]-scrollcopyrect option is useful in
+ The initial implementation of [523]-scrollcopyrect option is useful in
that it detects many scrolls and thus gives a much nicer working
- environment (especially when combined with the [519]-wireframe
- [520]-wirecopyrect [521]options, which are also on by default; and if
+ environment (especially when combined with the [524]-wireframe
+ [525]-wirecopyrect [526]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.
@@ -4293,10 +4350,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: [522]-fixscreen
+ also: [527]-fixscreen
* Some applications, notably OpenOffice, do XCopyArea scrolls in
weird ways that assume ancestor window clipping is taking place.
- See the [523]-scr_skip option for ways to tweak this on a
+ See the [528]-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
@@ -4313,7 +4370,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 [524]-scale option there will be a quick CopyRect
+ * When using the [529]-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
@@ -4326,7 +4383,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 [525]-noscrollcopyrect (or -noscr for short). If you find
+ with the [530]-noscrollcopyrect (or -noscr for short). If you find
some extremely bad and repeatable behavior for -scrollcopyrect please
report a bug.
@@ -4350,7 +4407,7 @@ EndSection
[Mouse Cursor Shapes]
- Q-68: Why isn't the mouse cursor shape (the little icon shape where
+ Q-69: Why isn't the mouse cursor shape (the little icon shape where
the mouse pointer is) correct as I move from window to window?
On X servers supporting XFIXES or Solaris/IRIX Overlay extensions it
@@ -4365,23 +4422,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 "[526]-cursor X" option that
+ A simple kludge is provided by the "[531]-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 "[527]-cursor some" option for
+ work for those cases. Also see the "[532]-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
- [528]-overlay option is supplied. See [529]this FAQ for more info.
+ [533]-overlay option is supplied. See [534]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
- [530]Solaris 10.
+ [535]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
@@ -4389,10 +4446,10 @@ EndSection
situations where the cursor transparency can also handled exactly:
when the VNC Viewer requires the cursor shape be drawn into the VNC
framebuffer or if you apply a patch to your VNC Viewer to extract
- hidden alpha channel data under 32bpp. [531]Details can be found here.
+ hidden alpha channel data under 32bpp. [536]Details can be found here.
- Q-69: When using XFIXES cursorshape mode, some of the cursors look
+ Q-70: 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?
@@ -4422,17 +4479,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 "[532]-alphacut n" option lets
+ course!) some tunable parameters. The "[537]-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 "[533]-alphafrac f" option tries to correct individual
+ 240. The "[538]-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 [534]-alpharemove that is useful for
+ Finally, there is an option [539]-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
@@ -4450,7 +4507,7 @@ EndSection
heavily on redglass) look fine with the apparent default of alphacut:255.
- Q-70: In XFIXES mode, are there any hacks to handle cursor
+ Q-71: In XFIXES mode, are there any hacks to handle cursor
transparency ("alpha channel") exactly?
As of Jan/2005 libvncserver has been modified to allow an alpha
@@ -4458,10 +4515,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 [535]-nocursorshape x11vnc option. In this case the cursor is
+ with the [540]-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 [536]-noalphablend option to disable this
+ the x11vnc side. Use the [541]-noalphablend option to disable this
behavior (always approximate transparent cursors with opaque RGB
values).
@@ -4485,17 +4542,17 @@ EndSection
example on how to change the Windows TightVNC viewer to achieve the
same thing (send me the patch if you get that working).
- This patch is applied to the [537]Enhanced TightVNC Viewer package we
- provide.
+ This patch is applied to the [542]Enhanced TightVNC Viewer (ssvnc)
+ package we provide.
[Mouse Pointer]
- Q-71: Why does the mouse arrow just stay in one corner in my
+ Q-72: 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 [538]tightvnc extension
+ This default takes advantage of a [543]tightvnc extension
(CursorShapeUpdates) that allows specifying a cursor image shape for
- the local VNC viewer. You may disable it with the [539]-nocursor
+ the local VNC viewer. You may disable it with the [544]-nocursor
option to x11vnc if your viewer does not have this extension.
Note: as of Aug/2004 this should be fixed: the default for
@@ -4504,22 +4561,22 @@ EndSection
can also be disabled via -nocursor.
- Q-72: Can I take advantage of the TightVNC extension to the VNC
+ Q-73: Can I take advantage of the TightVNC extension to the VNC
protocol where Cursor Positions Updates are sent back to all connected
clients (i.e. passive viewers can see the mouse cursor being moved
around by another viewer)?
- Use the [540]-cursorpos option when starting x11vnc. A VNC viewer must
+ Use the [545]-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 [541]-nocursorpos and [542]-nocursorshape.
+ is the default. See also [546]-nocursorpos and [547]-nocursorshape.
- Q-73: Is it possible to swap the mouse buttons (e.g. left-handed
+ Q-74: 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: [543]-buttonmap
+ You can remap the mouse buttons via something like: [548]-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.
@@ -4527,7 +4584,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 [544]-debug_pointer option prints out much info for
+ Note that the [549]-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
@@ -4549,7 +4606,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 [545]-buttonmap but rather configuring the X server
+ consider not using [550]-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"').
@@ -4576,10 +4633,10 @@ EndSection
"click" usually gives a multi-line scroll).
[Keyboard Issues]
- Q-74: How can I get my AltGr and Shift modifiers to work between
+ Q-75: How can I get my AltGr and Shift modifiers to work between
keyboards for different languages?
- The option [546]-modtweak should help here. It is a mode that monitors
+ The option [551]-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.
@@ -4588,20 +4645,20 @@ EndSection
to get the old behavior). This was done because it was noticed on
newer XFree86 setups even on bland "us" keyboards like "pc104 us"
XFree86 included a "ghost" key with both "<" and ">" it. This key does
- not exist on the keyboard (see [547]this FAQ for more info). Without
+ not exist on the keyboard (see [552]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 [548]FAQ about the -xkb option for a more powerful method
+ Also see the [553]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
- [549]-debug_keyboard option prints out much info for every keystroke
+ [554]-debug_keyboard option prints out much info for every keystroke
and so can be useful debugging things.
- Q-75: When I try to type a "<" (i.e. less than) instead I get ">"
+ Q-76: When I try to type a "<" (i.e. less than) instead I get ">"
(i.e. greater than)! Strangely, typing ">" works OK!!
Does your keyboard have a single key with both "<" and ">" on it? Even
@@ -4609,9 +4666,9 @@ EndSection
(e.g. pc105 in the XF86Config file when it should be something else,
say pc104).
- Short Cut: Try the [550]-xkb or [551]-sloppy_keys options and see if
+ Short Cut: Try the [555]-xkb or [556]-sloppy_keys options and see if
that helps the situation. The discussion below is a bit outdated (e.g.
- [552]-modtweak is now the default) but it is useful reference for
+ [557]-modtweak is now the default) but it is useful reference for
various tricks and so is kept.
@@ -4654,34 +4711,34 @@ EndSection
-remap less-comma
These are convenient in that they do not modify the actual X server
- settings. The former ([553]-modtweak) is a mode that monitors the
+ settings. The former ([558]-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 ([554]-remap less-comma) is an immediate remapping of the
+ The latter ([559]-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 [555]FAQ about the -xkb option as a possible workaround
+ See also the [560]FAQ about the -xkb option as a possible workaround
using the XKEYBOARD extension.
- Note that the [556]-debug_keyboard option prints out much info for
+ Note that the [561]-debug_keyboard option prints out much info for
every keystroke to aid debugging keyboard problems.
- Q-76: When I try to type a "<" (i.e. less than) instead I get "<,"
+ Q-77: When I try to type a "<" (i.e. less than) instead I get "<,"
(i.e. an extra comma).
This is likely because you press "Shift" then "<" but then released
- the Shift key before releasing the "<". Because of a [557]keymapping
+ the Shift key before releasing the "<". Because of a [562]keymapping
ambiguity the last event "< up" is interpreted as "," because that key
unshifted is the comma.
- This should not happen in [558]-xkb mode, because it works hard to
+ This should not happen in [563]-xkb mode, because it works hard to
resolve the ambiguities. If you do not want to use -xkb, try the
- option [559]-sloppy_keys to attempt a similar type of algorithm.
+ option [564]-sloppy_keys to attempt a similar type of algorithm.
- Q-77: I'm using an "international" keyboard (e.g. German "de", or
+ Q-78: 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
@@ -4702,7 +4759,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 [560]-modtweak
+ This all worked fine with x11vnc running with the [565]-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
@@ -4719,7 +4776,7 @@ EndSection
* there is a new option -xkb to use the XKEYBOARD extension API to
do the Modifier key tweaking.
- The [561]-xkb option seems to fix all of the missing keys: "@", "<",
+ The [566]-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
@@ -4727,7 +4784,7 @@ EndSection
debugging output (send it along with any problems you report).
Update: as of Jun/2005 x11vnc will try to automatically enable
- [562]-xkb if it appears that would be beneficial (e.g. if it sees any
+ [567]-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.
@@ -4742,7 +4799,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:
- [563]-skip_keycodes 93
+ [568]-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
@@ -4760,16 +4817,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 [564]-remap x11vnc option:
+ created using the [569]-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
- [565]-add_keysyms option in the next paragraph.
- Update: for convenience "[566]-remap DEAD" does many of these
+ [570]-add_keysyms option in the next paragraph.
+ Update: for convenience "[571]-remap DEAD" does many of these
mappings at once.
- * To complement the above workaround using the [567]-remap, an
- option [568]-add_keysyms was added. This option instructs x11vnc
+ * To complement the above workaround using the [572]-remap, an
+ option [573]-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
@@ -4780,7 +4837,7 @@ EndSection
disable.
- Q-78: When typing I sometimes get double, triple, or more of my
+ Q-79: When typing I sometimes get double, triple, or more of my
keystrokes repeated. I'm sure I only typed them once, what can I do?
This may be due to an interplay between your X server's key autorepeat
@@ -4788,7 +4845,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) [569]-norepeat x11vnc option. You will still
+ use the new (Jul/2004) [574]-norepeat x11vnc option. You will still
have autorepeating because that is taken care of on your VNC viewer
side.
@@ -4812,18 +4869,18 @@ EndSection
off", does the problem go away?
The workaround is to manually apply "xset r off" and "xset r on" as
- needed, or to use the [570]-norepeat (which has since Dec/2004 been
+ needed, or to use the [575]-norepeat (which has since Dec/2004 been
made the default). Note that with X server autorepeat turned off the
VNC viewer side of the connection will (nearly always) do its own
autorepeating so there is no big loss here, unless someone is also
working at the physical display and misses his autorepeating.
- Q-79: The x11vnc -norepeat mode is in effect, but I still get repeated
+ Q-80: The x11vnc -norepeat mode is in effect, but I still get repeated
keystrokes!!
Are you using x11vnc to log in to an X session via display manager?
- (as described in [571]this FAQ) If so, x11vnc is starting before your
+ (as described in [576]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
@@ -4843,11 +4900,11 @@ EndSection
should figure out how to disable that somehow.
- Q-80: The machine where I run x11vnc has an AltGr key, but the local
+ Q-81: The machine where I run x11vnc has an AltGr key, but the local
machine where I run the VNC viewer does not. Is there a way I can map
a local unused key to send an AltGr? How about a Compose key as well?
- Something like "[572]-remap Super_R-Mode_switch" x11vnc option may
+ Something like "[577]-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)).
@@ -4858,7 +4915,7 @@ EndSection
specify remappings from a file.
- Q-81: I have a Sun machine I run x11vnc on. Its Sun keyboard has just
+ Q-82: 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)
@@ -4870,18 +4927,18 @@ EndSection
Since xmodmap(1) modifies the X server mappings you may not want to do
this (because it affects local work on that machine). Something like
- the [573]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones
+ the [578]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones
needs, and does not modify the X server environment. Note that you
cannot send Alt_L in this case, maybe -remap Super_L-Meta_L would be a
better choice if the Super_L key is typically unused in Unix.
- Q-82: Can I map a keystroke to a mouse button click on the remote
+ Q-83: Can I map a keystroke to a mouse button click on the remote
machine?
This can be done directly in some X servers using AccessX and
Pointer_EnableKeys, but is a bit awkward. It may be more convenient to
- have x11vnc do the remapping. This can be done via the [574]-remap
+ have x11vnc do the remapping. This can be done via the [579]-remap
option using the fake "keysyms" Button1, Button2, etc. as the "to"
keys (i.e. the ones after the "-")
@@ -4890,7 +4947,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:
- [575]-remap Super_R-Button2
+ [580]-remap Super_R-Button2
maps the Super_R "flag" key press to the Button2 click, thereby making
X pasting a bit easier.
@@ -4899,7 +4956,7 @@ EndSection
are generated immediately on the x11vnc side. When the key is released
(i.e. goes up) no events are generated.
- Q-83: How can I get Caps_Lock to work between my VNC viewer and
+ Q-84: How can I get Caps_Lock to work between my VNC viewer and
x11vnc?
This is a little tricky because it is possible to get the Caps_Lock
@@ -4909,14 +4966,14 @@ EndSection
Caps_Lock in the viewer your local machine goes into the Caps_Lock on
state and sends keysym "A" say when you press "a". x11vnc will then
fake things up so that Shift is held down to generate "A". The
- [576]-skip_lockkeys option should help to accomplish this. For finer
- grain control use something like: "[577]-remap Caps_Lock-None".
+ [581]-skip_lockkeys option should help to accomplish this. For finer
+ grain control use something like: "[582]-remap Caps_Lock-None".
- Also try the [578]-nomodtweak and [579]-capslock options.
+ Also try the [583]-nomodtweak and [584]-capslock options.
[Screen Related Issues and Features]
- Q-84: The remote display is larger (in number of pixels) than the
+ Q-85: 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?
@@ -4935,15 +4992,15 @@ EndSection
There may also be scaling viewers out there (e.g. TightVNC or UltraVNC
on Windows) that automatically shrink or expand the remote framebuffer
to fit the local display. Especially for hand-held devices. See also
- [580]this FAQ on x11vnc scaling.
+ [585]this FAQ on x11vnc scaling.
- Q-85: Does x11vnc support server-side framebuffer scaling? (E.g. to
+ Q-86: Does x11vnc support server-side framebuffer scaling? (E.g. to
make the desktop smaller).
As of Jun/2004 x11vnc provides basic server-side scaling. It is a
global scaling of the desktop, not a per-client setting. To enable it
- use the "[581]-scale fraction" option. "fraction" can either be a
+ use the "[586]-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.
@@ -4964,7 +5021,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
- [582]applications. Since with integer scale factors the framebuffers
+ [587]applications. Since with integer scale factors the framebuffers
become huge and scaling operations time consuming, be sure to use
":nb" for the fastest response.
@@ -4990,7 +5047,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 ([583]-rfbport option,
+ different scalings listening on separate ports ([588]-rfbport option,
etc.).
Update: As of May/2006 x11vnc also supports the UltraVNC server-side
@@ -5000,8 +5057,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 [584]GUI, then to avoid all of the x11vnc's simultaneously
- answering the gui you will need to use something like [585]"-connect
+ use the [589]GUI, then to avoid all of the x11vnc's simultaneously
+ answering the gui you will need to use something like [590]"-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
@@ -5010,12 +5067,12 @@ EndSection
Update: As of Mar/2005 x11vnc now scales the mouse cursor with the
same scale factor as the screen. If you don't want that, use the
- [586]"-scale_cursor frac" option to set the cursor scaling to a
+ [591]"-scale_cursor frac" option to set the cursor scaling to a
different factor (e.g. use "-scale_cursor 1" to keep the cursor at its
natural unscaled size).
- Q-86: Does x11vnc work with Xinerama? (i.e. multiple monitors joined
+ Q-87: Does x11vnc work with Xinerama? (i.e. multiple monitors joined
together to form one big, single screen).
Yes, it should generally work because it simply polls the big
@@ -5032,24 +5089,24 @@ EndSection
screen is not rectangular (e.g. 1280x1024 and 1024x768 monitors joined
together), then there will be "non-existent" areas on the screen. The
X server will return "garbage" image data for these areas and so they
- may be distracting to the viewer. The [587]-blackout x11vnc option
+ may be distracting to the viewer. The [592]-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
- [588]-xinerama x11vnc option can be used to have it automatically
+ [593]-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:
- [589]-xinerama is now on by default.
+ [594]-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 [590]-xwarppointer
+ of the large display. If this happens try using the [595]-xwarppointer
option. This instructs x11vnc to fake mouse pointer motions using the
XWarpPointer function instead of the XTestFakeMotionEvent XTEST
function. (This may be due to a bug in the X server for XTEST when
Xinerama is enabled).
- Q-87: Can I use x11vnc on a multi-headed display that is not Xinerama
+ Q-88: Can I use x11vnc on a multi-headed display that is not Xinerama
(i.e. separate screens :0.0, :0.1, ... for each monitor)?
You can, but it is a little bit awkward: you must start separate
@@ -5067,32 +5124,32 @@ EndSection
Note: if you are running on Solaris 8 or earlier you can easily hit up
against the maximum of 6 shm segments per process (for Xsun in this
case) from running multiple x11vnc processes. You should modify
- /etc/system as mentioned in another [591]FAQ to increase the limit. It
- is probably also a good idea to run with the [592]-onetile option in
+ /etc/system as mentioned in another [596]FAQ to increase the limit. It
+ is probably also a good idea to run with the [597]-onetile option in
this case (to limit each x11vnc to 3 shm segments), or even
- [593]-noshm to use no shm segments.
+ [598]-noshm to use no shm segments.
- Q-88: Can x11vnc show only a portion of the display? (E.g. for a
+ Q-89: Can x11vnc show only a portion of the display? (E.g. for a
special purpose rfb application).
- As of Mar/2005 x11vnc has the "[594]-clip WxH+X+Y" option to select a
+ As of Mar/2005 x11vnc has the "[599]-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 [595]Xinerama screen into two
+ One user used -clip to split up a large [600]Xinerama screen into two
more managable smaller screens.
This also works to view a sub-region of a single application window if
- the [596]-id or [597]-sid options are used. The offset is measured
+ the [601]-id or [602]-sid options are used. The offset is measured
from the upper left corner of the selected window.
- Q-89: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection)
+ Q-90: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection)
extension? Whenever I rotate or resize the screen x11vnc just seems to
crash.
As of Dec/2004 x11vnc supports XRANDR. You enable it with the
- [598]-xrandr option to make x11vnc monitor XRANDR events and also trap
+ [603]-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.
@@ -5102,9 +5159,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 [599]-padgeom option to make the region big
+ viewers you can try the [604]-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: [600]enhanced_tightvnc_viewer
+ for the TightVNC Viewer on Unix: [605]enhanced_tightvnc_viewer
If you specify "-xrandr newfbsize" then vnc viewers that do not
support NewFBSize will be disconnected before the resize. If you
@@ -5112,21 +5169,21 @@ EndSection
terminate.
- Q-90: Independent of any XRANDR, can I have x11vnc rotate and/or
+ Q-91: Independent of any XRANDR, can I have x11vnc rotate and/or
reflect the screen that the VNC viewers see? (e.g. for a handheld
whose screen is rotated 90 degrees).
- As of Jul/2006 there is the [601]-rotate option allow this. E.g's:
+ As of Jul/2006 there is the [606]-rotate option allow this. E.g's:
"-rotate +90", "-rotate -90", "-rotate x", etc.
- Q-91: Why is the view in my VNC viewer completely black? Or why is
+ Q-92: Why is the view in my VNC viewer completely black? Or why is
everything flashing around randomly?
See the next FAQ for a possible explanation.
- Q-92: I use Linux Virtual Consoles (VC's) to implement 'Fast User
+ Q-93: 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
@@ -5155,20 +5212,40 @@ EndSection
"chvt 7" for VC #7.
- Q-93: I am using x11vnc where my local machine has "popup/hidden
- taskbars" (e.g. GNOME or MacOS X) and the remote display where x11vnc
- runs also has "popup/hidden taskbars" (e.g. GNOME). When I move the
- mouse to the edge of the screen where the popups happen, the taskbars
- interfere and fight with each other in strange ways. What can I do?
+ Q-94: 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?
- Is there a way to temporarily disable one or both of these magic
- desktop taskbars?
+ When you move the mouse to the edge of the screen where the popups
+ happen, the taskbars interfere with each other in strange ways. This
+ somtimes happens where the local machine is GNOME or Mac OS X and the
+ remote machine is GNOME. Is there a way to temporarily disable one or
+ both of these magic desktop taskbars?
One x11vnc user suggests: it should be straightforward to right mouse
click on the task bar panel, and uncheck "enable auto-hide" from the
panel properties dialog box. This will make the panel always visible.
- Q-94: Can I use x11vnc to view my VMWare session remotely?
+ Q-95: Help! x11vnc and my KDE screensaver keep switching each other on
+ and off every few seconds.
+
+ This is a new (Jul/2006) problem seen, say, on the version of KDE that
+ is shipped with SuSE 10.1. It is not yet clear what is causing this...
+ If you move the mouse through x11vnc the screensaver shuts off like it
+ should but then a second or two after you stop moving the mouse the
+ screensaver snaps back on.
+
+ 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 [607]here for how to
+ disable kdesktop_lock). If you have more info on this or see it
+ outside of KDE please let us know.
+
+ At some point we will check if the MIT-SCREEN-SAVER extension can be
+ used to disable the screensaver when VNC clients are connected.
+
+ Q-96: 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.
@@ -5179,9 +5256,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 [602]this FAQ
+ desktop in a separate Virtual Console (e.g. VC 8) (see [608]this FAQ
on VC's for background). Unfortunately, this Fullscreen VC is not an X
- server. So x11vnc cannot access it (however, [603]see this discussion
+ server. So x11vnc cannot access it (however, [609]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.
@@ -5202,13 +5279,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 [604]is in the active VC.
+ as long as the VMWare X session [610]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 [605]-id windowid option. The
+ the VMWare menu buttons) by use of the [611]-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
@@ -5217,14 +5294,17 @@ EndSection
mouse)).
- Q-95: Can non-X devices (e.g. a raw framebuffer) be viewed (and even
+
+ [Exporting non-X11 devices via VNC]
+
+ Q-97: 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:
- "[606]-rawfb string" (to indicate the raw framembuffer device, file,
- etc. and its parameters) and "[607]-pipeinput command" (to provide an
+ "[612]-rawfb string" (to indicate the raw framembuffer device, file,
+ etc. and its parameters) and "[613]-pipeinput command" (to provide an
external program that will inject or otherwise process mouse and
- keystroke input). Some useful [608]-pipeinput schemes, VID, CONSOLE,
+ keystroke input). Some useful [614]-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
@@ -5235,7 +5315,7 @@ EndSection
careful applying such an option via remote control.
The format for the -rawfb string is:
- -rawfb <type>:<object>@<W>x<H>x<bpp>[:<R>/<G>/<B>][+<offset>]
+ -rawfb <type>:<object>@<W>x<H>x<bpp>[-<BPL>][:<R>/<G>/<B>][+<offset>]
There are also some useful aliases (e.g. "console"). Some examples:
-rawfb shm:210337933@800x600x32:ff/ff00/ff0000
@@ -5262,9 +5342,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 [609]-snapfb option with
+ this). The "snap:" setting applies the [615]-snapfb option with
"file:" type reading (this is useful for exporting webcams or TV tuner
- video; see [610]the next FAQ for more info).
+ video; see [616]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
@@ -5290,7 +5370,10 @@ EndSection
be of use (but may not always be accurate for what is currently
viewable). In general some guessing may be required, especially for
the bpp. Update: in "-rawfb console" mode x11vnc will use the linuxfb
- API to try to guess (it is still not always accurate).
+ API to try to guess (it is still not always accurate). If the number
+ of Bytes Per Line is not WxHxB/8 (i.e. the framebuffer lines are
+ padded) you can specify this information after WxHxB via "-BPL", e.g.
+ @800x600x16-2048
Based on the bpp x11vnc will try to guess the red, green, and blue
masks (these indicate which bits correspond to each color). It if gets
@@ -5305,7 +5388,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 [611]X
+ for the case of Xvfb x11vnc can poll it much better via the [617]X
API, but you get the idea.
By default in -rawfb mode x11vnc will actually close any X display it
@@ -5334,13 +5417,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 [612]Qt-embedded apps (PDAs/Handhelds). By default the
+ fullscreen, or [618]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 [613]this FAQ for details. If specified via "-rawfb Video"
+ kernel. See [619]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).
@@ -5348,10 +5431,10 @@ EndSection
also useful in testing.
- All of the above [614]-rawfb options are just for viewing the raw
+ All of the above [620]-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 [615]video camera mapped its framebuffer
+ this feature (e.g. suppose a [621]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
@@ -5389,7 +5472,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 [616]active VC) one
+ view and interact with VC #2 (assuming it is the [622]active VC) one
can run something like:
x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2'
@@ -5444,7 +5527,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
- [617]Qt-embedded Also, for example the [618]VMWare Fullscreen mode is
+ [623]Qt-embedded Also, for example the [624]VMWare Fullscreen mode is
actually viewable under -rawfb and can be interacted with if uinput is
enabled.
@@ -5461,12 +5544,12 @@ EndSection
program that passes the framebuffer to libvncserver.
- Q-96: Can I export via VNC a Webcam or TV tuner framebuffer using
+ Q-98: Can I export via VNC a Webcam or TV tuner framebuffer using
x11vnc?
- Yes, this is possible to some degree with the [619]-rawfb option.
+ Yes, this is possible to some degree with the [625]-rawfb option.
There is no X11 involved: snapshots from the video capture device are
- used for the screen image data. See the [620]previous FAQ on -rawfb
+ used for the screen image data. See the [626]previous FAQ on -rawfb
for background. For best results, use x11vnc version 0.8.1 or later.
Roughly, one would do something like this:
@@ -5478,7 +5561,7 @@ EndSection
snapshot to a file that you point -rawfb to; ask me if it is not clear
what to do).
- The "snap:" enforces [621]-snapfb mode which appears to be necessary.
+ The "snap:" enforces [627]-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.
@@ -5500,7 +5583,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 [622]-24to32 option will be automatically imposed when in
+ etc, the [628]-24to32 option will be automatically imposed when in
24bpp.
Note that by its very nature, video capture involves rapid change in
@@ -5508,7 +5591,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 [623]-wait, [624]-slow_fb, or [625]-defer
+ the framerate via the [629]-wait, [630]-slow_fb, or [631]-defer
options. Decreasing the window size and bpp also helps.
@@ -5597,16 +5680,16 @@ EndSection
format to HI240, RGB565, RGB24, RGB32, RGB555, and
GREY respectively. See -rawfb video for details.
- See also the [626]-freqtab option to supply your own xawtv channel to
+ See also the [632]-freqtab option to supply your own xawtv channel to
frequency mappings for your country (only ntsc-cable-us is built into
x11vnc).
- Q-97: Can I connect via VNC to a Qt-embedded/Qtopia application
+ Q-99: 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 [627]-rawfb scheme where the
+ Yes, the basic method for this is the [633]-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:
@@ -5619,7 +5702,7 @@ EndSection
x11vnc -rawfb /dev/fb0@640x480x16
Also, to force usage of the uinput injection method use "-pipeinput
- UINPUT". See the [628]-pipeinput description for tunable parameters,
+ UINPUT". See the [634]-pipeinput description for tunable parameters,
etc.
One problem with the x11vnc uinput scheme is that it cannot guess the
@@ -5635,7 +5718,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 [629]-pipeinput UINPUT option for tuning
+ times a second. See the [635]-pipeinput UINPUT option for tuning
parameters that can be set (there are some experimental thresh=N
tuning parameters as well)
@@ -5666,10 +5749,10 @@ EndSection
x11vnc on your device and letting us know what does and does not work.
- Q-98: Now that non-X11 devices can be exported via VNC using x11vnc,
+ Q-100: 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 [630]-rawfb only
+ Yes, as of Jul/2006 x11vnc enables building for [636]-rawfb only
support. Just do something like when building:
./configure --without-x (plus any other flags)
make
@@ -5680,40 +5763,134 @@ EndSection
know what you did.
- Q-99: Can I use x11vnc to record a Shock Wave Flash (or other format)
- video of my desktop, e.g. to record a tutorial or demo?
+ Q-101: Does x11vnc support Mac OS X Aqua/Quartz displays natively
+ (i.e. no X11 involved)?
- 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
- [631]pyvnc2swf. There are a number of [632]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".
+ 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
+ [637]-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 [638]OSXvnc (aka Vine
+ Server), or [639]Apple Remote Desktop (ARD). Perhaps there is some
+ x11vnc feature you'd like to use on Mac OS X, etc.
+
+ Notes:
+
+ X11: x11vnc will also work (as it has for years) with a X11 server
+ (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 [640]-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
+ native Aqua/Quartz on Mac OS X, however if DISPLAY is set it will
+ assume an X11 connection. Use "-rawfb console" to force the native
+ display (or unset DISPLAY).
+
+ Building: If you don't have the X11 build and runtime packages
+ installed you will need to build it like this:
+ (cd to the x11vnc-0.8.4, etc, source directory)
+ ./configure --without-x
+ make
+
+ Win2VNC/x2vnc: One handy use is to use the [641]-nofb mode to
+ redirect mouse and keyboard input to a nearby Mac (i.e. one to the
+ side of your desk) via [642]x2vnc or Win2VNC. See [643]this FAQ for
+ more info.
+
+ Options: Here are the Mac OS X specific x11vnc options:
+ -macnodim For the native Mac OS X server, disable dimming.
+ -macnosleep For the native Mac OS X server, disable display sleep
+.
+ -macnosaver For the native Mac OS X server, disable screensaver.
+ -macnowait For the native Mac OS X server, do not wait for the
+ user to switch back to his display.
+ -macwheel n For the native Mac OS X server, set the mouse wheel
+ speed to n (default 5).
+ -macnoswap For the native Mac OS X server, do not swap mouse
+ buttons 2 and 3.
+ -macnoresize For the native Mac OS X server, do not resize or rese
+t
+ the framebuffer even if it is detected that the scree
+n
+ resolution or depth has changed.
+
+ PasteBoard/Clipboard: There is a bug that the Clipboard (called
+ PasteBoard on Mac it appears) exchange will not take place unless
+ x11vnc was started from inside the Aqua display (e.g. started inside a
+ Terminal app window). Otherwise it cannot connect to the PasteBoard
+ server. So Clipboard exchange won't work for our standard "ssh in"
+ startup scheme.
+
+ Hopefully this deficiency can be removed, but until then for Clipboard
+ exchange to work you will need to start x11vnc inside the desktop
+ session (i.e. either start it running before you leave, or start up a
+ 2nd x11vnc inside from a 1st one started outside, or use the apple
+ script below)
+
+ Here also is a osascript trick that seems to work (it opens the
+ Terminal app and instructs it to start x11vnc):
+#!/bin/sh
+#
+# start_x11vnc: start x11vnc in a Terminal window
+# (this will allow Clipboard/Pasteboard exchange to work)
+
+tmp=/tmp/start_x11vnc.$$
+
+cat > $tmp <<END
+
+tell application "Terminal"
+ activate
+ do script with command "$HOME/x11vnc -rfbauth .vnc/passwd -ssl SAVE"
+end tell
+
+END
+
+osascript $tmp
+rm -f $tmp
+
+ where you should customize the x11vnc command line to your needs and
+ the full path to the binary. Save it in a file e.g. "start_x11vnc" and
+ then after you SSH in just type "./start_x11vnc" (or have ssh run the
+ command for you). Then once you are connected via VNC, iconify the
+ Terminal windows (you can't delete them since that will kill x11vnc).
[Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps,
Thanks, etc.]
- Q-100: Does the Clipboard/Selection get transferred between the
+ Q-102: 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 [633]-nosel option. If you don't
+ Clipboard/Selection exchanged use the [644]-nosel option. If you don't
want the PRIMARY selection to be polled for changes use the
- [634]-noprimary option. (with a similar thing for CLIPBOARD). You can
- also fine-tune it a bit with the [635]-seldir dir option and also
- [636]-input.
+ [645]-noprimary option. (with a similar thing for CLIPBOARD). You can
+ also fine-tune it a bit with the [646]-seldir dir option and also
+ [647]-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-101: Can I transfer files back and forth with x11vnc?
+ Q-103: 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
+ [648]pyvnc2swf. There are a number of [649]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-104: 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
@@ -5721,7 +5898,7 @@ EndSection
(and Windows viewers only support filetransfer it appears).
TightVNC file transfer is on by default, if you want to disable it use
- the [637]-nofilexfer option. UltraVNC file transfer is currently off
+ the [650]-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
@@ -5731,13 +5908,13 @@ EndSection
VNC Viewers.
- Q-102: Can I (temporarily) mount my local (viewer-side) Windows/Samba
+ Q-105: 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 [638]Samba example here.
+ We show a simple [651]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:
@@ -5774,17 +5951,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 [639]Enhanced TightVNC Viewer package we provide (as of Sep
- 2006 it is there for testing).
+ into the [652]Enhanced TightVNC Viewer (ssvnc) package we provide (as
+ of Sep 2006 it is there for testing).
- Q-103: Can I redirect CUPS print jobs from the remote desktop where
+ Q-106: 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 [640]CUPS example here. Non-CUPS port
+ We show a simple Unix to Unix [653]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).
@@ -5856,11 +6033,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 [641]Enhanced TightVNC Viewer package we provide (as of Sep
- 2006 it is there for testing).
+ into the [654]Enhanced TightVNC Viewer (ssvnc) package we provide (as
+ of Sep 2006 it is there for testing).
- Q-104: How can I hear the sound (audio) from the remote applications
+ Q-107: 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.
@@ -5957,11 +6134,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 [642]Enhanced TightVNC Viewer package we
- provide (as of Sep/2006 it is there for testing).
+ redir setup into the [655]Enhanced TightVNC Viewer (ssvnc) package
+ we provide (as of Sep/2006 it is there for testing).
- Q-105: Why don't I hear the "Beeps" in my X session (e.g. when typing
+ Q-108: 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
@@ -5969,16 +6146,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 [643]-nobell option. If
+ If you don't want to hear the beeps use the [656]-nobell option. If
you want to hear the audio from the remote applications, consider
- trying a [644]redirector such as esd.
+ trying a [657]redirector such as esd.
Contributions:
- Q-106: Thanks for your program and for your help! Can I make a
+ Q-109: 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!
@@ -6001,637 +6178,650 @@ References
11. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer
12. http://www.karlrunge.com/x11vnc/index.html#faq-video
13. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 14. http://www.karlrunge.com/x11vnc/index.html#faq
- 15. http://www.karlrunge.com/x11vnc/disclaimer.html
- 16. http://www.karlrunge.com/x11vnc/index.html#contact
- 17. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 18. http://www.realvnc.com/
- 19. http://www.tightvnc.com/
- 20. http://www.ultravnc.com/
- 21. http://www.redstonesoftware.com/vnc.html
- 22. http://www.karlrunge.com/x11vnc/index.html#downloading
- 23. http://www.tightvnc.com/download.html
- 24. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 25. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 26. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
+ 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/enhanced_tightvnc_viewer.html
+ 19. http://www.realvnc.com/
+ 20. http://www.tightvnc.com/
+ 21. http://www.ultravnc.com/
+ 22. http://www.redstonesoftware.com/vnc.html
+ 23. http://www.karlrunge.com/x11vnc/index.html#downloading
+ 24. http://www.tightvnc.com/download.html
+ 25. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 26. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
27. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
- 28. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
- 29. http://www.sun.com/software/solaris/freeware/
- 30. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 28. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
+ 29. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
+ 30. http://www.sun.com/software/solaris/freeware/
31. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
- 32. http://www.karlrunge.com/x11vnc/index.html#faq-service
- 33. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 34. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file
- 35. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 36. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file
- 37. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 38. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via
- 39. http://www.karlrunge.com/x11vnc/chainingssh.html
- 40. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
- 41. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 42. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 43. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 44. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 45. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 46. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 47. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 48. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
- 49. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 50. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 51. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
- 52. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
- 53. http://www.stunnel.org/
- 54. http://stunnel.mirt.net/
- 55. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 56. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 57. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 58. http://sourceforge.net/projects/libvncserver/
- 59. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=463226
- 60. http://sourceforge.net/project/shownotes.php?release_id=463226&group_id=32584
- 61. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
- 62. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
- 63. http://www.tightvnc.com/download.html
- 64. http://www.realvnc.com/download-free.html
- 65. http://sourceforge.net/projects/cotvnc/
- 66. http://www.ultravnc.com/
- 67. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 68. http://www.karlrunge.com/x11vnc/rx11vnc
- 69. http://www.karlrunge.com/x11vnc/rx11vnc.pl
- 70. http://www.sunfreeware.com/
- 71. http://www.karlrunge.com/x11vnc/bins
- 72. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
- 73. http://www.karlrunge.com/x11vnc/miscbuild.html
- 74. ftp://ftp.uu.net/graphics/jpeg/
- 75. http://www.gzip.org/zlib/
- 76. http://www.sunfreeware.com/
- 77. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
- 78. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
- 79. http://www.karlrunge.com/x11vnc/bins
- 80. mailto:x11vnc-beta@karlrunge.com
- 81. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 82. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 83. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 84. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 86. http://www.openssl.org/
- 87. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 88. http://www.stunnel.org/
- 89. http://stunnel.mirt.net/
- 90. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
- 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert
- 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA
- 93. http://www.karlrunge.com/x11vnc/ssl.html
- 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 95. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 96. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
- 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 103. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 104. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
- 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer
- 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit
- 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v,
- 113. http://www.karlrunge.com/x11vnc/prevrels.html
- 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 115. http://www.tightvnc.com/
- 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
- 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
- 118. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 119. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg
- 120. http://wwws.sun.com/sunray/index.html
- 121. http://www.karlrunge.com/x11vnc/sunray.html
- 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 124. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 127. http://www.karlrunge.com/x11vnc/index.html#faq-sound
- 128. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 129. mailto:xvml@karlrunge.com
- 130. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
- 131. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
- 132. http://www.karlrunge.com/x11vnc/index.html#faq-build
- 133. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest
- 134. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
- 135. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
- 136. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
- 137. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts
- 138. http://www.karlrunge.com/x11vnc/index.html#faq-config-file
- 139. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
- 140. http://www.karlrunge.com/x11vnc/index.html#faq-change-port
- 141. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg
- 142. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe
- 143. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations
- 144. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
- 145. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp
- 146. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
- 147. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
- 148. http://www.karlrunge.com/x11vnc/index.html#faq-windowid
- 149. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id
- 150. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp
- 151. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 152. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
- 153. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays
- 154. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg
- 155. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control
- 156. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 157. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho
- 158. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 159. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd
- 160. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
- 161. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords
- 162. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared
- 163. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
- 164. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
- 165. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface
- 166. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost
- 167. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt
- 168. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 169. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt
- 170. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy
- 171. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock
- 172. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver
- 173. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix
- 174. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty
- 175. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 176. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 177. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 178. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy
- 179. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
- 180. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca
- 181. http://www.karlrunge.com/x11vnc/index.html#faq-service
- 182. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
- 183. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 184. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 185. http://www.karlrunge.com/x11vnc/index.html#faq-loop
- 186. http://www.karlrunge.com/x11vnc/index.html#faq-java-http
- 187. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect
- 188. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 189. http://www.karlrunge.com/x11vnc/index.html#faq-headless
- 190. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
- 191. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource
- 192. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource
- 193. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link
- 194. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage
- 195. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
- 196. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 197. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
- 198. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape
- 199. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha
- 200. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
- 201. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow
- 202. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions
- 203. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt
- 204. http://www.karlrunge.com/x11vnc/index.html#faq-altgr
- 205. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 206. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy
- 207. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 208. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys
- 209. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still
- 210. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt
- 211. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta
- 212. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click
- 213. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock
- 214. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars
- 215. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
- 216. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
- 217. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen
- 218. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen
- 219. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr
- 220. http://www.karlrunge.com/x11vnc/index.html#faq-rotate
- 221. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen
- 222. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 223. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars
- 224. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
- 225. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 226. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 227. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 228. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11
- 229. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf
- 230. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard
- 231. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer
- 232. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
- 233. http://www.karlrunge.com/x11vnc/index.html#faq-cups
- 234. http://www.karlrunge.com/x11vnc/index.html#faq-sound
- 235. http://www.karlrunge.com/x11vnc/index.html#faq-beeps
- 236. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
- 237. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
- 238. http://www.tldp.org/HOWTO/Remote-X-Apps.html
- 239. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 240. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
- 241. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 242. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
- 243. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html
- 244. http://www.karlrunge.com/x11vnc/index.html#building
- 245. http://www.karlrunge.com/x11vnc/index.html#faq-build
- 246. http://packages.debian.org/x11vnc
- 247. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc
- 248. http://dag.wieers.com/packages/x11vnc/
- 249. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html
- 250. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/
- 251. http://www.sunfreeware.com/
- 252. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all
- 253. http://www.freshports.org/net/x11vnc
- 254. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html
- 255. http://pkgsrc.se/x11/x11vnc
- 256. http://mike.saunby.net/770/x11vnc/
- 257. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc
- 258. http://www.focv.com/ipkg/
- 259. http://www.karlrunge.com/x11vnc/bins
- 260. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 261. http://www.tightvnc.com/download.html
- 262. http://www.realvnc.com/download-free.html
- 263. http://sourceforge.net/projects/cotvnc/
- 264. http://www.ultravnc.com/
- 265. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
- 267. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 268. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
- 269. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
- 270. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
- 271. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o
- 272. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
- 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb
- 274. http://fredrik.hubbe.net/x2vnc.html
- 275. http://www.hubbe.net/~hubbe/win2vnc.html
- 276. http://www.deboer.gmxhome.de/
- 277. http://sourceforge.net/projects/win2vnc/
+ 32. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 33. http://www.karlrunge.com/x11vnc/index.html#faq-service
+ 34. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 35. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file
+ 36. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 37. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file
+ 38. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 39. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via
+ 40. http://www.karlrunge.com/x11vnc/chainingssh.html
+ 41. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
+ 42. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 43. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 44. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 45. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 46. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 47. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 48. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 49. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
+ 50. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 51. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 52. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
+ 53. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
+ 54. http://www.stunnel.org/
+ 55. http://stunnel.mirt.net/
+ 56. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 57. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 58. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 59. http://sourceforge.net/projects/libvncserver/
+ 60. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=463226
+ 61. http://sourceforge.net/project/shownotes.php?release_id=463226&group_id=32584
+ 62. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
+ 63. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
+ 64. http://www.tightvnc.com/download.html
+ 65. http://www.realvnc.com/download-free.html
+ 66. http://sourceforge.net/projects/cotvnc/
+ 67. http://www.ultravnc.com/
+ 68. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 69. http://www.karlrunge.com/x11vnc/rx11vnc
+ 70. http://www.karlrunge.com/x11vnc/rx11vnc.pl
+ 71. http://www.sunfreeware.com/
+ 72. http://www.karlrunge.com/x11vnc/bins
+ 73. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
+ 74. http://www.karlrunge.com/x11vnc/miscbuild.html
+ 75. ftp://ftp.uu.net/graphics/jpeg/
+ 76. http://www.gzip.org/zlib/
+ 77. http://www.sunfreeware.com/
+ 78. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
+ 79. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
+ 80. http://www.karlrunge.com/x11vnc/bins
+ 81. mailto:x11vnc-beta@karlrunge.com
+ 82. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 83. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 84. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 85. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 86. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 87. http://www.openssl.org/
+ 88. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 89. http://www.stunnel.org/
+ 90. http://stunnel.mirt.net/
+ 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
+ 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert
+ 93. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA
+ 94. http://www.karlrunge.com/x11vnc/ssl.html
+ 95. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 96. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 97. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
+ 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 103. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 104. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 105. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
+ 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
+ 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer
+ 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit
+ 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 113. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v,
+ 114. http://www.karlrunge.com/x11vnc/prevrels.html
+ 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
+ 116. http://www.tightvnc.com/
+ 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
+ 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
+ 119. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 120. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg
+ 121. http://wwws.sun.com/sunray/index.html
+ 122. http://www.karlrunge.com/x11vnc/sunray.html
+ 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 124. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 125. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 128. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 129. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 130. mailto:xvml@karlrunge.com
+ 131. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
+ 132. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
+ 133. http://www.karlrunge.com/x11vnc/index.html#faq-build
+ 134. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest
+ 135. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
+ 136. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
+ 137. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
+ 138. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts
+ 139. http://www.karlrunge.com/x11vnc/index.html#faq-config-file
+ 140. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
+ 141. http://www.karlrunge.com/x11vnc/index.html#faq-change-port
+ 142. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg
+ 143. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe
+ 144. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations
+ 145. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
+ 146. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp
+ 147. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb
+ 148. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
+ 149. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
+ 150. http://www.karlrunge.com/x11vnc/index.html#faq-windowid
+ 151. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id
+ 152. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp
+ 153. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 154. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
+ 155. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays
+ 156. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg
+ 157. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control
+ 158. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 159. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho
+ 160. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 161. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd
+ 162. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
+ 163. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords
+ 164. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared
+ 165. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
+ 166. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
+ 167. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface
+ 168. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost
+ 169. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt
+ 170. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
+ 171. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt
+ 172. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy
+ 173. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock
+ 174. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix
+ 175. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty
+ 176. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 177. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 178. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 179. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy
+ 180. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
+ 181. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca
+ 182. http://www.karlrunge.com/x11vnc/index.html#faq-service
+ 183. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 184. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 185. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 186. http://www.karlrunge.com/x11vnc/index.html#faq-loop
+ 187. http://www.karlrunge.com/x11vnc/index.html#faq-java-http
+ 188. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect
+ 189. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 190. http://www.karlrunge.com/x11vnc/index.html#faq-headless
+ 191. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
+ 192. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource
+ 193. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource
+ 194. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link
+ 195. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage
+ 196. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl
+ 197. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
+ 198. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
+ 199. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
+ 200. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape
+ 201. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha
+ 202. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
+ 203. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow
+ 204. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions
+ 205. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt
+ 206. http://www.karlrunge.com/x11vnc/index.html#faq-altgr
+ 207. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 208. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy
+ 209. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 210. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys
+ 211. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still
+ 212. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt
+ 213. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta
+ 214. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click
+ 215. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock
+ 216. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars
+ 217. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
+ 218. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
+ 219. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen
+ 220. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen
+ 221. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr
+ 222. http://www.karlrunge.com/x11vnc/index.html#faq-rotate
+ 223. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen
+ 224. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 225. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars
+ 226. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver
+ 227. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
+ 228. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 229. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 230. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 231. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11
+ 232. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 233. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard
+ 234. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf
+ 235. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer
+ 236. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
+ 237. http://www.karlrunge.com/x11vnc/index.html#faq-cups
+ 238. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 239. http://www.karlrunge.com/x11vnc/index.html#faq-beeps
+ 240. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
+ 241. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
+ 242. http://www.tldp.org/HOWTO/Remote-X-Apps.html
+ 243. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 244. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 245. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 246. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
+ 247. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html
+ 248. http://www.karlrunge.com/x11vnc/index.html#building
+ 249. http://www.karlrunge.com/x11vnc/index.html#faq-build
+ 250. http://packages.debian.org/x11vnc
+ 251. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc
+ 252. http://dag.wieers.com/packages/x11vnc/
+ 253. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html
+ 254. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/
+ 255. http://www.sunfreeware.com/
+ 256. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all
+ 257. http://www.freshports.org/net/x11vnc
+ 258. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html
+ 259. http://pkgsrc.se/x11/x11vnc
+ 260. http://mike.saunby.net/770/x11vnc/
+ 261. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc
+ 262. http://www.focv.com/ipkg/
+ 263. http://www.karlrunge.com/x11vnc/bins
+ 264. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 265. http://www.tightvnc.com/download.html
+ 266. http://www.realvnc.com/download-free.html
+ 267. http://sourceforge.net/projects/cotvnc/
+ 268. http://www.ultravnc.com/
+ 269. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 270. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
+ 271. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 272. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
+ 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
+ 274. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
+ 275. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o
+ 276. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
+ 277. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb
278. http://fredrik.hubbe.net/x2vnc.html
- 279. http://freshmeat.net/projects/x2x/
- 280. http://ftp.digital.com/pub/Digital/SRC/x2x/
- 281. http://zapek.com/software/zvnc/
- 282. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual
- 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
- 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 285. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor
- 286. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
- 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
- 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 279. http://www.hubbe.net/~hubbe/win2vnc.html
+ 280. http://www.deboer.gmxhome.de/
+ 281. http://sourceforge.net/projects/win2vnc/
+ 282. http://fredrik.hubbe.net/x2vnc.html
+ 283. http://freshmeat.net/projects/x2x/
+ 284. http://ftp.digital.com/pub/Digital/SRC/x2x/
+ 285. http://zapek.com/software/zvnc/
+ 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual
+ 287. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
+ 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor
+ 291. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
+ 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 297. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
- 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid
- 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
- 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
- 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder
- 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 305. http://www.karlrunge.com/x11vnc/index.html#xauth_pain
- 306. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 307. http://wwws.sun.com/sunray/index.html
- 308. http://www.karlrunge.com/x11vnc/sunray.html
- 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
- 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
- 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
- 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods
- 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys
- 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
- 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd
- 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 320. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
- 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd
- 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd
- 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
- 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 334. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 335. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel
- 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
- 337. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
+ 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 302. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
+ 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid
+ 305. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
+ 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
+ 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder
+ 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 310. http://www.karlrunge.com/x11vnc/index.html#xauth_pain
+ 311. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 312. http://wwws.sun.com/sunray/index.html
+ 313. http://www.karlrunge.com/x11vnc/sunray.html
+ 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
+ 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
+ 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods
+ 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys
+ 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
+ 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd
+ 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 325. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
+ 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd
+ 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd
+ 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
+ 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 339. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 340. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel
+ 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 342. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
+ 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 346. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
- 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared
- 349. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 351. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 352. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
- 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 355. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
- 356. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen
+ 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
+ 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 351. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
+ 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared
+ 354. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 356. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 357. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
- 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
- 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
- 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly
- 365. ftp://ftp.x.org/
- 366. http://www.karlrunge.com/x11vnc/dtVncPopup
- 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
- 369. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 370. http://www.karlrunge.com/x11vnc/blockdpy.c
- 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 360. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
+ 361. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen
+ 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
+ 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 365. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
+ 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
+ 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 369. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly
+ 370. ftp://ftp.x.org/
+ 371. http://www.karlrunge.com/x11vnc/dtVncPopup
372. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
- 375. http://www.jwz.org/xscreensaver/man1.html
- 376. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 377. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 378. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 379. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 383. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh
- 384. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 386. http://www.stunnel.org/
- 387. http://stunnel.mirt.net/
- 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
- 391. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 392. http://www.stunnel.org/
- 393. http://www.karlrunge.com/x11vnc/ssl.html
- 394. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 395. http://www.karlrunge.com/x11vnc/ssl.html
- 396. http://www.securityfocus.com/infocus/1677
+ 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
+ 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 375. http://www.karlrunge.com/x11vnc/blockdpy.c
+ 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
+ 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
+ 379. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
+ 380. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 381. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 382. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 383. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 387. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh
+ 388. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 389. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 390. http://www.stunnel.org/
+ 391. http://stunnel.mirt.net/
+ 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
+ 395. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 396. http://www.stunnel.org/
397. http://www.karlrunge.com/x11vnc/ssl.html
- 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
- 399. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 406. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 407. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 408. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 398. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 399. http://www.karlrunge.com/x11vnc/ssl.html
+ 400. http://www.securityfocus.com/infocus/1677
+ 401. http://www.karlrunge.com/x11vnc/ssl.html
+ 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
+ 403. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
409. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 411. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 413. http://www.openssl.org/
+ 410. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 411. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 412. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 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.stunnel.org/
- 416. http://www.karlrunge.com/x11vnc/ssl.html
- 417. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 418. http://www.karlrunge.com/x11vnc/ssl.html
- 419. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 423. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
- 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 425. http://www.karlrunge.com/x11vnc/ssl-output.html
- 426. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 427. http://www.karlrunge.com/x11vnc/ssl_vncviewer
- 428. http://www.karlrunge.com/x11vnc/ssl-portal.html
- 429. http://www.karlrunge.com/x11vnc/ssl.html
- 430. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 431. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
- 432. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 433. http://www.karlrunge.com/x11vnc/ssl-portal.html
- 434. http://www.karlrunge.com/x11vnc/ssl.html
- 435. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
- 436. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 437. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 438. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop
- 439. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset
- 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 441. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris
- 442. http://www.jirka.org/gdm-documentation/x241.html
- 443. http://www.karlrunge.com/x11vnc/x11vnc_loop
- 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
- 445. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
- 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
- 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
- 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 449. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 450. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 453. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd
- 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 415. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 417. http://www.openssl.org/
+ 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 419. http://www.stunnel.org/
+ 420. http://www.karlrunge.com/x11vnc/ssl.html
+ 421. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 422. http://www.karlrunge.com/x11vnc/ssl.html
+ 423. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 427. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
+ 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 429. http://www.karlrunge.com/x11vnc/ssl-output.html
+ 430. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 431. http://www.karlrunge.com/x11vnc/ss_vncviewer
+ 432. http://www.karlrunge.com/x11vnc/ssl-portal.html
+ 433. http://www.karlrunge.com/x11vnc/ssl.html
+ 434. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 435. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 436. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 437. http://www.karlrunge.com/x11vnc/ssl-portal.html
+ 438. http://www.karlrunge.com/x11vnc/ssl.html
+ 439. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
+ 440. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 441. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 442. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop
+ 443. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset
+ 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 445. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris
+ 446. http://www.jirka.org/gdm-documentation/x241.html
+ 447. http://www.karlrunge.com/x11vnc/x11vnc_loop
+ 448. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
+ 449. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
+ 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
+ 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
+ 452. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 453. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 454. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 456. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
- 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 458. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
- 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect
- 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
- 466. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 467. http://www.karlrunge.com/x11vnc/Xdummy
- 468. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
- 469. http://www.karlrunge.com/x11vnc/shm_clear
- 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 472. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap
- 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb
- 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
- 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
- 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 484. http://www.tightvnc.com/
- 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 457. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd
+ 458. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 460. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
+ 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 462. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
+ 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect
+ 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 470. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 471. http://www.karlrunge.com/x11vnc/Xdummy
+ 472. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
+ 473. http://www.karlrunge.com/x11vnc/shm_clear
+ 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 476. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap
+ 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb
+ 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
+ 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
+ 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds
- 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
- 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
- 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive
- 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
- 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
- 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
- 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout
- 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
- 500. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area
- 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem
- 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
+ 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 488. http://www.tightvnc.com/
+ 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
+ 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds
+ 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
+ 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
+ 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive
+ 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
+ 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
+ 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
+ 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout
+ 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
504. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
- 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
- 510. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 511. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
- 512. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
- 513. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 517. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area
+ 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem
+ 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
+ 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
+ 509. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
+ 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
+ 515. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
+ 516. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
+ 517. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
+ 518. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect
- 521. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
- 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip
- 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
- 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 529. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode
- 530. http://www.karlrunge.com/x11vnc/index.html#solaris10-build
- 531. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
- 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut
- 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac
- 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove
- 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
- 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend
- 537. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 538. http://www.tightvnc.com/
- 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
- 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos
- 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
- 542. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
- 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
- 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer
- 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
- 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 547. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 548. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
- 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
- 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 553. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 555. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
- 557. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
- 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes
- 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
- 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
- 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
- 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
- 571. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 522. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect
+ 526. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
+ 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip
+ 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
+ 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 534. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode
+ 535. http://www.karlrunge.com/x11vnc/index.html#solaris10-build
+ 536. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
+ 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut
+ 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac
+ 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove
+ 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
+ 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend
+ 542. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 543. http://www.tightvnc.com/
+ 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
+ 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos
+ 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
+ 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
+ 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
+ 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer
+ 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
+ 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 552. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 553. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
+ 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
+ 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 560. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
+ 562. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
+ 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes
+ 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys
+ 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
+ 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
+ 576. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
577. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak
- 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock
- 580. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
- 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
- 582. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html
- 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
- 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor
- 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout
- 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
- 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
- 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
- 591. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
- 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip
- 595. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
- 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr
- 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom
- 600. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
- 602. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 603. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 604. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
- 610. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 611. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 612. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 613. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 615. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 616. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 617. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 618. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
- 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 620. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
- 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
- 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb
- 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab
- 627. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 631. http://www.unixuser.org/~euske/vnc2swf/
- 632. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/
- 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
- 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary
- 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir
- 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
- 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer
- 638. http://www.samba.org/
- 639. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 640. http://www.cups.org/
- 641. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 642. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell
- 644. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys
+ 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak
+ 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock
+ 585. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
+ 586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
+ 587. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html
+ 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
+ 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor
+ 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout
+ 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
+ 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
+ 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
+ 596. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
+ 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip
+ 600. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
+ 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr
+ 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom
+ 605. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
+ 607. http://www.jwz.org/xscreensaver/man1.html
+ 608. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 609. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 610. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
+ 616. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 617. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 618. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 619. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 621. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 622. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 623. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 624. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
+ 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 626. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
+ 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
+ 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb
+ 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab
+ 633. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 636. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 638. http://www.redstonesoftware.com/vnc.html
+ 639. http://www.apple.com/remotedesktop/
+ 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 641. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 642. http://fredrik.hubbe.net/x2vnc.html
+ 643. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
+ 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
+ 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary
+ 646. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir
+ 647. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
+ 648. http://www.unixuser.org/~euske/vnc2swf/
+ 649. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/
+ 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer
+ 651. http://www.samba.org/
+ 652. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 653. http://www.cups.org/
+ 654. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 655. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 656. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell
+ 657. http://www.karlrunge.com/x11vnc/index.html#faq-sound
=======================================================================
http://www.karlrunge.com/x11vnc/chainingssh.html:
@@ -7029,7 +7219,7 @@ NTIwLjQxMTE2OTEPMA0GA1UEChMGeDExdm5jMS4wLAYDVQQDEyV4MTF2bmMtU0VM
the connection (and print a failure message in its log file).
A third example, using the VNC viewer on Unix with stunnel the wrapper
- script can be used this way: "[4]ssl_vncviewer -verify ./x11vnc.crt
+ script can be used this way: "[4]ss_vncviewer -verify ./x11vnc.crt
far-away.east:0" where ./x11vnc.crt is the copied certificate x11vnc
printed out.
@@ -7240,8 +7430,8 @@ NTIwLjQxMTE2OTEPMA0GA1UEChMGeDExdm5jMS4wLAYDVQQDEyV4MTF2bmMtU0VM
(then point the VNC viewer to localhost:1).
Here is an example for the Unix stunnel wrapper script
- [17]ssl_vncviewer:
- ssl_vncviewer -verify ./cacert.pem far-away.east:0
+ [17]ss_vncviewer:
+ ss_vncviewer -verify ./cacert.pem far-away.east:0
Tricks for server keys:
@@ -7337,9 +7527,9 @@ pem
Finally, connect with your VNC viewer using the key. For the Java
Applet viewer (TBD...). Here is an example for the Unix stunnel
- wrapper script [18]ssl_vncviewer: using client authentication (and the
+ wrapper script [18]ss_vncviewer: using client authentication (and the
standard server authentication with the CA cert):
- ssl_vncviewer -mycert ./dilbert.pem -verify ./cacert.pem far-away.east:0
+ ss_vncviewer -mycert ./dilbert.pem -verify ./cacert.pem far-away.east:0
It is also possible to use [19]-sslverify on a per-client key basis,
and also using self-signed client keys (x11vnc -sslGenCert client
@@ -7384,7 +7574,7 @@ References
1. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
2. http://stunnel.mirt.net/
3. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 4. http://www.karlrunge.com/x11vnc/ssl_vncviewer
+ 4. http://www.karlrunge.com/x11vnc/ss_vncviewer
5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir
6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
@@ -7397,8 +7587,8 @@ References
14. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir
15. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir
16. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir
- 17. http://www.karlrunge.com/x11vnc/ssl_vncviewer
- 18. http://www.karlrunge.com/x11vnc/ssl_vncviewer
+ 17. http://www.karlrunge.com/x11vnc/ss_vncviewer
+ 18. http://www.karlrunge.com/x11vnc/ss_vncviewer
19. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
20. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslCertInfo
21. http://www.securityfocus.com/infocus/1677
@@ -7437,7 +7627,7 @@ http://www.karlrunge.com/x11vnc/ssl-portal.html:
connections. The only thing needed on the Viewer side is a Java
enabled Web Browser: the user enters a URL that starts the VNC
connection process. The stunnel VNC viewer wrapper script provided
- (ssl_vncviewer) can also take advantage of the method described here.
+ (ss_vncviewer) can also take advantage of the method described here.
This apache solution may be overkill for you (e.g. home system) see
[1]below for some simpler setups that avoid using SSH.
@@ -7631,7 +7821,7 @@ t:563/
* SSL Client certificates: [11]-sslverify
* Apache AuthUserFile directive: .htaccess, etc.
* Use Port-knocking on your firewall as described in: [12]Enhanced
- TightVNC Viewer.
+ TightVNC Viewer (ssvnc).
* Add proxy password authentication (requires Viewer changes?)
* Run a separate instance of Apache that provides this VNC service
so it can be brought up and down independently of the normal web
@@ -7641,15 +7831,15 @@ t:563/
Using non-Java viewers with this scheme:
- The [13]ssl_vncviewer stunnel wrapper script for VNC viewers has the
+ The [13]ss_vncviewer stunnel wrapper script for VNC viewers has the
-proxy option that can take advantage of this method. For the case of
the "double proxy" situation (see below) supply both separated by a
comma.
- ssl_vncviewer -proxy www.gateway.east:563 mach1:15
- ssl_vncviewer -proxy proxy1.foobar.com:8080,www.gateway.east:563 mach1:15
+ ss_vncviewer -proxy www.gateway.east:563 mach1:15
+ ss_vncviewer -proxy proxy1.foobar.com:8080,www.gateway.east:563 mach1:15
- For the [14]Enhanced TightVNC Viewer GUI (it uses ssl_vncviewer on
- Unix) enter these into the 'VNC Server' entry box:
+ For the [14]Enhanced TightVNC Viewer (ssvnc) GUI (it uses ss_vncviewer
+ on Unix) enter these into the 'VNC Server' entry box:
mach1:15 www.gateway.east:563
mach1:15 proxy1.foobar.com:8080,www.gateway.east:563
@@ -7829,7 +8019,7 @@ RT=563&forceProxy=yes [R,NE]
https://24.35.46.57:5901/?PORT=5901
or using the stunnel wrapper script:
- ssl_vncviewer 24.35.46.57:1
+ ss_vncviewer 24.35.46.57:1
One can acheive similar things with dedicated firewall/routers (e.g.
Linksys) using the device's web or other interface to configure the
@@ -7935,7 +8125,7 @@ References
10. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
11. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
12. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 13. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer
+ 13. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
14. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
15. http://httpd.apache.org/docs/2.0/mod/mod_ssl.html
16. http://www.karlrunge.com/x11vnc/ssl.html
@@ -7948,32 +8138,32 @@ http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html:
_________________________________________________________________
-Enhanced TightVNC Viewer
+Enhanced TightVNC Viewer (ssvnc: SSL/SSH VNC viewer)
The Enhanced TightVNC Viewer package started as a project to add some
- patches to the long neglected Unix TightVNC Viewer.
-
- It now also adds a front-end GUI for Windows and Unix that
- automatically starts up a STUNNEL SSL tunnel for SSL connections to
- [1]x11vnc (or any other VNC Server also running an SSL tunnel, such as
- STUNNEL, at their end), and then launches the TightVNC Viewer. The
- front-end program can also be used to set up SSH tunnelled connections
- instead. And many additional features (see below for a list).
-
- It is a self-contained package, you could carry it around on, say, a
- USB memory stick for secure VNC viewing from almost any machine, Unix
- or Windows.
-
- Patches were created for the TightVNC 1.3dev7 vnc_unixsrc tree (and
- various wrappers and a tcl/tk GUI written) to add these features:
- * SSL support for connections using the co-bundled stunnel program.
+ patches to the long neglected Unix TightVNC Viewer. However, now the
+ front-end GUI and wrapper scripts features dwarf the Unix TightVNC
+ Viewer patches (see the list below).
+
+ It adds a GUI for Windows, Mac OS X, and Unix that automatically
+ starts up a STUNNEL SSL tunnel for SSL or SSH connections to
+ [1]x11vnc, and then launches the TightVNC Viewer to use that tunnel.
+ It also enables SSL encrypted VNC connections to any other VNC Server
+ running an SSL tunnel, such as STUNNEL, at their end. It can be used
+ to perform SSH connections to any other VNC Server as well. The tool
+ has many additional features (see below for a list).
+
+ The short name for this project is ssvnc for SSL/SSH VNC Viewer.
+
+ It is a self-contained bundle, you could carry it around on, say, a
+ USB memory stick for secure VNC viewing from almost any machine, Unix,
+ Mac OS X, or Windows.
+
+ Wrappers and a tcl/tk GUI were written and patches were created for
+ the TightVNC 1.3dev7 vnc_unixsrc tree to add these features:
+ * SSL support for connections using the bundled stunnel program.
* Automatic SSH connections from the GUI (system ssh is used on
- Unix; co-bundled plink is used on Windows)
- * rfbNewFBSize VNC support on Unix (screen resizing)
- * cursor alphablending with x11vnc at 32bpp (-alpha option, Unix
- only)
- * xgrabserver support for fullscreen mode, for old window managers
- (-grab option, Unix only).
+ Unix; bundled plink is used on Windows)
* Create or Import SSL Certificates and Private Keys.
* Automatic Service tunnelling via SSH for CUPS and SMB Printing,
ESD/ARTSD Audio, and SMB (Windows/Samba) filesystem mounting.
@@ -7983,14 +8173,94 @@ Enhanced TightVNC Viewer
connecting.
* You can also use your own VNC Viewer, e.g. UltraVNC or RealVNC,
with the front-end if you like.
- * Sets up any additional SSH port redirections that you want.
- * Support for native MacOS X usage with Chicken of the VNC viewer.
+ * Sets up any additional SSH port redirections that you desire.
+ * Support for native MacOS X usage with bundled Chicken of the VNC
+ viewer.
+ * rfbNewFBSize VNC support on Unix (screen resizing, Unix only)
+ * cursor alphablending with x11vnc at 32bpp (-alpha option, Unix
+ only)
+ * xgrabserver support for fullscreen mode, for old window managers
+ (-grab option, Unix only).
+
+ The list of software bundled in the archive files:
+ * TightVNC Viewer (windows, unix, macosx)
+ * Chicken of the VNC Viewer (macosx)
+ * Stunnel (windows, unix, macosx)
+ * Putty/Plink/Pageant (windows)
+ * OpenSSL (windows)
+ * esound (windows)
- The Viewer SSL support is done via a wrapper script
- (bin/ssl_tightvncviewer) that starts up the STUNNEL tunnel first and
- then starts the TightVNC viewer pointed at that tunnel. The
- bin/ssl_vnc_gui program is a GUI front-end to that script. See [2]this
- FAQ for more details on SSL tunnelling.
+ These are all self-contained in the bundle directory: they will not be
+ installed on your system. Just un-zip or un-tar the file you
+ downloaded and run it straight from its directory.
+
+ Here is the quick start info from the README for how to do that:
+Quick Start:
+-----------
+
+Unix and Mac OS X:
+
+ Inside a Terminal do something like the following.
+
+ Unpack the archive:
+
+ % gzip -dc ssvnc-1.0.8.tar.gz | tar xvf -
+
+ Run the GUI:
+
+ % ./ssvnc/Unix/ssvnc (for Unix)
+
+ % ./ssvnc/MacOSX/ssvnc (for Mac OS X)
+
+ actually both of the above are equivalent, and the same as running
+
+ % ./ssvnc/bin/ssvnc
+
+
+ The smaller file "ssvnc_no_windows-1.0.8.tar.gz" could have been
+ used as well.
+
+
+Windows:
+
+ Unzip, using WinZip or a similar utility, the zip file:
+
+ ssvnc-1.0.8.zip
+
+ Run the GUI, e.g.:
+
+ Start -> Run -> Browse
+
+ and then navigate to
+
+ .../ssvnc/Windows/ssvnc.exe
+
+ select Open, and then OK to launch it.
+
+ The smaller file "ssvnc_windows_only-1.0.8.zip" could have been used
+ as well.
+
+ You can make a Windows shortcut to this program if you want to.
+
+ See the Windows/README.txt for more info.
+ _________________________________________________________________
+
+ The bundle unpacks a directory/folder named: ssvnc. It contains these
+ programs to launch the GUI:
+ Windows/ssvnc.exe for Windows
+ MacOSX/ssvnc for Mac OS X
+ Unix/ssvnc for Unix
+
+ (the Mac OS X and Unix launchers are simply links to the bin
+ directory). See the README for more information.
+
+ The Viewer SSL support is done via a wrapper script (bin/ssvnc_cmd
+ that calls bin/util/ss_vncviewer) that starts up the STUNNEL tunnel
+ first and then starts the TightVNC viewer pointed at that tunnel. The
+ bin/ssvnc program is a GUI front-end to that script. See [2]this FAQ
+ for more details on SSL tunnelling.
+
+ Patches for Unix Tightvnc viewer:
The rfbNewFBSize support allows the enhanced TightVNC Unix viewer to
resize when the server does (e.g. "x11vnc -R scale=3/4" remote control
@@ -7998,23 +8268,27 @@ Enhanced TightVNC Viewer
The cursor alphablending is [3]described here.
- For Windows, SSL Viewer support is provided by a GUI
- Windows/ssl_tightvncviewer.exe that prompts for the VNC display and
- then starts up STUNNEL followed by the Stock TightVNC Windows Viewer.
- The GUI has other useful features. When the connection is finished,
- you will be asked if you want to terminate the STUNNEL program. For
- SSH connections from Windows the GUI will use PLINK instead of
- STUNNEL.
+ Probably nobody is interested in the [4]grabserver patch for old
+ window managers when the viewer is in fullscreen mode...
+
+ Windows:
+
+ For Windows, SSL Viewer support is provided by a GUI Windows/ssvnc.exe
+ that prompts for the VNC display and then starts up STUNNEL followed
+ by the Stock TightVNC Windows Viewer. The GUI has other useful
+ features. When the connection is finished, you will be asked if you
+ want to terminate the STUNNEL program. For SSH connections from
+ Windows the GUI will use PLINK instead of STUNNEL.
+
+ Unix, Mac OS X, and Windows:
+
+ Run the GUI (see above) and let me know how it goes.
+ _________________________________________________________________
Hopefully these binaries will make it convenient for people to help
- test and use the [4]built-in SSL support in x11vnc. Extra testing of
+ test and use the [5]built-in SSL support in x11vnc. Extra testing of
this feature is much appreciated!! Thanks.
- For the heck of it, the wrapper scripts and GUI interface were also
- modified to be able to automatically set up an SSH tunnel instead of
- STUNNEL SSL. This works on Unix and Windows (and more smoothly on Unix
- of course).
-
Please help test the newly added feature: "Automatic Service
tunnelling via SSH for CUPS and SMB Printing, ESD/ARTSD Audio, and SMB
(Windows/Samba) filesystem mounting." This allows you to print from
@@ -8023,29 +8297,43 @@ Enhanced TightVNC Viewer
mount your local Windows or Samba shares on the remote VNC Server
machine. Basically these new features try to automate the tricks
described here:
- [5]http://www.karlrunge.com/x11vnc/#faq-smb-shares
- [6]http://www.karlrunge.com/x11vnc/#faq-cups
- [7]http://www.karlrunge.com/x11vnc/#faq-sound
+ [6]http://www.karlrunge.com/x11vnc/#faq-smb-shares
+ [7]http://www.karlrunge.com/x11vnc/#faq-cups
+ [8]http://www.karlrunge.com/x11vnc/#faq-sound
(and there should be kinks to work out).
+ _________________________________________________________________
- This package can be downloaded here:
- [8]enhanced_tightvnc_viewer-1.0.7.zip All Unix and Windows
-binaries and source. (~8MB)
- [9]enhanced_tightvnc_viewer-1.0.7.tar.gz All Unix and Windows
-binaries and source. (~8MB)
- [10]enhanced_tightvnc_viewer_all-1.0.7.zip All Unix and Windows
- binaries and source and full archives in zip dir. (~11MB)
- [11]enhanced_tightvnc_viewer_windows_only-1.0.7.zip Only the Windows bin
-aries. (~6MB)
- [12]enhanced_tightvnc_viewer_no_windows-1.0.7.tar.gz No Windows binaries.
- (~2MB)
+ Downloading: This project can be downloaded here, choose the one that
+ best suits you (e.g. no source code, windows only, unix only, etc):
+ [9]ssvnc_windows_only-1.0.8.zip Windows Binaries Only. No source includ
+ed (~6MB)
+ [10]ssvnc_no_windows-1.0.8.tar.gz Unix and Mac OS X Only. No Windows bina
+ries. Source included. (~3.5MB)
+ [11]ssvnc_unix_only-1.0.8.tar.gz Unix Binaries Only. No source inclu
+ded. (~1MB)
+ [12]ssvnc_unix_minimal-1.0.8.tar.gz Unix Minimal. You must supply your own
+ vncviewer and stunnel. (~0.1MB)
+
+ [13]ssvnc-1.0.8.tar.gz All Unix, Mac OS X, and Windows binarie
+s and source TGZ. (~9MB)
+ [14]ssvnc-1.0.8.zip All Unix, Mac OS X, and Windows binarie
+s and source ZIP. (~9MB)
+ [15]ssvnc_all-1.0.8.zip All Unix, Mac OS X, and Windows binarie
+s and source AND full archives in the zip dir. (~12MB)
Sorry for the inconvenience of lumping all the Unix binaries and
- source together in one archive. They will be split up if there is
- sufficient interest.
+ source together in one archive. To save space you can delete the src
+ subdirectory if you like.
- Current Unix binaries in the above archives:
+ A self-extracting and running file for the "ssvnc_unix_minimal"
+ package is here: [16]ssvnc. Save it as filename "ssvnc", type "chmod
+ 755 ./ssvnc", and then launch the GUI via typing "./ssvnc". Note that
+ this "ssvnc_unix_minimal" mode requires you install the "stunnel" and
+ "vncviewer" programs externally (for example, install your distros'
+ versions, e.g. on debian: "apt-get install stunnel4 xtightvncviewer".)
+
+ Current Unix binaries in the archives:
FreeBSD.i386
Linux.alpha
Linux.i686
@@ -8054,80 +8342,88 @@ aries. (~6MB)
NetBSD.i386
OpenBSD.i386
SunOS.sun4u
+ SunOS.i86pc
+ Darwin.Power.Macintosh
+ Darwin.i386
You can also run the included build.unix script to try to
automatically build the binaries if your OS is not in the above list
or the included binary does not run properly on your system. Let me
know how that goes.
+ _________________________________________________________________
IMPORTANT: there may be restrictions for you to download, use, or
redistribute the above because of cryptographic software they contain.
Please check out your situation and information at the following and
related sites:
- [13]http://www.tightvnc.com
- [14]http://www.realvnc.com
- [15]http://www.stunnel.org
- [16]http://www.openssl.org
- [17]http://www.chiark.greenend.org.uk/~sgtatham/putty/
+ [17]http://www.tightvnc.com
+ [18]http://www.realvnc.com
+ [19]http://www.stunnel.org
+ [20]http://www.openssl.org
+ [21]http://www.chiark.greenend.org.uk/~sgtatham/putty/
It is my belief (but I cannot be absolutely sure) that the bundle
- enhanced_tightvnc_viewer_no_windows-1.0.7.tar.gz contains no
- cryptographic software (again, if your situation warrants, you will
- need to check). This "no_windows" tarball only contains software (from
- the above URL's and elsewhere) that will use cryptographic software
- (libraries) already installed on your system. See the section on this
- in the README below.
+ ssvnc_no_windows-1.0.8.tar.gz contains no cryptographic software
+ (again, if your situation warrants, you will need to check). This
+ "no_windows" tarball only contains software (from the above URL's and
+ elsewhere) that will use cryptographic software (libraries) already
+ installed on your system. See the section on this in the README below.
+ _________________________________________________________________
- Here is the toplevel README from the package:
- Enhanced TightVNC Viewer package
+ Here is the toplevel README from the bundle:
+ Enhanced TightVNC Viewer (ssvnc: SSL/SSH viewer)
-Copyright (c) Karl J. Runge
+Copyright (c) 2006 Karl J. Runge
All rights reserved.
-These packages provide 1) An enhanced TightVNC Viewer on Unix, 2) Binaries
-for many Operating Systems (including Windows) for your convenience,
-3) Wrapper scripts and etc. for gluing them all together.
+These bundles provide 1) An enhanced TightVNC Viewer on Unix, 2) Binaries
+for many Operating Systems (including Windows and Mac OS X) for your
+convenience, 3) Wrapper scripts and a GUI for gluing them all together.
One can straight-forwardly download all of the components and get them
-to work together by oneself: this package is mostly for your convenience
+to work together by oneself: this bundle is mostly for your convenience
to combine and wrap together the freely available software.
-Bundled software co-shipped in this package is copyright and licensed
-by others. See these sites and related ones for more information:
+Bundled software co-shipped is copyright and licensed by others.
+See these sites and related ones for more information:
http://www.tightvnc.com
http://www.realvnc.com
http://www.stunnel.org
+ http://stunnel.mirt.net
http://www.openssl.org
http://www.chiark.greenend.org.uk/~sgtatham/putty/
+ http://sourceforge.net/projects/cotvnc/
Note: Some of the Windows binaries included contain cryptographic software
that you may not be allowed to download, use, or redistribute. Please
-check your situation first before downloading any of these packages.
+check your situation first before downloading any of these bundles.
See the survey http://rechten.uvt.nl/koops/cryptolaw/index.htm for useful
information. The Unix programs do not contain cryptographic software, but
rather will make use of cryptographic libraries that are installed on your
Unix system. Depending on your circumstances you may still need to check.
-All work by Karl J. Runge in this package is Copyright (c) Karl J. Runge
+All work by Karl J. Runge in this project is Copyright (c) 2006 Karl J. Runge
and is licensed under the GPL as described in the file COPYING in this
directory.
-All the files and information in this package are provided "AS IS"
+All the files and information in this project are provided "AS IS"
without any warranty of any kind. Use them at your own risk.
=============================================================================
-This package contains a convenient collection of enhanced TightVNC viewers
-and stunnel binaries for different flavors of Unix and wrapper scripts,
-etc to glue them together. SSL and SSH encryption tunnelling is provided.
+This bundle contains a convenient collection of enhanced TightVNC
+viewers and stunnel binaries for different flavors of Unix and wrapper
+scripts and a GUI front-end to glue them together. Automatic SSL and
+SSH encryption tunnelling is provided.
+
+A Windows SSL wrapper for the bundled TightVNC binary and other utilities
+are provided. (Launch ssvnc.exe in the Windows subdirectory).
-Also, a Windows SSL wrapper for the co-bundled TightVNC binary and other
-utilities are provided. (Launch ssl_tightvncviewer.exe in the
-Windows subdirectory).
+The short name of the project is "ssvnc" for SSL/SSH VNC Viewer.
-It is a self-contained package, you could carry it around on, say,
+It is a self-contained bundle, you could carry it around on, say,
a USB memory stick for secure VNC viewing from almost any machine,
Unix or Windows.
@@ -8136,17 +8432,10 @@ Features:
The enhanced TightVNC viewer features are:
- - SSL support for connections using the co-bundled stunnel program.
+ - SSL support for connections using the bundled stunnel program.
- Automatic SSH connections from the GUI (ssh must already be
- installed on Unix; co-bundled plink is used on Windows)
-
- - rfbNewFBSize VNC support on Unix (screen resizing)
-
- - cursor alphablending with x11vnc at 32bpp (-alpha option, Unix only)
-
- - xgrabserver support for fullscreen mode, for old window
- managers (-grab option, Unix only).
+ installed on Unix; bundled plink is used on Windows)
- Create or Import SSL Certificates and Private Keys.
@@ -8159,59 +8448,180 @@ The enhanced TightVNC viewer features are:
connecting.
- You can also use your own VNC Viewer, e.g. UltraVNC or RealVNC,
- with the front-end if you like.
+ with the front-end GUI or scripts if you like.
+
+ - Sets up any additional SSH port redirections that you desire.
+
+ - Support for native MacOS X usage with bundled Chicken of the
+ VNC viewer.
+
+
+ (these 3 features only apply to the bundled Unix tightvnc viewer)
+
+ - rfbNewFBSize VNC support on Unix (screen resizing, Unix only)
+
+ - cursor alphablending with x11vnc at 32bpp (-alpha option, Unix only)
+
+ - xgrabserver support for fullscreen mode, for old window
+ managers (-grab option, Unix only).
+
+
+The list of software bundled in the archive files:
+
+ TightVNC Viewer (windows, unix, macosx)
+ Chicken of the VNC Viewer (macosx)
+ Stunnel (windows, unix, macosx)
+ Putty/Plink/Pageant (windows)
+ OpenSSL (windows)
+ esound (windows)
+
+These are all self-contained in the bundle directory: they will not be
+installed on your system. Just un-zip or un-tar the file you downloaded
+and run it straight from its directory.
+
+
+Quick Start:
+-----------
+
+Unix and Mac OS X:
+
+ Inside a Terminal do something like the following.
+
+ Unpack the archive:
+
+ % gzip -dc ssvnc-1.0.8.tar.gz | tar xvf -
+
+ Run the GUI:
+
+ % ./ssvnc/Unix/ssvnc (for Unix)
+
+ % ./ssvnc/MacOSX/ssvnc (for Mac OS X)
- - Sets up any additional SSH port redirections that you want.
+ actually both of the above are equivalent, and the same as running
+ % ./ssvnc/bin/ssvnc
-Your package should have included binaries for many OS's: Linux, Solaris,
-FreeBSD, etc. Unpack your archive and see the subdirectories of
+
+ The smaller file "ssvnc_no_windows-1.0.8.tar.gz"
+ could have been used as well.
+
+
+Windows:
+
+ Unzip, using WinZip or a similar utility, the zip file:
+
+ ssvnc-1.0.8.zip
+
+ Run the GUI, e.g.:
+
+ Start -> Run -> Browse
+
+ and then navigate to
+
+ .../ssvnc/Windows/ssvnc.exe
+
+ select Open, and then OK to launch it.
+
+ The smaller file "ssvnc_windows_only-1.0.8.zip"
+ could have been used as well.
+
+ You can make a Windows shortcut to this program if you want to.
+
+ See the Windows/README.txt for more info.
+
+
+Bundle Info:
+------------
+
+The bundle files unpack a directory/folder named: ssvnc
+
+It contains these programs to launch the GUI:
+
+ Windows/ssvnc.exe for Windows
+ MacOSX/ssvnc for Mac OS X
+ Unix/ssvnc for Unix
+
+(the Mac OS X and Unix launchers are simply links to the bin directory).
+
+
+Your bundle file should have included binaries for many OS's: Linux,
+Solaris, FreeBSD, etc. Unpack your archive and see the subdirectories of
./bin
-for the ones that were shipped in this package, e.g. ./bin/Linux.i686
+for the ones that were shipped in this project, e.g. ./bin/Linux.i686
Run "uname -sm" to see your OS+arch combination. (See the
-./bin/tightvncviewer -h output for how to override platform autodection
+./bin/ssvnc_cmd -h output for how to override platform autodection
via the UNAME env. var).
+External Dependencies:
+----------------------
+
+On Windows everything is included. Let us know if you find otherwise.
+
+On Unix depending on what you do you need these programs installed:
+
+ - basic unix utilities (sh, ls, cat, awk, sed, etc..)
+ - tcl/tk (wish interpreter)
+ - xterm
+ - perl
+ - ssh
+ - openssl
+
+ Lesser used ones: netcat, esd/artsd, smbclient, smbmount, cups
+
+On Mac OS X depending on what you do you need these programs installed:
+
+ - basic unix utilities (sh, ls, cat, awk, sed, etc..)
+ - tcl/tk (wish interpreter)
+ - Terminal
+ - perl
+ - ssh
+ - openssl
+
+ Lesser used ones: netcat, smbclient, cups
+
+
+Most Mac OS X and Unix OS come with the main components installed.
+
+
If you need to Build:
--------------------
-If your OS/arch is not included, the script "build.unix" may be able to
-successfully build one for you and deposit the binaries down in ./bin/...
+If your OS/arch is not included or the provided binary has the wrong
+library dependencies, etc. the script "build.unix" may be able to
+successfully build on for you and deposit the binaries down in ./bin/...
using the included source code.
-You must run the build.unix script from this directory (that this toplevel
-README is in) and like this:
+You MUST run the build.unix script from this directory (that this toplevel
+README is in, i.e "ssvnc") and like this:
./build.unix
+To use custom locations for libraries see the LDFLAGS_OS and CPPFLAGS_OS
+description at the top of the build.unix script.
+
The programs:
------------
Unpack your archive, and you will see "bin", "Windows", "src" directories
-and other files. The wrapper scripts:
+and other files. The command line wrapper scripts:
- ./bin/ssl_tightvncviewer
+ ./bin/ssvnc_cmd
./bin/tightvncviewer
-are the main programs you will run and will try to autodetect your OS+arch
+are the main programs that are run and will try to autodetect your OS+arch
combination and if binaries are present for it automatically use them.
(if not found try the running the build.unix script).
-If you prefer a GUI to prompt for parameters and then start ssl_tightvncviewer
+If you prefer a GUI to prompt for parameters and then start ssvnc_cmd
you can run this instead:
- ./bin/ssl_vnc_gui
+ ./bin/ssvnc
-this is essentially the same GUI that is run on Windows (the
-ssl_tightvncviewer.exe).
-
-Using the GUI is it impossible to initiate a VNC connection that is not
-encrypted with either SSL or SSH. Unencrypted VNC connections can only
-be started by manually running the ./bin/tightvncviewer script.
+this is the same GUI that is run on Windows (the ssvnc.exe).
For convenience, you can make symlinks from a directory in your PATH to
any of the 3 programs above you wish to run. That is all you usually
@@ -8219,15 +8629,19 @@ need to do for it to pick up all of the binaries, utils, etc. E.g.
assuming $HOME/bin is in your $PATH:
cd $HOME/bin
- ln -s /path/to/enhanced_tightvnc_viewer/bin/{s,t}* .
+ ln -s /path/to/ssvnc/bin/{s,t}* .
(note the "." at the end). The above commands is basically the way to
-"install" this package on Unix.
+"install" this on Unix.
+
+Also symlinks to the GUI launcher script are provided in:
+ MacOSX/ssvnc
+ Unix/ssvnc
On Windows unpack your archive and run:
- Windows/ssl_tightvncviewer.exe
+ Windows/ssvnc.exe
Examples:
@@ -8238,11 +8652,11 @@ archive you unpacked.
Use enhanced TightVNC unix viewer to connect to x11vnc via SSL:
- ./bin/ssl_tightvncviewer far-away.east:0
+ ./bin/ssvnc_cmd far-away.east:0
./bin/tightvncviewer -ssl far-away.east:0 (same)
- ./bin/ssl_vnc_gui (start GUI launcher)
+ ./bin/ssvnc (start GUI launcher)
Use enhanced TightVNC unix viewer without SSL:
@@ -8251,7 +8665,7 @@ Use enhanced TightVNC unix viewer without SSL:
Use SSL to connect to a x11vnc server, and also verify the server's
identity using the SSL Certificate in the file ./x11vnc.pem:
- ./bin/ssl_tightvncviewer -alpha -verify ./x11vnc.pem far-away.east:0
+ ./bin/ssvnc_cmd -alpha -verify ./x11vnc.pem far-away.east:0
(also turns on the viewer-side cursor alphablending hack).
@@ -8259,8 +8673,8 @@ identity using the SSL Certificate in the file ./x11vnc.pem:
Brief description of the subdirectories:
---------------------------------------
- ./bin/util some utility scripts, e.g. ssl_vncviewer
- and ssl_tightvncviewer.tcl
+ ./bin/util some utility scripts, e.g. ss_vncviewer
+ and ssvnc.tcl
./src source code and patches.
./src/zips zip files of source code and binaries.
@@ -8276,11 +8690,24 @@ Brief description of the subdirectories:
./man man pages for TightVNC viewer and stunnel.
./Windows Stock TightVNC viewer and Stunnel, Openssl
- etc Windows binaries. ssl_tightvncviewer.exe
- is the program to run.
+ etc Windows binaries. ssvnc.exe is the
+ program to run.
+
+ ./MacOSX contains an unpacked Chicken of the VNC
+ viewer and a symlink to ssvnc.
+
+ ./Unix contains a symlink to ssvnc.
+
+Depending on which bundle you use not all of the above may be present.
+The smallest bundles with binaries are:
+
+ ssvnc_windows_only-1.x.y.zip Windows
+ ssvnc_no_windows-1.x.y.tar.gz Unix and MacOSX
+
+however, the tiny scripts only one (only 60KB) will run properly on Unix
+as long as you install external vncviewer and stunnel packages:
-Since they are large, depending on which package you use not all of the
-above may be present in your package.
+ ssvnc_unix_minimal-1.x.y.tar.gz
Help and Info:
@@ -8288,9 +8715,8 @@ Help and Info:
For more help on other options and usage patterns run these:
- ./bin/ssl_tightvncviewer -h
- ./bin/tightvncviewer -h
- ./bin/util/ssl_vncviewer -h
+ ./bin/ssvnc_cmd -h
+ ./bin/util/ss_vncviewer -h
See also:
@@ -8299,52 +8725,36 @@ See also:
x11vnc -h | more
http://www.stunnel.org
+ http://stunnel.mirt.net
http://www.openssl.org
http://www.tightvnc.com
http://www.realvnc.com
http://www.chiark.greenend.org.uk/~sgtatham/putty/
-
-
-Windows:
--------
-
- Unpack the zip archive somewhere.
-
- A wrapper to create a STUNNEL tunnel and then launch the
- Windows TightVNC viewer is provided in:
-
- Windows/ssl_tightvncviewer.exe
-
- Just launch it (Start ... Run) and fill in the remote VNC
- display then click "Connect". You can make a shortcut if
- you prefer.
-
- Click the Help buttons for more info. There is also a
- Windows/README.txt file.
-
- On Windows you may need to terminate the STUNNEL process
- from the System Tray if the tool cannot terminate it
- by itself. Just right-click on the STUNNEL icon.
+ http://sourceforge.net/projects/cotvnc/
References
1. http://www.karlrunge.com/x11vnc/index.html
2. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
3. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
- 4. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 5. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
- 6. http://www.karlrunge.com/x11vnc/index.html#faq-cups
- 7. http://www.karlrunge.com/x11vnc/index.html#faq-sound
- 8. http://www.karlrunge.com/x11vnc/etv/enhanced_tightvnc_viewer-1.0.7.zip
- 9. http://www.karlrunge.com/x11vnc/etv/enhanced_tightvnc_viewer-1.0.7.tar.gz
- 10. http://www.karlrunge.com/x11vnc/etv/enhanced_tightvnc_viewer_all-1.0.7.zip
- 11. http://www.karlrunge.com/x11vnc/etv/enhanced_tightvnc_viewer_windows_only-1.0.7.zip
- 12. http://www.karlrunge.com/x11vnc/etv/enhanced_tightvnc_viewer_no_windows-1.0.7.tar.gz
- 13. http://www.tightvnc.com/
- 14. http://www.realvnc.com/
- 15. http://www.stunnel.org/
- 16. http://www.openssl.org/
- 17. http://www.chiark.greenend.org.uk/~sgtatham/putty/
+ 4. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars
+ 5. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 6. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
+ 7. http://www.karlrunge.com/x11vnc/index.html#faq-cups
+ 8. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 9. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.8.zip
+ 10. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.8.tar.gz
+ 11. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.8.tar.gz
+ 12. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.8.tar.gz
+ 13. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.8.tar.gz
+ 14. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.8.zip
+ 15. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.8.zip
+ 16. http://www.karlrunge.com/x11vnc/etv/ssvnc
+ 17. http://www.tightvnc.com/
+ 18. http://www.realvnc.com/
+ 19. http://www.stunnel.org/
+ 20. http://www.openssl.org/
+ 21. http://www.chiark.greenend.org.uk/~sgtatham/putty/
=======================================================================
http://www.karlrunge.com/x11vnc/x11vnc_opts.html:
@@ -8357,7 +8767,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.4 lastmod: 2006-11-13
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-11-21
x11vnc options:
-display disp -auth file -id windowid
@@ -8402,30 +8812,32 @@ x11vnc options:
-alphafrac fraction -alpharemove -noalphablend
-nocursorshape -cursorpos -nocursorpos
-xwarppointer -buttonmap string -nodragging
- -wireframe [str] -nowireframe -wirecopyrect mode
- -nowirecopyrect -debug_wireframe -scrollcopyrect mode
- -noscrollcopyrect -scr_area n -scr_skip list
- -scr_inc list -scr_keys list -scr_term list
- -scr_keyrepeat lo-hi -scr_parms string -fixscreen string
- -debug_scroll -noxrecord -grab_buster
- -nograb_buster -debug_grabs -debug_sel
- -pointer_mode n -input_skip n -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
+ -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
- -gui [gui-opts] -remote command -query variable
- -QD variable -sync -noremote
- -yesremote -unsafe -safer
- -privremote -nocmds -allowedcmds list
- -deny_all
+ -macnowait -macwheel n -macnoswap
+ -macnoresize -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
@@ -8459,7 +8871,7 @@ libvncserver-tight-extension options:
% x11vnc -help
-x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-11-13
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-11-21
(type "x11vnc -opts" to just list the options.)
@@ -9273,7 +9685,7 @@ Options:
Your VNC viewer will also need to be able to connect
via SSL. See the discussion below under -stunnel and
- the FAQ (ssl_vncviewer script) for how this might be
+ the FAQ (ss_vncviewer script) for how this might be
achieved. E.g. on Unix it is easy to write a shell
script that starts up stunnel and then vncviewer.
Also in the x11vnc source a SSL enabled Java VNC Viewer
@@ -9419,7 +9831,7 @@ Options:
be "imported" somehow. Web browsers have "Manage
Certificates" actions as does the Java applet plugin
Control Panel. stunnel can also use these files (see
- the ssl_vncviewer example script in the FAQ.)
+ the ss_vncviewer example script in the FAQ.)
-sslGenCA [dir] Generate your own Certificate Authority private key,
certificate, and other files in directory [dir].
@@ -9560,13 +9972,13 @@ Options:
x11vnc -sslGenCert server
x11vnc -ssl SAVE -display :0 ...
- and then on viewer using ssl_vncviewer stunnel wrapper
+ and then on viewer using ss_vncviewer stunnel wrapper
(see the FAQ):
- ssl_vncviewer -verify ./cacert.crt hostname:0
+ ss_vncviewer -verify ./cacert.crt hostname:0
(this assumes the cacert.crt cert from -sslGenCA
was safely copied to the VNC viewer machine where
- ssl_vncviewer is run)
+ ss_vncviewer is run)
Example using a name:
@@ -9584,7 +9996,7 @@ Options:
roger), and on the viewer user on somehost could do
for example:
- ssl_vncviewer -mycert ./roger.pem hostname:0
+ ss_vncviewer -mycert ./roger.pem hostname:0
If you set the env. var REQ_ARGS='...' it will be
passed to openssl req(1). A common use would be
@@ -10439,6 +10851,12 @@ Options:
link is detected, these values may be automatically
changed to something better for a slow link.
+-nowireframelocal By default, mouse motion and button presses of a
+ user sitting at the LOCAL display are monitored for
+ wireframing opportunities (so that the changes will be
+ sent efficiently to the VNC clients). Use this option
+ to disable this behavior.
+
-wirecopyrect mode Since the -wireframe mechanism evidently tracks moving
-nowirecopyrect windows accurately, a speedup can be obtained by
telling the VNC viewers to locally copy the translated
@@ -10857,6 +11275,28 @@ Options:
for details. -nofbpm is basically the same as running
"xset fbpm force on" periodically. Default: -fbpm
+-nodpms If the system supports the DPMS (Display Power Managemen
+t
+-dpms Signaling) extension, then prevent the monitor from
+ going into a reduced power state when VNC clients
+ are connected.
+
+ DPMS reduced power monitor states are a good thing
+ and you normally want the power down to take place
+ (usually x11vnc has no problem exporting the display in
+ this state). You probably only want to use "-nodpms"
+ to work around problems with Screen Savers kicking
+ on in DPMS low power states. There is known problem
+ with kdesktop_lock on KDE where the screen saver keeps
+ kicking in every time user input stops for a second
+ or two. Specifying "-nodpms" works around it.
+
+ "-nodpms" means prevent DPMS low power states whenever
+ VNC clients are connected, while "-dpms" means to not
+ monitor the DPMS state at all. See the xset(1) manpage
+ for details. -nodpms is basically the same as running
+ "xset dpms force on" periodically. Default: -dpms
+
-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.
@@ -10972,6 +11412,11 @@ Options:
memory object. If the masks are not provided x11vnc
guesses them based on the bpp.
+ Another optional suffix is the Bytes Per Line which in
+ some cases is not WxHxB/4. Specify it as WxHxB-BPL
+ e.g. 800x600x16-2048. This could be a normal width
+ 1024 at 16bpp fb, but only width 800 shows up.
+
Examples:
-rawfb shm:210337933@800x600x32:ff/ff00/ff0000
-rawfb map:/dev/fb0@1024x768x32
@@ -11276,6 +11721,15 @@ Options:
-macnodim For the native Mac OS X server, disable dimming.
-macnosleep For the native Mac OS X server, disable display sleep.
-macnosaver For the native Mac OS X server, disable screensaver.
+-macnowait For the native Mac OS X server, do not wait for the
+ user to switch back to his display.
+-macwheel n For the native Mac OS X server, set the mouse wheel
+ speed to n (default 5).
+-macnoswap For the native Mac OS X server, do not swap mouse
+ buttons 2 and 3.
+-macnoresize For the native Mac OS X server, do not resize or reset
+ the framebuffer even if it is detected that the screen
+ resolution or depth has changed.
-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote
control options -remote/-query described below.
@@ -11582,6 +12036,8 @@ n
nowireframe disable -wireframe mode. same as "nowf"
wireframe:str enable -wireframe mode string.
wireframe_mode:str enable -wireframe mode string.
+ wireframelocal enable wireframelocal. same as "wfl"
+ nowireframe disable wireframelocal. same as "nowfl"
wirecopyrect:str set -wirecopyrect string. same as "wcr:
"
scrollcopyrect:str set -scrollcopyrect string. same "scr
@@ -11621,6 +12077,8 @@ n
sb:n set -sb to n s, same as screen_blank:n
fbpm disable -nofbpm mode.
nofbpm enable -nofbpm mode.
+ dpms disable -nodpms mode.
+ nodpms enable -nodpms mode.
xdamage enable xdamage polling hints.
noxdamage disable xdamage polling hints.
xd_area:A set -xd_area max pixel area to "A"
@@ -11716,35 +12174,36 @@ 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 wireframe_mode wireframe wf nowireframe
- nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
+ 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 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 fs gaps grow fuzz snapfb
- nosnapfb rawfb uinput_accel uinput_thresh uinput_reset
- uinput_always progressive rfbport http nohttp httpport
- httpdir enablehttpproxy noenablehttpproxy alwaysshared
+ 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 nosnapfb rawfb
+ uinput_accel uinput_thresh uinput_reset uinput_always
+ progressive rfbport http nohttp httpport httpdir
+ enablehttpproxy noenablehttpproxy alwaysshared
noalwaysshared nevershared noalwaysshared dontdisconnect
nodontdisconnect desktop debug_xevents nodebug_xevents
debug_xevents debug_xdamage nodebug_xdamage
@@ -11769,7 +12228,6 @@ n
mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y
wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y
rfbauth passwd viewpasswd
-
-QD variable Just like -query variable, but returns the default
value for that parameter (no running x11vnc server
is consulted)
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index bd0d91f..16115cd 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -133,7 +133,7 @@ void clean_up_exit (int ret) {
unlink(client_connect_file);
}
}
- if (! dpy) {
+ if (macosx_console) {
macosxCG_fini();
}
#endif
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 71608ec..d4f5b35 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -748,7 +748,7 @@ void client_gone(rfbClientPtr client) {
clean_up_exit(0);
}
#ifdef MACOSX
- if (! dpy && client_count == 0) {
+ if (macosx_console && client_count == 0) {
macosxCG_refresh_callback_off();
}
#endif
@@ -2108,7 +2108,7 @@ enum rfbNewClientAction new_client(rfbClientPtr client) {
autorepeat(0, 0);
}
#ifdef MACOSX
- if (! dpy && client_count == 1) {
+ if (macosx_console && client_count == 1) {
macosxCG_refresh_callback_on();
}
#endif
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index 12cb08c..ded74ca 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -1246,7 +1246,7 @@ static int get_exact_cursor(int init) {
}
#ifdef MACOSX
- if (! dpy) {
+ if (macosx_console) {
return macosx_get_cursor();
}
#endif
@@ -1325,6 +1325,11 @@ fprintf(stderr, "sc: %d %d/%d %d - %d %d\n", serial, w, h, cbpp, xhot, yhot);
* got a hit with an existing cursor,
* use that one.
*/
+#ifdef MACOSX
+ if (now > curs_times[i] + 1) {
+ continue;
+ }
+#endif
last_cursor = curs_index[i];
curs_times[i] = now;
last_index = i;
@@ -1481,11 +1486,7 @@ int get_which_cursor(void) {
}
if (mode == 3) {
- int try_macosx = 0;
-#ifdef MACOSX
- if (! dpy) try_macosx = 1;
-#endif
- if ((xfixes_present && use_xfixes) || try_macosx) {
+ if ((xfixes_present && use_xfixes) || macosx_console) {
if (db) fprintf(stderr, "get_which_cursor call get_exact_cursor\n");
return get_exact_cursor(0);
}
@@ -1846,24 +1847,23 @@ int check_x11_pointer(void) {
int root_x, root_y, win_x, win_y;
int x, y;
unsigned int mask;
- int macosx_rawfb_ret = 0;
if (unixpw_in_progress) return 0;
+
#ifdef MACOSX
- if (macosx_rawfb_ret) {
- RAWFB_RET(0)
- }
- if (dpy) {
- ;
- } else {
+ if (macosx_console) {
ret = macosx_get_cursor_pos(&root_x, &root_y);
+ } else {
+ RAWFB_RET(0)
}
#else
RAWFB_RET(0)
-#if NO_X11
+
+# if NO_X11
return 0;
-#endif
+# endif
+
#endif
@@ -1876,6 +1876,7 @@ int check_x11_pointer(void) {
}
#endif /* NO_X11 */
+if (0) fprintf(stderr, "check_x11_pointer %d %d\n", root_x, root_y);
if (! ret) {
return 0;
}
diff --git a/x11vnc/help.c b/x11vnc/help.c
index 78aeecf..ce2112c 100644
--- a/x11vnc/help.c
+++ b/x11vnc/help.c
@@ -839,7 +839,7 @@ void print_help(int mode) {
"\n"
" Your VNC viewer will also need to be able to connect\n"
" via SSL. See the discussion below under -stunnel and\n"
-" the FAQ (ssl_vncviewer script) for how this might be\n"
+" the FAQ (ss_vncviewer script) for how this might be\n"
" achieved. E.g. on Unix it is easy to write a shell\n"
" script that starts up stunnel and then vncviewer.\n"
" Also in the x11vnc source a SSL enabled Java VNC Viewer\n"
@@ -985,7 +985,7 @@ void print_help(int mode) {
" be \"imported\" somehow. Web browsers have \"Manage\n"
" Certificates\" actions as does the Java applet plugin\n"
" Control Panel. stunnel can also use these files (see\n"
-" the ssl_vncviewer example script in the FAQ.)\n"
+" the ss_vncviewer example script in the FAQ.)\n"
"\n"
"-sslGenCA [dir] Generate your own Certificate Authority private key,\n"
" certificate, and other files in directory [dir].\n"
@@ -1126,14 +1126,14 @@ void print_help(int mode) {
" x11vnc -sslGenCert server\n"
" x11vnc -ssl SAVE -display :0 ...\n"
"\n"
-" and then on viewer using ssl_vncviewer stunnel wrapper\n"
+" and then on viewer using ss_vncviewer stunnel wrapper\n"
" (see the FAQ):\n"
-" ssl_vncviewer -verify ./cacert.crt hostname:0\n"
+" ss_vncviewer -verify ./cacert.crt hostname:0\n"
"\n"
" (this assumes the cacert.crt cert from -sslGenCA\n"
" was safely copied to the VNC viewer machine where\n"
-" ssl_vncviewer is run)\n"
+" ss_vncviewer is run)\n"
"\n"
" Example using a name:\n"
"\n"
@@ -1151,7 +1151,7 @@ void print_help(int mode) {
" roger), and on the viewer user on somehost could do\n"
" for example:\n"
"\n"
-" ssl_vncviewer -mycert ./roger.pem hostname:0\n"
+" ss_vncviewer -mycert ./roger.pem hostname:0\n"
"\n"
" If you set the env. var REQ_ARGS='...' it will be\n"
" passed to openssl req(1). A common use would be\n"
@@ -2014,6 +2014,12 @@ void print_help(int mode) {
" link is detected, these values may be automatically\n"
" changed to something better for a slow link.\n"
"\n"
+"-nowireframelocal By default, mouse motion and button presses of a\n"
+" user sitting at the LOCAL display are monitored for\n"
+" wireframing opportunities (so that the changes will be\n"
+" sent efficiently to the VNC clients). Use this option\n"
+" to disable this behavior.\n"
+"\n"
"-wirecopyrect mode Since the -wireframe mechanism evidently tracks moving\n"
"-nowirecopyrect windows accurately, a speedup can be obtained by\n"
" telling the VNC viewers to locally copy the translated\n"
@@ -2432,6 +2438,27 @@ void print_help(int mode) {
" for details. -nofbpm is basically the same as running\n"
" \"xset fbpm force on\" periodically. Default: %s\n"
"\n"
+"-nodpms If the system supports the DPMS (Display Power Management\n"
+"-dpms Signaling) extension, then prevent the monitor from\n"
+" going into a reduced power state when VNC clients\n"
+" are connected.\n"
+"\n"
+" DPMS reduced power monitor states are a good thing\n"
+" and you normally want the power down to take place\n"
+" (usually x11vnc has no problem exporting the display in\n"
+" this state). You probably only want to use \"-nodpms\"\n"
+" to work around problems with Screen Savers kicking\n"
+" on in DPMS low power states. There is known problem\n"
+" with kdesktop_lock on KDE where the screen saver keeps\n"
+" kicking in every time user input stops for a second\n"
+" or two. Specifying \"-nodpms\" works around it.\n"
+"\n"
+" \"-nodpms\" means prevent DPMS low power states whenever\n"
+" VNC clients are connected, while \"-dpms\" means to not\n"
+" monitor the DPMS state at all. See the xset(1) manpage\n"
+" for details. -nodpms is basically the same as running\n"
+" \"xset dpms force on\" periodically. Default: %s\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"
@@ -2547,6 +2574,11 @@ void print_help(int mode) {
" memory object. If the masks are not provided x11vnc\n"
" guesses them based on the bpp.\n"
"\n"
+" Another optional suffix is the Bytes Per Line which in\n"
+" some cases is not WxHxB/4. Specify it as WxHxB-BPL\n"
+" e.g. 800x600x16-2048. This could be a normal width\n"
+" 1024 at 16bpp fb, but only width 800 shows up.\n"
+"\n"
" Examples:\n"
" -rawfb shm:210337933@800x600x32:ff/ff00/ff0000\n"
" -rawfb map:/dev/fb0@1024x768x32\n"
@@ -2851,6 +2883,15 @@ void print_help(int mode) {
"-macnodim For the native Mac OS X server, disable dimming. \n"
"-macnosleep For the native Mac OS X server, disable display sleep.\n"
"-macnosaver For the native Mac OS X server, disable screensaver.\n"
+"-macnowait For the native Mac OS X server, do not wait for the\n"
+" user to switch back to his display.\n"
+"-macwheel n For the native Mac OS X server, set the mouse wheel\n"
+" speed to n (default 5).\n"
+"-macnoswap For the native Mac OS X server, do not swap mouse\n"
+" buttons 2 and 3.\n"
+"-macnoresize For the native Mac OS X server, do not resize or reset\n"
+" the framebuffer even if it is detected that the screen\n"
+" resolution or depth has changed.\n"
"\n"
"-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote\n"
" control options -remote/-query described below.\n"
@@ -3165,6 +3206,8 @@ void print_help(int mode) {
" nowireframe disable -wireframe mode. same as \"nowf\"\n"
" wireframe:str enable -wireframe mode string.\n"
" wireframe_mode:str enable -wireframe mode string.\n"
+" wireframelocal enable wireframelocal. same as \"wfl\"\n"
+" nowireframe disable wireframelocal. same as \"nowfl\"\n"
" wirecopyrect:str set -wirecopyrect string. same as \"wcr:\"\n"
" scrollcopyrect:str set -scrollcopyrect string. same \"scr\"\n"
" noscrollcopyrect disable -scrollcopyrect mode. \"noscr\"\n"
@@ -3202,6 +3245,8 @@ void print_help(int mode) {
" sb:n set -sb to n s, same as screen_blank:n\n"
" fbpm disable -nofbpm mode.\n"
" nofbpm enable -nofbpm mode.\n"
+" dpms disable -nodpms mode.\n"
+" nodpms enable -nodpms 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"
@@ -3297,35 +3342,36 @@ 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 wireframe_mode wireframe wf nowireframe\n"
-" nowf wirecopyrect wcr nowirecopyrect nowcr scr_area\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 noxfixes\n"
+" xdamage noxdamage xd_area xd_mem alphacut alphafrac\n"
+" alpharemove noalpharemove alphablend noalphablend\n"
+" xwarppointer xwarp noxwarppointer noxwarp buttonmap\n"
+" dragging nodragging 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 client_input ssltimeout speeds wmdt\n"
-" debug_pointer dp nodebug_pointer nodp debug_keyboard\n"
-" dk nodebug_keyboard nodk deferupdate defer wait_ui\n"
-" wait_bog nowait_bog slow_fb wait readtimeout nap nonap\n"
-" sb screen_blank fbpm nofbpm 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"
+" fixscreen noxrecord xrecord reset_record pointer_mode\n"
+" pm input_skip allinput noallinput input grabkbd\n"
+" nograbkbd grabptr nograbptr client_input ssltimeout\n"
+" speeds wmdt debug_pointer dp nodebug_pointer nodp\n"
+" 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\n"
+" dpms nodpms fs gaps grow fuzz snapfb nosnapfb rawfb\n"
+" uinput_accel uinput_thresh uinput_reset uinput_always\n"
+" progressive rfbport http nohttp httpport httpdir\n"
+" enablehttpproxy noenablehttpproxy alwaysshared\n"
" noalwaysshared nevershared noalwaysshared dontdisconnect\n"
" nodontdisconnect desktop debug_xevents nodebug_xevents\n"
" debug_xevents debug_xdamage nodebug_xdamage\n"
@@ -3350,7 +3396,6 @@ void print_help(int mode) {
" mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y\n"
" wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y\n"
" rfbauth passwd viewpasswd\n"
-"\n"
"-QD variable Just like -query variable, but returns the default\n"
" value for that parameter (no running x11vnc server\n"
" is consulted)\n"
@@ -3497,6 +3542,7 @@ void print_help(int mode) {
take_naps ? "take naps":"no naps",
screen_blank,
watch_fbpm ? "-nofbpm":"-fbpm",
+ watch_dpms ? "-nodpms":"-dpms",
xdamage_max_area, NSCAN, xdamage_memory,
use_threads ? "-threads":"-nothreads",
fs_frac,
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
index ae056ab..69ac71d 100644
--- a/x11vnc/keyboard.c
+++ b/x11vnc/keyboard.c
@@ -2870,7 +2870,7 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
last_rfb_key_accepted = TRUE;
if (pipeinput_fh != NULL || pipeinput_int) {
- pipe_keyboard(down, keysym, client);
+ pipe_keyboard(down, keysym, client); /* MACOSX here. */
if (! pipeinput_tee) {
if (! view_only || raw_fb) { /* raw_fb hack */
last_keyboard_client = client;
diff --git a/x11vnc/macosx.c b/x11vnc/macosx.c
index b2d799d..647e62c 100644
--- a/x11vnc/macosx.c
+++ b/x11vnc/macosx.c
@@ -29,6 +29,8 @@ void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client);
char *macosx_get_fb_addr(void);
int macosx_get_cursor(void);
int macosx_get_cursor_pos(int *, int *);
+void macosx_send_sel(char *, int);
+void macosx_set_sel(char *, int);
int macosx_valid_window(Window, XWindowAttributes*);
Status macosx_xquerytree(Window w, Window *root_return, Window *parent_return,
@@ -57,6 +59,12 @@ int macosx_get_cursor(void) {
int macosx_get_cursor_pos(int *x, int *y) {
return 0;
}
+void macosx_send_sel(char * str, int len) {
+ return;
+}
+void macosx_set_sel(char * str, int len) {
+ return;
+}
int macosx_valid_window(Window w, XWindowAttributes* a) {
return 0;
}
@@ -163,6 +171,7 @@ char *macosx_console_guess(char *str, int *fd) {
void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client) {
allowed_input_t input;
+ static int last_mask = 0;
int rc;
if (0) fprintf(stderr, "macosx_pointer_command: %d %d - %d\n", x, y, mask);
@@ -191,9 +200,18 @@ void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client) {
macosxCG_pointer_inject(mask, x, y);
+ if (cursor_x != x || cursor_y != y) {
+ last_pointer_motion_time = dnow();
+ }
+
cursor_x = x;
cursor_y = y;
+ if (last_mask != mask) {
+ last_pointer_click_time = dnow();
+ }
+ last_mask = mask;
+
/* record the x, y position for the rfb screen as well. */
cursor_position(x, y);
@@ -226,11 +244,57 @@ void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
}
+extern void macosxGCS_poll_pb(void);
+
int macosx_get_cursor_pos(int *x, int *y) {
macosxCG_get_cursor_pos(x, y);
+ if (nofb) {
+ /* good time to poll the pasteboard */
+ macosxGCS_poll_pb();
+ }
return 1;
}
+static char *cuttext = NULL;
+static int cutlen = 0;
+
+void macosx_send_sel(char *str, int len) {
+ if (screen && all_clients_initialized()) {
+ if (cuttext) {
+ int n = cutlen;
+ if (len < n) {
+ n = len;
+ }
+ if (!memcmp(str, cuttext, (size_t) n)) {
+ /* the same text we set pasteboard to ... */
+ return;
+ }
+ }
+ if (debug_sel) {
+ rfbLog("macosx_send_sel: %d\n", len);
+ }
+ rfbSendServerCutText(screen, str, len);
+ }
+}
+
+void macosx_set_sel(char *str, int len) {
+ if (screen && all_clients_initialized()) {
+ if (cutlen <= len) {
+ if (cuttext) {
+ free(cuttext);
+ }
+ cutlen = 2*(len+1);
+ cuttext = (char *) calloc(cutlen, 1);
+ }
+ memcpy(cuttext, str, (size_t) len);
+ cuttext[len] = '\0';
+ if (debug_sel) {
+ rfbLog("macosx_set_sel: %d\n", len);
+ }
+ macosxGCS_set_pasteboard(str, len);
+ }
+}
+
int macosx_get_cursor(void) {
return macosxCG_get_cursor();
}
@@ -346,23 +410,13 @@ Status macosx_xquerytree(Window w, Window *root_return, Window *parent_return,
*root_return = (Window) 0;
*parent_return = (Window) 0;
-#if 0
-fprintf(stderr, "macosx_xquerytree in.\n");
-#endif
-
macosxCGS_get_all_windows();
-#if 0
-fprintf(stderr, "macosx_xquerytree got windows.\n");
-#endif
-
n = 0;
- for (k = 0; k < CGS_levelmax; k++) {
+ for (k = CGS_levelmax - 1; k >= 0; k--) {
for (i = macwinmax - 1; i >= 0; i--) {
if (macwins[i].level == CGS_levels[k]) {
-#if 0
-fprintf(stderr, "k=%d i=%d n=%d\n", k, i, n);
-#endif
+if (0) fprintf(stderr, "k=%d i=%d n=%d\n", k, i, n);
cret[n++] = (Window) macwins[i].win;
}
}
diff --git a/x11vnc/macosx.h b/x11vnc/macosx.h
index 77c6e4a..42470d7 100644
--- a/x11vnc/macosx.h
+++ b/x11vnc/macosx.h
@@ -13,6 +13,8 @@ extern int macosx_get_cursor_pos(int *, int *);
extern int macosx_valid_window(Window, XWindowAttributes*);
extern Status macosx_xquerytree(Window w, Window *root_return, Window *parent_return,
Window **children_return, unsigned int *nchildren_return);
+extern void macosx_send_sel(char *, int);
+extern void macosx_set_sel(char *, int);
diff --git a/x11vnc/macosxCG.c b/x11vnc/macosxCG.c
index 4ecf2c2..84d7713 100644
--- a/x11vnc/macosxCG.c
+++ b/x11vnc/macosxCG.c
@@ -44,6 +44,7 @@ static void macosxCG_callback(CGRectCount n, const CGRect *rects, void *dum) {
}
int dragum(void) {
+#if 0
int x =200, y = 150, dy = 10, i;
CGPoint loc;
@@ -58,6 +59,7 @@ int dragum(void) {
}
CGPostMouseEvent(loc, TRUE, 1, FALSE);
usleep(4*1000*1000);
+#endif
return 0;
}
@@ -85,6 +87,7 @@ void macosxCG_refresh_callback_off(void) {
}
extern int macosx_noscreensaver;
+extern void macosxGCS_initpb(void);
void macosxCG_init(void) {
if (displayID == NULL) {
@@ -106,6 +109,7 @@ void macosxCG_init(void) {
if (macosx_noscreensaver) {
macosxCGP_screensaver_timer_on();
}
+ macosxGCS_initpb();
}
}
@@ -117,22 +121,63 @@ void macosxCG_fini(void) {
macosxCG_refresh_callback_off();
}
-extern int dpy_x, dpy_y;
-extern int client_count;
+extern int dpy_x, dpy_y, bpp, wdpy_x, wdpy_y;
+extern int client_count, nofb;
extern void do_new_fb(int);
+extern int macosx_wait_for_switch, macosx_resize;
void macosxCG_event_loop(void) {
OSStatus rc;
+ int nbpp;
+
+ macosxGCS_poll_pb();
+ if (nofb) {
+ return;
+ }
+
rc = RunCurrentEventLoop(kEventDurationSecond/30);
+
if (client_count) {
macosxCG_refresh_callback_on();
} else {
macosxCG_refresh_callback_off();
}
- if (dpy_x != (int) CGDisplayPixelsWide(displayID)) {
- if (dpy_y != (int) CGDisplayPixelsHigh(displayID)) {
+
+ nbpp = macosxCG_CGDisplayBitsPerPixel();
+
+
+ if (nbpp > 0 && nbpp != bpp) {
+ if (macosx_resize) {
+ do_new_fb(1);
+ }
+ } else if (wdpy_x != (int) CGDisplayPixelsWide(displayID)) {
+ if (wdpy_y != (int) CGDisplayPixelsHigh(displayID)) {
+ if (macosx_wait_for_switch) {
+ int cnt = 0;
+ while (1) {
+ if(CGDisplayPixelsWide(displayID) > 0) {
+ if(CGDisplayPixelsHigh(displayID) > 0) {
+ usleep(500*1000);
+ break;
+ }
+ }
+ if ((cnt++ % 120) == 0) {
+ fprintf(stderr, "waiting for user to "
+ "switch back..\n");
+ }
+ sleep(1);
+ }
+ if (wdpy_x == (int) CGDisplayPixelsWide(displayID)) {
+ if (wdpy_y == (int) CGDisplayPixelsHigh(displayID)) {
+ fprintf(stderr, "we're back...\n");
+ return;
+ }
+ }
+ }
+ if (macosx_resize) {
do_new_fb(1);
}
+ }
}
}
@@ -171,6 +216,16 @@ extern CGError CGSGetCurrentCursorLocation(CGSConnectionRef, CGPoint*);
extern int CGSCurrentCursorSeed(void);
extern int CGSHardwareCursorActive();
+static unsigned int last_local_button_mask = 0;
+static unsigned int last_local_mod_mask = 0;
+static int last_local_x = 0;
+static int last_local_y = 0;
+
+extern unsigned int display_button_mask;
+extern unsigned int display_mod_mask;
+extern int got_local_pointer_input;
+extern time_t last_local_input;
+
static CGPoint current_cursor_pos(void) {
CGPoint pos;
pos.x = 0;
@@ -183,6 +238,25 @@ static CGPoint current_cursor_pos(void) {
if (CGSGetCurrentCursorLocation(conn, &pos) != kCGErrorSuccess) {
fprintf(stderr, "CGSGetCurrentCursorLocation error\n");
}
+
+ display_button_mask = GetCurrentButtonState();
+#if 0
+/* not used yet */
+ display_mod_mask = GetCurrentKeyModifiers();
+#endif
+
+ if (last_local_button_mask != display_button_mask) {
+ got_local_pointer_input++;
+ last_local_input = time(NULL);
+ } else if (pos.x != last_local_x || pos.y != last_local_y) {
+ got_local_pointer_input++;
+ last_local_input = time(NULL);
+ }
+ last_local_button_mask = display_button_mask;
+ last_local_mod_mask = display_mod_mask;
+ last_local_x = pos.x;
+ last_local_y = pos.y;
+
return pos;
}
@@ -199,29 +273,36 @@ extern int store_cursor(int serial, unsigned long *data, int w, int h, int cbpp,
int macosxCG_get_cursor(void) {
int last_idx = (int) get_cursor_serial(1);
int which = 1;
- static CGPoint pos, lastpos;
- static foo = 0;
CGError err;
int datasize, masksize, row_bytes, cdepth, comps, bpcomp;
CGRect rect;
CGPoint hot;
unsigned char *data;
int res, cursor_seed;
+ static int last_cursor_seed = -1;
+ static time_t last_fetch = 0;
+ time_t now = time(NULL);
if (last_idx) {
which = last_idx;
}
- pos = current_cursor_pos();
- if (cursor_seed == CGSCurrentCursorSeed()) {
- return which;
- }
if (! conn) {
if (CGSNewConnection(NULL, &conn) != kCGErrorSuccess) {
fprintf(stderr, "CGSNewConnection error\n");
return which;
}
}
+
+ cursor_seed = CGSCurrentCursorSeed();
+ if (last_idx && cursor_seed == last_cursor_seed) {
+ if (now < last_fetch + 2) {
+ return which;
+ }
+ }
+ last_cursor_seed = cursor_seed;
+ last_fetch = now;
+
if (CGSGetGlobalCursorDataSize(conn, &datasize) != kCGErrorSuccess) {
fprintf(stderr, "CGSGetGlobalCursorDataSize error\n");
return which;
@@ -239,7 +320,6 @@ int macosxCG_get_cursor(void) {
if (cdepth == 24) {
cdepth = 32;
}
- cursor_seed = CGSCurrentCursorSeed();
which = store_cursor(cursor_seed, (unsigned long*) data,
(int) rect.size.width, (int) rect.size.height, cdepth, (int) hot.x, (int) hot.y);
@@ -248,21 +328,25 @@ int macosxCG_get_cursor(void) {
return(which);
}
+extern int macosx_mouse_wheel_speed;
+extern int macosx_swap23;
+extern int off_x, coff_x, off_y, coff_y;
+
void macosxCG_pointer_inject(int mask, int x, int y) {
- int swap23 = 1, rc;
+ int swap23 = macosx_swap23, rc;
int s1 = 0, s2 = 1, s3 = 2, s4 = 3, s5 = 4;
CGPoint loc;
- int wheel_distance = 10;
+ int wheel_distance = macosx_mouse_wheel_speed;
static int cnt = 0;
- loc.x = x;
- loc.y = y;
-
if (swap23) {
s2 = 2;
s3 = 1;
}
+ loc.x = x + off_x + coff_x;
+ loc.y = y + off_y + coff_y;
+
if ((cnt++ % 10) == 0) {
macosxCGP_undim();
}
diff --git a/x11vnc/macosxCGS.c b/x11vnc/macosxCGS.c
index 77c1ff7..df2e96e 100644
--- a/x11vnc/macosxCGS.c
+++ b/x11vnc/macosxCGS.c
@@ -15,6 +15,7 @@
extern CGDirectDisplayID displayID;
void macosxCGS_get_all_windows(void);
+void macosxGCS_set_pasteboard(char *str, int len);
typedef CGError CGSError;
typedef long CGSWindowCount;
@@ -79,12 +80,13 @@ void macosxCGS_get_all_windows(void) {
if (first) {
first = 0;
CGS_levelmax = 0;
- CGS_levels[CGS_levelmax++] = (int) kCGDraggingWindowLevel; /* 500 */
- if (0) CGS_levels[CGS_levelmax++] = (int) kCGHelpWindowLevel; /* 102 */
- if (0) CGS_levels[CGS_levelmax++] = (int) kCGPopUpMenuWindowLevel; /* 101 */
- CGS_levels[CGS_levelmax++] = (int) kCGMainMenuWindowLevelKey; /* 24 */
- CGS_levels[CGS_levelmax++] = (int) kCGFloatingWindowLevel; /* 3 */
- CGS_levels[CGS_levelmax++] = (int) kCGNormalWindowLevel; /* 0 */
+ CGS_levels[CGS_levelmax++] = (int) kCGDraggingWindowLevel; /* 500 ? */
+ if (0) CGS_levels[CGS_levelmax++] = (int) kCGHelpWindowLevel; /* 102 ? */
+ if (0) CGS_levels[CGS_levelmax++] = (int) kCGPopUpMenuWindowLevel; /* 101 pulldown menu */
+ CGS_levels[CGS_levelmax++] = (int) kCGMainMenuWindowLevelKey; /* 24 ? */
+ CGS_levels[CGS_levelmax++] = (int) kCGModalPanelWindowLevel; /* 8 open dialog box */
+ CGS_levels[CGS_levelmax++] = (int) kCGFloatingWindowLevel; /* 3 ? */
+ CGS_levels[CGS_levelmax++] = (int) kCGNormalWindowLevel; /* 0 regular window */
}
if (cid == NULL) {
@@ -152,5 +154,79 @@ if (db) fprintf(stderr, "i=%03d ID: %06d x: %03d y: %03d w: %03d h: %03d leve
}
}
+#if 1
+NSLock *pblock = nil;
+NSString *pbstr = nil;
+NSString *cuttext = nil;
+
+int pbcnt = -1;
+NSStringEncoding pbenc = NSWindowsCP1252StringEncoding;
+
+void macosxGCS_initpb(void) {
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ pblock = [[NSLock alloc] init];
+ if (![NSPasteboard generalPasteboard]) {
+ fprintf(stderr, "macosxGCS_initpb: pasteboard inaccessible.\n");
+ pbcnt = 0;
+ pbstr = [[NSString alloc] initWithString:@"\e<PASTEBOARD INACCESSIBLE>\e"];
+ }
+ [pool release];
+}
+
+void macosxGCS_set_pasteboard(char *str, int len) {
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ if (pbcnt != 0) {
+ [pblock lock];
+ [cuttext release];
+ cuttext = [[NSString alloc] initWithData:[NSData dataWithBytes:str length:len] encoding: pbenc];
+ if ([[NSPasteboard generalPasteboard] declareTypes:[NSArray arrayWithObject:NSStringPboardType] owner:nil]) {
+ NS_DURING
+ [[NSPasteboard generalPasteboard] setString:cuttext forType:NSStringPboardType];
+ NS_HANDLER
+ fprintf(stderr, "macosxGCS_set_pasteboard: problem writing to pasteboard\n");
+ NS_ENDHANDLER
+ } else {
+ fprintf(stderr, "macosxGCS_set_pasteboard: problem writing to pasteboard\n");
+ }
+ [cuttext release];
+ cuttext = nil;
+ [pblock unlock];
+ }
+ [pool release];
+}
+
+extern void macosx_send_sel(char *, int);
+
+void macosxGCS_poll_pb(void) {
+
+ static double dlast = 0.0;
+ double now = dnow();
+
+ if (now < dlast + 0.2) {
+ return;
+ }
+ dlast = now;
+
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ [pblock lock];
+ if (pbcnt != [[NSPasteboard generalPasteboard] changeCount]) {
+ pbcnt = [[NSPasteboard generalPasteboard] changeCount];
+ [pbstr release];
+ pbstr = nil;
+ if ([[NSPasteboard generalPasteboard] availableTypeFromArray:[NSArray arrayWithObject:NSStringPboardType]]) {
+ pbstr = [[[NSPasteboard generalPasteboard] stringForType:NSStringPboardType] copy];
+ if (pbstr) {
+ NSData *str = [pbstr dataUsingEncoding:pbenc allowLossyConversion:YES];
+ if ([str length]) {
+ macosx_send_sel((char *) [str bytes], [str length]);
+ }
+ }
+ }
+ }
+ [pblock unlock];
+ [pool release];
+}
+#endif
+
#endif /* __APPLE__ */
diff --git a/x11vnc/macosxCGS.h b/x11vnc/macosxCGS.h
index 2e08dac..d53593f 100644
--- a/x11vnc/macosxCGS.h
+++ b/x11vnc/macosxCGS.h
@@ -4,6 +4,7 @@
/* -- macosxCGS.h -- */
extern void macosxCGS_get_all_windows(void);
+extern void macosxGCS_set_pasteboard(char *str, int len);
#endif /* _X11VNC_MACOSXCGS_H */
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 978fd58..adbd467 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -129,9 +129,14 @@ int pipeinput_int = 0;
int pipeinput_cons_fd = -1;
char *pipeinput_cons_dev = NULL;
-int macosx_nodimming = 0;
+int macosx_nodimming = 0; /* Some native MacOSX server settings. */
int macosx_nosleep = 0;
int macosx_noscreensaver = 0;
+int macosx_wait_for_switch = 1;
+int macosx_mouse_wheel_speed = 5;
+int macosx_console = 0;
+int macosx_swap23 = 1;
+int macosx_resize = 1;
unsigned long subwin = 0x0; /* -id, -sid */
int subwin_wait_mapped = 0;
@@ -186,6 +191,7 @@ char *wireframe_copyrect_default = "always";
char *wireframe_copyrect_default = "never";
#endif
int wireframe_in_progress = 0;
+int wireframe_local = 1;
/* T+B+L+R,tkey+presist_key,tmouse+persist_mouse */
char *scroll_copyrect_str = NULL;
@@ -311,6 +317,8 @@ int watch_fbpm = 1; /* -nofbpm */
int watch_fbpm = 0;
#endif
+int watch_dpms = 0; /* -dpms */
+
int watch_selection = 1; /* normal selection/cutbuffer maintenance */
int watch_primary = 1; /* more dicey, poll for changes in PRIMARY */
int watch_clipboard = 1;
diff --git a/x11vnc/options.h b/x11vnc/options.h
index ee84293..56b9537 100644
--- a/x11vnc/options.h
+++ b/x11vnc/options.h
@@ -107,6 +107,11 @@ extern char *pipeinput_cons_dev;
extern int macosx_nodimming;
extern int macosx_nosleep;
extern int macosx_noscreensaver;
+extern int macosx_wait_for_switch;
+extern int macosx_mouse_wheel_speed;
+extern int macosx_console;
+extern int macosx_swap23;
+extern int macosx_resize;
extern unsigned long subwin;
extern int subwin_wait_mapped;
@@ -143,6 +148,7 @@ extern int cursor_shape_updates;
extern int use_xwarppointer;
extern int show_dragging;
extern int wireframe;
+extern int wireframe_local;
extern char *wireframe_str;
extern char *wireframe_copyrect;
@@ -231,6 +237,7 @@ extern int ui_skip;
extern int all_input;
extern int watch_fbpm;
+extern int watch_dpms;
extern int watch_selection;
extern int watch_primary;
diff --git a/x11vnc/pm.c b/x11vnc/pm.c
index 8ee0ebd..cb13ab1 100644
--- a/x11vnc/pm.c
+++ b/x11vnc/pm.c
@@ -4,14 +4,20 @@
void check_pm(void);
static void check_fbpm(void);
+static void check_dpms(void);
#if LIBVNCSERVER_HAVE_FBPM
#include <X11/Xmd.h>
#include <X11/extensions/fbpm.h>
#endif
+#if LIBVNCSERVER_HAVE_DPMS
+#include <X11/extensions/dpms.h>
+#endif
+
void check_pm(void) {
check_fbpm();
+ check_dpms();
/* someday dpms activities? */
}
@@ -20,7 +26,7 @@ static void check_fbpm(void) {
#if LIBVNCSERVER_HAVE_FBPM
static int fbpm_capable = 0;
static time_t last_fbpm = 0;
- int db = 1;
+ int db = 0;
CARD16 level;
BOOL enabled;
@@ -28,12 +34,15 @@ static void check_fbpm(void) {
RAWFB_RET_VOID
if (! init_fbpm) {
+ if (getenv("FBPM_DEBUG")) {
+ db = atoi(getenv("FBPM_DEBUG"));
+ }
if (FBPMCapable(dpy)) {
fbpm_capable = 1;
rfbLog("X display is capable of FBPM.\n");
if (watch_fbpm) {
rfbLog("Preventing low-power FBPM modes when"
- " VNC clients are connected.\n");
+ " clients are connected.\n");
}
} else {
if (! raw_fb_str) {
@@ -95,3 +104,86 @@ static void check_fbpm(void) {
#endif
}
+static void check_dpms(void) {
+ static int init_dpms = 0;
+#if LIBVNCSERVER_HAVE_DPMS
+ static int dpms_capable = 0;
+ static time_t last_dpms = 0;
+ int db = 0;
+
+ CARD16 level;
+ BOOL enabled;
+
+ RAWFB_RET_VOID
+
+ if (! init_dpms) {
+ if (getenv("DPMS_DEBUG")) {
+ db = atoi(getenv("DPMS_DEBUG"));
+ }
+ if (DPMSCapable(dpy)) {
+ dpms_capable = 1;
+ rfbLog("X display is capable of DPMS.\n");
+ if (watch_dpms) {
+ rfbLog("Preventing low-power DPMS modes when"
+ " clients are connected.\n");
+ }
+ } else {
+ if (! raw_fb_str) {
+ rfbLog("X display is not capable of DPMS.\n");
+ }
+ dpms_capable = 0;
+ }
+ init_dpms = 1;
+ }
+
+ if (! watch_dpms) {
+ return;
+ }
+ if (! dpms_capable) {
+ return;
+ }
+ if (! client_count) {
+ return;
+ }
+ if (time(NULL) < last_dpms + 5) {
+ return;
+ }
+ last_dpms = time(NULL);
+
+ if (DPMSInfo(dpy, &level, &enabled)) {
+ if (db) fprintf(stderr, "DPMSInfo level: %d enabled: %d\n", level, enabled);
+
+ if (enabled && level != DPMSModeOn) {
+ char *from = "unknown-dpms-state";
+ XErrorHandler old_handler = XSetErrorHandler(trap_xerror);
+ trapped_xerror = 0;
+
+ if (level == DPMSModeStandby) {
+ from = "DPMSModeStandby";
+ } else if (level == DPMSModeSuspend) {
+ from = "DPMSModeSuspend";
+ } else if (level == DPMSModeOff) {
+ from = "DPMSModeOff";
+ }
+
+ rfbLog("switching DPMS state from %s to DPMSModeOn\n", from);
+
+ DPMSForceLevel(dpy, DPMSModeOn);
+
+ XSetErrorHandler(old_handler);
+ trapped_xerror = 0;
+ }
+ } else {
+ if (db) fprintf(stderr, "DPMSInfo failed.\n");
+ }
+#else
+ RAWFB_RET_VOID
+ if (! init_dpms) {
+ if (! raw_fb_str) {
+ rfbLog("X DPMS extension not supported.\n");
+ }
+ init_dpms = 1;
+ }
+#endif
+}
+
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c
index 9aa55e8..0b36183 100644
--- a/x11vnc/pointer.c
+++ b/x11vnc/pointer.c
@@ -664,7 +664,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) {
}
if ((pipeinput_fh != NULL || pipeinput_int) && mask >= 0) {
- pipe_pointer(mask, x, y, client);
+ pipe_pointer(mask, x, y, client); /* MACOSX here. */
if (! pipeinput_tee) {
if (! view_only || raw_fb) { /* raw_fb hack */
got_user_input++;
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index a6cf9ae..a5ea40d 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -2774,6 +2774,21 @@ char *process_remote_cmd(char *cmd, int stringonly) {
rfbLog("remote_cmd: enabling -nowireframe mode.\n");
wireframe = 0;
+ } else if (!strcmp(p, "wireframelocal") || !strcmp(p, "wfl")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, wireframe_local);
+ goto qry;
+ }
+ rfbLog("remote_cmd: enabling -wireframelocal mode.\n");
+ wireframe_local = 1;
+ } else if (!strcmp(p, "nowireframelocal") || !strcmp(p, "nowfl")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, !wireframe_local);
+ goto qry;
+ }
+ rfbLog("remote_cmd: enabling -nowireframelocal mode.\n");
+ wireframe_local = 0;
+
} else if (strstr(p, "wirecopyrect") == p) {
COLON_CHECK("wirecopyrect:")
if (query) {
@@ -3385,6 +3400,21 @@ char *process_remote_cmd(char *cmd, int stringonly) {
rfbLog("remote_cmd: turning on -nofbpm mode.\n");
watch_fbpm = 1;
+ } else if (!strcmp(p, "dpms")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, !watch_dpms);
+ goto qry;
+ }
+ rfbLog("remote_cmd: turning off -nodpms mode.\n");
+ watch_dpms = 0;
+ } else if (!strcmp(p, "nodpms")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, watch_dpms);
+ goto qry;
+ }
+ rfbLog("remote_cmd: turning on -nodpms mode.\n");
+ watch_dpms = 1;
+
} else if (strstr(p, "fs") == p) {
COLON_CHECK("fs:")
if (query) {
diff --git a/x11vnc/scan.c b/x11vnc/scan.c
index 11e867c..7a8272c 100644
--- a/x11vnc/scan.c
+++ b/x11vnc/scan.c
@@ -2356,15 +2356,17 @@ int copy_screen(void) {
if (! fs_factor) {
return 0;
}
+ if (debug_tiles) fprintf(stderr, "copy_screen\n");
if (unixpw_in_progress) return 0;
- block_size = (dpy_x * (dpy_y/fs_factor) * pixelsize);
if (! main_fb) {
return 0;
}
+ block_size = ((dpy_y/fs_factor) * main_bytes_per_line);
+
fbp = main_fb;
y = 0;
@@ -2404,7 +2406,7 @@ static void snap_all_rawfb(void) {
if (xform24to32 && bpp == 32) {
pixelsize = 3;
}
- sz = dpy_x * dpy_y * pixelsize;
+ sz = dpy_y * snap->bytes_per_line;
if (wdpy_x > dpy_x || wdpy_y > dpy_y) {
sz = wdpy_x * wdpy_y * pixelsize;
@@ -2452,7 +2454,7 @@ static void snap_all_rawfb(void) {
for (h = 0; h < dpy_y; h++) {
memcpy(dst, src, dpy_x * pixelsize);
src += wdpy_x * pixelsize;
- dst += dpy_x * pixelsize;
+ dst += snap->bytes_per_line;
}
}
}
@@ -2481,6 +2483,9 @@ int copy_snap(void) {
if (rawfb_reset) {
initialize_raw_fb(1);
}
+ if (raw_fb_bytes_per_line != snap->bytes_per_line) {
+ read_all_at_once = 0;
+ }
if (read_all_at_once) {
snap_all_rawfb();
} else {
@@ -2496,11 +2501,12 @@ if (db && snapcnt++ < 5) rfbLog("rawfb copy_snap took: %.5f secs\n", dnow() - st
return 0;
}
- block_size = (dpy_x * (dpy_y/fs_factor) * pixelsize);
if (! snap_fb || ! snap || ! snaprect) {
return 0;
}
+ block_size = ((dpy_y/fs_factor) * snap->bytes_per_line);
+
fbp = snap_fb;
y = 0;
@@ -2578,6 +2584,7 @@ static void nap_set(int tile_cnt) {
*/
void nap_sleep(int ms, int split) {
int i, input = got_user_input;
+ int gd = got_local_pointer_input;
for (i=0; i<split; i++) {
usleep(ms * 1000 / split);
@@ -2587,6 +2594,9 @@ void nap_sleep(int ms, int split) {
if (input != got_user_input) {
break;
}
+ if (gd != got_local_pointer_input) {
+ break;
+ }
}
}
@@ -2623,7 +2633,9 @@ static void nap_check(int tile_cnt) {
if (naptile && nap_ok && tile_cnt < naptile) {
int ms = napfac * waitms;
ms = ms > napmax ? napmax : ms;
- if (now - last_input <= 2) {
+ if (now - last_input <= 3) {
+ nap_ok = 0;
+ } else if (now - last_local_input <= 3) {
nap_ok = 0;
} else {
nap_sleep(ms, 1);
@@ -2942,11 +2954,15 @@ int scan_for_updates(int count_only) {
if (cmap8to24 && scan_count % 1 == 0) {
check_for_multivis();
}
+#ifdef MACOSX
+ if (macosx_console) {
+ macosx_event_loop();
+ }
+#endif
if (use_xdamage) {
/* first pass collecting DAMAGE events: */
#ifdef MACOSX
- if (! dpy) {
- macosx_event_loop();
+ if (macosx_console) {
collect_macosx_damage(-1, -1, -1, -1, 0);
} else
#endif
@@ -2977,7 +2993,7 @@ int scan_for_updates(int count_only) {
*/
if (use_xdamage) {
#ifdef MACOSX
- if (! dpy) {
+ if (macosx_console) {
;
} else
#endif
diff --git a/x11vnc/screen.c b/x11vnc/screen.c
index fd18a5c..4b29fb7 100644
--- a/x11vnc/screen.c
+++ b/x11vnc/screen.c
@@ -867,7 +867,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
}
#ifdef MACOSX
- if (raw_fb_addr != NULL && raw_fb_addr == macosx_get_fb_addr()) {
+ if (raw_fb_addr != NULL && macosx_console && raw_fb_addr == macosx_get_fb_addr()) {
raw_fb_addr = NULL;
}
#endif
@@ -963,6 +963,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
raw_fb_fd = -1;
raw_fb_addr = NULL;
raw_fb_offset = 0;
+ raw_fb_bytes_per_line = 0;
last_mode = 0;
if (last_file) {
@@ -1059,6 +1060,12 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
rfbLog("invalid rawfb str: %s\n", str);
clean_up_exit(1);
}
+
+ if (strrchr(q, '-')) {
+ char *q2 = strrchr(q, '-');
+ raw_fb_bytes_per_line = atoi(q2+1);
+ *q2 = '\0';
+ }
/* @WxHxB */
if (sscanf(q, "@%dx%dx%d", &w, &h, &b) != 3) {
rfbLogEnable(1);
@@ -1145,11 +1152,13 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
q = strchr(str, ':');
q++;
+ macosx_console = 0;
if (strstr(q, "macosx:") == q) {
/* mmap:macosx:/dev/null@... */
q += strlen("macosx:");
do_macosx = 1;
do_mmap = 0;
+ macosx_console = 1;
}
last_file = strdup(q);
@@ -1233,20 +1242,29 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
initialize_clipshift();
- raw_fb = (char *) malloc(dpy_x * dpy_y * b/8);
+ if (raw_fb_bytes_per_line == 0) {
+ raw_fb_bytes_per_line = dpy_x*b/8;
+
+ /*
+ * Put cases here were we can determine that
+ * raw_bytes_per_line != dpy_x*b/8
+ */
+#ifdef MACOSX
+ if (do_macosx) {
+ raw_fb_bytes_per_line = macosxCG_CGDisplayBytesPerRow();
+ }
+#endif
+ }
+
+ raw_fb_image->bytes_per_line = dpy_x * b/8;
+ raw_fb = (char *) malloc(dpy_y * dpy_x * b/8);
raw_fb_image->data = raw_fb;
raw_fb_image->format = ZPixmap;
raw_fb_image->width = dpy_x;
raw_fb_image->height = dpy_y;
raw_fb_image->bits_per_pixel = b;
- raw_fb_image->bytes_per_line = dpy_x*b/8;
raw_fb_image->bitmap_unit = -1;
-#ifdef MACOSX
- if (do_macosx) {
- raw_fb_image->bytes_per_line = macosxCG_CGDisplayBytesPerRow();
- }
-#endif
if (use_snapfb && (raw_fb_seek || raw_fb_mmap)) {
int b_use = b;
@@ -1254,16 +1272,25 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
free(snap_fb);
}
if (b_use == 32 && xform24to32) {
+ /*
+ * The actual framebuffer (e.g. mapped addr) and
+ * snap fb must be the same bpp. E.g. both 24bpp.
+ * Reading FROM snap to utility image will be
+ * transformed 24->32 in copy_raw_fb_24_to_32.
+ *
+ * addr -> snap -> (scanline, fullscreen, ...)
+ */
b_use = 24;
+ raw_fb_bytes_per_line = dpy_x * b_use/8;
}
- snap_fb = (char *) malloc(dpy_x * dpy_y * b_use/8);
+ snap_fb = (char *) malloc(dpy_y * dpy_x * b_use/8);
snap = &ximage_struct_snap;
snap->data = snap_fb;
snap->format = ZPixmap;
snap->width = dpy_x;
snap->height = dpy_y;
snap->bits_per_pixel = b_use;
- snap->bytes_per_line = dpy_x*b_use/8;
+ snap->bytes_per_line = dpy_x * b_use/8;
snap->bitmap_unit = -1;
}
@@ -1334,11 +1361,11 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
}
if (clipshift) {
- memset(raw_fb, 0xff, dpy_x * dpy_y * b/8);
+ memset(raw_fb, 0xff, dpy_y * raw_fb_image->bytes_per_line);
} else if (raw_fb_addr && ! xform24to32) {
- memcpy(raw_fb, raw_fb_addr + raw_fb_offset, dpy_x*dpy_y*b/8);
+ memcpy(raw_fb, raw_fb_addr + raw_fb_offset, dpy_y * raw_fb_image->bytes_per_line);
} else {
- memset(raw_fb, 0xff, dpy_x * dpy_y * b/8);
+ memset(raw_fb, 0xff, dpy_y * raw_fb_image->bytes_per_line);
}
if (verbose) {
@@ -2275,6 +2302,8 @@ void initialize_screen(int *argc, char **argv, XImage *fb) {
rfb_bytes_per_line);
fprintf(stderr, " rot_fb_bytes_per_line: %d\n",
rot_bytes_per_line);
+ fprintf(stderr, " raw_fb_bytes_per_line: %d\n",
+ raw_fb_bytes_per_line);
switch(fb->format) {
case XYBitmap:
fprintf(stderr, " format: XYBitmap\n"); break;
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index a14b831..3684e1d 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -1537,6 +1537,9 @@ void unixpw_accept(char *user) {
unixpw_in_progress = 0;
unixpw_client = NULL;
mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0);
+ if (macosx_console) {
+ refresh_screen(1);
+ }
}
void unixpw_deny(void) {
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c
index ad7f67b..3c02fb0 100644
--- a/x11vnc/userinput.c
+++ b/x11vnc/userinput.c
@@ -97,12 +97,13 @@ int get_wm_frame_pos(int *px, int *py, int *x, int *y, int *w, int *h,
unsigned int mask;
#ifdef MACOSX
- if (! dpy) {
+ if (macosx_console) {
return macosx_get_wm_frame_pos(px, py, x, y, w, h, frame, win);
}
#endif
RAWFB_RET(0)
+
#if NO_X11
return 0;
#else
@@ -2918,6 +2919,7 @@ if (db2) fprintf(stderr, "try_copyrect: 0x%lx bad: %d stack_list_num: %d\n", fr
sraRect rect;
int saw_me = 0;
int orig_x, orig_y;
+ int boff, bwin;
XWindowAttributes attr;
orig_x = x - dx;
@@ -2935,6 +2937,9 @@ if (db2) fprintf(stderr, "moved_win: %4d %3d, %4d %3d 0x%lx ---\n",
dtime0(&tm);
+ boff = get_boff();
+ bwin = get_bwin();
+
X_LOCK;
/*
@@ -2962,16 +2967,13 @@ fprintf(stderr, "bo: %d/%lx\n", k, swin);
#endif
/* skip some unwanted cases: */
-#ifdef MACOSX
- if (0) {
- ;
-#else
+#ifndef MACOSX
if (swin == None) {
continue;
}
- if (swin < 10) {
- ; /* blackouts */
#endif
+ if (boff <= swin && swin < boff + bwin) {
+ ; /* blackouts */
} else if (! stack_list[k].fetched ||
stack_list[k].time > tm + 2.0) {
if (!valid_window(swin, &attr, 1)) {
@@ -3346,7 +3348,7 @@ int check_wireframe(void) {
int orig_px, orig_py, orig_x, orig_y, orig_w, orig_h;
int px, py, x, y, w, h;
int box_x, box_y, box_w, box_h;
- int orig_cursor_x, orig_cursor_y, g;
+ int orig_cursor_x, orig_cursor_y, g, gd;
int already_down = 0, win_gone = 0, win_unmapped = 0;
double spin = 0.0, tm, last_ptr = 0.0, last_draw;
int frame_changed = 0, drew_box = 0, got_2nd_pointer = 0;
@@ -3354,6 +3356,7 @@ int check_wireframe(void) {
static double first_dt_ave = 0.0;
static int first_dt_cnt = 0;
static time_t last_save_stacklist = 0;
+ int bdown0, bdown, gotui, cnt = 0;
/* heuristics: */
double first_event_spin = wireframe_t1;
@@ -3363,25 +3366,47 @@ int check_wireframe(void) {
int try_it = 0;
DB_SET
-#ifndef MACOSX
+ if (unixpw_in_progress) return 0;
+
+#ifdef MACOSX
+ if (macosx_console) {
+ ;
+ } else {
+ RAWFB_RET(0)
+ }
+#else
RAWFB_RET(0)
#endif
- if (unixpw_in_progress) return 0;
-
if (nofb) {
return 0;
}
if (subwin) {
return 0; /* don't even bother for -id case */
}
+
if (db > 1 && button_mask) fprintf(stderr, "check_wireframe: bm: %d gpi: %d\n", button_mask, got_pointer_input);
- if (! button_mask) {
+
+ bdown0 = 0;
+ if (button_mask) {
+ bdown0 = 1;
+ } else if (wireframe_local && display_button_mask) {
+ bdown0 = 2;
+ }
+ if (! bdown0) {
return 0; /* no button pressed down */
}
- if (!use_threads && !got_pointer_input) {
+
+ gotui = 0;
+ if (got_pointer_input) {
+ gotui = 1;
+ } else if (wireframe_local && display_button_mask) {
+ gotui = 2;
+ }
+ if (!use_threads && !gotui) {
return 0; /* need ptr input, e.g. button down, motion */
}
+
if (db > 1) fprintf(stderr, "check_wireframe: %d\n", db);
if (db) fprintf(stderr, "\n*** button down!! x: %d y: %d\n", cursor_x, cursor_y);
@@ -3514,6 +3539,7 @@ if (db) fprintf(stderr, "INTERIOR\n");
}
g = got_pointer_input;
+ gd = got_local_pointer_input;
while (1) {
@@ -3529,7 +3555,28 @@ if (db) fprintf(stderr, "INTERIOR\n");
} else {
rfbCFD(1000);
}
+ if (bdown0 == 2) {
+ int freq = 1;
+ /*
+ * This is to just update display_button_mask
+ * which will also update got_local_pointer_input.
+ */
+ int px, py, x, y, w, h;
+ Window frame;
+ check_x11_pointer();
+#if 0
+#ifdef MACOSX
+ if (macosx_console) {
+ macosx_get_cursor_pos(&x, &y);
+ }
+ else
+#endif
+ get_wm_frame_pos(&px, &py, &x, &y, &w, &h, &frame, NULL);
+#endif
+ }
+
+ cnt++;
spin += dtime(&tm);
if (0) fprintf(stderr, "wf-spin: %.3f\n", spin);
@@ -3575,12 +3622,15 @@ if (db || db2) fprintf(stderr, " SPIN-OUT-NO2ND_PTR: %.3f\n", spin);
break;
}
}
-
/* see if some pointer input occurred: */
- if (got_pointer_input > g) {
-if (db) fprintf(stderr, " ++pointer event!! [%02d] dt: %.3f x: %d y: %d mask: %d\n", got_2nd_pointer+1, spin, cursor_x, cursor_y, button_mask);
+ if (got_pointer_input > g ||
+ (wireframe_local && (got_local_pointer_input > gd))) {
+
+if (db) fprintf(stderr, " ++pointer event!! [%02d] dt: %.3f x: %d y: %d mask: %d\n",
+ got_2nd_pointer+1, spin, cursor_x, cursor_y, button_mask);
g = got_pointer_input;
+ gd = got_local_pointer_input;
X_LOCK;
XFlush_wr(dpy);
@@ -3716,7 +3766,13 @@ if (db) fprintf(stderr, "FRAME MOVE 1st-dt: %.3f\n", first_dt_ave/n);
* we check here to get a better location and size of
* the final window.
*/
- if (! button_mask) {
+ bdown = 0;
+ if (button_mask) {
+ bdown = 1;
+ } else if (wireframe_local && display_button_mask) {
+ bdown = 2;
+ }
+ if (! bdown) {
if (db || db2) fprintf(stderr, "NO button_mask\n");
break_reason = 6;
break;
@@ -4379,7 +4435,11 @@ static void check_user_input4(double dt, double dtr, int tile_diffs) {
int check_user_input(double dt, double dtr, int tile_diffs, int *cnt) {
-#ifndef MACOSX
+#ifdef MACOSX
+ if (! macosx_console) {
+ RAWFB_RET(0)
+ }
+#else
RAWFB_RET(0)
#endif
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c
index aab05e7..c1da920 100644
--- a/x11vnc/win_utils.c
+++ b/x11vnc/win_utils.c
@@ -18,6 +18,8 @@ Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x,
int *dst_y, Window *child, int bequiet);
int get_window_size(Window win, int *x, int *y);
void snapshot_stack_list(int free_only, double allowed_age);
+int get_boff(void);
+int get_bwin(void);
void update_stack_list(void);
Window query_pointer(Window start);
unsigned int mask_state(void);
@@ -78,11 +80,12 @@ int valid_window(Window win, XWindowAttributes *attr_ret, int bequiet) {
return 0;
}
#ifdef MACOSX
- if (! dpy) {
+ if (macosx_console) {
return macosx_valid_window(win, attr_ret);
}
#endif
RAWFB_RET(0)
+
#if NO_X11
nox11_exit(1);
return 0;
@@ -184,9 +187,14 @@ void snapshot_stack_list(int free_only, double allowed_age) {
stack_list_num = 0;
last_free = now;
-#ifndef MACOSX
+#ifdef MACOSX
+ if (! macosx_console) {
+ RAWFB_RET_VOID
+ }
+#else
RAWFB_RET_VOID
#endif
+
#if NO_X11 && !defined(MACOSX)
return;
#else
@@ -220,13 +228,7 @@ void snapshot_stack_list(int free_only, double allowed_age) {
j++;
}
for (i=0; i<blackouts; i++) {
-#ifdef MACOSX
- if (! dpy) {
- num = num - blackouts;
- break;
- }
-#endif
- stack_list[j].win = 0x1;
+ stack_list[j].win = get_boff() + 1;
stack_list[j].fetched = 1;
stack_list[j].valid = 1;
stack_list[j].x = blackr[i].x1;
@@ -255,10 +257,23 @@ if (0) fprintf(stderr, "blackr: %d %dx%d+%d+%d\n", i,
#endif /* NO_X11 */
}
+int get_boff(void) {
+ if (macosx_console) {
+ return 0x1000000;
+ } else {
+ return 0;
+ }
+}
+
+int get_bwin(void) {
+ return 10;
+}
+
void update_stack_list(void) {
int k;
double now;
XWindowAttributes attr;
+ int boff, bwin;
if (! stack_list) {
return;
@@ -268,11 +283,14 @@ void update_stack_list(void) {
}
dtime0(&now);
+
+ boff = get_boff();
+ bwin = get_bwin();
X_LOCK;
for (k=0; k < stack_list_num; k++) {
Window win = stack_list[k].win;
- if (win != None && win < 10) {
+ if (win != None && boff <= win && win < boff + bwin) {
; /* special, blackout */
} else if (!valid_window(win, &attr, 1)) {
stack_list[k].valid = 0;
@@ -302,6 +320,13 @@ Window query_pointer(Window start) {
Window r, c;
int rx, ry, wx, wy;
unsigned int mask;
+
+#ifdef MACOSX
+ if (macosx_console) {
+ macosx_get_cursor_pos(&rx, &rx);
+ }
+#endif
+
RAWFB_RET(None)
#if NO_X11
return None;
diff --git a/x11vnc/win_utils.h b/x11vnc/win_utils.h
index 135e9e0..372ac2f 100644
--- a/x11vnc/win_utils.h
+++ b/x11vnc/win_utils.h
@@ -15,6 +15,8 @@ extern Bool xtranslate(Window src, Window dst, int src_x, int src_y, int *dst_x,
int *dst_y, Window *child, int bequiet);
extern int get_window_size(Window win, int *x, int *y);
extern void snapshot_stack_list(int free_only, double allowed_age);
+extern int get_boff(void);
+extern int get_bwin(void);
extern void update_stack_list(void);
extern Window query_pointer(Window start);
extern unsigned int mask_state(void);
diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1
index 4d53ddd..e165c24 100644
--- a/x11vnc/x11vnc.1
+++ b/x11vnc/x11vnc.1
@@ -2,7 +2,7 @@
.TH X11VNC "1" "November 2006" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
- version: 0.8.4, lastmod: 2006-11-13
+ version: 0.8.4, lastmod: 2006-11-21
.SH SYNOPSIS
.B x11vnc
[OPTION]...
@@ -977,7 +977,7 @@ override this.
.IP
Your VNC viewer will also need to be able to connect
via SSL. See the discussion below under \fB-stunnel\fR and
-the FAQ (ssl_vncviewer script) for how this might be
+the FAQ (ss_vncviewer script) for how this might be
achieved. E.g. on Unix it is easy to write a shell
script that starts up stunnel and then vncviewer.
Also in the x11vnc source a SSL enabled Java VNC Viewer
@@ -1131,7 +1131,7 @@ key files. On the VNC client side, they will need to
be "imported" somehow. Web browsers have "Manage
Certificates" actions as does the Java applet plugin
Control Panel. stunnel can also use these files (see
-the ssl_vncviewer example script in the FAQ.)
+the ss_vncviewer example script in the FAQ.)
.PP
\fB-sslGenCA\fR \fI[dir]\fR
.IP
@@ -1279,13 +1279,13 @@ Examples:
x11vnc \fB-sslGenCert\fR server
x11vnc \fB-ssl\fR SAVE \fB-display\fR :0 ...
.IP
-and then on viewer using ssl_vncviewer stunnel wrapper
+and then on viewer using ss_vncviewer stunnel wrapper
(see the FAQ):
-ssl_vncviewer \fB-verify\fR ./cacert.crt hostname:0
+ss_vncviewer \fB-verify\fR ./cacert.crt hostname:0
.IP
(this assumes the cacert.crt cert from \fB-sslGenCA\fR
was safely copied to the VNC viewer machine where
-ssl_vncviewer is run)
+ss_vncviewer is run)
.IP
Example using a name:
.IP
@@ -1303,7 +1303,7 @@ x11vnc is then started with the the option \fB-sslverify\fR
roger), and on the viewer user on somehost could do
for example:
.IP
-ssl_vncviewer \fB-mycert\fR ./roger.pem hostname:0
+ss_vncviewer \fB-mycert\fR ./roger.pem hostname:0
.IP
If you set the env. var REQ_ARGS='...' it will be
passed to openssl
@@ -2368,6 +2368,14 @@ between sending wireframe "animations". If a slow
link is detected, these values may be automatically
changed to something better for a slow link.
.PP
+\fB-nowireframelocal\fR
+.IP
+By default, mouse motion and button presses of a
+user sitting at the LOCAL display are monitored for
+wireframing opportunities (so that the changes will be
+sent efficiently to the VNC clients). Use this option
+to disable this behavior.
+.PP
\fB-wirecopyrect\fR \fImode,\fR \fB-nowirecopyrect\fR
.IP
Since the \fB-wireframe\fR mechanism evidently tracks moving
@@ -2864,6 +2872,31 @@ manpage
for details. \fB-nofbpm\fR is basically the same as running
"xset fbpm force on" periodically. Default: \fB-fbpm\fR
.PP
+\fB-nodpms,\fR \fB-dpms\fR
+.IP
+If the system supports the DPMS (Display Power Management
+Signaling) extension, then prevent the monitor from
+going into a reduced power state when VNC clients
+are connected.
+.IP
+DPMS reduced power monitor states are a good thing
+and you normally want the power down to take place
+(usually x11vnc has no problem exporting the display in
+this state). You probably only want to use "\fB-nodpms\fR"
+to work around problems with Screen Savers kicking
+on in DPMS low power states. There is known problem
+with kdesktop_lock on KDE where the screen saver keeps
+kicking in every time user input stops for a second
+or two. Specifying "\fB-nodpms\fR" works around it.
+.IP
+"\fB-nodpms\fR" means prevent DPMS low power states whenever
+VNC clients are connected, while "\fB-dpms\fR" means to not
+monitor the DPMS state at all. See the
+.IR xset (1)
+manpage
+for details. \fB-nodpms\fR is basically the same as running
+"xset dpms force on" periodically. Default: \fB-dpms\fR
+.PP
\fB-noxdamage\fR
.IP
Do not use the X DAMAGE extension to detect framebuffer
@@ -3012,6 +3045,11 @@ red, green, and blue masks and an offset into the
memory object. If the masks are not provided x11vnc
guesses them based on the bpp.
.IP
+Another optional suffix is the Bytes Per Line which in
+some cases is not WxHxB/4. Specify it as WxHxB-BPL
+e.g. 800x600x16-2048. This could be a normal width
+1024 at 16bpp fb, but only width 800 shows up.
+.IP
Examples:
.IP
\fB-rawfb\fR shm:210337933@800x600x32:ff/ff00/ff0000
@@ -3343,6 +3381,27 @@ For the native Mac OS X server, disable display sleep.
.IP
For the native Mac OS X server, disable screensaver.
.PP
+\fB-macnowait\fR
+.IP
+For the native Mac OS X server, do not wait for the
+user to switch back to his display.
+.PP
+\fB-macwheel\fR \fIn\fR
+.IP
+For the native Mac OS X server, set the mouse wheel
+speed to n (default 5).
+.PP
+\fB-macnoswap\fR
+.IP
+For the native Mac OS X server, do not swap mouse
+buttons 2 and 3.
+.PP
+\fB-macnoresize\fR
+.IP
+For the native Mac OS X server, do not resize or reset
+the framebuffer even if it is detected that the screen
+resolution or depth has changed.
+.PP
\fB-gui\fR \fI[gui-opts]\fR
.IP
Start up a simple tcl/tk gui based on the the remote
@@ -3795,6 +3854,10 @@ wireframe:str enable \fB-wireframe\fR mode string.
.IP
wireframe_mode:str enable \fB-wireframe\fR mode string.
.IP
+wireframelocal enable wireframelocal. same as "wfl"
+.IP
+nowireframe disable wireframelocal. same as "nowfl"
+.IP
wirecopyrect:str set \fB-wirecopyrect\fR string. same as "wcr:"
.IP
scrollcopyrect:str set \fB-scrollcopyrect\fR string. same "scr"
@@ -3869,6 +3932,10 @@ fbpm disable \fB-nofbpm\fR mode.
.IP
nofbpm enable \fB-nofbpm\fR mode.
.IP
+dpms disable \fB-nodpms\fR mode.
+.IP
+nodpms enable \fB-nodpms\fR mode.
+.IP
xdamage enable xdamage polling hints.
.IP
noxdamage disable xdamage polling hints.
@@ -4026,35 +4093,36 @@ 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 wireframe_mode wireframe wf nowireframe
-nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
+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 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 fs gaps grow fuzz snapfb
-nosnapfb rawfb uinput_accel uinput_thresh uinput_reset
-uinput_always progressive rfbport http nohttp httpport
-httpdir enablehttpproxy noenablehttpproxy alwaysshared
+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 nosnapfb rawfb
+uinput_accel uinput_thresh uinput_reset uinput_always
+progressive rfbport http nohttp httpport httpdir
+enablehttpproxy noenablehttpproxy alwaysshared
noalwaysshared nevershared noalwaysshared dontdisconnect
nodontdisconnect desktop debug_xevents nodebug_xevents
debug_xevents debug_xdamage nodebug_xdamage
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index 8226856..10ad532 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -452,6 +452,7 @@ static void watch_loop(void) {
got_user_input = 0;
got_pointer_input = 0;
+ got_local_pointer_input = 0;
got_pointer_calls = 0;
got_keyboard_input = 0;
got_keyboard_calls = 0;
@@ -558,14 +559,14 @@ static void watch_loop(void) {
check_pm();
check_filexfer();
check_keycode_state();
- check_connect_inputs();
- check_gui_inputs();
- check_stunnel();
- check_openssl();
- check_https();
+ check_connect_inputs();
+ check_gui_inputs();
+ check_stunnel();
+ check_openssl();
+ check_https();
record_last_fb_update();
- check_padded_fb();
- check_fixscreen();
+ check_padded_fb();
+ check_fixscreen();
check_xdamage_state();
check_xrecord_reset(0);
check_add_keysyms();
@@ -602,6 +603,9 @@ static void watch_loop(void) {
if (cursor_pos_updates) {
check_x11_pointer();
}
+#ifdef MACOSX
+ else check_x11_pointer();
+#endif
continue;
}
@@ -1236,6 +1240,7 @@ static void print_settings(int try_http, int bg, char *gui_str) {
fprintf(stderr, " take_naps: %d\n", take_naps);
fprintf(stderr, " sb: %d\n", screen_blank);
fprintf(stderr, " fbpm: %d\n", !watch_fbpm);
+ fprintf(stderr, " dpms: %d\n", !watch_dpms);
fprintf(stderr, " xdamage: %d\n", use_xdamage);
fprintf(stderr, " xd_area: %d\n", xdamage_max_area);
fprintf(stderr, " xd_mem: %.3f\n", xdamage_memory);
@@ -1263,7 +1268,6 @@ static void print_settings(int try_http, int bg, char *gui_str) {
fprintf(stderr, " pid: %d\n", getpid());
fprintf(stderr, "\n");
#endif
- rfbLog("x11vnc version: %s\n", lastmod);
}
@@ -2101,6 +2105,9 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-nowireframe")
|| !strcmp(arg, "-nowf")) {
wireframe = 0;
+ } else if (!strcmp(arg, "-nowireframelocal")
+ || !strcmp(arg, "-nowfl")) {
+ wireframe_local = 0;
} else if (!strcmp(arg, "-wirecopyrect")
|| !strcmp(arg, "-wcr")) {
CHECK_ARGC
@@ -2219,6 +2226,10 @@ int main(int argc, char* argv[]) {
watch_fbpm = 1;
} else if (!strcmp(arg, "-fbpm")) {
watch_fbpm = 0;
+ } else if (!strcmp(arg, "-nodpms")) {
+ watch_dpms = 1;
+ } else if (!strcmp(arg, "-dpms")) {
+ watch_dpms = 0;
} else if (!strcmp(arg, "-xdamage")) {
use_xdamage = 1;
} else if (!strcmp(arg, "-noxdamage")) {
@@ -2292,6 +2303,15 @@ int main(int argc, char* argv[]) {
macosx_nosleep = 1;
} else if (!strcmp(arg, "-macnosaver")) {
macosx_noscreensaver = 1;
+ } else if (!strcmp(arg, "-macnowait")) {
+ macosx_wait_for_switch = 0;
+ } else if (!strcmp(arg, "-macwheel")) {
+ CHECK_ARGC
+ macosx_mouse_wheel_speed = atoi(argv[++i]);
+ } else if (!strcmp(arg, "-macnoswap")) {
+ macosx_swap23 = 0;
+ } else if (!strcmp(arg, "-macnoresize")) {
+ macosx_resize = 0;
} else if (!strcmp(arg, "-gui")) {
launch_gui = 1;
if (i < argc-1) {
@@ -2910,6 +2930,7 @@ int main(int argc, char* argv[]) {
if (verbose) {
print_settings(try_http, bg, gui_str);
}
+ rfbLog("x11vnc version: %s\n", lastmod);
} else {
rfbLogEnable(0);
}
@@ -3390,13 +3411,16 @@ int main(int argc, char* argv[]) {
#ifdef MACOSX
if (! dpy) {
- if (! multiple_cursors_mode) {
- multiple_cursors_mode = strdup("most");
- }
- initialize_cursors_mode();
- if (use_xdamage) {
- xdamage_present = 1;
- initialize_xdamage();
+ /* XXX this needs improvement (esp. for remote control) */
+ if (! raw_fb_str || strstr(raw_fb_str, "console") == raw_fb_str) {
+ if (! multiple_cursors_mode) {
+ multiple_cursors_mode = strdup("most");
+ }
+ initialize_cursors_mode();
+ if (use_xdamage) {
+ xdamage_present = 1;
+ initialize_xdamage();
+ }
}
}
#endif
@@ -3460,6 +3484,9 @@ int main(int argc, char* argv[]) {
rfbLog("waited_for_client: popup accepted.\n");
cl0->onHold = FALSE;
}
+ if (macosx_console) {
+ refresh_screen(1);
+ }
}
if (! waited_for_client) {
diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h
index 482343f..ff483b9 100644
--- a/x11vnc/x11vnc.h
+++ b/x11vnc/x11vnc.h
@@ -360,6 +360,9 @@ extern int button_mask; /* button state and info */
extern int button_mask_prev;
extern int num_buttons;
+extern unsigned int display_button_mask;
+extern unsigned int display_mod_mask;
+
/* image structures */
extern XImage *scanline;
extern XImage *fullscreen;
@@ -411,6 +414,8 @@ extern unsigned long main_red_mask, main_green_mask, main_blue_mask;
extern unsigned short main_red_max, main_green_max, main_blue_max;
extern unsigned short main_red_shift, main_green_shift, main_blue_shift;
+extern int raw_fb_bytes_per_line; /* of actual raw region we poll, not our raw_fb */
+
/* scaling parameters */
extern char *scale_str;
extern double scale_fac;
@@ -446,6 +451,7 @@ extern unsigned char *tile_has_xdamage_diff, *tile_row_has_xdamage_diff;
/* times of recent events */
extern time_t last_event, last_input, last_client;
extern time_t last_keyboard_input, last_pointer_input;
+extern time_t last_local_input;
extern time_t last_fb_bytes_sent;
extern double last_keyboard_time;
extern double last_pointer_time;
@@ -471,6 +477,7 @@ extern int cursor_x, cursor_y; /* x and y from the viewer(s) */
extern int button_change_x, button_change_y;
extern int got_user_input;
extern int got_pointer_input;
+extern int got_local_pointer_input;
extern int got_pointer_calls;
extern int got_keyboard_input;
extern int got_keyboard_calls;
diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c
index 7194eff..da822ee 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.4 lastmod: 2006-11-13";
+char lastmod[] = "0.8.4 lastmod: 2006-11-21";
/* X display info */
@@ -36,6 +36,9 @@ int button_mask = 0; /* button state and info */
int button_mask_prev = 0;
int num_buttons = -1;
+unsigned int display_button_mask = 0;
+unsigned int display_mod_mask = 0;
+
/* image structures */
XImage *scanline = NULL;
XImage *fullscreen = NULL;
@@ -77,6 +80,8 @@ unsigned long main_red_mask = 0, main_green_mask = 0, main_blue_mask = 0;
unsigned short main_red_max = 0, main_green_max = 0, main_blue_max = 0;
unsigned short main_red_shift = 0, main_green_shift = 0, main_blue_shift = 0;
+int raw_fb_bytes_per_line = 0;
+
/* scaling parameters */
char *scale_str = NULL;
double scale_fac = 1.0;
@@ -111,6 +116,7 @@ unsigned char *tile_has_xdamage_diff = NULL, *tile_row_has_xdamage_diff = NULL;
/* times of recent events */
time_t last_event, last_input = 0, last_client = 0;
+time_t last_local_input = 0;
time_t last_keyboard_input = 0, last_pointer_input = 0;
time_t last_fb_bytes_sent = 0;
double last_keyboard_time = 0.0;
@@ -137,6 +143,7 @@ int cursor_x = 0, cursor_y = 0; /* x and y from the viewer(s) */
int button_change_x = 0, button_change_y = 0;
int got_user_input = 0;
int got_pointer_input = 0;
+int got_local_pointer_input = 0;
int got_pointer_calls = 0;
int got_keyboard_input = 0;
int got_keyboard_calls = 0;
diff --git a/x11vnc/xdamage.c b/x11vnc/xdamage.c
index 7b8b9b2..27e6613 100644
--- a/x11vnc/xdamage.c
+++ b/x11vnc/xdamage.c
@@ -163,8 +163,8 @@ void add_region_xdamage(sraRegionPtr new_region) {
}
reg = xdamage_regions[prev_tick];
- if (reg != NULL) {
-if (debug_xdamage > 1) fprintf(stderr, "add_region_xdamage: prev_tick: %d reg %p\n", prev_tick, (void *)reg);
+ if (reg != NULL && new_region != NULL) {
+if (debug_xdamage > 1) fprintf(stderr, "add_region_xdamage: prev_tick: %d reg %p new_region %p\n", prev_tick, (void *)reg, (void *)new_region);
sraRgnOr(reg, new_region);
}
}
@@ -232,6 +232,9 @@ if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d
if (! use_xdamage) {
return 0;
}
+ if (! xdamage_regions) {
+ return 0;
+ }
dtime0(&tm);
@@ -241,10 +244,15 @@ if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d
xdamage_ticker = (xdamage_ticker+1) % nreg;
xdamage_direct_count = 0;
reg = xdamage_regions[xdamage_ticker];
- sraRgnMakeEmpty(reg);
+ if (reg != NULL) {
+ sraRgnMakeEmpty(reg);
+ }
} else {
reg = xdamage_regions[xdamage_ticker];
}
+ if (reg == NULL) {
+ return 0;
+ }
if (x_in < 0) {
return 0;
@@ -288,8 +296,8 @@ if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d
}
if (debug_xdamage > 2) {
fprintf(stderr, "xdamage: -> event %dx%d+%d+%d area:"
- " %d dups: %d %s\n", w, h, x, y, w*h, dcount,
- (w*h > xdamage_max_area) ? "TOO_BIG" : "");
+ " %d dups: %d %s reg: %p\n", w, h, x, y, w*h, dcount,
+ (w*h > xdamage_max_area) ? "TOO_BIG" : "", (void *)reg);
}
record_desired_xdamage_rect(x, y, w, h);
@@ -365,6 +373,9 @@ int collect_xdamage(int scancnt, int call) {
if (! xdamage_base_event_type) {
return 0;
}
+ if (! xdamage_regions) {
+ return 0;
+ }
dtime0(&tm);
@@ -374,10 +385,15 @@ int collect_xdamage(int scancnt, int call) {
xdamage_ticker = (xdamage_ticker+1) % nreg;
xdamage_direct_count = 0;
reg = xdamage_regions[xdamage_ticker];
- sraRgnMakeEmpty(reg);
+ if (reg != NULL) {
+ sraRgnMakeEmpty(reg);
+ }
} else {
reg = xdamage_regions[xdamage_ticker];
}
+ if (reg == NULL) {
+ return 0;
+ }
X_LOCK;
@@ -549,6 +565,9 @@ int xdamage_hint_skip(int y) {
/* go back thru the history starting at most recent */
n = (xdamage_ticker + nreg - i) % nreg;
reg = xdamage_regions[n];
+ if (reg == NULL) {
+ continue;
+ }
if (sraRgnEmpty(reg)) {
/* checking for emptiness is very fast */
continue;
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c
index 9dbdd27..e54c106 100644
--- a/x11vnc/xevents.c
+++ b/x11vnc/xevents.c
@@ -13,6 +13,7 @@
#include "connections.h"
#include "unixpw.h"
#include "cleanup.h"
+#include "macosx.h"
/* XXX CHECK BEFORE RELEASE */
int grab_buster = 0;
@@ -639,11 +640,10 @@ void check_keycode_state(void) {
if (! client_count) {
return;
}
+ if (unixpw_in_progress) return;
RAWFB_RET_VOID
- if (unixpw_in_progress) return;
-
/*
* periodically update our model of the keycode_state[]
* by correlating with the Xserver. wait for a pause in
@@ -744,13 +744,13 @@ void check_xevents(int reset) {
static double last_request = 0.0;
XErrorHandler old_handler;
+ if (unixpw_in_progress) return;
+
RAWFB_RET_VOID
#if NO_X11
return;
#else
- if (unixpw_in_progress) return;
-
if (now > last_init_check+1 || reset) {
last_init_check = now;
initialize_xevents(reset);
@@ -1119,11 +1119,6 @@ void check_xevents(int reset) {
void xcut_receive(char *text, int len, rfbClientPtr cl) {
allowed_input_t input;
- RAWFB_RET_VOID
-#if NO_X11
- return;
-#else
-
if (unixpw_in_progress) {
rfbLog("xcut_receive: unixpw_in_progress, skipping.\n");
return;
@@ -1147,6 +1142,18 @@ void xcut_receive(char *text, int len, rfbClientPtr cl) {
return;
}
+#ifdef MACOSX
+ if (macosx_console) {
+ return macosx_set_sel(text, len);
+ }
+#endif
+
+ RAWFB_RET_VOID
+
+#if NO_X11
+ return;
+#else
+
X_LOCK;
/* associate this text with PRIMARY (and SECONDARY...) */
diff --git a/x11vnc/xwrappers.c b/x11vnc/xwrappers.c
index 77f3016..cc48b4a 100644
--- a/x11vnc/xwrappers.c
+++ b/x11vnc/xwrappers.c
@@ -385,6 +385,7 @@ static void copy_raw_fb_24_to_32(XImage *dest, int x, int y, unsigned int w,
} else if (! raw_fb_seek) {
/* mmap */
+ bpl = raw_fb_bytes_per_line;
src = raw_fb_addr + raw_fb_offset + bpl*y + 3*x;
dst = dest->data;
@@ -408,7 +409,9 @@ static void copy_raw_fb_24_to_32(XImage *dest, int x, int y, unsigned int w,
} else {
/* lseek */
- off_t off = (off_t) (raw_fb_offset + bpl*y + 3*x);
+ off_t off;
+ bpl = raw_fb_bytes_per_line;
+ off = (off_t) (raw_fb_offset + bpl*y + 3*x);
lseek(raw_fb_fd, off, SEEK_SET);
dst = dest->data;
@@ -478,6 +481,7 @@ void copy_raw_fb(XImage *dest, int x, int y, unsigned int w, unsigned int h) {
} else if (! raw_fb_seek) {
/* mmap */
+ bpl = raw_fb_bytes_per_line;
src = raw_fb_addr + raw_fb_offset + bpl*y + pixelsize*x;
dst = dest->data;
@@ -490,7 +494,9 @@ void copy_raw_fb(XImage *dest, int x, int y, unsigned int w, unsigned int h) {
} else {
/* lseek */
int n, len, del, sz = w * pixelsize;
- off_t off = (off_t) (raw_fb_offset + bpl*y + pixelsize*x);
+ off_t off;
+ bpl = raw_fb_bytes_per_line;
+ off = (off_t) (raw_fb_offset + bpl*y + pixelsize*x);
lseek(raw_fb_fd, off, SEEK_SET);
dst = dest->data;
@@ -1063,9 +1069,18 @@ int XCloseDisplay_wr(Display *display) {
#endif /* NO_X11 */
}
+static unsigned int Bmask = (Button1Mask|Button2Mask|Button3Mask|Button4Mask|Button5Mask);
+static unsigned int Mmask = (ShiftMask|LockMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask);
+
+static unsigned int last_local_button_mask = 0;
+static unsigned int last_local_mod_mask = 0;
+static int last_local_x = 0;
+static int last_local_y = 0;
+
Bool XQueryPointer_wr(Display *display, Window w, Window *root_return,
Window *child_return, int *root_x_return, int *root_y_return,
int *win_x_return, int *win_y_return, unsigned int *mask_return) {
+ Bool rc;
#if NO_X11
return False;
@@ -1073,9 +1088,24 @@ Bool XQueryPointer_wr(Display *display, Window w, Window *root_return,
if (! display) {
return False;
}
- return XQueryPointer(display, w, root_return, child_return,
+ rc = XQueryPointer(display, w, root_return, child_return,
root_x_return, root_y_return, win_x_return, win_y_return,
mask_return);
+ if (rc) {
+ display_button_mask = (*mask_return) & Bmask;
+ display_mod_mask = (*mask_return) & Mmask;
+ if (last_local_button_mask != display_button_mask) {
+ got_local_pointer_input++;
+ } else if (*root_x_return != last_local_x ||
+ *root_y_return != last_local_y) {
+ got_local_pointer_input++;
+ }
+ last_local_button_mask = display_button_mask;
+ last_local_mod_mask = display_mod_mask;
+ last_local_x = *root_x_return;
+ last_local_y = *root_y_return;
+ }
+ return rc;
#endif /* NO_X11 */
}
@@ -1085,7 +1115,7 @@ Status XQueryTree_wr(Display *display, Window w, Window *root_return,
unsigned int *nchildren_return) {
#ifdef MACOSX
- if (! display) {
+ if (macosx_console) {
return macosx_xquerytree(w, root_return, parent_return,
children_return, nchildren_return);
}