summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrunge <runge>2007-01-31 15:41:42 +0000
committerrunge <runge>2007-01-31 15:41:42 +0000
commit1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch)
tree9d2a267bcbba93aed87634838c9ac10f36363210
parent1f8da9bde3b7de272228872410143f076662ae13 (diff)
downloadlibtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz
libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
-rw-r--r--x11vnc/ChangeLog10
-rw-r--r--x11vnc/Makefile.am2
-rw-r--r--x11vnc/README3085
-rw-r--r--x11vnc/cleanup.c6
-rw-r--r--x11vnc/connections.c8
-rw-r--r--x11vnc/cursor.c11
-rw-r--r--x11vnc/help.c176
-rw-r--r--x11vnc/keyboard.c10
-rw-r--r--x11vnc/macosx.c6
-rw-r--r--x11vnc/macosxCG.c4
-rw-r--r--x11vnc/macosxCGS.c22
-rw-r--r--x11vnc/misc/enhanced_tightvnc_viewer/src/patches/tight-vncviewer-newfbsize.patch7
-rw-r--r--x11vnc/options.c3
-rw-r--r--x11vnc/options.h3
-rw-r--r--x11vnc/params.h4
-rw-r--r--x11vnc/pointer.c7
-rw-r--r--x11vnc/remote.c33
-rw-r--r--x11vnc/scan.c14
-rw-r--r--x11vnc/screen.c328
-rw-r--r--x11vnc/screen.h7
-rw-r--r--x11vnc/solid.c323
-rw-r--r--x11vnc/solid.h4
-rw-r--r--x11vnc/ssltools.h322
-rwxr-xr-xx11vnc/tkx11vnc2
-rw-r--r--x11vnc/tkx11vnc.h2
-rw-r--r--x11vnc/unixpw.c30
-rw-r--r--x11vnc/unixpw.h2
-rw-r--r--x11vnc/user.c55
-rw-r--r--x11vnc/userinput.c461
-rw-r--r--x11vnc/util.c2
-rw-r--r--x11vnc/x11vnc.1257
-rw-r--r--x11vnc/x11vnc.c93
-rw-r--r--x11vnc/x11vnc.h1
-rw-r--r--x11vnc/x11vnc_defs.c6
-rw-r--r--x11vnc/xdamage.c20
-rw-r--r--x11vnc/xdamage.h2
-rw-r--r--x11vnc/xevents.c6
37 files changed, 3523 insertions, 1811 deletions
diff --git a/x11vnc/ChangeLog b/x11vnc/ChangeLog
index f04114c..03e7c3c 100644
--- a/x11vnc/ChangeLog
+++ b/x11vnc/ChangeLog
@@ -1,3 +1,13 @@
+2007-01-31 Karl Runge <runge@karlrunge.com>
+ * x11vnc: -reflect reflector/repeater mode with libvncclient.
+ -ncache tweaks: no kde animations and wm improvements,
+ fixes to FINDDISPLAY and FINDCREATEDISPLAY login modes,
+ MODTWEAK_LOWEST envvar for HP-UX keyboard workaround.
+ -N option for display and rfbport matching.
+
+2007-01-12 Karl Runge <runge@karlrunge.com>
+ * x11vnc: -N option, more -ncache improvements, kde/gnome.
+
2007-01-03 Karl Runge <runge@karlrunge.com>
* x11vnc: more -ncache improvements.
diff --git a/x11vnc/Makefile.am b/x11vnc/Makefile.am
index 6bec182..c3b7f1a 100644
--- a/x11vnc/Makefile.am
+++ b/x11vnc/Makefile.am
@@ -1,5 +1,5 @@
AM_CFLAGS = -I $(top_srcdir)
-LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
+LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@
if OSX
x11vnc_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit -framework Cocoa
diff --git a/x11vnc/README b/x11vnc/README
index 333906e..c62ac76 100644
--- a/x11vnc/README
+++ b/x11vnc/README
@@ -1,5 +1,5 @@
-x11vnc README file Date: Wed Jan 10 12:06:50 EST 2007
+x11vnc README file Date: Wed Jan 31 10:08:11 EST 2007
The following information is taken from these URLs:
@@ -56,6 +56,8 @@ x11vnc: a VNC server for real X displays
tunnelling via SSH for: CUPS and SMB Printing, ESD/ARTSD Audio, and
SMB (Windows/Samba) filesystem mounting; and Port Knocking.
+ _________________________________________________________________
+
Background:
VNC (Virtual Network Computing) is a very useful network graphics
@@ -396,8 +398,8 @@ vncviewer -via $host localhost:0 # must be TightVNC vncviewer.
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:
+ VNC Viewers: To obtain VNC viewers for the viewing side (Windows, Mac
+ OS, or Unix) try these links:
* [68]http://www.tightvnc.com/download.html
* [69]http://www.realvnc.com/download-free.html
* [70]http://sourceforge.net/projects/cotvnc/
@@ -618,8 +620,21 @@ make
up by the configure and make.
+ Building on Mac OS X: There is now [83]native Mac OS X support for
+ x11vnc by using the raw framebuffer feature. This mode does not use or
+ need X11 at all. To build you may need to disable X11:
+./configure --without-x ...
+make
+
+ However, if your system has the Mac OS X build package for X11 apps
+ you will not need to supply the "--without-x" option (in this case the
+ resulting x11vnc would be able to export both the native Mac OS X
+ display and windows displayed in the XDarwin X server). Be sure to
+ include the ./configure option to find libjpeg on your system.
+
+
OpenSSL: Starting with version 0.8.3 x11vnc can now be built with
- [83]SSL support. For this to be enabled the libssl.so library needs to
+ [84]SSL support. For this to be enabled the libssl.so library needs to
be available at build time. So you may need to have additional
CPPFLAGS and LDFLAGS items if your libssl.so is in a non-standard
place.
@@ -628,7 +643,7 @@ make
Beta Testing:
I don't have any formal beta-testers for the releases of x11vnc, so
- I'd appreciate any additional testing very much!
+ I'd appreciate any additional testing very much.
Thanks to those who suggested features and helped beta test x11vnc
0.8.3 released in Nov 2006!
@@ -637,106 +652,116 @@ make
Spring 2007.
The version 0.8.4 beta tarball is kept here:
- [84]x11vnc-0.8.4.tar.gz
+ [85]x11vnc-0.8.4.tar.gz
There are also some Linux, Solaris, Mac OS X, and other OS test
- binaries [85]here. Please kick the tires and report bugs, performance
- regressions, undesired behavior, etc. to [86]me.
+ binaries [86]here. Please kick the tires and report bugs, performance
+ regressions, undesired behavior, etc. to [87]me.
- To aid testing of the [87]built-in SSL support for x11vnc, a number of
+ To aid testing of the [88]built-in SSL support for x11vnc, a number of
VNC Viewer packages for Unix, Mac OS X, and Windows have been created
that provide SSL Support for the TightVNC Viewer (this is done by
- [88]wrapper scripts and a GUI that start STUNNEL, [89]more details
+ [89]wrapper scripts and a GUI that start STUNNEL, [90]more details
here). It should be pretty convenient for automatic SSL and SSH
connections. It is described and can be downloaded from the
- [90]Enhanced TightVNC Viewer (ssvnc) page.
+ [91]Enhanced TightVNC Viewer (ssvnc) page.
Here are some features that will appear in the 0.8.4 release:
- * Native Mac OS X support.
+ * Native [92]Mac OS X Aqua/Quartz support. (i.e. OSXvnc alternative;
+ some activities are faster)
+ * A [93]new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY -unixpw
+ ..." that will Create a new X session (either virtual or real and
+ with or without a display manager, e.g. kdm) for the user if it
+ cannot find the user's X session display via the FINDDISPLAY
+ method.
+ * x11vnc can act as a VNC [94]reflector/repeater using the
+ "[95]-reflect host:N" option. Instead of polling an X display, the
+ remote VNC Server host:N is connected to and re-exported via VNC.
+ This is intended for use in broadcasting a display to many (e.g. >
+ 16) VNC viewers where bandwidth and other resources are conserved
+ by spreading the load over a number of repeaters.
* Wireframe copyrect detection for local user activity (e.g. someone
- sitting at the physical display moving windows)
- * Option [91]-nodpms to avoid problems with programs like KDE's
+ sitting at the physical display moving windows) Use
+ [96]-nowireframelocal to disable.
+ * Option [97]-nodpms to avoid problems with programs like KDE's
kdesktop_lock that keep restarting the screen saver every few
seconds.
- * A new login mode: "-display wait:cmd=FINDCREATEDISPLAY -unixpw
- ..." that will Create a new X session (either virtual or real) for
- the user if it cannot find the user's X session display.
* To automatically fix the common mouse motion problem on XINERAMA
- (multi-headed) displays, the [92]-xwarppointer option is enabled
+ (multi-headed) displays, the [98]-xwarppointer option is enabled
by default when XINERAMA is active.
- * [93]Viewer-side pixmap caching. This one might not make it into
- 0.8.4 but will benefit from much testing, thanks. A large area of
- pixels (at least 2-3 times as big as the framebuffer itself; the
- bigger the better...) is placed below the framebuffer to act as a
+ * [99]Viewer-side pixmap caching. This one might not make it into
+ 0.8.4 but will benefit from much testing. A large area of pixels
+ (at least 2-3 times as big as the framebuffer itself; the bigger
+ the better...) is placed below the framebuffer to act as a
buffer/cache area for pixel data. The VNC CopyRect encoding is
used to move it around (so any viewer should work). Until we start
modifying viewers you will be able to see the cache area if you
- scroll down (this makes it easier to debug!). Test it with
- something like "-ncache 12".
+ scroll down (this makes it easier to debug!). For testing the
+ default is "-ncache 12".
- If you have a Mac please try out the native Mac OS X support (build
- with "./configure --without-x", or download a binary mentioned above),
- (even if you don't plan on using it in this mode!), and let me know
- how it went. Thanks.
+ If you have a Mac please try out the native Mac OS X support, build
+ with "./configure --without-x", or download a binary mentioned above,
+ (even if you don't plan on ever using it in this mode!), and let me
+ know how it went. Thanks.
Here are some features that appeared in the 0.8.3 release:
- * The [94]-ssl option provides SSL encryption and authentication
- natively via the [95]www.openssl.org library. One can use from a
+ * The [100]-ssl option provides SSL encryption and authentication
+ natively via the [101]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 [96]-stunnel option starts up a SSL tunnel
+ * Similar to -ssl, the [102]-stunnel option starts up a SSL tunnel
server stunnel (that must be installed separately on the system:
- [97]www.stunnel.org [98]stunnel.mirt.net ) to allow only encrypted
- SSL connections from the network.
- * The [99]-sslverify option allows for authenticating VNC clients
+ [103]www.stunnel.org [104]stunnel.mirt.net ) to allow only
+ encrypted SSL connections from the network.
+ * The [105]-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
- [100]-sslGenCert, [101]-sslGenCA, and [102]related options.
+ [106]-sslGenCert, [107]-sslGenCA, and [108]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 [103]-https port option). A wrapper shell script
- [104]ss_vncviewer is also provided that sets up a stunnel
- client-side tunnel on Unix systems. See [105]Enhanced TightVNC
+ separate [109]-https port option). A wrapper shell script
+ [110]ss_vncviewer is also provided that sets up a stunnel
+ client-side tunnel on Unix systems. See [111]Enhanced TightVNC
Viewer (ssvnc) for other SSL/SSH viewer possibilities.
- * The [106]-unixpw option supports Unix username and password
- authentication (a simpler variant is the [107]-unixpw_nis option
+ * The [112]-unixpw option supports Unix username and password
+ authentication (a simpler variant is the [113]-unixpw_nis option
that works in environments where the encrypted passwords are
- readable, e.g. NIS). The [108]-ssl or [109]-localhost +
- [110]-stunnel options are enforced in this mode to prevent
+ readable, e.g. NIS). The [114]-ssl or [115]-localhost +
+ [116]-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 [111]-unixpw with "[112]-display WAIT:cmd=FINDDISPLAY" or
+ * Coupling [117]-unixpw with "[118]-display WAIT:cmd=FINDDISPLAY" or
"-display WAIT:cmd=FINDCREATEDISPLAY" provides a way to allow a
user to login with their UNIX password and have their display
- connected to [113]automatically.
- * Hooks are provided in the [114]-unixpw_cmd and "[115]-passwdfile
+ connected to [119]automatically.
+ * Hooks are provided in the [120]-unixpw_cmd and "[121]-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 [116]-rawfb only operation (e.g.
+ "./configure --without-x" for [122]-rawfb only operation (e.g.
embedded linux console devices).
- * The [117]-rotate option enables you to rotate or reflect the
+ * The [123]-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 "[118]-ultrafilexfer" alias is provided and improved UltraVNC
+ * The "[124]-ultrafilexfer" alias is provided and improved UltraVNC
filetransfer rates have been achieved.
- * Under the "[119]-connect_or_exit host" option x11vnc will exit
+ * Under the "[125]-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 "[120]-rawfb rand" and "-rawfb none" options are useful for
+ * The "[126]-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 "[121]-verbose"
+ * Reduced spewing of information at startup, use "[127]-verbose"
(also "-v") to turn it back on for debugging or if you are going
to send me a problem report.
- Here are some [122]Previous Release Notes
+ Here are some [128]Previous Release Notes
_________________________________________________________________
Some Notes:
@@ -763,11 +788,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 [123]-solid [color] option that
+ Update: As of Feb/2005 x11vnc has the [129]-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 [124]TightVNC encoding gives the best response for my
+ I also find the [130]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.
@@ -779,16 +804,17 @@ make
is X11's default listening port). Had port 5900 been taken by some
other application, x11vnc would have next tried 5901. That would mean
the viewer command above should be changed to vncviewer
- far-away.east:1. You can force the port with the "[125]-rfbport NNNN"
+ far-away.east:1. You can force the port with the "[131]-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)
+ taken, x11vnc will exit immediately. The "[132]-N" option will try to
+ match the VNC display number to the X display. (also see the "SunRay
+ Gotcha" note below)
Options: x11vnc has (far too) many features that may be activated
- via its [126]command line options. Useful options are, e.g., -scale to
+ via its [133]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
- [127]-storepasswd option can be used to create the password file).
+ [134]-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
@@ -815,7 +841,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 [128]even more
+ window manager decorations. There will be an [135]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
@@ -825,8 +851,8 @@ make
Sun Ray Notes:
- You can run x11vnc on your (connected or disconnected) [129]SunRay
- session. Here are some [130]notes on SunRay usage with x11vnc.
+ You can run x11vnc on your (connected or disconnected) [136]SunRay
+ session. Here are some [137]notes on SunRay usage with x11vnc.
_________________________________________________________________
@@ -838,7 +864,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
- [131]-scrollcopyrect and [132]-wireframe speedups using the
+ [138]-scrollcopyrect and [139]-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
@@ -885,14 +911,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
- [133]this FAQ for details.
+ [140]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" [134]options, however, for a partial hack
+ X" and "-cursor some" [141]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 [135]-overlay option is also supplied. A similar thing is done
+ the [142]-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
@@ -900,18 +926,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 [136]the FAQ on this below.) The
+ redirectors do exist, e.g. esd [143]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 [137]-scrollcopyrect option
+ * The scroll detection algorithm for the [144]-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 [138]contact me if you have any questions,
+ Please feel free to [145]contact me if you have any questions,
problems, or comments about x11vnc, etc.
- Also, some people ask if they can make a donation, see [139]this link
+ Also, some people ask if they can make a donation, see [146]this link
for that.
_________________________________________________________________
@@ -920,350 +946,351 @@ make
[Building and Starting]
- [140]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed
+ [147]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?
- [141]Q-2: I can't get x11vnc and/or libvncserver to compile.
+ [148]Q-2: I can't get x11vnc and/or libvncserver to compile.
- [142]Q-3: I just built x11vnc successfully, but when I use it my
+ [149]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).
- [143]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old
+ [150]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old
Unix/Linux) and it doesn't compile!
- [144]Q-5: Where can I get a precompiled x11vnc binary for my Operating
+ [151]Q-5: Where can I get a precompiled x11vnc binary for my Operating
System?
- [145]Q-6: Where can I get a VNC Viewer binary (or source code) for the
+ [152]Q-6: Where can I get a VNC Viewer binary (or source code) for the
Operating System I will be viewing from?
- [146]Q-7: How can I see all of x11vnc's command line options and
+ [153]Q-7: How can I see all of x11vnc's command line options and
documentation on how to use them?
- [147]Q-8: I don't like typing arcane command line options every time I
+ [154]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?
- [148]Q-9: How can I get the GUI to run in the System Tray, or at least
+ [155]Q-9: How can I get the GUI to run in the System Tray, or at least
be a smaller, simpler icon?
- [149]Q-10: How can I get x11vnc to listen on a different port besides
+ [156]Q-10: How can I get x11vnc to listen on a different port besides
the default VNC port (5900)?
- [150]Q-11: Can I make x11vnc more quiet and also go into the
+ [157]Q-11: Can I make x11vnc more quiet and also go into the
background after starting up?
- [151]Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies
+ [158]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.
- [152]Q-13: Are there any build-time customizations possible, e.g.
+ [159]Q-13: Are there any build-time customizations possible, e.g.
change defaults, create a smaller binary, etc?
[Win2VNC Related]
- [153]Q-14: I have two separate machine displays in front of me, one
+ [160]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?
- [154]Q-15: I am running Win2VNC on my Windows machine and "x11vnc
+ [161]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
- [155]Q-16: Can I run "x11vnc -nofb" on a Mac OS X machine to redirect
+ [162]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]
- [156]Q-17: The X display I run x11vnc on is only 8 bits per pixel
+ [163]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.
- [157]Q-18: Color problems: Why are the colors for some windows
+ [164]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.
- [158]Q-19: How do I figure out the window id to supply to the -id
+ [165]Q-19: How do I figure out the window id to supply to the -id
windowid option?
- [159]Q-20: Why don't menus or other transient windows come up when I
+ [166]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?
- [160]Q-21: My X display is depth 24 at 24bpp (instead of the normal
+ [167]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]
- [161]Q-22: Can I use x11vnc to view and interact with an Xterminal
+ [168]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?
- [162]Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file)
+ [169]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]
- [163]Q-24: I'm having trouble using x11vnc with my Sun Ray session.
+ [170]Q-24: I'm having trouble using x11vnc with my Sun Ray session.
[Remote Control]
- [164]Q-25: How do I stop x11vnc once it is running in the background?
+ [171]Q-25: How do I stop x11vnc once it is running in the background?
- [165]Q-26: Can I change settings in x11vnc without having to restart
+ [172]Q-26: Can I change settings in x11vnc without having to restart
it? Can I remote control it?
[Security and Permissions]
- [166]Q-27: How do I create a VNC password for use with x11vnc?
+ [173]Q-27: How do I create a VNC password for use with x11vnc?
- [167]Q-28: Can I make it so -storepasswd doesn't show my password on
+ [174]Q-28: Can I make it so -storepasswd doesn't show my password on
the screen?
- [168]Q-29: Can I have two passwords for VNC viewers, one for full
+ [175]Q-29: Can I have two passwords for VNC viewers, one for full
access and the other for view-only access to the display?
- [169]Q-30: Can I have as many full-access and view-only passwords as I
+ [176]Q-30: Can I have as many full-access and view-only passwords as I
like?
- [170]Q-31: Does x11vnc support Unix usernames and passwords? Can I
+ [177]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?
- [171]Q-32: Can I supply an external program to provide my own custom
+ [178]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)?
- [172]Q-33: Why does x11vnc exit as soon as the VNC viewer disconnects?
+ [179]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?
- [173]Q-34: Can I limit which machines incoming VNC clients can connect
+ [180]Q-34: Can I limit which machines incoming VNC clients can connect
from?
- [174]Q-35: How do I build x11vnc/libvncserver with libwrap
+ [181]Q-35: How do I build x11vnc/libvncserver with libwrap
(tcp_wrappers) support?
- [175]Q-36: Can I have x11vnc only listen on one network interface
+ [182]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?
- [176]Q-37: Now that -localhost implies listening only on the loopback
+ [183]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?
- [177]Q-38: Can I fine tune what types of user input are allowed? E.g.
+ [184]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?
- [178]Q-39: Can I prompt the user at the local X display whether the
+ [185]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?
- [179]Q-40: I start x11vnc as root because it is launched via inetd(8)
+ [186]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?
- [180]Q-41: I use a screen-lock when I leave my workstation (e.g.
+ [187]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?
- [181]Q-42: Can I have x11vnc automatically lock the screen when I
+ [188]Q-42: Can I have x11vnc automatically lock the screen when I
disconnect the VNC viewer?
[Encrypted Connections]
- [182]Q-43: How can I tunnel my connection to x11vnc via an encrypted
+ [189]Q-43: How can I tunnel my connection to x11vnc via an encrypted
SSH channel between two Unix machines?
- [183]Q-44: How can I tunnel my connection to x11vnc via an encrypted
+ [190]Q-44: How can I tunnel my connection to x11vnc via an encrypted
SSH channel from Windows using an SSH client like Putty?
- [184]Q-45: How can I tunnel my connection to x11vnc via an encrypted
+ [191]Q-45: How can I tunnel my connection to x11vnc via an encrypted
SSL channel using an external tool like stunnel?
- [185]Q-46: Does x11vnc have built-in SSL tunneling?
+ [192]Q-46: Does x11vnc have built-in SSL tunneling?
- [186]Q-47: How do I use VNC Viewers with built-in SSL tunneling?
+ [193]Q-47: How do I use VNC Viewers with built-in SSL tunneling?
- [187]Q-48: How do I use VNC Viewers with built-in SSL tunneling when
+ [194]Q-48: How do I use VNC Viewers with built-in SSL tunneling when
going through a Web Proxy?
- [188]Q-49: Can Apache web server act as a gateway for users to connect
+ [195]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?
- [189]Q-50: Can I create and use my own SSL Certificate Authority (CA)
+ [196]Q-50: Can I create and use my own SSL Certificate Authority (CA)
with x11vnc?
[Display Managers and Services]
- [190]Q-51: How can I run x11vnc as a "service" that is always
+ [197]Q-51: How can I run x11vnc as a "service" that is always
available?
- [191]Q-52: How can I use x11vnc to connect to an X login screen like
+ [198]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).
- [192]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
+ [199]Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
- [193]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?
+ [200]Q-54: Can I have x11vnc allow a user to log in with her UNIX
+ password and then have it find her X session display on that machine
+ and then connect to it? How about starting an X session if one cannot
+ be found?
- [194]Q-55: Can I have x11vnc restart itself after it terminates?
+ [201]Q-55: Can I have x11vnc restart itself after it terminates?
- [195]Q-56: How do I make x11vnc work with the Java VNC viewer applet
+ [202]Q-56: How do I make x11vnc work with the Java VNC viewer applet
in a web browser?
- [196]Q-57: Are reverse connections (i.e. the VNC server connecting to
+ [203]Q-57: Are reverse connections (i.e. the VNC server connecting to
the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported?
- [197]Q-58: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a
+ [204]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).
- [198]Q-59: How can I use x11vnc on "headless" machines? Why might I
+ [205]Q-59: How can I use x11vnc on "headless" machines? Why might I
want to?
[Resource Usage and Performance]
- [199]Q-60: I have lots of memory, but why does x11vnc fail with
+ [206]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)?
- [200]Q-61: How can I make x11vnc use less system resources?
+ [207]Q-61: How can I make x11vnc use less system resources?
- [201]Q-62: How can I make x11vnc use MORE system resources?
+ [208]Q-62: How can I make x11vnc use MORE system resources?
- [202]Q-63: I use x11vnc over a slow link with high latency (e.g.
+ [209]Q-63: I use x11vnc over a slow link with high latency (e.g.
dialup modem or broadband), is there anything I can do to speed things
up?
- [203]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find
+ [210]Q-64: Does x11vnc support the X DAMAGE Xserver extension to find
modified regions of the screen quickly and efficiently?
- [204]Q-65: My OpenGL application shows no screen updates unless I
+ [211]Q-65: My OpenGL application shows no screen updates unless I
supply the -noxdamage option to x11vnc.
- [205]Q-66: When I drag windows around with the mouse or scroll up and
+ [212]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?
- [206]Q-67: Why not do something like wireframe animations to avoid the
+ [213]Q-67: Why not do something like wireframe animations to avoid the
windows "lurching" when being moved or resized?
- [207]Q-68: Can x11vnc try to apply heuristics to detect when a window
+ [214]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?
- [208]Q-69: Can x11vnc do client-side caching of pixel data? I.e. so
+ [215]Q-69: Can x11vnc do client-side caching of pixel data? I.e. so
when that pixel data is needed again it does not have to be
retransmitted over the network.
[Mouse Cursor Shapes]
- [209]Q-70: Why isn't the mouse cursor shape (the little icon shape
+ [216]Q-70: Why isn't the mouse cursor shape (the little icon shape
where the mouse pointer is) correct as I move from window to window?
- [210]Q-71: When using XFIXES cursorshape mode, some of the cursors
+ [217]Q-71: When using XFIXES cursorshape mode, some of the cursors
look really bad with extra black borders around the cursor and other
cruft. How can I improve their appearance?
- [211]Q-72: In XFIXES mode, are there any hacks to handle cursor
+ [218]Q-72: In XFIXES mode, are there any hacks to handle cursor
transparency ("alpha channel") exactly?
[Mouse Pointer]
- [212]Q-73: Why does the mouse arrow just stay in one corner in my
+ [219]Q-73: Why does the mouse arrow just stay in one corner in my
vncviewer, whereas my cursor (that does move) is just a dot?
- [213]Q-74: Can I take advantage of the TightVNC extension to the VNC
+ [220]Q-74: Can I take advantage of the TightVNC extension to the VNC
protocol where Cursor Positions Updates are sent back to all connected
clients (i.e. passive viewers can see the mouse cursor being moved
around by another viewer)?
- [214]Q-75: Is it possible to swap the mouse buttons (e.g. left-handed
+ [221]Q-75: Is it possible to swap the mouse buttons (e.g. left-handed
operation), or arbitrarily remap them? How about mapping button clicks
to keystrokes, e.g. to partially emulate Mouse wheel scrolling?
[Keyboard Issues]
- [215]Q-76: How can I get my AltGr and Shift modifiers to work between
+ [222]Q-76: How can I get my AltGr and Shift modifiers to work between
keyboards for different languages?
- [216]Q-77: When I try to type a "<" (i.e. less than) instead I get ">"
+ [223]Q-77: When I try to type a "<" (i.e. less than) instead I get ">"
(i.e. greater than)! Strangely, typing ">" works OK!!
- [217]Q-78: When I try to type a "<" (i.e. less than) instead I get
+ [224]Q-78: When I try to type a "<" (i.e. less than) instead I get
"<," (i.e. an extra comma).
- [218]Q-79: I'm using an "international" keyboard (e.g. German "de", or
+ [225]Q-79: I'm using an "international" keyboard (e.g. German "de", or
Danish "dk") and the -modtweak mode works well if the VNC viewer is
run on a Unix/Linux machine with a similar keyboard. But if I run
the VNC viewer on Unix/Linux with a different keyboard (e.g. "us") or
Windows with any keyboard, I can't type some keys like: "@", "$",
"<", ">", etc. How can I fix this?
- [219]Q-80: When typing I sometimes get double, triple, or more of my
+ [226]Q-80: When typing I sometimes get double, triple, or more of my
keystrokes repeated. I'm sure I only typed them once, what can I do?
- [220]Q-81: The x11vnc -norepeat mode is in effect, but I still get
+ [227]Q-81: The x11vnc -norepeat mode is in effect, but I still get
repeated keystrokes!!
- [221]Q-82: The machine where I run x11vnc has an AltGr key, but the
+ [228]Q-82: The machine where I run x11vnc has an AltGr key, but the
local machine where I run the VNC viewer does not. Is there a way I
can map a local unused key to send an AltGr? How about a Compose key
as well?
- [222]Q-83: I have a Sun machine I run x11vnc on. Its Sun keyboard has
+ [229]Q-83: I have a Sun machine I run x11vnc on. Its Sun keyboard has
just one Alt key labelled "Alt" and two Meta keys labelled with little
diamonds. The machine where I run the VNC viewer only has Alt keys.
How can I send a Meta keypress? (e.g. emacs needs this)
- [223]Q-84: Can I map a keystroke to a mouse button click on the remote
+ [230]Q-84: Can I map a keystroke to a mouse button click on the remote
machine?
- [224]Q-85: How can I get Caps_Lock to work between my VNC viewer and
+ [231]Q-85: How can I get Caps_Lock to work between my VNC viewer and
x11vnc?
[Screen Related Issues and Features]
- [225]Q-86: The remote display is larger (in number of pixels) than the
+ [232]Q-86: 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?
- [226]Q-87: Does x11vnc support server-side framebuffer scaling? (E.g.
+ [233]Q-87: Does x11vnc support server-side framebuffer scaling? (E.g.
to make the desktop smaller).
- [227]Q-88: Does x11vnc work with Xinerama? (i.e. multiple monitors
+ [234]Q-88: Does x11vnc work with Xinerama? (i.e. multiple monitors
joined together to form one big, single screen).
- [228]Q-89: Can I use x11vnc on a multi-headed display that is not
+ [235]Q-89: Can I use x11vnc on a multi-headed display that is not
Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)?
- [229]Q-90: Can x11vnc show only a portion of the display? (E.g. for a
+ [236]Q-90: Can x11vnc show only a portion of the display? (E.g. for a
special purpose rfb application).
- [230]Q-91: Does x11vnc support the XRANDR (X Resize, Rotate and
+ [237]Q-91: Does x11vnc support the XRANDR (X Resize, Rotate and
Reflection) extension? Whenever I rotate or resize the screen x11vnc
just seems to crash.
- [231]Q-92: Independent of any XRANDR, can I have x11vnc rotate and/or
+ [238]Q-92: 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).
- [232]Q-93: Why is the view in my VNC viewer completely black? Or why
+ [239]Q-93: Why is the view in my VNC viewer completely black? Or why
is everything flashing around randomly?
- [233]Q-94: I use Linux Virtual Consoles (VC's) to implement 'Fast User
+ [240]Q-94: 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
@@ -1271,60 +1298,64 @@ make
otherwise all messed up unless the X session x11vnc is attached to is
in the active VC?
- [234]Q-95: I am using x11vnc where my local machine has "popup/hidden
+ [241]Q-95: 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?
- [235]Q-96: Help! x11vnc and my KDE screensaver keep switching each
+ [242]Q-96: Help! x11vnc and my KDE screensaver keep switching each
other on and off every few seconds.
- [236]Q-97: Can I use x11vnc to view my VMWare session remotely?
+ [243]Q-97: Can I use x11vnc to view my VMWare session remotely?
[Exporting non-X11 devices via VNC]
- [237]Q-98: Can non-X devices (e.g. a raw framebuffer) be viewed (and
+ [244]Q-98: Can non-X devices (e.g. a raw framebuffer) be viewed (and
even controlled) via VNC with x11vnc?
- [238]Q-99: Can I export via VNC a Webcam or TV tuner framebuffer using
+ [245]Q-99: Can I export via VNC a Webcam or TV tuner framebuffer using
x11vnc?
- [239]Q-100: Can I connect via VNC to a Qt-embedded/Qtopia application
+ [246]Q-100: 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)?
- [240]Q-101: Now that non-X11 devices can be exported via VNC using
+ [247]Q-101: 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?
- [241]Q-102: Does x11vnc support Mac OS X Aqua/Quartz displays natively
+ [248]Q-102: Does x11vnc support Mac OS X Aqua/Quartz displays natively
(i.e. no X11 involved)?
+ [249]Q-103: Can x11vnc be used as a VNC reflector/repeater to improve
+ performance for the case of a large number of simultaneous VNC viewers
+ (e.g. classroom broadcasting or a large demo)?
+
[Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps,
Thanks, etc.]
- [242]Q-103: Does the Clipboard/Selection get transferred between the
+ [250]Q-104: Does the Clipboard/Selection get transferred between the
vncviewer and the X display?
- [243]Q-104: Can I use x11vnc to record a Shock Wave Flash (or other
+ [251]Q-105: 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?
- [244]Q-105: Can I transfer files back and forth with x11vnc?
+ [252]Q-106: Can I transfer files back and forth with x11vnc?
- [245]Q-106: Can I (temporarily) mount my local (viewer-side)
+ [253]Q-107: Can I (temporarily) mount my local (viewer-side)
Windows/Samba File share on the machine where x11vnc is running?
- [246]Q-107: Can I redirect CUPS print jobs from the remote desktop
+ [254]Q-108: Can I redirect CUPS print jobs from the remote desktop
where x11vnc is running to a printer on my local (viewer-side)
machine?
- [247]Q-108: How can I hear the sound (audio) from the remote
+ [255]Q-109: How can I hear the sound (audio) from the remote
applications on the desktop I am viewing via x11vnc?
- [248]Q-109: Why don't I hear the "Beeps" in my X session (e.g. when
+ [256]Q-110: Why don't I hear the "Beeps" in my X session (e.g. when
typing tput bel in an xterm)?
- [249]Q-110: Thanks for your program and for your help! Can I make a
+ [257]Q-111: Thanks for your program and for your help! Can I make a
donation?
_________________________________________________________________
@@ -1337,7 +1368,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 [250]-display
+ on). Set your DISPLAY environment variable or use the [258]-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).
@@ -1354,9 +1385,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 [251]this Howto for much info on X11 permissions. For example, you
+ or [259]this Howto for much info on X11 permissions. For example, you
may need to set your XAUTHORITY environment variable or use the
- [252]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g.
+ [260]-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
@@ -1378,7 +1409,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 [253]this faq for other display manager
+ read the gdm cookie file, see [261]this faq for other display manager
cookie file names). While running x11vnc as root, remember it comes
with no warranty ;-).
@@ -1388,7 +1419,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 [254]-users option).
+ (please read the documentation on the [262]-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
@@ -1566,7 +1597,7 @@ h
earlier and perhaps non-Solaris):
First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the
- above [255]Solaris build script to run the configure command. That
+ above [263]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
@@ -1592,7 +1623,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
- [256]SunOS 4.x
+ [264]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
@@ -1602,28 +1633,28 @@ typedef unsigned int in_addr_t;
Q-5: Where can I get a precompiled x11vnc binary for my Operating
System?
- Hopefully the [257]build steps above and [258]FAQ provide enough info
+ Hopefully the [265]build steps above and [266]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) [259]http://packages.debian.org/x11vnc
-
- Slackware: (.tgz) [260]http://www.linuxpackages.net/ Redhat/Fedora:
- (.rpm) [261]http://dag.wieers.com/packages/x11vnc/
- [262]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm)
- [263]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg)
- [264]http://www.sunfreeware.com/ FreeBSD: (.tbz)
- [265]http://www.freebsd.org/ [266]http://www.freshports.org/net/x11vnc
- OpenBSD: (.tgz) [267]http://www.openbsd.org/ NetBSD: (src)
- [268]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb)
- [269]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp
- Zaurus [270]http://www.pdaxrom.org/ and [271]http://www.focv.com/
+ Debian: (.deb) [267]http://packages.debian.org/x11vnc
+
+ Slackware: (.tgz) [268]http://www.linuxpackages.net/ Redhat/Fedora:
+ (.rpm) [269]http://dag.wieers.com/packages/x11vnc/
+ [270]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm)
+ [271]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg)
+ [272]http://www.sunfreeware.com/ FreeBSD: (.tbz)
+ [273]http://www.freebsd.org/ [274]http://www.freshports.org/net/x11vnc
+ OpenBSD: (.tgz) [275]http://www.openbsd.org/ NetBSD: (src)
+ [276]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb)
+ [277]http://mike.saunby.googlepages.com/x11vncfornokia7702 Sharp
+ Zaurus [278]http://www.pdaxrom.org/ and [279]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 [272]my collection of
+ (and all else fails!) you can try one of [280]my collection of
binaries for various OS's and x11vnc releases.
As a general note, the x11vnc program is simple enough you don't
@@ -1641,7 +1672,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 [273]-httpdir option. E.g.:
+ tarball and point x11vnc to it via the [281]-httpdir option. E.g.:
x11vnc -httpdir /path/to/x11vnc-0.8.3/classes/ssl ...
@@ -1650,11 +1681,11 @@ typedef unsigned int in_addr_t;
To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix)
try here:
- * [274]http://www.tightvnc.com/download.html
- * [275]http://www.realvnc.com/download-free.html
- * [276]http://sourceforge.net/projects/cotvnc/
- * [277]http://www.ultravnc.com/
- * [278]Our Enhanced TightVNC Viewer (ssvnc)
+ * [282]http://www.tightvnc.com/download.html
+ * [283]http://www.realvnc.com/download-free.html
+ * [284]http://sourceforge.net/projects/cotvnc/
+ * [285]http://www.ultravnc.com/
+ * [286]Our Enhanced TightVNC Viewer (ssvnc)
Q-7: How can I see all of x11vnc's command line options and
@@ -1662,7 +1693,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
- [279]here as well. Yes, x11vnc does have a lot of options, doesn't
+ [287]here as well. Yes, x11vnc does have a lot of options, doesn't
it...
@@ -1694,10 +1725,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 [280]-gui option for more info. Examples: "x11vnc
+ for testing. See the [288]-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 "[281]-gui tray" system tray mode.
+ also a "[289]-gui tray" system tray mode.
Q-9: How can I get the GUI to run in the System Tray, or at least be a
@@ -1732,15 +1763,19 @@ display :0
PORT=59xx line to see which port it found, then subtract 5900 from it
for the VNC display number to enter into the VNC Viewer(s).
+ The "[290]-N" option will try to match the VNC display number to the X
+ display (e.g. X11 DISPLAY of :5 (port 6005) will have VNC display :5
+ (port 5905)).
+
Q-11: Can I make x11vnc more quiet and also go into the background
after starting up?
- Use the [282]-q and [283]-bg options, respectively. (also: -quiet is
+ Use the [291]-q and [292]-bg options, respectively. (also: -quiet is
an alias for -q)
Note that under -bg the stderr messages will be lost unless you use
- the "[284]-o logfile" option.
+ the "[293]-o logfile" option.
Q-12: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with
@@ -1761,7 +1796,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 [285]build notes for general background).
+ (see the [294]build notes for general background).
/*
* Mar/2006
* Build-time customization via CPPFLAGS.
@@ -1832,21 +1867,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 "[286]-nofb" option
+ Yes, for best response start up x11vnc with the "[295]-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 [287]x2vnc, however you would
+ This will also work X11 to X11 using [296]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:
- * [288]Original Win2VNC
- * [289]Enhanced Win2VNC and [290]sourceforge link
- * [291]x2vnc
- * [292]x2x also [293]here
- * [294]zvnc (MorphOS)
+ * [297]Original Win2VNC
+ * [298]Enhanced Win2VNC and [299]sourceforge link
+ * [300]x2vnc
+ * [301]x2x also [302]here
+ * [303]zvnc (MorphOS)
All of them will work with x11vnc (except x2x where it is not needed).
@@ -1866,7 +1901,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 [295]-visual option to allow you to force the framebuffer
+ has the [304]-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:
@@ -1880,7 +1915,7 @@ display :0
and keyboard input to it from Windows and X11 machines via Win2VNC and
x2vnc, respectively?
- Yes, as of Nov/2006 [296]you can. There may be a trick or two you'll
+ Yes, as of Nov/2006 [305]you can. There may be a trick or two you'll
need to do to get the Clipboard exchange between the machines to work.
@@ -1891,7 +1926,7 @@ display :0
PseudoColor (i.e. only 256 distinct colors). The x11vnc colors may
start out OK, but after a while they are incorrect in certain windows.
- Use the [297]-flashcmap option to have x11vnc watch for changes in the
+ Use the [306]-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
@@ -1900,13 +1935,13 @@ display :0
example of this. Consider reconfiguring the system to 16 bpp or depth
24 TrueColor if at all possible.
- Also note the option [298]-8to24 (Jan/2006) can often remove the need
+ Also note the option [307]-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 [299]-notruecolor option has corrected colors
+ In some rare cases the [308]-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.
@@ -1917,13 +1952,13 @@ display :0
different color depths: e.g. there are both depth 8 and 24 visuals
available at the same time.
- You may want to review the [300]previous question regarding 8 bpp
+ You may want to review the [309]previous question regarding 8 bpp
PseudoColor.
- On some hardware (Sun/SPARC and SGI), the [301]-overlay option
+ On some hardware (Sun/SPARC and SGI), the [310]-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
- [302]-8to24 option may help (also discussed below).
+ [311]-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
@@ -1959,7 +1994,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 [303]-overlay x11vnc option (Aug/2004) to have x11vnc use the
+ use the [312]-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
@@ -1984,7 +2019,7 @@ TrueColor defdepth 24
Xsun, e.g. in your /etc/dt/config/Xservers file).
- The -8to24 mode: The [304]-8to24 x11vnc option (Jan/2006) is a kludge
+ The -8to24 mode: The [313]-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
@@ -1998,11 +2033,11 @@ TrueColor defdepth 24
32bpp view is exported via VNC.
Even on pure 8bpp displays it can be used as an alternative to
- [305]-flashcmap to avoid color flashing completely.
+ [314]-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: [306]-fixscreen V=3.0 to
+ row, or by using something like: [315]-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.
@@ -2015,23 +2050,23 @@ TrueColor defdepth 24
nogetimage can give a nice speedup if the default depth 24 X server
supports hiding the 8bpp bits in bits 25-32 of the framebuffer data.
On very slow machines -8to24 poll=0.2,cachewin=5.0 gives an useful
- speedup. See the [307]-8to24 help description for information on
+ speedup. See the [316]-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 [308]-id option to
+ possible workaround in this case is to use the [317]-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 [309]-8to24 method
+ for x11vnc to be able to do so in real time. The [318]-8to24 method
does this approximately and is somewhat usable. Fortunately the
- [310]-overlay option works for Solaris machines with overlay visuals
+ [319]-overlay option works for Solaris machines with overlay visuals
where most of this problem occurs.
@@ -2042,9 +2077,9 @@ TrueColor defdepth 24
the desired application window. After clicking, it will print out much
information, including the window id (e.g. 0x6000010). Also, the
visual and depth of the window printed out is often useful in
- debugging x11vnc [311]color problems.
+ debugging x11vnc [320]color problems.
- Also, as of Dec/2004 you can use "[312]-id pick" to have x11vnc run
+ Also, as of Dec/2004 you can use "[321]-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.
@@ -2062,7 +2097,7 @@ TrueColor defdepth 24
you should be able to see these transient windows.
If things are not working and you still want to do the single window
- polling, try the [313]-sid windowid option ("shifted" windowid).
+ polling, try the [322]-sid windowid option ("shifted" windowid).
Q-21: My X display is depth 24 at 24bpp (instead of the normal depth
@@ -2097,7 +2132,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 [314]-24to32 option to have
+ Update: as of Apr/2006 you can use the [323]-24to32 option to have
x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra
transformation could slow things down further however.
@@ -2116,15 +2151,15 @@ TrueColor defdepth 24
since you will be polling the X display over the network as opposed to
over the local hardware. To do this, run x11vnc on a UNIX machine as
close as possible network-wise (e.g. same switch) to the Xterminal
- machine. Use the [315]-display option to point the display to that of
+ machine. Use the [324]-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 [316]-noshm option (this enables the polling
+ and finally supply the [325]-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 [317]-flipbyteorder if the
+ on the polling rate. You may also need [326]-flipbyteorder if the
colors get messed up due to endian byte order differences.
Q-23: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct
@@ -2148,7 +2183,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
- [318]-auth option to point to the correct file). Other options include
+ [327]-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 -
@@ -2160,7 +2195,7 @@ TrueColor defdepth 24
details.
If the display name in the cookie file needs to be changed between the
- two hosts, see [319]this note on the "xauth add ..." command.
+ two hosts, see [328]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
@@ -2174,7 +2209,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 [320]poll
+ Not recommended, but as a last resort, you could have x11vnc [329]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...)
@@ -2203,13 +2238,13 @@ TrueColor defdepth 24
Q-24: I'm having trouble using x11vnc with my Sun Ray session.
- The [321]Sun Ray technology is a bit like "VNC done in hardware" (the
+ The [330]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 [322]this discussion of Sun Ray issues for
+ "Soft Ray". Please see [331]this discussion of Sun Ray issues for
solutions to problems.
[Remote Control]
@@ -2217,18 +2252,18 @@ TrueColor defdepth 24
Q-25: How do I stop x11vnc once it is running in the background?
As of Dec/2004 there is a remote control feature. It can change a huge
- amount of things on the fly: see the [323]-remote and [324]-query
+ amount of things on the fly: see the [332]-remote and [333]-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 [325]-forever option has not been supplied, x11vnc will
+ If the [334]-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 [326]-bg option
+ If you have not put x11vnc in the background via the [335]-bg option
or shell & operator, then simply press Ctrl-C in the shell where
x11vnc is running to stop it.
@@ -2238,15 +2273,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 [327]-clear_mods
- option and [328]-clear_keys option can be used to release pressed keys
+ by tapping Ctrl, Shift, and Alt. Alternatively, the [336]-clear_mods
+ option and [337]-clear_keys option can be used to release pressed keys
at startup and exit.
Q-26: Can I change settings in x11vnc without having to restart it?
Can I remote control it?
- Look at the [329]-remote (same as -R) and [330]-query (same as -Q)
+ Look at the [338]-remote (same as -R) and [339]-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",
@@ -2257,7 +2292,7 @@ TrueColor defdepth 24
correctly for communication to be possible.
There is also a simple Tcl/Tk gui based on this remote control
- mechanism. See the [331]-gui option for more info. You will need to
+ mechanism. See the [340]-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".
@@ -2272,12 +2307,12 @@ TrueColor defdepth 24
vncpasswd(1) program from those packages.
As of Jun/2004 x11vnc supports the -storepasswd "pass" "file"
- [332]option, which is the same functionality of storepasswd. Be sure
+ [341]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: "[333]-rfbauth
+ You then use the password via the x11vnc option: "[342]-rfbauth
$HOME/myvncpasswd"
As of Jan/2006 if you do not supply any arguments:
@@ -2289,11 +2324,11 @@ TrueColor defdepth 24
~/.mypass", the password you are prompted for will be stored in that
file.
- x11vnc also has the [334]-passwdfile and -passwd/-viewpasswd plain
+ x11vnc also has the [343]-passwdfile and -passwd/-viewpasswd plain
text (i.e. not obscured like the -rfbauth VNC passwords) password
options.
- You can use the [335]-usepw option to automatically use any password
+ You can use the [344]-usepw option to automatically use any password
file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is
used with the -passwdfile option).
@@ -2325,14 +2360,14 @@ TrueColor defdepth 24
Q-29: Can I have two passwords for VNC viewers, one for full access
and the other for view-only access to the display?
- Yes, as of May/2004 there is the [336]-viewpasswd option to supply the
- view-only password. Note the full-access password option [337]-passwd
+ Yes, as of May/2004 there is the [345]-viewpasswd option to supply the
+ view-only password. Note the full-access password option [346]-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
- [338]-passwdfile option to specify a file containing plain text
+ [347]-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
@@ -2340,7 +2375,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 [339]-rfbauth
+ View-only passwords currently do not work for the [348]-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
@@ -2353,7 +2388,7 @@ TrueColor defdepth 24
Q-30: Can I have as many full-access and view-only passwords as I
like?
- Yes, as of Jan/2006 in the libvncserver CVS the [340]-passwdfile
+ Yes, as of Jan/2006 in the libvncserver CVS the [349]-passwdfile
option has been extended to handle as many passwords as you like. You
put the view-only passwords after a line __BEGIN_VIEWONLY__.
@@ -2363,7 +2398,7 @@ TrueColor defdepth 24
Q-31: Does x11vnc support Unix usernames and passwords? Can I further
limit the set of Unix usernames who can connect to the VNC desktop?
- Update: as of Feb/2006 x11vnc has the [341]-unixpw option that does
+ Update: as of Feb/2006 x11vnc has the [350]-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
@@ -2373,7 +2408,7 @@ TrueColor defdepth 24
A list of allowed Unix usernames may also be supplied along with
per-user settings.
- There is also the [342]-unixpw_nis option for non-shadow-password
+ There is also the [351]-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
@@ -2382,11 +2417,11 @@ TrueColor defdepth 24
shadow(5).
Two settings are enforced in the -unixpw and -unixpw_nis modes to
- provide extra security: the 1) [343]-localhost and 2) [344]-stunnel or
- [345]-ssl options. Without these one might send the Unix username and
+ provide extra security: the 1) [352]-localhost and 2) [353]-stunnel or
+ [354]-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 [346]-ssl (the constraint is automatically relaxed if
+ stunnel or [355]-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).
@@ -2405,13 +2440,13 @@ TrueColor defdepth 24
approximate at best.
One approximate method involves starting x11vnc with the
- [347]-localhost option. This basically requires the viewer user to log
+ [356]-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 [348]elsewhere on this page. [349]stunnel does this as well.
+ mentioned [357]elsewhere on this page. [358]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
@@ -2422,7 +2457,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 [350]-accept option that runs a program to examine the connection
+ the [359]-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
@@ -2458,7 +2493,7 @@ exit 1 # reject it
method (e.g. Dynamic/One-time passwords or non-Unix (LDAP) usernames
and passwords)?
Yes, there are several possibilities. For background see the FAQ on
- the [351]-accept where an external program may be run to decide if a
+ the [360]-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,
@@ -2466,26 +2501,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:
- * [352]-unixpw_cmd command
- * [353]-passwdfile cmd:command
- * [354]-passwdfile custom:command
+ * [361]-unixpw_cmd command
+ * [362]-passwdfile cmd:command
+ * [363]-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 [355]-unixpw_cmd the normal [356]-unixpw Login: and Password:
+ For [364]-unixpw_cmd the normal [365]-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 "[357]-passwdfile cmd:command" the command is run and it returns a
- password list (like a password file, see the [358]-passwdfile
+ For "[366]-passwdfile cmd:command" the command is run and it returns a
+ password list (like a password file, see the [367]-passwdfile
read:filename mode). Perhaps a dynamic, one-time password is retrieved
from a server this way.
- For "[359]-passwdfile custom:command" one gets complete control over
+ For "[368]-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
@@ -2499,7 +2534,7 @@ exit 1 # reject it
it is rejected.
In all cases the "RFB_*" enviornment variables are set as under
- [360]-accept. These variables can provide useful information for the
+ [369]-accept. These variables can provide useful information for the
externally supplied program to use.
@@ -2509,15 +2544,15 @@ exit 1 # reject it
These defaults are simple safety measures to avoid someone unknowingly
leaving his X11 desktop exposed (to the internet, say) for long
- periods of time. Use the [361]-forever option (aka -many) to have
+ periods of time. Use the [370]-forever option (aka -many) to have
x11vnc wait for more connections after the first client disconnects.
- Use the [362]-shared option to have x11vnc allow multiple clients to
+ Use the [371]-shared option to have x11vnc allow multiple clients to
connect simultaneously.
- Recommended additional safety measures include using ssh ([363]see
- above), stunnel, [364]-ssl, or a VPN to authenticate and encrypt the
+ Recommended additional safety measures include using ssh ([372]see
+ above), stunnel, [373]-ssl, or a VPN to authenticate and encrypt the
viewer connections or to at least use the -rfbauth passwd-file
- [365]option to use VNC password protection (or [366]-passwdfile) It is
+ [374]option to use VNC password protection (or [375]-passwdfile) It is
up to YOU to apply these security measures, they will not be done for
you automatically.
@@ -2525,7 +2560,7 @@ exit 1 # reject it
Q-34: Can I limit which machines incoming VNC clients can connect
from?
- Yes, look at the [367]-allow and [368]-localhost options to limit
+ Yes, look at the [376]-allow and [377]-localhost options to limit
connections by hostname or IP address. E.g.
x11vnc -allow 192.168.0.1,192.168.0.2
@@ -2537,7 +2572,7 @@ exit 1 # reject it
Note that -localhost achieves the same thing as "-allow 127.0.0.1"
For more control, build libvncserver with libwrap support
- [369](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5)
+ [378](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5)
for complete details.
@@ -2557,7 +2592,7 @@ exit 1 # reject it
is "vnc", e.g.:
vnc: 192.168.100.3 .example.com
- Note that if you run x11vnc out of [370]inetd you do not need to build
+ Note that if you run x11vnc out of [379]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.
@@ -2566,15 +2601,15 @@ exit 1 # reject it
internal LAN) rather than having it listen on all network interfaces
and relying on -allow to filter unwanted connections out?
- As of Mar/2005 there is the "[371]-listen ipaddr" option that enables
+ As of Mar/2005 there is the "[380]-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
- "[372]-allow host1,..." option to allow only specific hosts in.
+ "[381]-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 [373]-localhost now implies "-listen localhost" since that
+ The option [382]-localhost now implies "-listen localhost" since that
is what most people expect it to do.
@@ -2582,7 +2617,7 @@ exit 1 # reject it
interface, how I can occasionally allow in a non-localhost via the -R
allowonce remote control command?
- To do this specify "[374]-allow localhost". Unlike [375]-localhost
+ To do this specify "[383]-allow localhost". Unlike [384]-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
@@ -2593,7 +2628,7 @@ exit 1 # reject it
some users just be able to move the mouse, but not click or type
anything?
- As of Feb/2005, the [376]-input option allows you to do this. "K",
+ As of Feb/2005, the [385]-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
@@ -2608,7 +2643,7 @@ exit 1 # reject it
some clients view-only? How about running an arbitrary program to make
the decisions?
- Yes, look at the "[377]-accept command" option, it allows you to
+ Yes, look at the "[386]-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
@@ -2627,7 +2662,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 [378]-viewonly option has been
+ mouse on the "View" button. If the [387]-viewonly option has been
supplied, the "View" action will not be present: the whole display is
view only in that case.
@@ -2643,7 +2678,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 [379]ftp://ftp.x.org/
+ is available at [388]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
@@ -2682,7 +2717,7 @@ elif [ $rc = 4 ]; then
fi
exit 1
- Stefan Radman has written a nice dtksh script [380]dtVncPopup for use
+ Stefan Radman has written a nice dtksh script [389]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.
@@ -2691,13 +2726,13 @@ exit 1
popup is being run, so attached clients will not receive screen
updates, etc during this period.
- To run a command when a client disconnects, use the "[381]-gone
+ To run a command when a client disconnects, use the "[390]-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 "[382]-afteraccept command" option will run the
+ As of Jan/2006 the "[391]-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").
@@ -2707,7 +2742,7 @@ exit 1
display manager like gdm(1). Can I have x11vnc later switch to a
different user?
- As of Feb/2005 x11vnc has the [383]-users option that allows things
+ As of Feb/2005 x11vnc has the [392]-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.
@@ -2732,7 +2767,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 [384]blockdpy.c The idea behind it is simple (but
+ source for it is [393]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
@@ -2748,8 +2783,8 @@ exit 1
bulletproof. A really robust solution would likely require X server
and perhaps even video hardware support.
- The blockdpy utility is launched by the [385]-accept option and told
- to exit via the [386]-gone option (the vnc client user should
+ The blockdpy utility is launched by the [394]-accept option and told
+ to exit via the [395]-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.
@@ -2757,7 +2792,7 @@ exit 1
Q-42: Can I have x11vnc automatically lock the screen when I
disconnect the VNC viewer?
- Yes, a user mentions he uses the [387]-gone option under CDE to run a
+ Yes, a user mentions he uses the [396]-gone option under CDE to run a
screen lock program:
x11vnc -display :0 -forever -gone 'dtaction LockDisplay'
@@ -2766,7 +2801,7 @@ exit 1
x11vnc -display :0 -forever -gone 'kdesktop_lock'
x11vnc -display :0 -forever -gone 'xlock &'
- Here is a scheme using the [388]-afteraccept option (in version 0.7.3)
+ Here is a scheme using the [397]-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
@@ -2797,21 +2832,21 @@ fi
Q-43: How can I tunnel my connection to x11vnc via an encrypted SSH
channel between two Unix machines?
- See the description earlier on this page on [389]how to tunnel VNC via
+ See the description earlier on this page on [398]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 [390]Enhanced TightVNC Viewer (ssvnc) page where much of
+ See also the [399]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?
- [391]Above we described how to tunnel VNC via SSH from Unix to Unix,
+ [400]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
@@ -2832,11 +2867,11 @@ fi
:0 (plus other cmdline options) in the 'Remote command' Putty setting
under 'Connections/SSH'.
- See also the [392]Enhanced TightVNC Viewer (ssvnc) page where much of
+ See also the [401]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 [393]-localhost
- and [394]-rfbauth/[395]-passwdfile options.
+ For extra protection feel free to run x11vnc with the [402]-localhost
+ and [403]-rfbauth/[404]-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
@@ -2844,11 +2879,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 [396]chaining ssh's.
+ automated by [405]chaining ssh's.
- As discussed [397]above another option is to first start the VNC
+ As discussed [406]above another option is to first start the VNC
viewer in "listen" mode, and then launch x11vnc with the
- "[398]-connect localhost" option to establish the reverse connection.
+ "[407]-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).
@@ -2858,7 +2893,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 [399]stunnel (also [400]stunnel.mirt.net)
+ IPSEC. SSL tunnels such as [408]stunnel (also [409]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
@@ -2866,12 +2901,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 [401]-ssl,
- [402]-stunnel, and [403]-sslverify to provide integrated SSL schemes.
- They are discussed [404]in the Next FAQ (you may want to skip to it
+ Update: As of Feb/2006 x11vnc has the options [410]-ssl,
+ [411]-stunnel, and [412]-sslverify to provide integrated SSL schemes.
+ They are discussed [413]in the Next FAQ (you may want to skip to it
now).
- Here are some basic examples using [405]stunnel but the general idea
+ Here are some basic examples using [414]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
@@ -2895,7 +2930,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 [406]signed by
+ stunnel is built. One can also create certificates [415]signed by
Certificate Authorities or self-signed if desired using the x11vnc
utilities described there.
@@ -2909,7 +2944,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 [407]ss_vncviewer script can automate
+ That's it. (note that the [416]ss_vncviewer script can automate
this.)
Be sure to use a VNC password because unlike ssh by default the
@@ -2917,13 +2952,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 [408]the key management section for details.
+ and also [417]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 [409]article The article also
+ found at the stunnel site and in this [418]article The article also
shows the detailed steps to set up all the authentication
- certificates. (for both server and clients, see also the [410]x11vnc
+ certificates. (for both server and clients, see also the [419]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
@@ -2944,7 +2979,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 [411]-inetd mode:
+ start up x11vnc in [420]-inetd mode:
stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh
Where the script x11vnc_sh starts up x11vnc:
@@ -2987,28 +3022,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 [412]SSL-enabled
- Java applet that can be served up via the [413]-httpdir or [414]-http
- options when [415]-ssl is enabled. It will also be served via HTTPS
+ Note: as of Mar/2006 libvncserver/x11vnc provides a [421]SSL-enabled
+ Java applet that can be served up via the [422]-httpdir or [423]-http
+ options when [424]-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 [416]-https option.
+ the [425]-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 [417]-stunnel or [418]-ssl option on the server side it works well
- and is convenient. Here is a simple script [419]ss_vncviewer that
+ the [426]-stunnel or [427]-ssl option on the server side it works well
+ and is convenient. Here is a simple script [428]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 [420]Enhanced TightVNC Viewer
+ Update Jul/2006: we now provide an [429]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 [421]in the Previous FAQ
+ You can read about non-built-in methods [430]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
@@ -3019,14 +3054,14 @@ connect = 5900
Built-in SSL x11vnc options:
- As of Feb/2006 the x11vnc [422]-ssl and [423]-stunnel options automate
- the SSL tunnel creation on the x11vnc server side. An [424]SSL-enabled
+ As of Feb/2006 the x11vnc [431]-ssl and [432]-stunnel options automate
+ the SSL tunnel creation on the x11vnc server side. An [433]SSL-enabled
Java Viewer applet is also provided that can be served via HTTP or
HTTPS to automate SSL on the client side.
- The [425]-ssl mode uses the [426]www.openssl.org library if available
- at build time. The [427]-stunnel mode requires the
- [428]www.stunnel.org command stunnel(8) to be installed on the system.
+ The [434]-ssl mode uses the [435]www.openssl.org library if available
+ at build time. The [436]-stunnel mode requires the
+ [437]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"
@@ -3078,12 +3113,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 [429]x11vnc Key Management for some utilities
+ See the discussion on [438]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 [430]ss_vncviewer provides an example on unix
+ The wrapper script [439]ss_vncviewer provides an example on unix
(-verify option).
Here are some notes on the simpler default (non-CA) operation. To have
@@ -3099,7 +3134,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
- [431]here), then Man-In-The-Middle-Attacks are prevented. Otherwise,
+ [440]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.)
@@ -3124,7 +3159,7 @@ connect = 5900
including using https to download it into the browser and connect to
x11vnc.
- See the [432]next FAQ for SSL enabled VNC Viewers.
+ See the [441]next FAQ for SSL enabled VNC Viewers.
Q-47: How do I use VNC Viewers with built-in SSL tunneling?
@@ -3135,9 +3170,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 [433]-httpdir can be used to specify the path to .../classes/ssl.
+ the [442]-httpdir can be used to specify the path to .../classes/ssl.
A typical location might be /usr/local/share/x11vnc/classes/ssl. Or
- [434]-http can be used to try to have it find the directory
+ [443]-http can be used to try to have it find the directory
automatically.
The Java viewer uses SSL to communicate securely with x11vnc. Note
@@ -3162,7 +3197,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 [435]-https option to get an additional port dedicated to https
+ the [444]-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:
@@ -3175,7 +3210,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
- [436]proxy scheme to enter a firewall or otherwise have rules applied
+ [445]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".)
@@ -3199,11 +3234,11 @@ connect = 5900
connection is VNC instead of the HTTPS it actually is (but since you
have paused too long at the dialog the GET request comes too late).
Often hitting Reload and going through the dialogs more quickly will
- let you connect. Use the [437]-https option if you want a dedicated
+ let you connect. Use the [446]-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 [438]This Page.
+ connection with the Java Applet see [447]This Page.
Notes on the VNC Viewer ss_vncviewer wrapper script:
@@ -3211,10 +3246,10 @@ connect = 5900
If you want to use a native VNC Viewer with the SSL enabled x11vnc you
will need to run an external SSL tunnel on the Viewer side. There do
not seem to be any native SSL VNC Viewers outside of the x11vnc
- package. The basic ideas of doing this were discussed [439]for
+ package. The basic ideas of doing this were discussed [448]for
external tunnel utilities here.
- The [440]ss_vncviewer script provided with x11vnc can set up the
+ The [449]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
@@ -3246,14 +3281,14 @@ connect = 5900
The fifth one shows that Web proxies can be used if that is the only
way to get out of the firewall. If the "double proxy" situation arises
- separate the two by commas. See [441]this page for more information on
+ separate the two by commas. See [450]this page for more information on
how Web proxies come into play.
- If one uses a Certificate Authority (CA) scheme described [442]here,
+ If one uses a Certificate Authority (CA) scheme described [451]here,
the wrapper script would use the CA cert instead of the server cert:
3') ss_vncviewer -verify ./cacert.crt far-away.east:0
- Update Jul/2006: we now provide an [443]Enhanced TightVNC Viewer
+ Update Jul/2006: we now provide an [452]Enhanced TightVNC Viewer
(ssvnc) package that starts up STUNNEL automatically along with some
other features. All binaries are provided in the package.
@@ -3289,7 +3324,7 @@ connect = 5900
(instead of the unsigned one in https://yourmachine.com:5900/ that
gives the default index.vnc)
- Note that the [444]ss_vncviewer stunnel wrapper script can use Web
+ Note that the [453]ss_vncviewer stunnel wrapper script can use Web
proxies as well.
Proxies that limit CONNECT to ports 443 and 563:
@@ -3318,7 +3353,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 [445]trick discussed above, do:
+ parameters in the URL. To use the GET [454]trick discussed above, do:
https://yourmachine.com/proxy.vnc?PORT=443&GET=1
@@ -3326,7 +3361,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 [446]here. This provides a clean alternative to the
+ It is discussed [455]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.
@@ -3334,7 +3369,7 @@ connect = 5900
Q-50: Can I create and use my own SSL Certificate Authority (CA) with
x11vnc?
- Yes, see [447]this page for how to do this and the utility commands
+ Yes, see [456]this page for how to do this and the utility commands
x11vnc provides to create and manage many types of certificates and
private keys.
@@ -3353,14 +3388,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 [448]FAQ on x11vnc
+ * Use the description under "Continuously" in the [457]FAQ on x11vnc
and Display Managers
- * Use the description in the [449]FAQ on x11vnc and inetd(8)
- * Use the description in the [450]FAQ on Unix user logins and
+ * Use the description in the [458]FAQ on x11vnc and inetd(8)
+ * Use the description in the [459]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 [451]x11vnc_loop rc.local hack
+ * Although less reliable, see the [460]x11vnc_loop rc.local hack
below.
The display manager scheme will not be specific to which user has the
@@ -3382,7 +3417,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
- [452]this link.
+ [461]this link.
Q-52: How can I use x11vnc to connect to an X login screen like xdm,
@@ -3397,7 +3432,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 [453]-auth option sets the XAUTHORITY variable for you).
+ (the [462]-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
@@ -3422,7 +3457,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
- [454]the example at the end of this FAQ). Then restart dtlogin, e.g.:
+ [463]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
@@ -3470,7 +3505,8 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg
and XAUTHORITY environment variables for the Xsetup script!!!
You may also want to force the VNC port with something like "-rfbport
- 5900" to avoid autoselecting one if 5900 is already taken.
+ 5900" (or [464]-N) to avoid autoselecting one if 5900 is already
+ taken.
_________________________________________________________________
Fedora/gdm: Here is an example of what we did on a vanilla install of
@@ -3485,7 +3521,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 [455]full details
+ killed immediately after the user logs in. Here are [465]full details
on how to configure gdm
_________________________________________________________________
@@ -3527,14 +3563,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: [456]x11vnc_loop It will need some local
+ file like rc.local: [466]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 [457]-loop
+ described above is greatly preferred. There is also the [467]-loop
option that does something similar.
If the machine is a traditional Xterminal you may want to read
- [458]this FAQ.
+ [468]this FAQ.
Q-53: Can I run x11vnc out of inetd(8)? How about xinetd(8)?
@@ -3544,7 +3580,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 [459]-inetd
+ where the shell script /usr/local/bin/x11vnc_sh uses the [469]-inetd
option and looks something like (you'll need to customize to your
settings).
#!/bin/sh
@@ -3557,7 +3593,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 [460]-quiet) option: "/usr/local/bin/x11vnc -q
+ specify the -q (aka [470]-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
@@ -3565,12 +3601,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 [461]-auth to point to the
+ Note also the need to set XAUTHORITY via [471]-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
- [462]FAQ on Unix user logins and inetd(8) works around the XAUTHORITY
+ [472]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
@@ -3633,19 +3669,20 @@ 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 then connect
- to it?
+ and then have it find her X session display on that machine and then
+ connect to it? How about starting an X session if one cannot be found?
- The easiest way to do this is via [463]inetd(8) using the [464]-unixpw
- and [465]-display WAIT options. The reason inetd(8) makes this easier
+ The easiest way to do this is via [473]inetd(8) using the [474]-unixpw
+ and [475]-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 [466]this example).
+ x11vnc's (see [476]this example).
- The [467]-display WAIT option makes x11vnc wait until a VNC viewer is
+ The [477]-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
+ XAUTHORITY data. We provide some builtin ones (FINDDISPLAY and
+ FINDCREATEDISPLAY below), but in principle one could supply "-display
WAIT:cmd=/path/to/find_display" where the script find_display might
look something like:
#!/bin/sh
@@ -3653,6 +3690,7 @@ service x11vncservice
PATH=$PATH:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin
export PATH
+user=$1
if [ "X$user" = "X" ]; then
user=$USER
fi
@@ -3684,10 +3722,13 @@ exit 0
out). The format for any such script is that it returns DISPLAY=:disp
as the first line and any remaining lines are either XAUTHORITY=file
or raw xauth data (the above example does the latter). On Linux if the
- virtual terminal is known append ",VT=n" to the DISPLAY line.
+ virtual terminal is known append ",VT=n" to the DISPLAY line. Or if
+ you only know the X server process ID and suspect a chvt will be
+ needed append ",XPID=n".
- The [468]-unixpw option allows [469]UNIX password logins. Here are a
- couple /etc/inetd.conf examples for this:
+ The [478]-unixpw option allows [479]UNIX password logins. It
+ conveniently knows the Unix username whose X display should be found.
+ Here are a couple /etc/inetd.conf examples for this:
5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd
-unixpw \
-display WAIT:cmd=FINDDISPLAY -o /var/log/x11vnc.log -ssl SAVE -ssldir /u
@@ -3706,21 +3747,22 @@ 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 "[470]-users unixpw=" option.
+ logs in due to the "[480]-users unixpw=" option.
- Note that [471]SSL is required for this mode because otherwise the
+ Note that [481]SSL is required for this mode because otherwise the
unix password would be passed in clear text over the network. In
general -unixpw is not required for this sort of scheme, but it is
- convenient because it determines exactly who the user is whose display
- should be sought. Otherwise the find_display script would have to use
- some method to work out DISPLAY, XAUTHORITY, etc.
+ convenient because it determines exactly who the Unix user is whose
+ display should be sought. Otherwise the find_display script would have
+ to use some method to work out DISPLAY, XAUTHORITY, etc (perhaps you
+ use multiple inetd ports and hardwire usernames for different ports).
A recently (Nov/2006) added extension to FINDDISPLAY is
FINDCREATEDISPLAY where if it does not find a display via the
FINDDISPLAY method it will create an X server session for the user.
This is the only time x11vnc actually tries to start up an X server.
By default it will only try to start up virtual (non-hardware) X
- servers: first [472]Xdummy and if that does not work Xvfb. Note that
+ servers: first [482]Xdummy and if that does not work Xvfb. Note that
Xdummy requires root permission and only works on Linux.
So an inetd(8) example might look like:
@@ -3730,9 +3772,14 @@ xpw=
11vnc
Where the very long lines have been split. This will allow direct SSL
- (e.g. [473]ss_vncviewer) access and also Java Web browers access via:
+ (e.g. [483]ss_vncviewer) access and also Java Web browers access via:
https://hostname:5915/.
+ If you do not plan on using the Java Web browser applet you can remove
+ the -http and -prog options since this will speed up logging in a
+ little bit (x11vnc will not have to wait to see if a connection is
+ HTTPS or VNC).
+
For reference, xinetd format in the file, say, /etc/xinetd.d/x11vnc:
service x11vnc
{
@@ -3751,27 +3798,52 @@ ocal/bin/x11vnc
To print out the script in this case use "-display
WAIT:cmd=FINDCREATEDISPLAY-print". To change the preference of
- Xservers and which to try list them: "-display
+ Xservers and which to try list them, e.g.: "-display
WAIT:cmd=FINDCREATEDISPLAY-X,Xvfb,Xdummy". The "X" one means to try to
- start up a real, hardware X server (if there is already a real X
- server running this may only work on Linux and the chvt program may
- [474]need to be run to switch to the correct Linux virtual terminal).
- x11vnc will try to run chvt automatically if it can determine which VT
- should be switched to.
+ start up a real, hardware X server, e.g. startx(1) (if there is
+ already a real X server running this may only work on Linux and the
+ chvt program may [484]need to be run to switch to the correct Linux
+ virtual terminal). x11vnc will try to run chvt automatically if it can
+ determine which VT should be switched to.
+
+ If you want to present the user with a xdm/gdm/kdm display manager
+ login you can use Xvfb.xdmcp instead of Xvfb, etc in the above list.
+ However, you need to configure xdm/gdm/kdm to accept localhost XDMCP
+ messages, this can be done by (from -help output):
+ If you want the FINDCREATEDISPLAY session to contact an XDMCP login
+ manager (xdm/gdm/kdm) on the same machine, then use "Xvfb.xdmcp"
+ instead of "Xvfb", etc. The user will have to supply his username
+ and password one more time (but he gets to select his desktop
+ type so that can be useful). For this to work, you will need to
+ enable localhost XDMCP (udp port 177) for the display manager.
+ This seems to be:
+
+ for gdm in gdm.conf: Enable=true in section [xdmcp]
+ for kdm in kdmrc: Enable=true in section [Xdmcp]
+ for xdm in xdm-config: DisplayManager.requestPort: 177
+
+ Unless you are also providing XDMCP service to xterminals or other
+ machines, make sure that the host access list only allows local
+ connections (the name of this file is often Xaccess and it is usually
+ setup by default to do just that). Nowadays, host level firewalling
+ will also typically block UDP (port 177 for XDMCP) by default
+ effectively limiting the UDP connections to localhost.
The "-display WAIT:cmd=FINDCREATEDISPLAY" scheme can be used to
provide a "desktop service" on the machine: you always get some
- desktop there, either a real hardware X server or a virtual one. The
- created X server sessions (virtual or otherwise) will remain running
- after you disconnect the VNC viewer. That is to say, your X session
- persist. To terminate them use the normal way to Exit/LogOut from
- inside your X session.
+ desktop there, either a real hardware X server or a virtual one
+ (depending on how you set things up). So it provides simple "terminal
+ services" based on Unix username and password. The created X server
+ sessions (virtual or real hardware) will remain running after you
+ disconnect the VNC viewer (and will be found again on reconnecting via
+ VNC). To terminate them use the normal way to Exit/LogOut from inside
+ your X session.
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
- [475]-loop that makes it easier. Of course when x11vnc restarts it
+ [485]-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"
@@ -3782,7 +3854,7 @@ ocal/bin/x11vnc
web browser?
To have x11vnc serve up a Java VNC viewer applet to any web browsers
- that connect to it, run x11vnc with this [476]option:
+ that connect to it, run x11vnc with this [486]option:
-httpdir /path/to/the/java/classes/dir
(this directory will contain the files index.vnc and, for example,
@@ -3801,7 +3873,7 @@ ocal/bin/x11vnc
then you can connect to that URL with any Java enabled browser. Feel
free to customize the default index.vnc file in the classes directory.
- As of May/2005 the [477]-http option will try to guess where the Java
+ As of May/2005 the [487]-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.
@@ -3817,7 +3889,7 @@ ocal/bin/x11vnc
As of Mar/2004 x11vnc supports reverse connections. On Unix one starts
the VNC viewer in listen mode: vncviewer -listen (see your
documentation for Windows, etc), and then starts up x11vnc with the
- [478]-connect option. To connect immediately at x11vnc startup time
+ [488]-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).
@@ -3825,7 +3897,7 @@ ocal/bin/x11vnc
file is checked periodically (about once a second) for new hosts to
connect to.
- The [479]-remote control option (aka -R) can also be used to do this
+ The [489]-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
@@ -3837,7 +3909,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 [480]-vncconnect option to x11vnc (Note:
+ www.realvnc.com) specify the [490]-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
@@ -3880,8 +3952,8 @@ xprop -root -f VNC_CONNECT 8s -set VNC_CONNECT "$1"
"screen scrape" it efficiently (more than, say, 100X faster than
normal video hardware).
- Update Nov/2006: See the [481]FINDCREATEDISPLAY discussion of the
- "[482]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or
+ Update Nov/2006: See the [491]FINDCREATEDISPLAY discussion of the
+ "[492]-display WAIT:cmd=FINDDISPLAY" option where virtual (Xvfb or
Xdummy, or even real ones by changing an option) X servers are started
automatically for new users connecting. This provides a "desktop
service" for the machine. You either get your real X session or your
@@ -3890,7 +3962,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
- [483]-add_keysyms option to have keysyms added automatically. Also, to
+ [493]-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"
@@ -3902,6 +3974,7 @@ xmodmap -e "keycode any = Alt_R"
xmodmap -e "keycode any = Meta_L"
xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L"
+ (these are applied automatically in the [494]FINDCREATEDISPLAY mode).
Perhaps the Xvfb options -xkbdb or -xkbmap could be used to get a
better default keyboard mapping.
@@ -3916,11 +3989,11 @@ xmodmap -e "add Mod1 = Alt_L Alt_R Meta_L"
The main drawback to this method (besides requiring extra
configuration and possibly root permission) is that it also does the
- Linux Virtual Console/Terminal (VC/VT) [484]switching even though it
+ Linux Virtual Console/Terminal (VC/VT) [495]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 [485]Xdummy that allows you to
+ Jul/2005 we have an LD_PRELOAD script [496]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
@@ -3952,7 +4025,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 [486]this FAQ) and access it from
+ display via x11vnc (e.g. see [497]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
@@ -3975,7 +4048,7 @@ startx -- /path/to/Xdummy :1
cards as it can hold to provide multiple simultaneous access or
testing on different kinds of video hardware.
- See also the [487]FINDCREATEDISPLAY discussion of the "[488]-display
+ See also the [498]FINDCREATEDISPLAY discussion of the "[499]-display
WAIT:cmd=FINDDISPLAY" option where virtual Xvfb or Xdummy, or real X
servers are started automatically for new users connecting.
@@ -3999,7 +4072,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 [489]shm_clear to list and prompt for removal
+ Here is a shell script [500]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,
@@ -4033,40 +4106,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
- [490]-onetile option (corresponds to only 3 shm segments used, and
+ [501]-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
- [491]-noshm option. Performance will be somewhat degraded but when
+ [502]-noshm option. Performance will be somewhat degraded but when
done over local machine sockets it should be acceptable (see an
- [492]earlier question discussing -noshm).
+ [503]earlier question discussing -noshm).
Q-61: How can I make x11vnc use less system resources?
- The [493]-nap (now on by default) and "[494]-wait n" (where n is the
+ The [504]-nap (now on by default) and "[505]-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 "[495]-sb 15" will cause
+ are good places to start. Something like "[506]-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 [496]-onetile
+ will make x11vnc's screen polling less severe. Using the [507]-onetile
option will use less memory and use fewer shared memory slots (add
- [497]-fs 1.0 for one less slot).
+ [508]-fs 1.0 for one less slot).
Q-62: How can I make x11vnc use MORE system resources?
- You can try [498]-threads and dial down the wait time (e.g. -wait 1)
- and possibly dial down [499]-defer as well. Note that if you try to
+ You can try [509]-threads and dial down the wait time (e.g. -wait 1)
+ and possibly dial down [510]-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 [500]-id option) can be streamed over a LAN or wireless at
+ the x11vnc [511]-id option) can be streamed over a LAN or wireless at
a reasonable frame rate.
@@ -4082,7 +4155,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
- [501]-solid [color] option to try to do this automatically.
+ [512]-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
@@ -4091,9 +4164,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 [502]-scrollcopyrect is active and
+ problem in x11vnc 0.7.2 if [513]-scrollcopyrect is active and
detecting scrolls for the application).
- * If the [503]-wireframe option is not available (earlier than
+ * If the [514]-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)
@@ -4116,7 +4189,7 @@ ied)
noticed.
VNC viewer parameters:
- * Use a [504]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer
+ * Use a [515]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
@@ -4138,37 +4211,37 @@ ied)
file.
x11vnc parameters:
- * Make sure the [505]-wireframe option is active (it should be on by
+ * Make sure the [516]-wireframe option is active (it should be on by
default) and you have Opaque Moves/Resizes Enabled in the window
manager.
- * Make sure the [506]-scrollcopyrect option is active (it should be
+ * Make sure the [517]-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
- [507]-solid
- * Specify [508]-speeds modem to force the wireframe and
+ [518]-solid
+ * Specify [519]-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 [509]-nodragging (no screen updates when dragging mouse,
+ drastic [520]-nodragging (no screen updates when dragging mouse,
but sometimes you miss visual feedback)
- * Set [510]-fs 1.0 (disables fullscreen updates)
- * Try increasing [511]-wait or [512]-defer (reduces the maximum
+ * Set [521]-fs 1.0 (disables fullscreen updates)
+ * Try increasing [522]-wait or [523]-defer (reduces the maximum
"frame rate", but won't help much for large screen changes)
- * Try the [513]-progressive pixelheight mode with the block
+ * Try the [524]-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 [514]-id (cuts
+ * If you just want to watch one (simple) window use [525]-id (cuts
down extraneous polling and updates, but can be buggy or
insufficient)
- * Set [515]-nosel (disables all clipboard selection exchange)
- * Use [516]-nocursor and [517]-nocursorpos (repainting the remote
+ * Set [526]-nosel (disables all clipboard selection exchange)
+ * Use [527]-nocursor and [528]-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
- [518]-readtimeout n setting if it sometimes takes more than 20sec
+ [529]-readtimeout n setting if it sometimes takes more than 20sec
to paint the full screen, etc.
- * Do not use [519]-fixscreen to automatically refresh the whole
+ * Do not use [530]-fixscreen to automatically refresh the whole
screen, tap three Alt_L's then the screen has painting errors
(rare problem).
@@ -4237,7 +4310,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 [520]slow (e.g.
+ in main memory. So reading the fb is still painfully [531]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
@@ -4255,20 +4328,20 @@ ied)
DAMAGE rectangles to contain real damage. The larger rectangles are
only used as hints to focus the traditional scanline polling (i.e. if
a scanline doesn't intersect a recent DAMAGE rectangle, the scan is
- skipped). You can use the "[521]-xd_area A" option to adjust the size
+ skipped). You can use the "[532]-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 "[522]-xd_mem f" may also be of use in tuning the
- algorithm. To disable using DAMAGE entirely use "[523]-noxdamage".
+ The option "[533]-xd_mem f" may also be of use in tuning the
+ algorithm. To disable using DAMAGE entirely use "[534]-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 "[524]-noxdamage" option.
+ he uses the "[535]-noxdamage" option.
This seems to be a bug in the X DAMAGE implementation of that driver.
You may have to use -noxdamage as well. A way to autodetect this will
@@ -4280,14 +4353,14 @@ ied)
things really bog down (unless I do the drag in a single, quick
motion). Is there anything to do to improve things?
- This problem is primarily due to [525]slow hardware read rates from
+ This problem is primarily due to [536]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
- [526]-pointer_mode option for more info. The next bottleneck is
+ [537]-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
@@ -4297,26 +4370,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 "[527]-pointer_mode 1" option.
+ the "[538]-pointer_mode 1" option.
- Also added was the [528]-nodragging option that disables all screen
+ Also added was the [539]-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 [529]-pointer_mode n option was introduced. n=1 is
+ As of Dec/2004 the [540]-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 [530]-threads option can improve
+ Also, in some circumstances the [541]-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 [531]wireframe FAQ and
- [532]scrollcopyrect FAQ below) provide schemes to sweep this problem
+ As of Apr/2005 two new options (see the [542]wireframe FAQ and
+ [543]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
@@ -4340,8 +4413,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 [533]slow video card
- read rates (see [534]here too). A displacement, even a small one, of a
+ intermediate steps. BTW the lurching is due to [544]slow video card
+ read rates (see [545]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.
@@ -4349,7 +4422,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 [535]-nowireframe option
+ with the problem. It can be disabled with the [546]-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
@@ -4394,13 +4467,13 @@ EndSection
* Maximum time to show a wireframe animation.
* Minimum time between sending wireframe outlines.
- See the [536]"-wireframe tweaks" option for more details. On a slow
+ See the [547]"-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
- [537]"-wirecopyrect mode" option. It is also on by default. This
+ [548]"-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
@@ -4448,7 +4521,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 [538]slow).
+ the hardware framebuffer is [549]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.
@@ -4475,10 +4548,10 @@ EndSection
the X server display: if one falls too far behind it could become a
mess...
- The initial implementation of [539]-scrollcopyrect option is useful in
+ The initial implementation of [550]-scrollcopyrect option is useful in
that it detects many scrolls and thus gives a much nicer working
- environment (especially when combined with the [540]-wireframe
- [541]-wirecopyrect [542]options, which are also on by default; and if
+ environment (especially when combined with the [551]-wireframe
+ [552]-wirecopyrect [553]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.
@@ -4511,10 +4584,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: [543]-fixscreen
+ also: [554]-fixscreen
* Some applications, notably OpenOffice, do XCopyArea scrolls in
weird ways that assume ancestor window clipping is taking place.
- See the [544]-scr_skip option for ways to tweak this on a
+ See the [555]-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
@@ -4531,7 +4604,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 [545]-scale option there will be a quick CopyRect
+ * When using the [556]-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
@@ -4544,7 +4617,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 [546]-noscrollcopyrect (or -noscr for short). If you find
+ with the [557]-noscrollcopyrect (or -noscr for short). If you find
some extremely bad and repeatable behavior for -scrollcopyrect please
report a bug.
@@ -4569,26 +4642,29 @@ EndSection
that pixel data is needed again it does not have to be retransmitted
over the network.
- As of Dec/2006 in the [547]0.8.4 development tarball there is an
+ As of Dec/2006 in the [558]0.8.4 development tarball there is an
experimental client-side caching implementation enabled by the
- "[548]-ncache n" option. In fact, during the test period at least it
- is on by default with n set to 12.
-
- It is a simple scheme where the lower portion of the framebuffer (i.e.
- below the user's actual display) is used for storing pixel data.
- CopyRect; a fast, local, viewer-side VNC encoding; is used to move the
- pixel data in and out of the actual display area. It gives an
- excellent speedup for iconifying/deiconifying and moving windows and
- re-posting of menus (often it doesn't feel like VNC at all; there is
- no delay).
+ "[559]-ncache n" option. In fact, during the test period at least it
+ is on by default with n set to 12. To disable it use "-noncache".
+
+ It is a simple scheme where a (very large) lower portion of the
+ framebuffer (i.e. starting just below the user's actual desktop
+ display) is used for storing pixel data. CopyRect; a fast, essentially
+ local viewer-side VNC encoding; is used to swap the pixel data in and
+ out of the actual display area. It gives an excellent speedup for
+ iconifying/deiconifying and moving windows and re-posting of menus
+ (often it doesn't feel like VNC at all; there is no delay waiting for
+ the pixel data to fill in).
This scheme is nice because it does all of this within the existing
VNC protocol, and so it works with all VNC viewers.
- A challenge to doing more sophisticated (e.g. compressed) client-side
- caching is that one needs to extend the VNC protocol and then also get
- users to adopt your VNC Viewer or modify existing viewers and get them
- to be used instead, patches accepted, etc...
+ A challenge to doing more sophisticated (e.g. compressed and/or
+ shared) client-side caching is that one needs to extend the VNC
+ protocol, modify a viewer and then also convince users to adopt your
+ modified VNC Viewer (or get the new features to be folded into the
+ main VNC viewers, patches accepted, etc... likely takes years before
+ they are deployed in the field)
A drawback of the "-ncache n" method is that in the VNC Viewer you can
scroll down and actually see the cached pixel data. One will need to
@@ -4601,22 +4677,28 @@ EndSection
perhaps something else, maybe double buffering or other offscreen
rendering...).
- Another drawback of the scheme is that it is very memory intensive,
+ Another drawback of the scheme is that it is VERY memory intensive,
the n in "-ncache n" is the factor of increase over the base
framebuffer size to use for caching. It is an even integer and should
be fairly large, 6-12, to acheive good response. This usually requires
- about 50MB of additional RAM on both the client and server sides. So
- with n=6 a 1280x1024 display will use a framebuffer that is 1280x7168:
- everything below row 1024 is the buffer cache.
+ about 50-100MB of additional RAM on both the client and server sides.
+ For example with n=6 a 1280x1024 display will use a framebuffer that
+ is 1280x7168: everything below row 1024 is the pixel buffer cache.
The reason for so much memory is because the pixel data is not
compressed and so the whole window to be saved must be stored
- "offscreen". E.g. for a large web browser window this can be 1 million
- pixels, and that is only for a single window. One typically wants to
- cycle between 5-10 large active windows. Also because both
+ "offscreen". E.g. for a large web browser window this can be nearly 1
+ million pixels, and that is only for a single window! One typically
+ wants to cycle between 5-10 large active windows. Also because both
backing-store (the window's actual contents) and save-unders (the
- pixels covered up by the window) are used for window caching that
- introduces an additional factor of 2 in memory use.
+ pixels covered up by the window) are cached offscreen that introduces
+ an additional factor of 2 in memory use.
+
+ However, even in the smallest usage mode with n equal 2 and
+ [560]-ncache_no_rootpixmap set (this requires only 2X additional
+ framebuffer memory) there is still a noticable improvement for many
+ activities, although it is not as dramatic as with, say n equal 12 and
+ rootpixmap (desktop background) caching enabled.
The large memory consumption of the current implementation can be
thought of as a tradeoff to providing caching and being compatible
@@ -4624,7 +4706,7 @@ EndSection
be tuned to use less, or the VNC community will extend the protocol to
allow caching and replaying of compressed blobs of data.
- Another option to experiment with is "[549]-ncache_cr". By specifying
+ Another option to experiment with is "[561]-ncache_cr". By specifying
it, x11vnc will try to do smooth opaque window moves instead of its
wireframe. This can give a very nice effect (note: on Unix the realvnc
viewer seems to be smoother than the tightvnc viewer), but can lead to
@@ -4645,7 +4727,8 @@ EndSection
change color depth (e.g. 8bpp to full color) dynamically that will
usually lead to the entire extended framebuffer being resent which can
take a long time over very slow links: it may be better to reconnect
- and reset the format right after doing so.
+ and reset the format right after doing so. x11vnc will try to detect
+ the format change and clear (make completely black) the cache region.
Gotcha for older Unix VNC Viewers: The older Unix VNC viewers (e.g.
current TightVNC Unix Viewer) require X server backingstore to keep
@@ -4683,23 +4766,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 "[550]-cursor X" option that
+ A simple kludge is provided by the "[562]-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 "[551]-cursor some" option for
+ work for those cases. Also see the "[563]-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
- [552]-overlay option is supplied. See [553]this FAQ for more info.
+ [564]-overlay option is supplied. See [565]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
- [554]Solaris 10.
+ [566]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
@@ -4707,7 +4790,7 @@ EndSection
situations where the cursor transparency can also handled exactly:
when the VNC Viewer requires the cursor shape be drawn into the VNC
framebuffer or if you apply a patch to your VNC Viewer to extract
- hidden alpha channel data under 32bpp. [555]Details can be found here.
+ hidden alpha channel data under 32bpp. [567]Details can be found here.
Q-71: When using XFIXES cursorshape mode, some of the cursors look
@@ -4740,17 +4823,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 "[556]-alphacut n" option lets
+ course!) some tunable parameters. The "[568]-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 "[557]-alphafrac f" option tries to correct individual
+ 240. The "[569]-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 [558]-alpharemove that is useful for
+ Finally, there is an option [570]-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
@@ -4776,10 +4859,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 [559]-nocursorshape x11vnc option. In this case the cursor is
+ with the [571]-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 [560]-noalphablend option to disable this
+ the x11vnc side. Use the [572]-noalphablend option to disable this
behavior (always approximate transparent cursors with opaque RGB
values).
@@ -4803,7 +4886,7 @@ EndSection
example on how to change the Windows TightVNC viewer to achieve the
same thing (send me the patch if you get that working).
- This patch is applied to the [561]Enhanced TightVNC Viewer (ssvnc)
+ This patch is applied to the [573]Enhanced TightVNC Viewer (ssvnc)
package we provide.
[Mouse Pointer]
@@ -4811,9 +4894,9 @@ EndSection
Q-73: Why does the mouse arrow just stay in one corner in my
vncviewer, whereas my cursor (that does move) is just a dot?
- This default takes advantage of a [562]tightvnc extension
+ This default takes advantage of a [574]tightvnc extension
(CursorShapeUpdates) that allows specifying a cursor image shape for
- the local VNC viewer. You may disable it with the [563]-nocursor
+ the local VNC viewer. You may disable it with the [575]-nocursor
option to x11vnc if your viewer does not have this extension.
Note: as of Aug/2004 this should be fixed: the default for
@@ -4827,17 +4910,17 @@ EndSection
clients (i.e. passive viewers can see the mouse cursor being moved
around by another viewer)?
- Use the [564]-cursorpos option when starting x11vnc. A VNC viewer must
+ Use the [576]-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 [565]-nocursorpos and [566]-nocursorshape.
+ is the default. See also [577]-nocursorpos and [578]-nocursorshape.
Q-75: Is it possible to swap the mouse buttons (e.g. left-handed
operation), or arbitrarily remap them? How about mapping button clicks
to keystrokes, e.g. to partially emulate Mouse wheel scrolling?
- You can remap the mouse buttons via something like: [567]-buttonmap
+ You can remap the mouse buttons via something like: [579]-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.
@@ -4845,7 +4928,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 [568]-debug_pointer option prints out much info for
+ Note that the [580]-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
@@ -4867,7 +4950,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 [569]-buttonmap but rather configuring the X server
+ consider not using [581]-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"').
@@ -4897,7 +4980,7 @@ EndSection
Q-76: How can I get my AltGr and Shift modifiers to work between
keyboards for different languages?
- The option [570]-modtweak should help here. It is a mode that monitors
+ The option [582]-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.
@@ -4906,16 +4989,16 @@ EndSection
to get the old behavior). This was done because it was noticed on
newer XFree86 setups even on bland "us" keyboards like "pc104 us"
XFree86 included a "ghost" key with both "<" and ">" it. This key does
- not exist on the keyboard (see [571]this FAQ for more info). Without
+ not exist on the keyboard (see [583]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 [572]FAQ about the -xkb option for a more powerful method
+ Also see the [584]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
- [573]-debug_keyboard option prints out much info for every keystroke
+ [585]-debug_keyboard option prints out much info for every keystroke
and so can be useful debugging things.
@@ -4927,9 +5010,9 @@ EndSection
(e.g. pc105 in the XF86Config file when it should be something else,
say pc104).
- Short Cut: Try the [574]-xkb or [575]-sloppy_keys options and see if
+ Short Cut: Try the [586]-xkb or [587]-sloppy_keys options and see if
that helps the situation. The discussion below is a bit outdated (e.g.
- [576]-modtweak is now the default) but it is useful reference for
+ [588]-modtweak is now the default) but it is useful reference for
various tricks and so is kept.
@@ -4972,17 +5055,17 @@ EndSection
-remap less-comma
These are convenient in that they do not modify the actual X server
- settings. The former ([577]-modtweak) is a mode that monitors the
+ settings. The former ([589]-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 ([578]-remap less-comma) is an immediate remapping of the
+ The latter ([590]-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 [579]FAQ about the -xkb option as a possible workaround
+ See also the [591]FAQ about the -xkb option as a possible workaround
using the XKEYBOARD extension.
- Note that the [580]-debug_keyboard option prints out much info for
+ Note that the [592]-debug_keyboard option prints out much info for
every keystroke to aid debugging keyboard problems.
@@ -4990,13 +5073,13 @@ EndSection
(i.e. an extra comma).
This is likely because you press "Shift" then "<" but then released
- the Shift key before releasing the "<". Because of a [581]keymapping
+ the Shift key before releasing the "<". Because of a [593]keymapping
ambiguity the last event "< up" is interpreted as "," because that key
unshifted is the comma.
- This should not happen in [582]-xkb mode, because it works hard to
+ This should not happen in [594]-xkb mode, because it works hard to
resolve the ambiguities. If you do not want to use -xkb, try the
- option [583]-sloppy_keys to attempt a similar type of algorithm.
+ option [595]-sloppy_keys to attempt a similar type of algorithm.
Q-79: I'm using an "international" keyboard (e.g. German "de", or
@@ -5020,7 +5103,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 [584]-modtweak
+ This all worked fine with x11vnc running with the [596]-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
@@ -5037,7 +5120,7 @@ EndSection
* there is a new option -xkb to use the XKEYBOARD extension API to
do the Modifier key tweaking.
- The [585]-xkb option seems to fix all of the missing keys: "@", "<",
+ The [597]-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
@@ -5045,7 +5128,7 @@ EndSection
debugging output (send it along with any problems you report).
Update: as of Jun/2005 x11vnc will try to automatically enable
- [586]-xkb if it appears that would be beneficial (e.g. if it sees any
+ [598]-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.
@@ -5060,7 +5143,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:
- [587]-skip_keycodes 93
+ [599]-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
@@ -5078,16 +5161,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 [588]-remap x11vnc option:
+ created using the [600]-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
- [589]-add_keysyms option in the next paragraph.
- Update: for convenience "[590]-remap DEAD" does many of these
+ [601]-add_keysyms option in the next paragraph.
+ Update: for convenience "[602]-remap DEAD" does many of these
mappings at once.
- * To complement the above workaround using the [591]-remap, an
- option [592]-add_keysyms was added. This option instructs x11vnc
+ * To complement the above workaround using the [603]-remap, an
+ option [604]-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
@@ -5106,7 +5189,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) [593]-norepeat x11vnc option. You will still
+ use the new (Jul/2004) [605]-norepeat x11vnc option. You will still
have autorepeating because that is taken care of on your VNC viewer
side.
@@ -5130,7 +5213,7 @@ EndSection
off", does the problem go away?
The workaround is to manually apply "xset r off" and "xset r on" as
- needed, or to use the [594]-norepeat (which has since Dec/2004 been
+ needed, or to use the [606]-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
@@ -5141,7 +5224,7 @@ EndSection
keystrokes!!
Are you using x11vnc to log in to an X session via display manager?
- (as described in [595]this FAQ) If so, x11vnc is starting before your
+ (as described in [607]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
@@ -5165,7 +5248,7 @@ EndSection
machine where I run the VNC viewer does not. Is there a way I can map
a local unused key to send an AltGr? How about a Compose key as well?
- Something like "[596]-remap Super_R-Mode_switch" x11vnc option may
+ Something like "[608]-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)).
@@ -5188,7 +5271,7 @@ EndSection
Since xmodmap(1) modifies the X server mappings you may not want to do
this (because it affects local work on that machine). Something like
- the [597]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones
+ the [609]-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.
@@ -5199,7 +5282,7 @@ EndSection
This can be done directly in some X servers using AccessX and
Pointer_EnableKeys, but is a bit awkward. It may be more convenient to
- have x11vnc do the remapping. This can be done via the [598]-remap
+ have x11vnc do the remapping. This can be done via the [610]-remap
option using the fake "keysyms" Button1, Button2, etc. as the "to"
keys (i.e. the ones after the "-")
@@ -5208,7 +5291,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:
- [599]-remap Super_R-Button2
+ [611]-remap Super_R-Button2
maps the Super_R "flag" key press to the Button2 click, thereby making
X pasting a bit easier.
@@ -5227,10 +5310,10 @@ EndSection
Caps_Lock in the viewer your local machine goes into the Caps_Lock on
state and sends keysym "A" say when you press "a". x11vnc will then
fake things up so that Shift is held down to generate "A". The
- [600]-skip_lockkeys option should help to accomplish this. For finer
- grain control use something like: "[601]-remap Caps_Lock-None".
+ [612]-skip_lockkeys option should help to accomplish this. For finer
+ grain control use something like: "[613]-remap Caps_Lock-None".
- Also try the [602]-nomodtweak and [603]-capslock options.
+ Also try the [614]-nomodtweak and [615]-capslock options.
[Screen Related Issues and Features]
@@ -5253,7 +5336,7 @@ EndSection
There may also be scaling viewers out there (e.g. TightVNC or UltraVNC
on Windows) that automatically shrink or expand the remote framebuffer
to fit the local display. Especially for hand-held devices. See also
- [604]this FAQ on x11vnc scaling.
+ [616]this FAQ on x11vnc scaling.
Q-87: Does x11vnc support server-side framebuffer scaling? (E.g. to
@@ -5261,7 +5344,7 @@ EndSection
As of Jun/2004 x11vnc provides basic server-side scaling. It is a
global scaling of the desktop, not a per-client setting. To enable it
- use the "[605]-scale fraction" option. "fraction" can either be a
+ use the "[617]-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.
@@ -5282,7 +5365,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
- [606]applications. Since with integer scale factors the framebuffers
+ [618]applications. Since with integer scale factors the framebuffers
become huge and scaling operations time consuming, be sure to use
":nb" for the fastest response.
@@ -5308,7 +5391,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 ([607]-rfbport option,
+ different scalings listening on separate ports ([619]-rfbport option,
etc.).
Update: As of May/2006 x11vnc also supports the UltraVNC server-side
@@ -5318,8 +5401,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 [608]GUI, then to avoid all of the x11vnc's simultaneously
- answering the gui you will need to use something like [609]"-connect
+ use the [620]GUI, then to avoid all of the x11vnc's simultaneously
+ answering the gui you will need to use something like [621]"-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
@@ -5328,7 +5411,7 @@ EndSection
Update: As of Mar/2005 x11vnc now scales the mouse cursor with the
same scale factor as the screen. If you don't want that, use the
- [610]"-scale_cursor frac" option to set the cursor scaling to a
+ [622]"-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).
@@ -5350,17 +5433,17 @@ EndSection
screen is not rectangular (e.g. 1280x1024 and 1024x768 monitors joined
together), then there will be "non-existent" areas on the screen. The
X server will return "garbage" image data for these areas and so they
- may be distracting to the viewer. The [611]-blackout x11vnc option
+ may be distracting to the viewer. The [623]-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
- [612]-xinerama x11vnc option can be used to have it automatically
+ [624]-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:
- [613]-xinerama is now on by default.
+ [625]-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 [614]-xwarppointer
+ of the large display. If this happens try using the [626]-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
@@ -5385,23 +5468,23 @@ EndSection
Note: if you are running on Solaris 8 or earlier you can easily hit up
against the maximum of 6 shm segments per process (for Xsun in this
case) from running multiple x11vnc processes. You should modify
- /etc/system as mentioned in another [615]FAQ to increase the limit. It
- is probably also a good idea to run with the [616]-onetile option in
+ /etc/system as mentioned in another [627]FAQ to increase the limit. It
+ is probably also a good idea to run with the [628]-onetile option in
this case (to limit each x11vnc to 3 shm segments), or even
- [617]-noshm to use no shm segments.
+ [629]-noshm to use no shm segments.
Q-90: Can x11vnc show only a portion of the display? (E.g. for a
special purpose rfb application).
- As of Mar/2005 x11vnc has the "[618]-clip WxH+X+Y" option to select a
+ As of Mar/2005 x11vnc has the "[630]-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 [619]Xinerama screen into two
+ One user used -clip to split up a large [631]Xinerama screen into two
more managable smaller screens.
This also works to view a sub-region of a single application window if
- the [620]-id or [621]-sid options are used. The offset is measured
+ the [632]-id or [633]-sid options are used. The offset is measured
from the upper left corner of the selected window.
@@ -5410,7 +5493,7 @@ EndSection
crash.
As of Dec/2004 x11vnc supports XRANDR. You enable it with the
- [622]-xrandr option to make x11vnc monitor XRANDR events and also trap
+ [634]-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.
@@ -5420,9 +5503,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 [623]-padgeom option to make the region big
+ viewers you can try the [635]-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: [624]enhanced_tightvnc_viewer
+ for the TightVNC Viewer on Unix: [636]enhanced_tightvnc_viewer
If you specify "-xrandr newfbsize" then vnc viewers that do not
support NewFBSize will be disconnected before the resize. If you
@@ -5434,7 +5517,7 @@ EndSection
reflect the screen that the VNC viewers see? (e.g. for a handheld
whose screen is rotated 90 degrees).
- As of Jul/2006 there is the [625]-rotate option allow this. E.g's:
+ As of Jul/2006 there is the [637]-rotate option allow this. E.g's:
"-rotate +90", "-rotate -90", "-rotate x", etc.
@@ -5499,13 +5582,13 @@ EndSection
This may be a bug in kdesktop_lock. For now the only workaround is to
disable the screensaver. You can try using another one such as
- straight xscreensaver (see the instructions [626]here for how to
+ straight xscreensaver (see the instructions [638]here for how to
disable kdesktop_lock). If you have more info on this or see it
outside of KDE please let us know.
Update: It appears this is due to kdesktop_lock enabling the screen
saver when the Monitor is in DPMS low-power state (e.g. standby,
- suspend, or off). In Nov/2006 the x11vnc [627]-nodpms option was added
+ suspend, or off). In Nov/2006 the x11vnc [639]-nodpms option was added
as a workaround. Normally it is a good thing that the monitor powers
down (since x11vnc can still poll the framebuffer in this state), but
if you experience the kdesktop_lock problem you can specify the
@@ -5526,9 +5609,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 [628]this FAQ
+ desktop in a separate Virtual Console (e.g. VC 8) (see [640]this FAQ
on VC's for background). Unfortunately, this Fullscreen VC is not an X
- server. So x11vnc cannot access it (however, [629]see this discussion
+ server. So x11vnc cannot access it (however, [641]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.
@@ -5549,13 +5632,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 [630]is in the active VC.
+ as long as the VMWare X session [642]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 [631]-id windowid option. The
+ the VMWare menu buttons) by use of the [643]-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
@@ -5571,10 +5654,10 @@ EndSection
controlled) via VNC with x11vnc?
As of Apr/2005 there is support for this. Two options were added:
- "[632]-rawfb string" (to indicate the raw framembuffer device, file,
- etc. and its parameters) and "[633]-pipeinput command" (to provide an
+ "[644]-rawfb string" (to indicate the raw framembuffer device, file,
+ etc. and its parameters) and "[645]-pipeinput command" (to provide an
external program that will inject or otherwise process mouse and
- keystroke input). Some useful [634]-pipeinput schemes, VID, CONSOLE,
+ keystroke input). Some useful [646]-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
@@ -5612,9 +5695,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 [635]-snapfb option with
+ this). The "snap:" setting applies the [647]-snapfb option with
"file:" type reading (this is useful for exporting webcams or TV tuner
- video; see [636]the next FAQ for more info).
+ video; see [648]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
@@ -5658,7 +5741,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 [637]X
+ for the case of Xvfb x11vnc can poll it much better via the [649]X
API, but you get the idea.
By default in -rawfb mode x11vnc will actually close any X display it
@@ -5687,13 +5770,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 [638]Qt-embedded apps (PDAs/Handhelds). By default the
+ fullscreen, or [650]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 [639]this FAQ for details. If specified via "-rawfb Video"
+ kernel. See [651]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).
@@ -5701,10 +5784,10 @@ EndSection
also useful in testing.
- All of the above [640]-rawfb options are just for viewing the raw
+ All of the above [652]-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 [641]video camera mapped its framebuffer
+ this feature (e.g. suppose a [653]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
@@ -5742,7 +5825,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 [642]active VC) one
+ view and interact with VC #2 (assuming it is the [654]active VC) one
can run something like:
x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2'
@@ -5797,7 +5880,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
- [643]Qt-embedded Also, for example the [644]VMWare Fullscreen mode is
+ [655]Qt-embedded Also, for example the [656]VMWare Fullscreen mode is
actually viewable under -rawfb and can be interacted with if uinput is
enabled.
@@ -5817,9 +5900,9 @@ EndSection
Q-99: Can I export via VNC a Webcam or TV tuner framebuffer using
x11vnc?
- Yes, this is possible to some degree with the [645]-rawfb option.
+ Yes, this is possible to some degree with the [657]-rawfb option.
There is no X11 involved: snapshots from the video capture device are
- used for the screen image data. See the [646]previous FAQ on -rawfb
+ used for the screen image data. See the [658]previous FAQ on -rawfb
for background. For best results, use x11vnc version 0.8.1 or later.
Roughly, one would do something like this:
@@ -5831,7 +5914,7 @@ EndSection
snapshot to a file that you point -rawfb to; ask me if it is not clear
what to do).
- The "snap:" enforces [647]-snapfb mode which appears to be necessary.
+ The "snap:" enforces [659]-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.
@@ -5853,7 +5936,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 [648]-24to32 option will be automatically imposed when in
+ etc, the [660]-24to32 option will be automatically imposed when in
24bpp.
Note that by its very nature, video capture involves rapid change in
@@ -5861,7 +5944,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 [649]-wait, [650]-slow_fb, or [651]-defer
+ the framerate via the [661]-wait, [662]-slow_fb, or [663]-defer
options. Decreasing the window size and bpp also helps.
@@ -5950,7 +6033,7 @@ EndSection
format to HI240, RGB565, RGB24, RGB32, RGB555, and
GREY respectively. See -rawfb video for details.
- See also the [652]-freqtab option to supply your own xawtv channel to
+ See also the [664]-freqtab option to supply your own xawtv channel to
frequency mappings for your country (only ntsc-cable-us is built into
x11vnc).
@@ -5959,7 +6042,7 @@ EndSection
running on my handheld or PC using the Linux console framebuffer (i.e.
not X11)?
- Yes, the basic method for this is the [653]-rawfb scheme where the
+ Yes, the basic method for this is the [665]-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:
@@ -5972,7 +6055,7 @@ EndSection
x11vnc -rawfb /dev/fb0@640x480x16
Also, to force usage of the uinput injection method use "-pipeinput
- UINPUT". See the [654]-pipeinput description for tunable parameters,
+ UINPUT". See the [666]-pipeinput description for tunable parameters,
etc.
One problem with the x11vnc uinput scheme is that it cannot guess the
@@ -5988,7 +6071,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 [655]-pipeinput UINPUT option for tuning
+ times a second. See the [667]-pipeinput UINPUT option for tuning
parameters that can be set (there are some experimental thresh=N
tuning parameters as well)
@@ -6022,7 +6105,7 @@ EndSection
Q-101: 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 [656]-rawfb only
+ Yes, as of Jul/2006 x11vnc enables building for [668]-rawfb only
support. Just do something like when building:
./configure --without-x (plus any other flags)
make
@@ -6038,12 +6121,13 @@ EndSection
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
- [657]-rawfb mechanism described above. The mouse and keyboard input is
+ [669]-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 [658]OSXvnc (aka Vine
- Server), or [659]Apple Remote Desktop (ARD). Perhaps there is some
- x11vnc feature you'd like to use on Mac OS X, etc.
+ So you can use x11vnc as an alternative to [670]OSXvnc (aka Vine
+ Server), or [671]Apple Remote Desktop (ARD). Perhaps there is some
+ x11vnc feature you'd like to use on Mac OS X, etc. For a number of
+ activities (e.g. window drags) it seems to be faster than OSXvnc.
Notes:
@@ -6051,7 +6135,7 @@ EndSection
(XDarwin) running on Mac OS X (people often install this software to
display remote X11 apps on their Mac OS X system, or use some old
favorites locally such as xterm). However in this case x11vnc will
- only work reasonably in single window [660]-id windowid mode (and the
+ only work reasonably in single window [672]-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
@@ -6065,9 +6149,9 @@ EndSection
./configure --without-x
make
- Win2VNC/x2vnc: One handy use is to use the [661]-nofb mode to
+ Win2VNC/x2vnc: One handy use is to use the [673]-nofb mode to
redirect mouse and keyboard input to a nearby Mac (i.e. one to the
- side of your desk) via [662]x2vnc or Win2VNC. See [663]this FAQ for
+ side of your desk) via [674]x2vnc or Win2VNC. See [675]this FAQ for
more info.
Options: Here are the Mac OS X specific x11vnc options:
@@ -6086,6 +6170,15 @@ t
the framebuffer even if it is detected that the scree
n
resolution or depth has changed.
+ -maciconanim n For the native Mac OS X server, set n to the number
+ of milliseconds that the window iconify/deiconify
+ animation takes. In -ncache mode this value will be
+ used to skip the animation if possible. (default 400)
+ -macmenu For the native Mac OS X server, in -ncache client-sid
+e
+ caching mode, try to cache pull down menus (not perfe
+ct
+ because they have animated fades, etc.)
PasteBoard/Clipboard: There is a bug that the Clipboard (called
PasteBoard on Mac it appears) exchange will not take place unless
@@ -6128,39 +6221,149 @@ rm -f $tmp
command for you). Then once you are connected via VNC, iconify the
Terminal windows (you can't delete them since that will kill x11vnc).
+ Q-103: Can x11vnc be used as a VNC reflector/repeater to improve
+ performance for the case of a large number of simultaneous VNC viewers
+ (e.g. classroom broadcasting or a large demo)?
+
+ Yes, as of Feb/2007 there is the "[676]-reflect host:N" option to
+ connect to the VNC server "host:N" (either another x11vnc or any other
+ VNC server) and re-export it. VNC viewers then connect to the
+ x11vnc(s) running -reflect.
+
+ The -reflect option is the same as: "-rawfb vnc:host:N". See the
+ [677]-rawfb description under "VNC HOST" for more details.
+
+ You can replace "host:N" with "listen" or "listen:port" for reverse
+ connections.
+
+ One can set up a number of such reflectors/repeaters to spread the
+ resource usage around, e.g.:
+ C -------<-------|
+ C -------<-------|
+ C -------<-------|---- R -----|
+ C -------<-------| |
+ C -------<-------| |
+ |
+ C -------<-------| |
+ C -------<-------| |
+ C -------<-------|---- R -----|
+ C -------<-------| |
+ C -------<-------| |
+ |====== S
+ C -------<-------| |
+ C -------<-------| |
+ C -------<-------|---- R -----|
+ C -------<-------| |
+ C -------<-------| |
+ |
+ C -------<-------| |
+ C -------<-------| |
+ C -------<-------|---- R -----|
+ C -------<-------|
+ C -------<-------|
+
+ Where "S" is the original VNC Server, "C" denote VNC viewer clients,
+ and "R" denotes an x11vnc running -reflect to "S".
+
+ Ideally, a client "C" will be fairly close network-wise to its "R". It
+ is fine to run the "R" on the same machine as one of its "C's". A nice
+ setup for a large, (e.g. 64-128) viewer classroom broadcast case would
+ be to run R's on areas isolated by network switches, e.g. one R per
+ switch.
+
+ In an extreme case (e.g. 1000 viewers) one might actually need a 2nd
+ layer of R's in the tree. If you try something like that let us know!
+
+ There are many resource savings in doing something like the above. The
+ first obvious one is network bandwidth savings. Another is less CPU
+ load on "S" since it handles many fewer simultaneous connections.
+ Also, if there are a few clients C on very slow links, their presence
+ does not slow down every other client, just the clients on their "R".
+ One way a slow client affects things is if there are some large
+ framebuffer writes (e.g. jpeg image region) then the repeater may
+ block waiting for that large write to finish before going onto the
+ next client (however, if the write is small enough, the kernel will
+ buffer it and the server can go on to service the next client).
+
+ The x11vnc -reflect implementation uses the libvncclient library in
+ the LibVNCServer project to handle the connection to "S". It is not
+ currently very efficient since it simply does its normal framebuffer
+ polling scheme on the libvncclient framebuffer (which it then
+ re-exports via VNC to its clients C). However, CopyRect and
+ CursorShape encodings are preserved in the reflection and that helps.
+ Dragging windows with the mouse can be a problem (especially if S is
+ not doing wireframing somehow, consider [678]-nodragging if the
+ problem is severe) For a really fast reflector/repeater it would have
+ to be implemented from scratch with performance in mind. See these
+ other projects:
+ [679]http://sourceforge.net/projects/vnc-reflector/,
+ [680]http://www.tightvnc.com/projector/ (closed source?),
+ [681]http://www.ultravnc.com/addons/repeater.html (seems to be a NAT g
+ateway and not a broadcaster?)
+
+
+ Automation via Reverse Connections: Instead of having the R's
+ connect directly to S and then the C's connect directly to the R they
+ should use, some convenience can be achieved by using reverse
+ connections (the x11vnc "[682]"-connect host1,host2,..." option).
+ Suppose all the clients "C" are started up in Listen mode:
+ client1> vncviewer -listen
+ client2> vncviewer -listen
+ client3> vncviewer -listen
+ ...
+ client64> vncviewer -listen
+
+ (e.g. client1> is the cmdline prompt on machine client1 ... etc) and
+ all the repeaters R are started like this:
+ repeater1> x11vnc -reflect listen -connect client1,client2,...client8
+ repeater2> x11vnc -reflect listen -connect client9,client10,...client16
+ ...
+ repeater8> x11vnc -reflect listen -connect client57,client58,...client64
+
+ and finally the main server is started to kick the whole thing into
+ motion:
+ vncserver> x11vnc -display :0 -connect repeater1,repeater2,...repeater8
+
+ (or instruct a non-x11vnc VNC server to reverse connect to the
+ repeaters). For a classroom broadcasting setup one might have the
+ first two sets of commands start automatically at bootup or when
+ someone logs in, and then start everything up with the S server. One
+ may even be able to script the forward connection bootstrap case, let
+ us know what you did. A really nice thing would be some sort of
+ auto-discovery of your repeater, etc...
[Misc: Clipboard, File Transfer/Sharing, Printing, Sound, Beeps,
Thanks, etc.]
- Q-103: Does the Clipboard/Selection get transferred between the
+ Q-104: 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 [664]-nosel option. If you don't
+ Clipboard/Selection exchanged use the [683]-nosel option. If you don't
want the PRIMARY selection to be polled for changes use the
- [665]-noprimary option. (with a similar thing for CLIPBOARD). You can
- also fine-tune it a bit with the [666]-seldir dir option and also
- [667]-input.
+ [684]-noprimary option. (with a similar thing for CLIPBOARD). You can
+ also fine-tune it a bit with the [685]-seldir dir option and also
+ [686]-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-104: Can I use x11vnc to record a Shock Wave Flash (or other format)
+ Q-105: 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
- [668]pyvnc2swf. There are a number of [669]tutorials on how to do
+ [687]pyvnc2swf. There are a number of [688]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-105: Can I transfer files back and forth with x11vnc?
+ Q-106: 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
@@ -6168,7 +6371,7 @@ rm -f $tmp
(and Windows viewers only support filetransfer it appears).
TightVNC file transfer is on by default, if you want to disable it use
- the [670]-nofilexfer option. UltraVNC file transfer is currently off
+ the [689]-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
@@ -6178,13 +6381,13 @@ rm -f $tmp
VNC Viewers.
- Q-106: Can I (temporarily) mount my local (viewer-side) Windows/Samba
+ Q-107: 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 [671]Samba example here.
+ We show a simple [690]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:
@@ -6221,17 +6424,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 [672]Enhanced TightVNC Viewer (ssvnc) package we provide (as
+ into the [691]Enhanced TightVNC Viewer (ssvnc) package we provide (as
of Sep 2006 it is there for testing).
- Q-107: Can I redirect CUPS print jobs from the remote desktop where
+ Q-108: 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 [673]CUPS example here. Non-CUPS port
+ We show a simple Unix to Unix [692]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).
@@ -6303,11 +6506,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 [674]Enhanced TightVNC Viewer (ssvnc) package we provide (as
+ into the [693]Enhanced TightVNC Viewer (ssvnc) package we provide (as
of Sep 2006 it is there for testing).
- Q-108: How can I hear the sound (audio) from the remote applications
+ Q-109: 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.
@@ -6357,7 +6560,7 @@ way.east 'x11vnc -localhost -display :0'
set ESPEAKER and LD_PRELOAD for you so that when the application opens
the sound device (usually /dev/dsp) its interactions with the device
will be intercepted and sent to the esd daemon running on sitting-here
- (that in turn writes them to the real, local /dev/dsp.
+ (that in turn writes them to the real, local /dev/dsp).
Redirecting All sound:
@@ -6404,11 +6607,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 [675]Enhanced TightVNC Viewer (ssvnc) package
+ redir setup into the [694]Enhanced TightVNC Viewer (ssvnc) package
we provide (as of Sep/2006 it is there for testing).
- Q-109: Why don't I hear the "Beeps" in my X session (e.g. when typing
+ Q-110: 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
@@ -6416,16 +6619,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 [676]-nobell option. If
+ If you don't want to hear the beeps use the [695]-nobell option. If
you want to hear the audio from the remote applications, consider
- trying a [677]redirector such as esd.
+ trying a [696]redirector such as esd.
Contributions:
- Q-110: Thanks for your program and for your help! Can I make a
+ Q-111: 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!
@@ -6517,601 +6720,620 @@ References
80. http://www.gzip.org/zlib/
81. http://www.sunfreeware.com/
82. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
- 83. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 84. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
- 85. http://www.karlrunge.com/x11vnc/bins
- 86. mailto:x11vnc-beta@karlrunge.com
- 87. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 88. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 89. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 90. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms
- 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
- 93. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching
- 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 95. http://www.openssl.org/
- 96. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 97. http://www.stunnel.org/
- 98. http://stunnel.mirt.net/
- 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
- 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert
- 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA
- 102. http://www.karlrunge.com/x11vnc/ssl.html
- 103. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 104. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 105. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
- 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 113. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
- 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer
- 119. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit
- 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v,
- 122. http://www.karlrunge.com/x11vnc/prevrels.html
- 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 124. http://www.tightvnc.com/
- 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
- 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
- 127. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 128. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg
- 129. http://wwws.sun.com/sunray/index.html
- 130. http://www.karlrunge.com/x11vnc/sunray.html
- 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 133. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 134. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 135. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 136. http://www.karlrunge.com/x11vnc/index.html#faq-sound
- 137. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 138. mailto:xvml@karlrunge.com
- 139. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
- 140. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
- 141. http://www.karlrunge.com/x11vnc/index.html#faq-build
- 142. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest
- 143. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
- 144. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
- 145. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
- 146. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts
- 147. http://www.karlrunge.com/x11vnc/index.html#faq-config-file
- 148. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
- 149. http://www.karlrunge.com/x11vnc/index.html#faq-change-port
- 150. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg
- 151. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe
- 152. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations
- 153. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
- 154. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp
- 155. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb
- 156. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
- 157. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
- 158. http://www.karlrunge.com/x11vnc/index.html#faq-windowid
- 159. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id
- 160. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp
- 161. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 162. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
- 163. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays
- 164. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg
- 165. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control
- 166. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 167. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho
- 168. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 169. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd
- 170. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
- 171. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords
- 172. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared
- 173. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
- 174. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
- 175. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface
- 176. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost
- 177. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt
- 178. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 179. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt
- 180. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy
- 181. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock
- 182. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix
- 183. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty
- 184. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 185. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 186. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 187. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy
- 188. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
- 189. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca
- 190. http://www.karlrunge.com/x11vnc/index.html#faq-service
- 191. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
- 192. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 193. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 194. http://www.karlrunge.com/x11vnc/index.html#faq-loop
- 195. http://www.karlrunge.com/x11vnc/index.html#faq-java-http
- 196. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect
- 197. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 198. http://www.karlrunge.com/x11vnc/index.html#faq-headless
- 199. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
- 200. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource
- 201. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource
- 202. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link
- 203. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage
- 204. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl
- 205. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
- 206. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 207. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
- 208. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching
- 209. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape
- 210. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha
- 211. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
- 212. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow
- 213. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions
- 214. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt
- 215. http://www.karlrunge.com/x11vnc/index.html#faq-altgr
- 216. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 217. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy
- 218. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 219. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys
- 220. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still
- 221. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt
- 222. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta
- 223. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click
- 224. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock
- 225. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars
- 226. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
- 227. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
- 228. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen
- 229. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen
- 230. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr
- 231. http://www.karlrunge.com/x11vnc/index.html#faq-rotate
- 232. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen
- 233. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 234. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars
- 235. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver
- 236. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
- 237. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 238. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 239. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 240. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11
- 241. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
- 242. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard
- 243. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf
- 244. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer
- 245. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
- 246. http://www.karlrunge.com/x11vnc/index.html#faq-cups
- 247. http://www.karlrunge.com/x11vnc/index.html#faq-sound
- 248. http://www.karlrunge.com/x11vnc/index.html#faq-beeps
- 249. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
- 250. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
- 251. http://www.tldp.org/HOWTO/Remote-X-Apps.html
- 252. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 253. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
- 254. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 255. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
- 256. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html
- 257. http://www.karlrunge.com/x11vnc/index.html#building
- 258. http://www.karlrunge.com/x11vnc/index.html#faq-build
- 259. http://packages.debian.org/x11vnc
- 260. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc
- 261. http://dag.wieers.com/packages/x11vnc/
- 262. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html
- 263. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/
- 264. http://www.sunfreeware.com/
- 265. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all
- 266. http://www.freshports.org/net/x11vnc
- 267. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html
- 268. http://pkgsrc.se/x11/x11vnc
- 269. http://mike.saunby.googlepages.com/
- 270. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc
- 271. http://www.focv.com/ipkg/
- 272. http://www.karlrunge.com/x11vnc/bins
- 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 274. http://www.tightvnc.com/download.html
- 275. http://www.realvnc.com/download-free.html
- 276. http://sourceforge.net/projects/cotvnc/
- 277. http://www.ultravnc.com/
- 278. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 279. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
- 280. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 281. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
- 282. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
- 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
- 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o
- 285. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
- 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb
- 287. http://fredrik.hubbe.net/x2vnc.html
- 288. http://www.hubbe.net/~hubbe/win2vnc.html
- 289. http://www.deboer.gmxhome.de/
- 290. http://sourceforge.net/projects/win2vnc/
- 291. http://fredrik.hubbe.net/x2vnc.html
- 292. http://freshmeat.net/projects/x2x/
- 293. http://ftp.digital.com/pub/Digital/SRC/x2x/
- 294. http://zapek.com/software/zvnc/
- 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual
- 296. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
- 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
- 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor
- 300. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
- 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 305. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
- 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 83. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 84. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 85. http://www.karlrunge.com/x11vnc/x11vnc-0.8.4.tar.gz
+ 86. http://www.karlrunge.com/x11vnc/bins
+ 87. mailto:x11vnc-beta@karlrunge.com
+ 88. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 89. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 90. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 91. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 92. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 93. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
+ 94. http://www.karlrunge.com/x11vnc/index.html#faq-reflect
+ 95. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect
+ 96. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nowireframelocal
+ 97. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms
+ 98. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
+ 99. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching
+ 100. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 101. http://www.openssl.org/
+ 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 103. http://www.stunnel.org/
+ 104. http://stunnel.mirt.net/
+ 105. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
+ 106. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert
+ 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA
+ 108. http://www.karlrunge.com/x11vnc/ssl.html
+ 109. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 110. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 111. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 112. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 113. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
+ 114. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 115. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 116. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 117. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 118. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 119. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 120. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
+ 121. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 122. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 123. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
+ 124. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ultrafilexfer
+ 125. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect_or_exit
+ 126. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 127. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-v,
+ 128. http://www.karlrunge.com/x11vnc/prevrels.html
+ 129. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
+ 130. http://www.tightvnc.com/
+ 131. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
+ 132. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N
+ 133. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
+ 134. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 135. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg
+ 136. http://wwws.sun.com/sunray/index.html
+ 137. http://www.karlrunge.com/x11vnc/sunray.html
+ 138. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 139. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 140. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 141. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 142. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 143. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 144. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 145. mailto:xvml@karlrunge.com
+ 146. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
+ 147. http://www.karlrunge.com/x11vnc/index.html#faq-xperms
+ 148. http://www.karlrunge.com/x11vnc/index.html#faq-build
+ 149. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest
+ 150. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build
+ 151. http://www.karlrunge.com/x11vnc/index.html#faq-binaries
+ 152. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download
+ 153. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts
+ 154. http://www.karlrunge.com/x11vnc/index.html#faq-config-file
+ 155. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
+ 156. http://www.karlrunge.com/x11vnc/index.html#faq-change-port
+ 157. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg
+ 158. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe
+ 159. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations
+ 160. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
+ 161. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp
+ 162. http://www.karlrunge.com/x11vnc/index.html#faq-macosx-nofb
+ 163. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
+ 164. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
+ 165. http://www.karlrunge.com/x11vnc/index.html#faq-windowid
+ 166. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id
+ 167. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp
+ 168. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 169. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
+ 170. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays
+ 171. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg
+ 172. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control
+ 173. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 174. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho
+ 175. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 176. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd
+ 177. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
+ 178. http://www.karlrunge.com/x11vnc/index.html#faq-custom-passwords
+ 179. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared
+ 180. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt
+ 181. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
+ 182. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface
+ 183. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost
+ 184. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt
+ 185. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
+ 186. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt
+ 187. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy
+ 188. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock
+ 189. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix
+ 190. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty
+ 191. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 192. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 193. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 194. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy
+ 195. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
+ 196. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca
+ 197. http://www.karlrunge.com/x11vnc/index.html#faq-service
+ 198. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 199. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 200. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 201. http://www.karlrunge.com/x11vnc/index.html#faq-loop
+ 202. http://www.karlrunge.com/x11vnc/index.html#faq-java-http
+ 203. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect
+ 204. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 205. http://www.karlrunge.com/x11vnc/index.html#faq-headless
+ 206. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
+ 207. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource
+ 208. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource
+ 209. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link
+ 210. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage
+ 211. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage-opengl
+ 212. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
+ 213. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
+ 214. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
+ 215. http://www.karlrunge.com/x11vnc/index.html#faq-client-caching
+ 216. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape
+ 217. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha
+ 218. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
+ 219. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow
+ 220. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions
+ 221. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt
+ 222. http://www.karlrunge.com/x11vnc/index.html#faq-altgr
+ 223. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 224. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy
+ 225. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 226. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys
+ 227. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still
+ 228. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt
+ 229. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta
+ 230. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click
+ 231. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock
+ 232. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars
+ 233. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
+ 234. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
+ 235. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen
+ 236. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen
+ 237. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr
+ 238. http://www.karlrunge.com/x11vnc/index.html#faq-rotate
+ 239. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen
+ 240. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 241. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars
+ 242. http://www.karlrunge.com/x11vnc/index.html#faq-kde-screensaver
+ 243. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
+ 244. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 245. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 246. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 247. http://www.karlrunge.com/x11vnc/index.html#faq-no-x11
+ 248. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 249. http://www.karlrunge.com/x11vnc/index.html#faq-reflect
+ 250. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard
+ 251. http://www.karlrunge.com/x11vnc/index.html#faq-record-swf
+ 252. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer
+ 253. http://www.karlrunge.com/x11vnc/index.html#faq-smb-shares
+ 254. http://www.karlrunge.com/x11vnc/index.html#faq-cups
+ 255. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 256. http://www.karlrunge.com/x11vnc/index.html#faq-beeps
+ 257. http://www.karlrunge.com/x11vnc/index.html#faq-thanks
+ 258. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
+ 259. http://www.tldp.org/HOWTO/Remote-X-Apps.html
+ 260. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 261. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 262. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 263. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
+ 264. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html
+ 265. http://www.karlrunge.com/x11vnc/index.html#building
+ 266. http://www.karlrunge.com/x11vnc/index.html#faq-build
+ 267. http://packages.debian.org/x11vnc
+ 268. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc
+ 269. http://dag.wieers.com/packages/x11vnc/
+ 270. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html
+ 271. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/
+ 272. http://www.sunfreeware.com/
+ 273. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all
+ 274. http://www.freshports.org/net/x11vnc
+ 275. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html
+ 276. http://pkgsrc.se/x11/x11vnc
+ 277. http://mike.saunby.googlepages.com/
+ 278. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc
+ 279. http://www.focv.com/ipkg/
+ 280. http://www.karlrunge.com/x11vnc/bins
+ 281. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 282. http://www.tightvnc.com/download.html
+ 283. http://www.realvnc.com/download-free.html
+ 284. http://sourceforge.net/projects/cotvnc/
+ 285. http://www.ultravnc.com/
+ 286. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html
+ 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 289. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray
+ 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N
+ 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
+ 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
+ 293. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o
+ 294. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding
+ 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb
+ 296. http://fredrik.hubbe.net/x2vnc.html
+ 297. http://www.hubbe.net/~hubbe/win2vnc.html
+ 298. http://www.deboer.gmxhome.de/
+ 299. http://sourceforge.net/projects/win2vnc/
+ 300. http://fredrik.hubbe.net/x2vnc.html
+ 301. http://freshmeat.net/projects/x2x/
+ 302. http://ftp.digital.com/pub/Digital/SRC/x2x/
+ 303. http://zapek.com/software/zvnc/
+ 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual
+ 305. http://www.karlrunge.com/x11vnc/index.html#faq-macosx
+ 306. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
- 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor
+ 309. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp
310. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 311. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
- 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid
- 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
- 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
- 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder
- 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 319. http://www.karlrunge.com/x11vnc/index.html#xauth_pain
- 320. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 321. http://wwws.sun.com/sunray/index.html
- 322. http://www.karlrunge.com/x11vnc/sunray.html
- 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
- 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
- 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
- 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods
- 328. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys
- 329. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
- 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd
- 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 334. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
- 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd
- 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd
- 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
- 343. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 348. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 349. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel
- 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
- 351. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
- 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 357. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 311. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 312. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap
+ 315. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 316. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24
+ 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 320. http://www.karlrunge.com/x11vnc/index.html#faq-overlays
+ 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid
+ 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
+ 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display
+ 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder
+ 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 328. http://www.karlrunge.com/x11vnc/index.html#xauth_pain
+ 329. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 330. http://wwws.sun.com/sunray/index.html
+ 331. http://www.karlrunge.com/x11vnc/sunray.html
+ 332. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
+ 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg
+ 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods
+ 337. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys
+ 338. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query
+ 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd
+ 342. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 343. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw
+ 345. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd
+ 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd
+ 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 349. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 350. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 351. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis
+ 352. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 353. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 354. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 355. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 357. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 358. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel
+ 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
360. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
- 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
- 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared
- 363. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 365. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
- 366. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
- 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
- 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 369. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
- 370. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen
- 372. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
- 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 374. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
- 375. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
- 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
- 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly
- 379. ftp://ftp.x.org/
- 380. http://www.karlrunge.com/x11vnc/dtVncPopup
- 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
- 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 384. http://www.karlrunge.com/x11vnc/blockdpy.c
- 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
- 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
- 388. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
- 389. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 390. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 391. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 392. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
- 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
- 395. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
- 396. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh
- 397. http://www.karlrunge.com/x11vnc/index.html#tunnelling
- 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 399. http://www.stunnel.org/
- 400. http://stunnel.mirt.net/
- 401. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
- 404. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 405. http://www.stunnel.org/
- 406. http://www.karlrunge.com/x11vnc/ssl.html
- 407. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 408. http://www.karlrunge.com/x11vnc/ssl.html
- 409. http://www.securityfocus.com/infocus/1677
- 410. http://www.karlrunge.com/x11vnc/ssl.html
- 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
- 412. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 417. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 418. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 419. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 420. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 421. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 424. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
- 426. http://www.openssl.org/
- 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
- 428. http://www.stunnel.org/
- 429. http://www.karlrunge.com/x11vnc/ssl.html
- 430. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 431. http://www.karlrunge.com/x11vnc/ssl.html
- 432. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 436. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
- 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
- 438. http://www.karlrunge.com/x11vnc/ssl-output.html
- 439. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
- 440. http://www.karlrunge.com/x11vnc/ss_vncviewer
- 441. http://www.karlrunge.com/x11vnc/ssl-portal.html
- 442. http://www.karlrunge.com/x11vnc/ssl.html
- 443. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 444. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 445. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
- 446. http://www.karlrunge.com/x11vnc/ssl-portal.html
- 447. http://www.karlrunge.com/x11vnc/ssl.html
- 448. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
- 449. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 450. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 451. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop
- 452. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset
- 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 454. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris
- 455. http://www.jirka.org/gdm-documentation/x241.html
- 456. http://www.karlrunge.com/x11vnc/x11vnc_loop
- 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
- 458. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
- 459. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
- 460. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
- 461. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
- 462. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
- 463. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
- 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 465. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 466. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd
- 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
- 469. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
- 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
- 471. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
- 472. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 473. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
- 474. http://www.karlrunge.com/x11vnc/faq-linuxvc
- 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
- 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
- 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
- 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 479. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
- 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect
- 481. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
- 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
- 484. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 485. http://www.karlrunge.com/x11vnc/Xdummy
- 486. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
- 487. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
- 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
- 489. http://www.karlrunge.com/x11vnc/shm_clear
- 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 492. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
- 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap
- 494. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 495. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb
- 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
- 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
- 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 504. http://www.tightvnc.com/
- 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
- 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds
- 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
- 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
- 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive
- 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
- 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
- 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
- 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout
- 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
- 520. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area
- 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem
- 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
- 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
- 525. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
- 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
- 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
- 531. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 532. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
- 533. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
- 534. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 538. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
- 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
- 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect
+ 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
+ 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 363. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 364. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_cmd
+ 365. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 367. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 369. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt
+ 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever
+ 371. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared
+ 372. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 373. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 374. http://www.karlrunge.com/x11vnc/index.html#faq-passwd
+ 375. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile
+ 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
+ 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 378. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers
+ 379. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen
+ 381. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
+ 382. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 383. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow
+ 384. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 385. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
+ 386. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 387. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly
+ 388. ftp://ftp.x.org/
+ 389. http://www.karlrunge.com/x11vnc/dtVncPopup
+ 390. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
+ 391. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
+ 392. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 393. http://www.karlrunge.com/x11vnc/blockdpy.c
+ 394. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept
+ 395. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
+ 396. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone
+ 397. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept
+ 398. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 399. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 400. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 401. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost
+ 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth
+ 404. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile
+ 405. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh
+ 406. http://www.karlrunge.com/x11vnc/index.html#tunnelling
+ 407. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 408. http://www.stunnel.org/
+ 409. http://stunnel.mirt.net/
+ 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify
+ 413. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 414. http://www.stunnel.org/
+ 415. http://www.karlrunge.com/x11vnc/ssl.html
+ 416. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 417. http://www.karlrunge.com/x11vnc/ssl.html
+ 418. http://www.securityfocus.com/infocus/1677
+ 419. http://www.karlrunge.com/x11vnc/ssl.html
+ 420. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
+ 421. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 423. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 428. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 429. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 430. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 433. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 434. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl
+ 435. http://www.openssl.org/
+ 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel
+ 437. http://www.stunnel.org/
+ 438. http://www.karlrunge.com/x11vnc/ssl.html
+ 439. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 440. http://www.karlrunge.com/x11vnc/ssl.html
+ 441. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 445. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal
+ 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https
+ 447. http://www.karlrunge.com/x11vnc/ssl-output.html
+ 448. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext
+ 449. http://www.karlrunge.com/x11vnc/ss_vncviewer
+ 450. http://www.karlrunge.com/x11vnc/ssl-portal.html
+ 451. http://www.karlrunge.com/x11vnc/ssl.html
+ 452. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 453. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 454. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers
+ 455. http://www.karlrunge.com/x11vnc/ssl-portal.html
+ 456. http://www.karlrunge.com/x11vnc/ssl.html
+ 457. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
+ 458. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 459. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 460. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop
+ 461. http://club.mandriva.com/xwiki/bin/view/KB/XwinXset
+ 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 463. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris
+ 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-N
+ 465. http://www.jirka.org/gdm-documentation/x241.html
+ 466. http://www.karlrunge.com/x11vnc/x11vnc_loop
+ 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
+ 468. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth
+ 469. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd
+ 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q
+ 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth
+ 472. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin
+ 473. http://www.karlrunge.com/x11vnc/index.html#faq-inetd
+ 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 476. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd
+ 477. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 478. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
+ 479. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords
+ 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users
+ 481. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int
+ 482. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 483. http://www.karlrunge.com/x11vnc/index.html#ss_vncviewer
+ 484. http://www.karlrunge.com/x11vnc/faq-linuxvc
+ 485. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop
+ 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir
+ 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http
+ 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote
+ 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect
+ 491. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
+ 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 494. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
+ 495. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 496. http://www.karlrunge.com/x11vnc/Xdummy
+ 497. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously
+ 498. http://www.karlrunge.com/x11vnc/index.html#findcreatedisplay
+ 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT
+ 500. http://www.karlrunge.com/x11vnc/shm_clear
+ 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 502. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 503. http://www.karlrunge.com/x11vnc/index.html#faq-noshm
+ 504. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap
+ 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb
+ 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
+ 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
+ 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
+ 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 515. http://www.tightvnc.com/
+ 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 518. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid
+ 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds
+ 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
+ 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs
+ 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive
+ 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
+ 527. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
+ 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
+ 529. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout
+ 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 531. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area
+ 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem
+ 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
+ 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage
+ 536. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 538. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
+ 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode
+ 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads
542. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
- 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
- 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip
- 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
- 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
- 547. http://www.karlrunge.com/x11vnc/index.html#beta-test
- 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache
- 549. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr
- 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
- 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
- 553. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode
- 554. http://www.karlrunge.com/x11vnc/index.html#solaris10-build
- 555. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
- 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut
- 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac
- 558. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove
- 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
- 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend
- 561. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 562. http://www.tightvnc.com/
- 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
- 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos
- 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
- 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
- 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
- 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer
- 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
- 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 571. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 572. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 573. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
- 574. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
- 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 577. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 579. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
- 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
- 581. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
- 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 583. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
- 584. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
- 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 543. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect
+ 544. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode
+ 545. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 547. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 548. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 549. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow
+ 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe
+ 552. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect
+ 553. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe
+ 554. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen
+ 555. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip
+ 556. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
+ 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect
+ 558. http://www.karlrunge.com/x11vnc/index.html#beta-test
+ 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache
+ 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_no_rootpixmap
+ 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ncache_cr
+ 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor
+ 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay
+ 565. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode
+ 566. http://www.karlrunge.com/x11vnc/index.html#solaris10-build
+ 567. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks
+ 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut
+ 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac
+ 570. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove
+ 571. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
+ 572. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend
+ 573. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 574. http://www.tightvnc.com/
+ 575. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor
+ 576. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos
+ 577. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos
+ 578. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape
+ 579. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
+ 580. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer
+ 581. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap
+ 582. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 583. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 584. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 585. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
586. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
- 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes
- 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 587. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
+ 588. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 589. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
590. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 591. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
- 593. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
- 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
- 595. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
- 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 600. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys
- 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
- 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak
- 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock
- 604. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
- 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
- 606. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html
- 607. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
- 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
- 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
- 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor
- 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout
- 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
- 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
- 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
- 615. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
- 616. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
- 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
- 618. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip
- 619. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
- 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr
- 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom
- 624. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
- 626. http://www.jwz.org/xscreensaver/man1.html
- 627. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms
- 628. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 629. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 630. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 631. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
- 636. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 637. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
- 638. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 639. http://www.karlrunge.com/x11vnc/index.html#faq-video
- 640. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 641. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 591. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak
+ 592. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard
+ 593. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless
+ 594. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 595. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys
+ 596. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak
+ 597. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 598. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb
+ 599. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes
+ 600. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 601. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 602. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 603. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 604. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms
+ 605. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
+ 606. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat
+ 607. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager
+ 608. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 609. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 610. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 611. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 612. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys
+ 613. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap
+ 614. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak
+ 615. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock
+ 616. http://www.karlrunge.com/x11vnc/index.html#faq-scaling
+ 617. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale
+ 618. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html
+ 619. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport
+ 620. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui
+ 621. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 622. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor
+ 623. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout
+ 624. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
+ 625. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama
+ 626. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer
+ 627. http://www.karlrunge.com/x11vnc/index.html#faq-solshm
+ 628. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile
+ 629. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm
+ 630. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip
+ 631. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama
+ 632. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 633. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 634. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr
+ 635. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom
+ 636. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 637. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rotate
+ 638. http://www.jwz.org/xscreensaver/man1.html
+ 639. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodpms
+ 640. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 641. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
642. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
- 643. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
- 644. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
- 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 646. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 643. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 644. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 645. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 646. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
647. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
- 648. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
- 649. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
- 650. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb
- 651. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
- 652. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab
- 653. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
- 654. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 655. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
- 656. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 648. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 649. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb
+ 650. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 651. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 652. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 653. http://www.karlrunge.com/x11vnc/index.html#faq-video
+ 654. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc
+ 655. http://www.karlrunge.com/x11vnc/index.html#faq-qt-embedded
+ 656. http://www.karlrunge.com/x11vnc/index.html#faq-vmware
657. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
- 658. http://www.redstonesoftware.com/vnc.html
- 659. http://www.apple.com/remotedesktop/
- 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
- 662. http://fredrik.hubbe.net/x2vnc.html
- 663. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
- 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
- 665. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary
- 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir
- 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
- 668. http://www.unixuser.org/~euske/vnc2swf/
- 669. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/
- 670. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer
- 671. http://www.samba.org/
- 672. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 673. http://www.cups.org/
- 674. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 675. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
- 676. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell
- 677. http://www.karlrunge.com/x11vnc/index.html#faq-sound
+ 658. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 659. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb
+ 660. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32
+ 661. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait
+ 662. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb
+ 663. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer
+ 664. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab
+ 665. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb
+ 666. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 667. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pipeinput
+ 668. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 669. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 670. http://www.redstonesoftware.com/vnc.html
+ 671. http://www.apple.com/remotedesktop/
+ 672. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 673. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id
+ 674. http://fredrik.hubbe.net/x2vnc.html
+ 675. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc
+ 676. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-reflect
+ 677. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb
+ 678. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging
+ 679. http://sourceforge.net/projects/vnc-reflector/
+ 680. http://www.tightvnc.com/projector/
+ 681. http://www.ultravnc.com/addons/repeater.html
+ 682. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect
+ 683. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel
+ 684. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary
+ 685. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir
+ 686. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input
+ 687. http://www.unixuser.org/~euske/vnc2swf/
+ 688. http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/
+ 689. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer
+ 690. http://www.samba.org/
+ 691. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 692. http://www.cups.org/
+ 693. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 694. http://www.karlrunge.com/x11vnc/enhanced_tightvnc_viewer.html
+ 695. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell
+ 696. http://www.karlrunge.com/x11vnc/index.html#faq-sound
=======================================================================
http://www.karlrunge.com/x11vnc/chainingssh.html:
@@ -8781,7 +9003,7 @@ Unix and Mac OS X:
Unpack the archive:
- % gzip -dc ssvnc-1.0.9.tar.gz | tar xvf -
+ % gzip -dc ssvnc-1.0.10.tar.gz | tar xvf -
Run the GUI:
@@ -8789,7 +9011,7 @@ Unix and Mac OS X:
% ./ssvnc/MacOSX/ssvnc (for Mac OS X)
- The smaller file "ssvnc_no_windows-1.0.9.tar.gz" could have been
+ The smaller file "ssvnc_no_windows-1.0.10.tar.gz" could have been
used as well.
@@ -8797,7 +9019,7 @@ Windows:
Unzip, using WinZip or a similar utility, the zip file:
- ssvnc-1.0.9.zip
+ ssvnc-1.0.10.zip
Run the GUI, e.g.:
@@ -8809,7 +9031,7 @@ Windows:
select Open, and then OK to launch it.
- The smaller file "ssvnc_windows_only-1.0.9.zip" could have been used
+ The smaller file "ssvnc_windows_only-1.0.10.zip" could have been used
as well.
You can make a Windows shortcut to this program if you want to.
@@ -8881,21 +9103,21 @@ Windows:
Downloading: This project can be downloaded here, choose the archive
file bundle that best suits you (e.g. no source code, windows only,
unix only, zip, tar etc):
- [9]ssvnc_windows_only-1.0.9.zip Windows Binaries Only. No source includ
-ed (~6MB)
- [10]ssvnc_no_windows-1.0.9.tar.gz Unix and Mac OS X Only. No Windows bina
-ries. Source included. (~3.5MB)
- [11]ssvnc_unix_only-1.0.9.tar.gz Unix Binaries Only. No source inclu
-ded. (~1MB)
- [12]ssvnc_unix_minimal-1.0.9.tar.gz Unix Minimal. You must supply your own
- vncviewer and stunnel. (~0.1MB)
-
- [13]ssvnc-1.0.9.tar.gz All Unix, Mac OS X, and Windows binarie
-s and source TGZ. (~9MB)
- [14]ssvnc-1.0.9.zip All Unix, Mac OS X, and Windows binarie
-s and source ZIP. (~9MB)
- [15]ssvnc_all-1.0.9.zip All Unix, Mac OS X, and Windows binarie
-s and source AND full archives in the zip dir. (~12MB)
+ [9]ssvnc_windows_only-1.0.10.zip Windows Binaries Only. No source inclu
+ded (~6MB)
+ [10]ssvnc_no_windows-1.0.10.tar.gz Unix and Mac OS X Only. No Windows bin
+aries. Source included. (~3.5MB)
+ [11]ssvnc_unix_only-1.0.10.tar.gz Unix Binaries Only. No source incl
+uded. (~1MB)
+ [12]ssvnc_unix_minimal-1.0.10.tar.gz Unix Minimal. You must supply your ow
+n vncviewer and stunnel. (~0.1MB)
+
+ [13]ssvnc-1.0.10.tar.gz All Unix, Mac OS X, and Windows binari
+es and source TGZ. (~10MB)
+ [14]ssvnc-1.0.10.zip All Unix, Mac OS X, and Windows binari
+es and source ZIP. (~10MB)
+ [15]ssvnc_all-1.0.10.zip All Unix, Mac OS X, and Windows binari
+es 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. To save space you can delete the src
@@ -8947,7 +9169,7 @@ s and source AND full archives in the zip dir. (~12MB)
[23]http://sourceforge.net/projects/cotvnc/
It is my belief (but I cannot be absolutely sure) that the bundle
- ssvnc_no_windows-1.0.9.tar.gz contains no cryptographic software
+ ssvnc_no_windows-1.0.10.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
@@ -9075,7 +9297,7 @@ Unix and Mac OS X:
Unpack the archive:
- % gzip -dc ssvnc-1.0.9.tar.gz | tar xvf -
+ % gzip -dc ssvnc-1.0.10.tar.gz | tar xvf -
Run the GUI:
@@ -9083,7 +9305,7 @@ Unix and Mac OS X:
% ./ssvnc/MacOSX/ssvnc (for Mac OS X)
- The smaller file "ssvnc_no_windows-1.0.9.tar.gz"
+ The smaller file "ssvnc_no_windows-1.0.10.tar.gz"
could have been used as well.
@@ -9091,7 +9313,7 @@ Windows:
Unzip, using WinZip or a similar utility, the zip file:
- ssvnc-1.0.9.zip
+ ssvnc-1.0.10.zip
Run the GUI, e.g.:
@@ -9103,7 +9325,7 @@ Windows:
select Open, and then OK to launch it.
- The smaller file "ssvnc_windows_only-1.0.9.zip"
+ The smaller file "ssvnc_windows_only-1.0.10.zip"
could have been used as well.
You can make a Windows shortcut to this program if you want to.
@@ -9323,13 +9545,13 @@ References
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.9.zip
- 10. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.9.tar.gz
- 11. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.9.tar.gz
- 12. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.9.tar.gz
- 13. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.9.tar.gz
- 14. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.9.zip
- 15. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.9.zip
+ 9. http://www.karlrunge.com/x11vnc/etv/ssvnc_windows_only-1.0.10.zip
+ 10. http://www.karlrunge.com/x11vnc/etv/ssvnc_no_windows-1.0.10.tar.gz
+ 11. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_only-1.0.10.tar.gz
+ 12. http://www.karlrunge.com/x11vnc/etv/ssvnc_unix_minimal-1.0.10.tar.gz
+ 13. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.10.tar.gz
+ 14. http://www.karlrunge.com/x11vnc/etv/ssvnc-1.0.10.zip
+ 15. http://www.karlrunge.com/x11vnc/etv/ssvnc_all-1.0.10.zip
16. http://www.karlrunge.com/x11vnc/etv/ssvnc
17. http://www.stunnel.org/
18. http://stunnel.mirt.net/
@@ -9350,81 +9572,79 @@ 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: 2007-01-10
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2007-01-31
x11vnc options:
- -display disp -auth file -id windowid
- -sid windowid -clip WxH+X+Y -flashcmap
- -shiftcmap n -notruecolor -visual n
- -overlay -overlay_nocursor -8to24 [opts]
- -24to32 -scale fraction -scale_cursor frac
- -viewonly -shared -once
- -forever -loop -timeout n
- -inetd -nofilexfer -ultrafilexfer
- -http -http_ssl -connect string
- -connect_or_exit str -vncconnect -novncconnect
- -allow host1[,host2..] -localhost -nolookup
- -input string -grabkbd -grabptr
- -viewpasswd string -passwdfile filename -unixpw [list]
- -unixpw_nis [list] -unixpw_cmd cmd -display WAIT:...
- -ssl [pem] -ssltimeout n -sslnofail
- -ssldir [dir] -sslverify [path] -sslGenCA [dir]
- -sslGenCert type name -sslEncKey [pem] -sslCertInfo [pem]
- -sslDelCert [pem] -stunnel [pem] -stunnel3 [pem]
- -https [port] -usepw -storepasswd pass file
- -nopw -accept string -afteraccept string
- -gone string -users list -noshm
- -flipbyteorder -onetile -solid [color]
- -blackout string -xinerama -noxinerama
- -xtrap -xrandr [mode] -rotate string
- -padgeom WxH -o logfile -flag file
- -rc filename -norc -env VAR=VALUE
- -prog /path/to/x11vnc -h, -help -?, -opts
- -V, -version -license -dbg
- -q, -quiet -v, -verbose -bg
- -modtweak -nomodtweak -xkb
- -noxkb -capslock -skip_lockkeys
- -skip_keycodes string -sloppy_keys -skip_dups
- -noskip_dups -add_keysyms -noadd_keysyms
- -clear_mods -clear_keys -remap string
- -norepeat -repeat -nofb
- -nobell -nosel -noprimary
- -nosetprimary -noclipboard -nosetclipboard
- -seldir string -cursor [mode] -nocursor
- -cursor_drag -arrow n -noxfixes
- -alphacut n -alphafrac fraction -alpharemove
- -noalphablend -nocursorshape -cursorpos
- -nocursorpos -xwarppointer -noxwarppointer
- -buttonmap string -nodragging -ncache n
- -ncache_cr -ncache_no_moveraise -ncache_no_dtchange
- -ncache_no_rootpixmap -ncache_pad n -wireframe [str]
- -nowireframe -nowireframelocal -wirecopyrect mode
- -nowirecopyrect -debug_wireframe -scrollcopyrect mode
- -noscrollcopyrect -scr_area n -scr_skip list
- -scr_inc list -scr_keys list -scr_term list
- -scr_keyrepeat lo-hi -scr_parms string -fixscreen string
- -debug_scroll -noxrecord -grab_buster
- -nograb_buster -debug_grabs -debug_sel
- -pointer_mode n -input_skip n -allinput
- -speeds rd,bw,lat -wmdt string -debug_pointer
- -debug_keyboard -defer time -wait time
- -wait_ui factor -nowait_bog -slow_fb time
- -readtimeout n -nap -nonap
- -sb time -nofbpm -fbpm
- -nodpms -dpms -noxdamage
- -xd_area A -xd_mem f -sigpipe string
- -threads -nothreads -fs f
- -gaps n -grow n -fuzz n
- -debug_tiles -snapfb -rawfb string
- -freqtab file -pipeinput cmd -macnodim
- -macnosleep -macnosaver -macnowait
- -macwheel n -macnoswap -macnoresize
- -maciconanim n -macmenu -gui [gui-opts]
- -remote command -query variable -QD variable
- -sync -noremote -yesremote
- -unsafe -safer -privremote
- -nocmds -allowedcmds list -deny_all
-
+ -display disp -auth file -N
+ -reflect host:N -id windowid -sid windowid
+ -clip WxH+X+Y -flashcmap -shiftcmap n
+ -notruecolor -visual n -overlay
+ -overlay_nocursor -8to24 [opts] -24to32
+ -scale fraction -scale_cursor frac -viewonly
+ -shared -once -forever
+ -loop -timeout n -inetd
+ -nofilexfer -ultrafilexfer -http
+ -http_ssl -connect string -connect_or_exit str
+ -vncconnect -novncconnect -allow host1[,host2..]
+ -localhost -nolookup -input string
+ -grabkbd -grabptr -viewpasswd string
+ -passwdfile filename -unixpw [list] -unixpw_nis [list]
+ -unixpw_cmd cmd -display WAIT:... -ssl [pem]
+ -ssltimeout n -sslnofail -ssldir [dir]
+ -sslverify [path] -sslGenCA [dir] -sslGenCert type name
+ -sslEncKey [pem] -sslCertInfo [pem] -sslDelCert [pem]
+ -stunnel [pem] -stunnel3 [pem] -https [port]
+ -usepw -storepasswd pass file -nopw
+ -accept string -afteraccept string -gone string
+ -users list -noshm -flipbyteorder
+ -onetile -solid [color] -blackout string
+ -xinerama -noxinerama -xtrap
+ -xrandr [mode] -rotate string -padgeom WxH
+ -o logfile -flag file -rc filename
+ -norc -env VAR=VALUE -prog /path/to/x11vnc
+ -h, -help -?, -opts -V, -version
+ -license -dbg -q, -quiet
+ -v, -verbose -bg -modtweak
+ -nomodtweak -xkb -noxkb
+ -capslock -skip_lockkeys -skip_keycodes string
+ -sloppy_keys -skip_dups -noskip_dups
+ -add_keysyms -noadd_keysyms -clear_mods
+ -clear_keys -remap string -norepeat
+ -repeat -nofb -nobell
+ -nosel -noprimary -nosetprimary
+ -noclipboard -nosetclipboard -seldir string
+ -cursor [mode] -nocursor -cursor_drag
+ -arrow n -noxfixes -alphacut n
+ -alphafrac fraction -alpharemove -noalphablend
+ -nocursorshape -cursorpos -nocursorpos
+ -xwarppointer -noxwarppointer -buttonmap string
+ -nodragging -wireframe [str] -nowireframe
+ -nowireframelocal -wirecopyrect mode -nowirecopyrect
+ -debug_wireframe -scrollcopyrect mode -noscrollcopyrect
+ -scr_area n -scr_skip list -scr_inc list
+ -scr_keys list -scr_term list -scr_keyrepeat lo-hi
+ -scr_parms string -fixscreen string -debug_scroll
+ -noxrecord -grab_buster -nograb_buster
+ -debug_grabs -debug_sel -pointer_mode n
+ -input_skip n -allinput -speeds rd,bw,lat
+ -wmdt string -debug_pointer -debug_keyboard
+ -defer time -wait time -wait_ui factor
+ -nowait_bog -slow_fb time -readtimeout n
+ -nap -nonap -sb time
+ -nofbpm -fbpm -nodpms
+ -dpms -noxdamage -xd_area A
+ -xd_mem f -sigpipe string -threads
+ -nothreads -fs f -gaps n
+ -grow n -fuzz n -debug_tiles
+ -snapfb -rawfb string -freqtab file
+ -pipeinput cmd -macnodim -macnosleep
+ -macnosaver -macnowait -macwheel n
+ -macnoswap -macnoresize -maciconanim n
+ -macmenu -gui [gui-opts] -remote command
+ -query variable -QD variable -sync
+ -noremote -yesremote -unsafe
+ -safer -privremote -nocmds
+ -allowedcmds list -deny_all
libvncserver options:
-rfbport port TCP port for RFB protocol
@@ -9458,7 +9678,7 @@ libvncserver-tight-extension options:
% x11vnc -help
-x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2007-01-10
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2007-01-31
(type "x11vnc -opts" to just list the options.)
@@ -9495,10 +9715,10 @@ For additional info see: http://www.karlrunge.com/x11vnc/
and http://www.karlrunge.com/x11vnc/#faq
-Rudimentary config file support: if the file $HOME/.x11vncrc exists then each
-line in it is treated as a single command line option. Disable with -norc.
-For each option name, the leading character "-" is not required. E.g. a
-line that is either "forever" or "-forever" may be used and are equivalent.
+Config file support: if the file $HOME/.x11vncrc exists then each line in
+it is treated as a single command line option. Disable with -norc. For
+each option name, the leading character "-" is not required. E.g. a line
+that is either "forever" or "-forever" may be used and are equivalent.
Likewise "wait 100" or "-wait 100" are acceptable and equivalent lines.
The "#" character comments out to the end of the line in the usual way
(backslash it for a literal). Leading and trailing whitespace is trimmed off.
@@ -9517,7 +9737,23 @@ Options:
before startup. Same as -xauth file. See Xsecurity(7),
xauth(1) man pages for more info.
--id windowid Show the window corresponding to "windowid" not
+-N If the X display is :N, try to set the VNC display
+ to also be :N This just sets the -rfbport option
+ to 5900+N. The program will exit immediately if that
+ port is not available.
+
+-reflect host:N Instead of connecting to and polling an X display,
+ connect to the remote VNC server host:N and be a
+ reflector/repeater for it. This is useful for trying
+ to manage the case of many simultaneous VNC viewers
+ (e.g. classroom broadcasting) where, e.g. you put
+ a repeater on each network switch, etc, to improve
+ performance by distributing the load and network
+ traffic. Implies -shared (use -noshared as a later
+ option to disable). See the discussion below under
+ -rawfb vnc:host:N for more details.
+
+-id windowid Show the X window corresponding to "windowid" not
the entire display. New windows like popup menus,
transient toplevels, etc, may not be seen or may be
clipped. Disabling SaveUnders or BackingStore in the
@@ -10224,15 +10460,16 @@ Options:
in PATH and have run "Xdummy -install" once to create
the shared library. Xdummy requires root permission
and only works on Linux. Xvfb is available on most
- platforms.
+ platforms and does not require root.
When x11vnc exits (i.e. user disconnects) the X server
- session stays running in the background. Presumably the
- FINDDISPLAY will find it next time. The user must exit
- the X session in the usual way for it to terminate.
+ session stays running in the background. Presumably
+ the FINDDISPLAY will find it next time. The user must
+ exit the X session in the usual way for it to terminate
+ (or kill the X server process if all else fails).
So this is a somewhat odd mode for x11vnc in that it
- will start up and poll virtual X servers. This can
+ will start up and poll virtual X servers! This can
be used from, say, inetd(8) to provide a means of
definitely getting a desktop (either real or virtual)
on the machine. E.g. a desktop service:
@@ -10247,10 +10484,24 @@ Options:
Use WAIT:cmd=FINDCREATEDISPLAY-print to print out the
script used. You can specify the preferred order via
e.g., WAIT:cmd=FINDCREATEDISPLAY-Xdummy,Xvfb,X and/or
- leave out ones you do not want. The the extra case "X"
- means try to start up a real, hardware X server using
- xinit(1). If there is already an X server running the
- X case may only work on Linux (see startx(1)).
+ leave out ones you do not want. The the extra case
+ "X" means try to start up a real, hardware X server
+ using xinit(1) or startx(1). If there is already an
+ X server running the X case may only work on Linux
+ (see startx(1)).
+
+ If you want the FINDCREATEDISPLAY session to contact an
+ XDMCP login manager (xdm/gdm/kdm) on the same machine,
+ then use "Xvfb.xdmcp" instead of "Xvfb", etc.
+ The user will have to supply his username and password
+ one more time (but he gets to select his desktop type
+ so that can be useful). For this to work, you will
+ need to enable localhost XDMCP (udp port 177) for the
+ display manager. This seems to be:
+
+ for gdm in gdm.conf: Enable=true in section [xdmcp]
+ for kdm in kdmrc: Enable=true in section [Xdmcp]
+ for xdm in xdm-config: DisplayManager.requestPort: 177
-ssl [pem] Use the openssl library (www.openssl.org) to provide a
built-in encrypted SSL tunnel between VNC viewers and
@@ -11124,6 +11375,15 @@ Options:
identical keyboards). Also useful in resolving cases
where a Keysym is bound to multiple keys (e.g. "<" + ">"
and "," + "<" keys). Default: -modtweak
+
+ On some HP-UX systems it is been noted that they have
+ an odd keymapping where a single keycode will have a
+ keysym, e.g. "#", up to three times. You can check
+ via "xmodmap -pk" or the -dk option. The failure
+ is when you try to type "#" it yields "3". If you
+ see this problem try setting the environment variable
+ MODTWEAK_LOWEST=1 to see if it helps.
+
-xkb When in modtweak mode, use the XKEYBOARD extension (if
-noxkb the X display supports it) to do the modifier tweaking.
This is powerful and should be tried if there are still
@@ -11439,81 +11699,6 @@ Options:
text selection, and some menu traversals. It overrides
any -pointer_mode setting.
--ncache n Client-side caching scheme. Framebuffer memory "n"
- (an integer) times that of the full display is allocated
- below the actual framebuffer to cache screen contents
- for rapid retrieval. So a W x H frambuffer is expanded
- to a W x (n+1)*H one. Use 0 to disable. Default: XXX.
-
- This is an experimental option, currently implemented
- in an awkward way in that in the VNC Viewer you can
- see the cache contents if you scroll down, etc. So you
- will have to set things up so you can't see that region.
- If this method is successful, the changes required for
- clients to do this less awkwardly will be investigated.
-
- Note that this mode consumes a huge amount of memory,
- both on the x11vnc server side and on the VNC Viewer
- side. If n=2 then the amount of RAM used is roughly
- tripled for both x11vnc and the VNC Viewer. As a rule
- of thumb, note that 1280x1024 at depth 24 is about 5MB
- of pixel data.
-
- For reasonable response when cycling through 4 to 6
- large (e.g. web browser) windows a value n of 6 to 12
- is recommended. (that's right: ~10X more memory...)
-
- Because of the way window backingstore and saveunders
- are implemented, n must be even. It will be incremented
- by 1 if it is not.
-
- This mode also works for native MacOS X, but may not
- be as effective as the X version. This is due to a
- number of things, one is the drop-shadow compositing
- that leaves extra areas that need to be repaired (see
- -ncache_pad). Another is the window iconification
- animations need to be avoided (see -macicontime).
- It appears the that the 'Scale' animation mode gives
- better results than the 'Genie' one. Also, window event
- detection not as accurate as the X version.
-
--ncache_cr In -ncache mode, try to do copyrect opaque window
- moves/drags instead of wireframes (this can induce
- painting errors). The wireframe will still be used when
- moving a window whose save-unders has not yet been set
- or has been invalidated.
-
- Some VNC Viewers provide better response than others
- with this option. On Unix, realvnc viewer gives
- smoother drags than tightvnc viewer. Response may also
- be choppy if the server side machine is too slow.
-
- Sometimes on very slow modem connections, this actually
- gives an improvement because no pixel data at all
- (not even the box animation) is sent during the drag.
-
--ncache_no_moveraise In -ncache mode, do not assume that moving a window
- will cause the window manager to raise it to the top
- of the stack. The default is to assume it does, and
- so at the beginning of any wireframe, etc, window moves
- the window will be pushed to top in the VNC viewer.
-
--ncache_no_dtchange In -ncache mode, do not try to guess when the desktop
- (viewport) changes to another one (i.e. another
- workarea). The default is to try to guess and when
- detected try to make the transistion more smoothly.
-
--ncache_no_rootpixmap In -ncache mode, do not try to snapshot the desktop
- background to use in guessing or reconstructing window
- save-unders..
-
--ncache_pad n In -ncache mode, pad each window with n pixels for the
- caching rectangles. This can be used to try to improve
- the situation with dropshadows or other compositing
- (e.g. MacOS X window manager), although it could make
- things worse. The default is 0 on Unix and 24 on
- MacOS X.
-
-wireframe [str] Try to detect window moves or resizes when a mouse
-nowireframe button is held down and show a wireframe instead of
the full opaque window. This is based completely on
@@ -11529,7 +11714,7 @@ Options:
packed with many tunable parameters for this scheme:
Format: shade,linewidth,percent,T+B+L+R,mod,t1+t2+t3+t4
- Default: 0xff,3,0,32+8+8+8,all,0.15+0.30+5.0+0.125
+ Default: 0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125
If you leave nothing between commas: ",," the default
value is used. If you don't specify enough commas,
@@ -12127,6 +12312,10 @@ t
the framebuffer device is opened and keystrokes (and
possibly mouse events) are inserted into the console.
+ If the string begins with "vnc", see the VNC HOST
+ discussion below where the framebuffer is taken as that
+ of another remote VNC server.
+
Optional suffixes are ":R/G/B" and "+O" to specify
red, green, and blue masks and an offset into the
memory object. If the masks are not provided x11vnc
@@ -12147,6 +12336,7 @@ t
-rawfb video0
-rawfb video -pipeinput VID
-rawfb console
+ -rawfb vnc:somehost:0
(see ipcs(1) and fbset(1) for the first two examples)
@@ -12317,6 +12507,44 @@ t
-rawfb console:/dev/nonstd
-rawfb console -pipeinput UINPUT:accel=4.0
+ VNC HOST: if the -rawfb string is of the form
+ "vnc:host:N" then the VNC display "N" on the remote
+ VNC server "host" is connected to (i.e. x11vnc acts as
+ a VNC client itself) and that framebuffer is exported.
+
+ This mode is really only of use if you are trying
+ to improve performance in the case of many (e.g. >
+ 10) simultaneous VNC viewers, and you try a divide
+ and conquer scheme to reduce bandwidth and improve
+ responsiveness.
+
+ For example, if there will be 64 simultaneous VNC
+ viewers this can lead to a lot of redundant VNC traffic
+ to and from the server host:N, extra CPU usage,
+ and all viewers response can be reduced by having
+ to wait for writes to the slowest client to finish.
+ However, if you set up 8 reflectors/repeaters started
+ with option -rawfb vnc:host:N, then there are only
+ 8 connections to host:N. Each repeater then handles
+ 8 vnc viewer connections thereby spreading the load
+ around. In classroom broadcast usage, try to put the
+ repeaters on different switches. This mode is the same
+ as -reflect host:N. Replace "host:N" by "listen"
+ or "listen:port" for a reverse connection.
+
+ Overall performance will not be as good as a single
+ direct connection because, among other things,
+ there is an additional level of framebuffer polling
+ and pointer motion can still induce many changes per
+ second that must be propagated. Tip: if the remote VNC
+ is x11vnc doing wireframing, or an X display that does
+ wireframing that gives much better response than opaque
+ window dragging. Consider the -nodragging option if
+ the problem is severe.
+
+ The VNC HOST mode implies -shared. Use -noshared as
+ a subsequent cmdline option to disable sharing.
+
-freqtab file For use with "-rawfb video" for TV tuner devices to
specify station frequencies. Instead of using the built
in ntsc-cable-us mapping of station number to frequency,
@@ -12419,7 +12647,7 @@ t
If the uinput device has an absolute pointer (as opposed
to a normal mouse that is a relative pointer) you can
specify the option "abs". Note that a touchpad
- on a laptop is an absolute device t some degree.
+ on a laptop is an absolute device to some degree.
This (usually) avoids all the problems with mouse
acceleration. If x11vnc has trouble deducing the size
of the device, use "abs=WxH". Furthermore, if the
@@ -12771,6 +12999,8 @@ n
ncache_no_rootpixmap enable ncache_no_rootpixmap.
noncache_no_rootpixmap disable ncache_no_rootpixmap.
ncache_reset_rootpixmap recheck the root pixmap
+ ncache_keep_anims enable ncache_keep_anims.
+ noncache_keep_anims disable ncache_keep_anims.
wireframe enable -wireframe mode. same as "wf"
nowireframe disable -wireframe mode. same as "nowf"
wireframe:str enable -wireframe mode string.
@@ -12923,26 +13153,27 @@ n
listen lookup nolookup accept afteraccept gone shm
noshm flipbyteorder noflipbyteorder onetile noonetile
solid_color solid nosolid blackout xinerama noxinerama
- xtrap noxtrap xrandr noxrandr xrandr_mode rotate padgeom
- quiet q noquiet modtweak nomodtweak xkb noxkb capslock
- nocapslock skip_lockkeys noskip_lockkeys skip_keycodes
- sloppy_keys nosloppy_keys skip_dups noskip_dups
- add_keysyms noadd_keysyms clear_mods noclear_mods
- clear_keys noclear_keys remap repeat norepeat fb nofb
- bell nobell sel nosel primary noprimary setprimary
- nosetprimary clipboard noclipboard setclipboard
- nosetclipboard seldir cursorshape nocursorshape
- cursorpos nocursorpos cursor_drag nocursor_drag cursor
- show_cursor noshow_cursor nocursor arrow xfixes
- noxfixes xdamage noxdamage xd_area xd_mem alphacut
- alphafrac alpharemove noalpharemove alphablend
- noalphablend xwarppointer xwarp noxwarppointer
- noxwarp buttonmap dragging nodragging ncache_cr
- noncache_cr ncache_no_moveraise noncache_no_moveraise
- ncache_no_dtchange noncache_no_dtchange
- ncache_no_rootpixmap noncache_no_rootpixmap
- ncache_reset_rootpixmap ncache noncache ncache_size
- wireframe_mode wireframe wf nowireframe nowf
+ xtrap noxtrap xrandr noxrandr xrandr_mode rotate
+ padgeom quiet q noquiet modtweak nomodtweak xkb noxkb
+ capslock nocapslock skip_lockkeys noskip_lockkeys
+ skip_keycodes sloppy_keys nosloppy_keys skip_dups
+ noskip_dups add_keysyms noadd_keysyms clear_mods
+ noclear_mods clear_keys noclear_keys remap repeat
+ norepeat fb nofb bell nobell sel nosel primary
+ noprimary setprimary nosetprimary clipboard noclipboard
+ setclipboard nosetclipboard seldir cursorshape
+ nocursorshape cursorpos nocursorpos cursor_drag
+ nocursor_drag cursor show_cursor noshow_cursor
+ nocursor arrow xfixes noxfixes xdamage noxdamage
+ xd_area xd_mem alphacut alphafrac alpharemove
+ noalpharemove alphablend noalphablend xwarppointer
+ xwarp noxwarppointer noxwarp buttonmap dragging
+ nodragging ncache_cr noncache_cr ncache_no_moveraise
+ noncache_no_moveraise ncache_no_dtchange
+ noncache_no_dtchange ncache_no_rootpixmap
+ noncache_no_rootpixmap ncache_reset_rootpixmap
+ ncache_keep_anims noncache_keep_anims ncache noncache
+ ncache_size wireframe_mode wireframe wf nowireframe nowf
wireframelocal wfl nowireframelocal nowfl wirecopyrect
wcr nowirecopyrect nowcr scr_area scr_skip scr_inc
scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 74f0ea6..a81a798 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -158,6 +158,9 @@ void clean_up_exit (int ret) {
if (use_solid_bg) {
solid_bg(1);
}
+ if (ncache || ncache0) {
+ kde_no_animate(1);
+ }
X_LOCK;
XTestDiscard_wr(dpy);
#if LIBVNCSERVER_HAVE_LIBXDAMAGE
@@ -415,6 +418,9 @@ static void interrupted (int sig) {
if (use_solid_bg) {
solid_bg(1);
}
+ if (ncache || ncache0) {
+ kde_no_animate(1);
+ }
stop_stunnel();
if (crash_debug) {
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 71d4487..61e59b4 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -517,8 +517,9 @@ int run_user_command(char *cmd, rfbClientPtr client, char *mode, char *input,
clean_up_exit(1);
}
rfbLog("running command:\n");
- rfbLog(" %s\n", cmd);
-
+ if (!quiet) {
+ fprintf(stderr, "\n %s\n\n", cmd);
+ }
close_exec_fds();
if (output != NULL) {
@@ -668,6 +669,9 @@ void client_gone(rfbClientPtr client) {
if (use_solid_bg && client_count == 0) {
solid_bg(1);
}
+ if ((ncache || ncache0) && client_count == 0) {
+ kde_no_animate(1);
+ }
if (client->clientData) {
cd = (ClientData *) client->clientData;
if (cd->ssl_helper_pid > 0) {
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index 10de753..8ca81e8 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -1113,7 +1113,6 @@ static rfbCursorPtr pixels2curs(unsigned long *pixels, int w, int h,
a = 0xff000000 & (*(pixels+i));
a = a >> 24; /* alpha channel */
-
if (a < (unsigned int) thresh) {
bitmap[i] = ' ';
} else {
@@ -1256,6 +1255,13 @@ static int get_exact_cursor(int init) {
}
#endif
+ if (rawfb_vnc_reflect) {
+ int last_idx = (int) get_cursor_serial(1);
+ if (last_idx) {
+ which = last_idx;
+ }
+ return which;
+ }
if (xfixes_present && dpy) {
#if LIBVNCSERVER_HAVE_LIBXFIXES
int last_idx = (int) get_cursor_serial(1);
@@ -1490,6 +1496,9 @@ int get_which_cursor(void) {
mode = 3;
}
+ if (rawfb_vnc_reflect && mode > -1) {
+ return get_exact_cursor(0);
+ }
if (mode == 3) {
if ((xfixes_present && use_xfixes) || macosx_console) {
if (db) fprintf(stderr, "get_which_cursor call get_exact_cursor\n");
diff --git a/x11vnc/help.c b/x11vnc/help.c
index 1d73b15..d7b2ebc 100644
--- a/x11vnc/help.c
+++ b/x11vnc/help.c
@@ -55,10 +55,10 @@ void print_help(int mode) {
" and http://www.karlrunge.com/x11vnc/#faq\n"
"\n"
"\n"
-"Rudimentary config file support: if the file $HOME/.x11vncrc exists then each\n"
-"line in it is treated as a single command line option. Disable with -norc.\n"
-"For each option name, the leading character \"-\" is not required. E.g. a\n"
-"line that is either \"forever\" or \"-forever\" may be used and are equivalent.\n"
+"Config file support: if the file $HOME/.x11vncrc exists then each line in\n"
+"it is treated as a single command line option. Disable with -norc. For\n"
+"each option name, the leading character \"-\" is not required. E.g. a line\n"
+"that is either \"forever\" or \"-forever\" may be used and are equivalent.\n"
"Likewise \"wait 100\" or \"-wait 100\" are acceptable and equivalent lines.\n"
"The \"#\" character comments out to the end of the line in the usual way\n"
"(backslash it for a literal). Leading and trailing whitespace is trimmed off.\n"
@@ -77,7 +77,23 @@ void print_help(int mode) {
" before startup. Same as -xauth file. See Xsecurity(7),\n"
" xauth(1) man pages for more info.\n"
"\n"
-"-id windowid Show the window corresponding to \"windowid\" not\n"
+"-N If the X display is :N, try to set the VNC display\n"
+" to also be :N This just sets the -rfbport option\n"
+" to 5900+N. The program will exit immediately if that\n"
+" port is not available.\n"
+"\n"
+"-reflect host:N Instead of connecting to and polling an X display,\n"
+" connect to the remote VNC server host:N and be a\n"
+" reflector/repeater for it. This is useful for trying\n"
+" to manage the case of many simultaneous VNC viewers\n"
+" (e.g. classroom broadcasting) where, e.g. you put\n"
+" a repeater on each network switch, etc, to improve\n"
+" performance by distributing the load and network\n"
+" traffic. Implies -shared (use -noshared as a later\n"
+" option to disable). See the discussion below under\n"
+" -rawfb vnc:host:N for more details.\n"
+"\n"
+"-id windowid Show the X window corresponding to \"windowid\" not\n"
" the entire display. New windows like popup menus,\n"
" transient toplevels, etc, may not be seen or may be\n"
" clipped. Disabling SaveUnders or BackingStore in the\n"
@@ -789,15 +805,16 @@ void print_help(int mode) {
" in PATH and have run \"Xdummy -install\" once to create\n"
" the shared library. Xdummy requires root permission\n"
" and only works on Linux. Xvfb is available on most\n"
-" platforms.\n"
+" platforms and does not require root.\n"
"\n"
" When x11vnc exits (i.e. user disconnects) the X server\n"
-" session stays running in the background. Presumably the\n"
-" FINDDISPLAY will find it next time. The user must exit\n"
-" the X session in the usual way for it to terminate.\n"
+" session stays running in the background. Presumably\n"
+" the FINDDISPLAY will find it next time. The user must\n"
+" exit the X session in the usual way for it to terminate\n"
+" (or kill the X server process if all else fails).\n"
"\n"
" So this is a somewhat odd mode for x11vnc in that it\n"
-" will start up and poll virtual X servers. This can\n"
+" will start up and poll virtual X servers! This can\n"
" be used from, say, inetd(8) to provide a means of\n"
" definitely getting a desktop (either real or virtual)\n"
" on the machine. E.g. a desktop service:\n"
@@ -812,10 +829,24 @@ void print_help(int mode) {
" Use WAIT:cmd=FINDCREATEDISPLAY-print to print out the\n"
" script used. You can specify the preferred order via\n"
" e.g., WAIT:cmd=FINDCREATEDISPLAY-Xdummy,Xvfb,X and/or\n"
-" leave out ones you do not want. The the extra case \"X\"\n"
-" means try to start up a real, hardware X server using\n"
-" xinit(1). If there is already an X server running the\n"
-" X case may only work on Linux (see startx(1)).\n"
+" leave out ones you do not want. The the extra case\n"
+" \"X\" means try to start up a real, hardware X server\n"
+" using xinit(1) or startx(1). If there is already an\n"
+" X server running the X case may only work on Linux\n"
+" (see startx(1)).\n"
+"\n"
+" If you want the FINDCREATEDISPLAY session to contact an\n"
+" XDMCP login manager (xdm/gdm/kdm) on the same machine,\n"
+" then use \"Xvfb.xdmcp\" instead of \"Xvfb\", etc.\n"
+" The user will have to supply his username and password\n"
+" one more time (but he gets to select his desktop type\n"
+" so that can be useful). For this to work, you will\n"
+" need to enable localhost XDMCP (udp port 177) for the\n"
+" display manager. This seems to be:\n"
+"\n"
+" for gdm in gdm.conf: Enable=true in section [xdmcp]\n"
+" for kdm in kdmrc: Enable=true in section [Xdmcp]\n"
+" for xdm in xdm-config: DisplayManager.requestPort: 177\n"
"\n"
#ifndef NO_SSL_OR_UNIXPW
"-ssl [pem] Use the openssl library (www.openssl.org) to provide a\n"
@@ -1691,6 +1722,15 @@ void print_help(int mode) {
" identical keyboards). Also useful in resolving cases\n"
" where a Keysym is bound to multiple keys (e.g. \"<\" + \">\"\n"
" and \",\" + \"<\" keys). Default: %s\n"
+"\n"
+" On some HP-UX systems it is been noted that they have\n"
+" an odd keymapping where a single keycode will have a\n"
+" keysym, e.g. \"#\", up to three times. You can check\n"
+" via \"xmodmap -pk\" or the -dk option. The failure\n"
+" is when you try to type \"#\" it yields \"3\". If you\n"
+" see this problem try setting the environment variable\n"
+" MODTWEAK_LOWEST=1 to see if it helps.\n"
+"\n"
"-xkb When in modtweak mode, use the XKEYBOARD extension (if\n"
"-noxkb the X display supports it) to do the modifier tweaking.\n"
" This is powerful and should be tried if there are still\n"
@@ -2021,6 +2061,10 @@ void print_help(int mode) {
" for rapid retrieval. So a W x H frambuffer is expanded\n"
" to a W x (n+1)*H one. Use 0 to disable. Default: XXX.\n"
"\n"
+" For this and the other -ncache* options below you can\n"
+" abbreviate \"-ncache\" with \"-nc\". Also, \"-nonc\"\n"
+" is the same as \"-ncache 0\"\n"
+"\n"
" This is an experimental option, currently implemented\n"
" in an awkward way in that in the VNC Viewer you can\n"
" see the cache contents if you scroll down, etc. So you\n"
@@ -2081,7 +2125,21 @@ void print_help(int mode) {
"\n"
"-ncache_no_rootpixmap In -ncache mode, do not try to snapshot the desktop\n"
" background to use in guessing or reconstructing window\n"
-" save-unders..\n"
+" save-unders.\n"
+"\n"
+"-ncache_keep_anims In -ncache mode, do not try to disable window\n"
+" manager animations and other effects (that usually\n"
+" degrade ncache performance or cause painting errors).\n"
+" The default is to try to disable them on KDE (but not\n"
+" GNOME) when VNC clients are connected.\n"
+"\n"
+" For other window managers or desktops that provide\n"
+" animations, effects, compositing, translucency,\n"
+" etc. that interfere with the -ncache method you will\n"
+" have to disable them manually.\n"
+"\n"
+"-ncache_old_wm In -ncache mode, enable some heuristics for old style\n"
+" window managers such as fvwm and twm.\n"
"\n"
"-ncache_pad n In -ncache mode, pad each window with n pixels for the\n"
" caching rectangles. This can be used to try to improve\n"
@@ -2703,6 +2761,10 @@ void print_help(int mode) {
" the framebuffer device is opened and keystrokes (and\n"
" possibly mouse events) are inserted into the console.\n"
"\n"
+" If the string begins with \"vnc\", see the VNC HOST\n"
+" discussion below where the framebuffer is taken as that\n"
+" of another remote VNC server.\n"
+"\n"
" Optional suffixes are \":R/G/B\" and \"+O\" to specify\n"
" red, green, and blue masks and an offset into the\n"
" memory object. If the masks are not provided x11vnc\n"
@@ -2723,6 +2785,7 @@ void print_help(int mode) {
" -rawfb video0\n"
" -rawfb video -pipeinput VID\n"
" -rawfb console\n"
+" -rawfb vnc:somehost:0\n"
"\n"
" (see ipcs(1) and fbset(1) for the first two examples)\n"
"\n"
@@ -2893,6 +2956,44 @@ void print_help(int mode) {
" -rawfb console:/dev/nonstd\n"
" -rawfb console -pipeinput UINPUT:accel=4.0\n"
"\n"
+" VNC HOST: if the -rawfb string is of the form\n"
+" \"vnc:host:N\" then the VNC display \"N\" on the remote\n"
+" VNC server \"host\" is connected to (i.e. x11vnc acts as\n"
+" a VNC client itself) and that framebuffer is exported.\n"
+"\n"
+" This mode is really only of use if you are trying\n"
+" to improve performance in the case of many (e.g. >\n"
+" 10) simultaneous VNC viewers, and you try a divide\n"
+" and conquer scheme to reduce bandwidth and improve\n"
+" responsiveness.\n"
+"\n"
+" For example, if there will be 64 simultaneous VNC\n"
+" viewers this can lead to a lot of redundant VNC traffic\n"
+" to and from the server host:N, extra CPU usage,\n"
+" and all viewers response can be reduced by having\n"
+" to wait for writes to the slowest client to finish.\n"
+" However, if you set up 8 reflectors/repeaters started\n"
+" with option -rawfb vnc:host:N, then there are only\n"
+" 8 connections to host:N. Each repeater then handles\n"
+" 8 vnc viewer connections thereby spreading the load\n"
+" around. In classroom broadcast usage, try to put the\n"
+" repeaters on different switches. This mode is the same\n"
+" as -reflect host:N. Replace \"host:N\" by \"listen\"\n"
+" or \"listen:port\" for a reverse connection.\n"
+"\n"
+" Overall performance will not be as good as a single\n"
+" direct connection because, among other things,\n"
+" there is an additional level of framebuffer polling\n"
+" and pointer motion can still induce many changes per\n"
+" second that must be propagated. Tip: if the remote VNC\n"
+" is x11vnc doing wireframing, or an X display that does\n"
+" wireframing that gives much better response than opaque\n"
+" window dragging. Consider the -nodragging option if\n"
+" the problem is severe.\n"
+"\n"
+" The VNC HOST mode implies -shared. Use -noshared as\n"
+" a subsequent cmdline option to disable sharing.\n"
+"\n"
"-freqtab file For use with \"-rawfb video\" for TV tuner devices to\n"
" specify station frequencies. Instead of using the built\n"
" in ntsc-cable-us mapping of station number to frequency,\n"
@@ -2995,7 +3096,7 @@ void print_help(int mode) {
" If the uinput device has an absolute pointer (as opposed\n"
" to a normal mouse that is a relative pointer) you can\n"
" specify the option \"abs\". Note that a touchpad\n"
-" on a laptop is an absolute device t some degree.\n"
+" on a laptop is an absolute device to some degree.\n"
" This (usually) avoids all the problems with mouse\n"
" acceleration. If x11vnc has trouble deducing the size\n"
" of the device, use \"abs=WxH\". Furthermore, if the\n"
@@ -3355,6 +3456,8 @@ void print_help(int mode) {
" ncache_no_rootpixmap enable ncache_no_rootpixmap.\n"
" noncache_no_rootpixmap disable ncache_no_rootpixmap.\n"
" ncache_reset_rootpixmap recheck the root pixmap\n"
+" ncache_keep_anims enable ncache_keep_anims.\n"
+" noncache_keep_anims disable ncache_keep_anims.\n"
" wireframe enable -wireframe mode. same as \"wf\"\n"
" nowireframe disable -wireframe mode. same as \"nowf\"\n"
" wireframe:str enable -wireframe mode string.\n"
@@ -3505,26 +3608,27 @@ 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 padgeom\n"
-" quiet q noquiet modtweak nomodtweak xkb noxkb capslock\n"
-" nocapslock skip_lockkeys noskip_lockkeys skip_keycodes\n"
-" sloppy_keys nosloppy_keys skip_dups noskip_dups\n"
-" add_keysyms noadd_keysyms clear_mods noclear_mods\n"
-" clear_keys noclear_keys remap repeat norepeat fb nofb\n"
-" bell nobell sel nosel primary noprimary setprimary\n"
-" nosetprimary clipboard noclipboard setclipboard\n"
-" nosetclipboard seldir cursorshape nocursorshape\n"
-" cursorpos nocursorpos cursor_drag nocursor_drag cursor\n"
-" show_cursor noshow_cursor nocursor arrow xfixes\n"
-" noxfixes xdamage noxdamage xd_area xd_mem alphacut\n"
-" alphafrac alpharemove noalpharemove alphablend\n"
-" noalphablend xwarppointer xwarp noxwarppointer\n"
-" noxwarp buttonmap dragging nodragging ncache_cr\n"
-" noncache_cr ncache_no_moveraise noncache_no_moveraise\n"
-" ncache_no_dtchange noncache_no_dtchange\n"
-" ncache_no_rootpixmap noncache_no_rootpixmap\n"
-" ncache_reset_rootpixmap ncache noncache ncache_size\n"
-" wireframe_mode wireframe wf nowireframe nowf\n"
+" xtrap noxtrap xrandr noxrandr xrandr_mode rotate\n"
+" padgeom quiet q noquiet modtweak nomodtweak xkb noxkb\n"
+" capslock nocapslock skip_lockkeys noskip_lockkeys\n"
+" skip_keycodes sloppy_keys nosloppy_keys skip_dups\n"
+" noskip_dups add_keysyms noadd_keysyms clear_mods\n"
+" noclear_mods clear_keys noclear_keys remap repeat\n"
+" norepeat fb nofb bell nobell sel nosel primary\n"
+" noprimary setprimary nosetprimary clipboard noclipboard\n"
+" setclipboard nosetclipboard seldir cursorshape\n"
+" nocursorshape cursorpos nocursorpos cursor_drag\n"
+" nocursor_drag cursor show_cursor noshow_cursor\n"
+" nocursor arrow xfixes noxfixes xdamage noxdamage\n"
+" xd_area xd_mem alphacut alphafrac alpharemove\n"
+" noalpharemove alphablend noalphablend xwarppointer\n"
+" xwarp noxwarppointer noxwarp buttonmap dragging\n"
+" nodragging ncache_cr noncache_cr ncache_no_moveraise\n"
+" noncache_no_moveraise ncache_no_dtchange\n"
+" noncache_no_dtchange ncache_no_rootpixmap\n"
+" noncache_no_rootpixmap ncache_reset_rootpixmap\n"
+" ncache_keep_anims noncache_keep_anims ncache noncache\n"
+" ncache_size wireframe_mode wireframe wf nowireframe nowf\n"
" wireframelocal wfl nowireframelocal nowfl wirecopyrect\n"
" wcr nowirecopyrect nowcr scr_area scr_skip scr_inc\n"
" scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect\n"
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
index 29aa9f4..5f16a78 100644
--- a/x11vnc/keyboard.c
+++ b/x11vnc/keyboard.c
@@ -2235,6 +2235,7 @@ void initialize_modtweak(void) {
#else
KeySym keysym, *keymap;
int i, j, minkey, maxkey, syms_per_keycode;
+ int use_lowest_index = 0;
if (use_xkb_modtweak) {
initialize_xkb_modtweak();
@@ -2247,6 +2248,10 @@ void initialize_modtweak(void) {
RAWFB_RET_VOID
+ if (getenv("MODTWEAK_LOWEST")) {
+ use_lowest_index = 1;
+ }
+
X_LOCK;
XDisplayKeycodes(dpy, &minkey, &maxkey);
@@ -2306,6 +2311,9 @@ void initialize_modtweak(void) {
keysym = keymap[ (i - minkey) * syms_per_keycode + j ];
if ( keysym >= ' ' && keysym < 0x100
&& i == XKeysymToKeycode(dpy, keysym) ) {
+ if (use_lowest_index && keycodes[keysym] != NoSymbol) {
+ continue;
+ }
keycodes[keysym] = i;
modifiers[keysym] = j;
}
@@ -2555,6 +2563,8 @@ static void pipe_keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
uinput_key_command(down, keysym, client);
} else if (pipeinput_int == PIPEINPUT_MACOSX) {
macosx_key_command(down, keysym, client);
+ } else if (pipeinput_int == PIPEINPUT_VNC) {
+ vnc_reflect_send_key((uint32_t) keysym, down);
}
if (pipeinput_fh == NULL) {
return;
diff --git a/x11vnc/macosx.c b/x11vnc/macosx.c
index 450cf50..0467e1e 100644
--- a/x11vnc/macosx.c
+++ b/x11vnc/macosx.c
@@ -243,7 +243,7 @@ void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client) {
last_pointer_time = time(NULL);
}
if (last_mask != mask) {
- fprintf(stderr, "about to inject mask change %d -> %d: %.4f\n", last_mask, mask, dnowx());
+ if (0) fprintf(stderr, "about to inject mask change %d -> %d: %.4f\n", last_mask, mask, dnowx());
if (mask) {
int px, py, x, y, w, h;
macosx_click_frame = None;
@@ -267,7 +267,7 @@ void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client) {
if (ncache > 0) {
/* XXX Y */
int i;
-fprintf(stderr, "about to get all windows: %.4f\n", dnowx());
+if (0) fprintf(stderr, "about to get all windows: %.4f\n", dnowx());
for (i=0; i < 2; i++) {
macosxCGS_get_all_windows();
fprintf(stderr, "!");
@@ -275,7 +275,7 @@ fprintf(stderr, "about to get all windows: %.4f\n", dnowx());
break;
}
}
-fprintf(stderr, "\ndone: %.4f\n", dnowx());
+if (0) fprintf(stderr, "\ndone: %.4f\n", dnowx());
}
}
last_mask = mask;
diff --git a/x11vnc/macosxCG.c b/x11vnc/macosxCG.c
index 6e56e9f..ce8e662 100644
--- a/x11vnc/macosxCG.c
+++ b/x11vnc/macosxCG.c
@@ -35,7 +35,7 @@ void macosxCG_key_inject(int down, unsigned int keysym);
CGDirectDisplayID displayID = NULL;
extern void macosx_log(char *);
-extern int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call);
+extern int collect_non_X_xdamage(int x_in, int y_in, int w_in, int h_in, int call);
static void macosxCG_callback(CGRectCount n, const CGRect *rects, void *dum) {
int i, db = 0;
@@ -43,7 +43,7 @@ static void macosxCG_callback(CGRectCount n, const CGRect *rects, void *dum) {
if (!dum) {}
for (i=0; i < (int) n; i++) {
if (db > 1) fprintf(stderr, " : %g %g - %g %g\n", rects[i].origin.x, rects[i].origin.y, rects[i].size.width, rects[i].size.height);
- collect_macosx_damage( (int) rects[i].origin.x, (int) rects[i].origin.y,
+ collect_non_X_xdamage( (int) rects[i].origin.x, (int) rects[i].origin.y,
(int) rects[i].size.width, (int) rects[i].size.height, 1);
}
}
diff --git a/x11vnc/macosxCGS.c b/x11vnc/macosxCGS.c
index 3f6c05c..e78b2bb 100644
--- a/x11vnc/macosxCGS.c
+++ b/x11vnc/macosxCGS.c
@@ -177,7 +177,7 @@ int macosxCGS_follow_animation_win(int win, int idx, int grow) {
macwins[idx].height = h;
}
- fprintf(stderr, " chase: %03dx%03d+%03d+%03d %d\n", w, h, x, y, win);
+ if (0) fprintf(stderr, " chase: %03dx%03d+%03d+%03d %d\n", w, h, x, y, win);
if (x == xp && y == yp && w == wp && h == hp) {
reps++;
if (reps >= 2) {
@@ -398,20 +398,20 @@ if (db) fprintf(stderr, "cnt: %d err: %d\n", (int) _wins_mapped_cnt, err);
;
} else if ( !(prev & is_mapped) && (curr & is_mapped)) {
/* MapNotify */
- fprintf(stderr, "MapNotify: %d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
+ if (0) fprintf(stderr, "MapNotify: %d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
macosx_add_mapnotify(win, macwins[i].level, 1);
if (0) macosxCGS_follow_animation_win(win, i, 1);
} else if ( !(curr & is_mapped) && (prev & is_mapped)) {
/* UnmapNotify */
- fprintf(stderr, "UnmapNotify: %d/%d %d %.4f A tot=%d\n", prev, curr, win, dnowx(), totcnt);
+ if (0) fprintf(stderr, "UnmapNotify: %d/%d %d %.4f A tot=%d\n", prev, curr, win, dnowx(), totcnt);
macosx_add_mapnotify(win, macwins[i].level, 0);
} else if ( !(prev & is_exist) && (curr & is_exist)) {
/* CreateNotify */
- fprintf(stderr, "CreateNotify:%d/%d %d %.4f whist: %d/%d 0x%x tot=%d\n", prev, curr, win, dnowx(), whist_prv, whist_idx, win, totcnt);
+ if (0) fprintf(stderr, "CreateNotify:%d/%d %d %.4f whist: %d/%d 0x%x tot=%d\n", prev, curr, win, dnowx(), whist_prv, whist_idx, win, totcnt);
macosx_add_create(win, macwins[i].level);
if (curr & is_mapped) {
- fprintf(stderr, "MapNotify: %d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
+ if (0) fprintf(stderr, "MapNotify: %d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
macosx_add_mapnotify(win, macwins[i].level, 1);
}
}
@@ -425,24 +425,24 @@ if (db) fprintf(stderr, "cnt: %d err: %d\n", (int) _wins_mapped_cnt, err);
if (1) {
;
} else if (curr & is_clipped) {
- fprintf(stderr, "VisibNotify: %d/%d %d OBS tot=%d\n", prev, curr, win, totcnt);
+ if (0) fprintf(stderr, "VisibNotify: %d/%d %d OBS tot=%d\n", prev, curr, win, totcnt);
nv_win[nv] = win;
nv_lvl[nv] = macwins[i].level;
nv_vis[nv++] = 1;
} else {
- fprintf(stderr, "VisibNotify: %d/%d %d UNOBS tot=%d\n", prev, curr, win, totcnt);
+ if (0) fprintf(stderr, "VisibNotify: %d/%d %d UNOBS tot=%d\n", prev, curr, win, totcnt);
nv_win[nv] = win;
nv_lvl[nv] = macwins[i].level;
nv_vis[nv++] = 0;
}
} else {
if ( !(prev & is_clipped) && (curr & is_clipped) ) {
- fprintf(stderr, "VisibNotify: %d/%d %d OBS tot=%d\n", prev, curr, win, totcnt);
+ if (0) fprintf(stderr, "VisibNotify: %d/%d %d OBS tot=%d\n", prev, curr, win, totcnt);
nv_win[nv] = win;
nv_lvl[nv] = macwins[i].level;
nv_vis[nv++] = 1;
} else if ( (prev & is_clipped) && !(curr & is_clipped) ) {
- fprintf(stderr, "VisibNotify: %d/%d %d UNOBS tot=%d\n", prev, curr, win, totcnt);
+ if (0) fprintf(stderr, "VisibNotify: %d/%d %d UNOBS tot=%d\n", prev, curr, win, totcnt);
nv_win[nv] = win;
nv_lvl[nv] = macwins[i].level;
nv_vis[nv++] = 0;
@@ -466,11 +466,11 @@ if (db) fprintf(stderr, "cnt: %d err: %d\n", (int) _wins_mapped_cnt, err);
prev = whist[whist_prv][win];
if (!(curr & is_exist) && (prev & is_exist)) {
if (prev & is_mapped) {
- fprintf(stderr, "UnmapNotify: %d/%d %d %.4f B tot=%d\n", prev, curr, win, dnowx(), totcnt);
+ if (0) fprintf(stderr, "UnmapNotify: %d/%d %d %.4f B tot=%d\n", prev, curr, win, dnowx(), totcnt);
macosx_add_mapnotify(win, lvl, 0);
}
/* DestroyNotify */
- fprintf(stderr, "DestroNotify:%d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
+ if (0) fprintf(stderr, "DestroNotify:%d/%d %d %.4f tot=%d\n", prev, curr, win, dnowx(), totcnt);
macosx_add_destroy(win, lvl);
}
}
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/tight-vncviewer-newfbsize.patch b/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/tight-vncviewer-newfbsize.patch
index d9eb114..9e2c811 100644
--- a/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/tight-vncviewer-newfbsize.patch
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/tight-vncviewer-newfbsize.patch
@@ -1,5 +1,5 @@
--- vnc_unixsrc.orig/vncviewer/desktop.c 2004-05-28 13:29:29.000000000 -0400
-+++ vnc_unixsrc/vncviewer/desktop.c 2006-07-27 11:30:01.000000000 -0400
++++ vnc_unixsrc/vncviewer/desktop.c 2007-01-13 13:59:51.000000000 -0500
@@ -50,6 +50,30 @@
},
};
@@ -63,7 +63,7 @@
/*
* DesktopInitAfterRealization does things which require the X windows to
* exist. It creates some GCs and sets the dot cursor.
-@@ -460,3 +463,69 @@
+@@ -460,3 +463,70 @@
break;
}
}
@@ -74,7 +74,8 @@
+ } else {
+ if (image && image->data) {
+ free(image->data);
-+ XDestroyImage(image);
++ /* see manpage XDestroyImage may also free data, so we skip and have a tiny leak instead */
++ if (0) XDestroyImage(image);
+ image = NULL;
+ }
+ }
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 902c31e..4a124d9 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -9,6 +9,7 @@
int debug = 0;
char *use_dpy = NULL; /* -display */
+int display_N = 0;
char *auth_file = NULL; /* -auth/-xauth */
char *visual_str = NULL; /* -visual */
int set_visual_str_to_something = 0;
@@ -216,6 +217,8 @@ int ncache0 = 0;
int ncache_copyrect = 0;
int ncache_wf_raises = 1;
int ncache_dt_change = 1;
+int ncache_keep_anims = 0;
+int ncache_old_wm = 0;
int macosx_ncache_macmenu = 0;
int ncache_beta_tester = 0;
diff --git a/x11vnc/options.h b/x11vnc/options.h
index 31d9d84..3a09e4a 100644
--- a/x11vnc/options.h
+++ b/x11vnc/options.h
@@ -9,6 +9,7 @@
extern int debug;
extern char *use_dpy;
+extern int display_N;
extern char *auth_file;
extern char *visual_str;
extern int set_visual_str_to_something;
@@ -163,6 +164,8 @@ extern int ncache_wf_raises;
extern int ncache_dt_change;
extern int ncache_pad;
extern int ncache_xrootpmap;
+extern int ncache_keep_anims;
+extern int ncache_old_wm;
extern int macosx_ncache_macmenu;
extern int ncache_beta_tester;
diff --git a/x11vnc/params.h b/x11vnc/params.h
index b3733e1..f0dccb6 100644
--- a/x11vnc/params.h
+++ b/x11vnc/params.h
@@ -5,8 +5,9 @@
#define ICON_MODE_SOCKS 16
+/* had lw=3 for a long time */
#ifndef WIREFRAME_PARMS
-#define WIREFRAME_PARMS "0xff,3,0,32+8+8+8,all,0.15+0.30+5.0+0.125"
+#define WIREFRAME_PARMS "0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125"
#endif
#ifndef SCROLL_COPYRECT_PARMS
@@ -40,6 +41,7 @@
#define PIPEINPUT_CONSOLE 0x2
#define PIPEINPUT_UINPUT 0x3
#define PIPEINPUT_MACOSX 0x4
+#define PIPEINPUT_VNC 0x5
#define MAX_BUTTONS 5
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c
index 803e793..3663819 100644
--- a/x11vnc/pointer.c
+++ b/x11vnc/pointer.c
@@ -558,6 +558,8 @@ static void pipe_pointer(int mask, int x, int y, rfbClientPtr client) {
uinput_pointer_command(mask, x, y, client);
} else if (pipeinput_int == PIPEINPUT_MACOSX) {
macosx_pointer_command(mask, x, y, client);
+ } else if (pipeinput_int == PIPEINPUT_VNC) {
+ vnc_reflect_send_pointer(x, y, mask);
}
if (pipeinput_fh == NULL) {
return;
@@ -679,6 +681,8 @@ void pointer(int mask, int x, int y, rfbClientPtr client) {
got_user_input++;
got_pointer_input++;
last_pointer_client = client;
+ last_pointer_time = dnow();
+ last_event = last_input = last_pointer_input = time(NULL);
}
if (input.motion) {
/* raw_fb hack track button state */
@@ -994,6 +998,9 @@ if (0) fprintf(stderr, "initialize_pipeinput: %s -- %s\n", pipeinput_str, p);
} else if (strstr(p, "MACOSX") == p) {
pipeinput_int = PIPEINPUT_MACOSX;
return;
+ } else if (strstr(p, "VNC") == p) {
+ pipeinput_int = PIPEINPUT_VNC;
+ return;
}
set_child_info();
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index 93f8de5..d8dfa5c 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -2790,7 +2790,6 @@ char *process_remote_cmd(char *cmd, int stringonly) {
if (orig != ncache_xrootpmap) {
do_new_fb(1);
}
-
} else if (!strcmp(p, "noncache_no_rootpixmap")) {
int orig = ncache_xrootpmap;
if (query) {
@@ -2813,6 +2812,38 @@ char *process_remote_cmd(char *cmd, int stringonly) {
set_ncache_xrootpmap();
}
+ } else if (!strcmp(p, "ncache_keep_anims")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, ncache_keep_anims);
+ goto qry;
+ }
+ kde_no_animate(0);
+ ncache_keep_anims = 1;
+ rfbLog("remote_cmd: set -ncache_keep_anims\n");
+ } else if (!strcmp(p, "noncache_keep_anims")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, !ncache_keep_anims);
+ goto qry;
+ }
+ ncache_keep_anims = 0;
+ kde_no_animate(1);
+ rfbLog("remote_cmd: disabled -ncache_keep_anims\n");
+
+ } else if (!strcmp(p, "ncache_old_wm")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, ncache_old_wm);
+ goto qry;
+ }
+ ncache_old_wm = 1;
+ rfbLog("remote_cmd: set -ncache_old_wm\n");
+ } else if (!strcmp(p, "noncache_old_wm")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, !ncache_old_wm);
+ goto qry;
+ }
+ ncache_old_wm = 0;
+ rfbLog("remote_cmd: disabled -ncache_old_wm\n");
+
} else if (!strcmp(p, "ncache")) {
if (query) {
snprintf(buf, bufn, "ans=%s:%d", p, !!ncache);
diff --git a/x11vnc/scan.c b/x11vnc/scan.c
index 62bfe13..9c3c0a1 100644
--- a/x11vnc/scan.c
+++ b/x11vnc/scan.c
@@ -3065,11 +3065,15 @@ int scan_for_updates(int count_only) {
/* first pass collecting DAMAGE events: */
#ifdef MACOSX
if (macosx_console) {
- collect_macosx_damage(-1, -1, -1, -1, 0);
+ collect_non_X_xdamage(-1, -1, -1, -1, 0);
} else
#endif
{
- collect_xdamage(scan_count, 0);
+ if (rawfb_vnc_reflect) {
+ collect_non_X_xdamage(-1, -1, -1, -1, 0);
+ } else {
+ collect_xdamage(scan_count, 0);
+ }
}
}
}
@@ -3100,7 +3104,11 @@ int scan_for_updates(int count_only) {
} else
#endif
{
- collect_xdamage(scan_count, 1);
+ if (rawfb_vnc_reflect) {
+ ;
+ } else {
+ collect_xdamage(scan_count, 1);
+ }
}
}
if (count_only) {
diff --git a/x11vnc/screen.c b/x11vnc/screen.c
index 264b9c4..44b7b98 100644
--- a/x11vnc/screen.c
+++ b/x11vnc/screen.c
@@ -24,6 +24,8 @@
#include "macosx.h"
#include "macosxCG.h"
+#include <rfb/rfbclient.h>
+
void set_greyscale_colormap(void);
void set_hi240_colormap(void);
void unset_colormap(void);
@@ -43,6 +45,11 @@ void initialize_screen(int *argc, char **argv, XImage *fb);
void set_vnc_desktop_name(void);
void announce(int lport, int ssl, char *iface);
+char *vnc_reflect_guess(char *str, char **raw_fb_addr);
+void vnc_reflect_process_client(void);
+rfbBool vnc_reflect_send_pointer(int x, int y, int mask);
+rfbBool vnc_reflect_send_key(uint32_t key, rfbBool down);
+rfbBool vnc_reflect_send_cuttext(char *str, int len);
static void debug_colormap(XImage *fb);
static void set_visual(char *str);
@@ -57,6 +64,7 @@ static void setup_scaling(int *width_in, int *height_in);
int rawfb_reset = -1;
int rawfb_dev_video = 0;
+int rawfb_vnc_reflect = 0;
/*
* X11 and rfb display/screen related routines
@@ -605,7 +613,9 @@ void set_raw_fb_params(int restore) {
view_only = 1;
}
#endif
- if (watch_selection) {
+ if (raw_fb_str && strstr(raw_fb_str, "vnc") == raw_fb_str) {
+ ;
+ } else if (watch_selection) {
if (verbose) rfbLog(" rawfb: turning off "
"watch_selection\n");
watch_selection = 0;
@@ -635,7 +645,11 @@ void set_raw_fb_params(int restore) {
use_solid_bg = 0;
}
#ifndef MACOSX
- multiple_cursors_mode = strdup("arrow");
+ if (raw_fb_str && strstr(raw_fb_str, "vnc") == raw_fb_str) {
+ ;
+ } else {
+ multiple_cursors_mode = strdup("arrow");
+ }
#endif
}
if (using_shm) {
@@ -830,6 +844,281 @@ static void initialize_snap_fb(void) {
snap_fb = snap->data;
}
+rfbClient* client = NULL;
+
+void vnc_reflect_bell(rfbClient *cl) {
+ if (sound_bell) {
+ if (unixpw_in_progress) {
+ return;
+ }
+ if (! all_clients_initialized()) {
+ rfbLog("vnc_reflect_bell: not sending bell: "
+ "uninitialized clients\n");
+ } else {
+ if (screen && client_count) {
+ rfbSendBell(screen);
+ }
+ }
+ }
+}
+
+void vnc_reflect_recv_cuttext(rfbClient *cl, const char *str, int len) {
+ if (unixpw_in_progress) {
+ return;
+ }
+ if (! watch_selection) {
+ return;
+ }
+ if (! all_clients_initialized()) {
+ rfbLog("vnc_reflect_recv_cuttext: no send: uninitialized clients\n");
+ return; /* some clients initializing, cannot send */
+ }
+ rfbSendServerCutText(screen, (char *)str, len);
+}
+
+void vnc_reflect_got_update(rfbClient *cl, int x, int y, int w, int h) {
+ if (use_xdamage) {
+ static int first = 1;
+ if (first) {
+ collect_non_X_xdamage(-1, -1, -1, -1, 0);
+ first = 0;
+ }
+ collect_non_X_xdamage(x, y, w, h, 1);
+ }
+}
+
+void vnc_reflect_got_cursorshape(rfbClient *cl, int xhot, int yhot, int width, int height, int bytesPerPixel) {
+ static int serial = 1;
+ int i, j;
+ char *bitmap, *rich, *alpha;
+ char *pixels = NULL;
+ unsigned long r, g, b, a;
+ unsigned int ui;
+ unsigned long red_mask, green_mask, blue_mask;
+
+ if (unixpw_in_progress) {
+ return;
+ }
+ if (! all_clients_initialized()) {
+ rfbLog("vnc_reflect_got_copyshape: no send: uninitialized clients\n");
+ return; /* some clients initializing, cannot send */
+ }
+ if (! client->rcSource) {
+ return;
+ }
+ if (bytesPerPixel != 1 && bytesPerPixel != 2 && bytesPerPixel != 4) {
+ return;
+ }
+
+ red_mask = (client->format.redMax << client->format.redShift);
+ green_mask = (client->format.greenMax << client->format.greenShift);
+ blue_mask = (client->format.blueMax << client->format.blueShift);
+
+ pixels = (char *)malloc(4*width*height);
+ for (j=0; j<height; j++) {
+ for (i=0; i<width; i++) {
+ unsigned int* uip;
+ unsigned char* uic;
+ int m;
+ if (bytesPerPixel == 1) {
+ unsigned char* p = (unsigned char *) client->rcSource;
+ ui = (unsigned long) *(p + j * width + i);
+ } else if (bytesPerPixel == 2) {
+ unsigned short* p = (unsigned short *) client->rcSource;
+ ui = (unsigned long) *(p + j * width + i);
+ } else if (bytesPerPixel == 4) {
+ unsigned int* p = (unsigned int *) client->rcSource;
+ ui = (unsigned long) *(p + j * width + i);
+ }
+ r = (red_mask & ui) >> client->format.redShift;
+ g = (green_mask & ui) >> client->format.greenShift;
+ b = (blue_mask & ui) >> client->format.blueShift;
+
+ r = (255 * r) / client->format.redMax;
+ g = (255 * g) / client->format.greenMax;
+ b = (255 * b) / client->format.blueMax;
+
+ ui = (r << 16 | g << 8 | b << 0) ;
+
+ uic = (unsigned char *)client->rcMask;
+ m = (int) *(uic + j * width + i);
+ if (m) {
+ ui |= 0xff000000;
+ }
+ uip = (unsigned int *)pixels;
+ *(uip + j * width + i) = ui;
+ }
+ }
+
+ store_cursor(serial++, (unsigned long*) pixels, width, height, 32, xhot, yhot);
+ free(pixels);
+ set_cursor(cursor_x, cursor_y, get_which_cursor());
+}
+
+void vnc_reflect_got_copyrect(rfbClient *cl, int src_x, int src_y, int w, int h, int dest_x, int dest_y) {
+ sraRegionPtr reg;
+ int dx, dy, rc = -1;
+ static int last_dx = 0, last_dy = 0;
+ if (unixpw_in_progress) {
+ return;
+ }
+ if (! all_clients_initialized()) {
+ rfbLog("vnc_reflect_got_copyrect: no send: uninitialized clients\n");
+ return; /* some clients initializing, cannot send */
+ }
+ dx = dest_x - src_x;
+ dy = dest_y - src_y;
+ if (dx != last_dx || dy != last_dy) {
+ rc = fb_push_wait(0.05, FB_COPY|FB_MOD);
+ }
+ if (0) fprintf(stderr, "vnc_reflect_got_copyrect: %dx%d+%d+%d %d %d rc=%d\n", dest_x, dest_y, w, h, dx, dy, rc);
+ reg = sraRgnCreateRect(dest_x, dest_y, dest_x + w, dest_y + h);
+ do_copyregion(reg, dx, dy, 0);
+ sraRgnDestroy(reg);
+
+ last_dx = dx;
+ last_dy = dy;
+}
+
+rfbBool vnc_reflect_resize(rfbClient *cl) {
+ static int first = 1;
+ if(cl->frameBuffer) {
+ free(cl->frameBuffer);
+ }
+ cl->frameBuffer= malloc(cl->width * cl->height * cl->format.bitsPerPixel/8);
+ if (!first) {
+ do_new_fb(1);
+ }
+ first = 0;
+ return cl->frameBuffer ? TRUE : FALSE;
+}
+
+char *vnc_reflect_guess(char *str, char **raw_fb_addr) {
+
+ static int first = 1;
+ char *hp = str + strlen("vnc:");
+ char *at = NULL;
+ int argc = 0, i;
+ char *argv[16];
+ char str2[256];
+ char *str0 = strdup(str);
+
+ if (client == NULL) {
+ client = rfbGetClient(8, 3, 4);
+ }
+
+ rfbLog("rawfb: %s\n", str);
+
+ at = strchr(hp, '@');
+ if (at) {
+ *at = '\0';
+ at++;
+ }
+
+ client->appData.useRemoteCursor = TRUE;
+ client->Bell = vnc_reflect_bell;
+ client->GotXCutText = vnc_reflect_recv_cuttext;
+ client->GotCopyRect = vnc_reflect_got_copyrect;
+ client->GotCursorShape = vnc_reflect_got_cursorshape;
+ client->MallocFrameBuffer = vnc_reflect_resize;
+ client->canHandleNewFBSize = TRUE;
+ client->GotFrameBufferUpdate = vnc_reflect_got_update;
+
+ if (first) {
+ argv[argc++] = "x11vnc_rawfb_vnc";
+ if (strstr(hp, "listen") == hp) {
+ char *q = strchr(hp, ':');
+ argv[argc++] = strdup("-listen");
+ if (q) {
+ client->listenPort = atoi(q+1);
+ } else {
+ client->listenPort = LISTEN_PORT_OFFSET;
+ }
+ } else {
+ argv[argc++] = strdup(hp);
+ }
+
+ if (! rfbInitClient(client, &argc, argv)) {
+ rfbLog("vnc_reflector failed for: %s\n", str0);
+ clean_up_exit(1);
+ }
+ }
+
+ if (at) {
+ sprintf(str2, "map:/dev/null@%s", at);
+ } else {
+ unsigned long red_mask, green_mask, blue_mask;
+ red_mask = (client->format.redMax << client->format.redShift);
+ green_mask = (client->format.greenMax << client->format.greenShift);
+ blue_mask = (client->format.blueMax << client->format.blueShift);
+ sprintf(str2, "map:/dev/null@%dx%dx%d:0x%x/0x%x/0x%x",
+ client->width, client->height, client->format.bitsPerPixel,
+ red_mask, green_mask, blue_mask);
+ }
+ *raw_fb_addr = client->frameBuffer;
+ free(str0);
+
+ if (first) {
+ setup_cursors_and_push();
+
+ for (i=0; i<10; i++) {
+ vnc_reflect_process_client();
+ }
+ }
+ first = 0;
+
+ return strdup(str2);
+}
+
+rfbBool vnc_reflect_send_pointer(int x, int y, int mask) {
+ rfbBool ret;
+ int rc;
+ if (mask >= 0) {
+ got_user_input++;
+ got_pointer_input++;
+ last_pointer_time = time(NULL);
+ }
+
+ if (cursor_x != x || cursor_y != y) {
+ last_pointer_motion_time = dnow();
+ }
+
+ cursor_x = x;
+ cursor_y = y;
+
+ /* record the x, y position for the rfb screen as well. */
+ cursor_position(x, y);
+
+ /* change the cursor shape if necessary */
+ rc = set_cursor(x, y, get_which_cursor());
+ cursor_changes += rc;
+
+ return SendPointerEvent(client, x, y, mask);
+}
+
+rfbBool vnc_reflect_send_key(uint32_t key, rfbBool down) {
+ return SendKeyEvent(client, key, down);
+}
+
+rfbBool vnc_reflect_send_cuttext(char *str, int len) {
+ return SendClientCutText(client, str, len);
+}
+
+void vnc_reflect_process_client(void) {
+ int num;
+ rfbBool save;
+ if (client == NULL) {
+ return;
+ }
+ num = WaitForMessage(client, 1000);
+ if (num > 0) {
+ if (!HandleRFBServerMessage(client)) {
+ rfbLog("vnc_reflect_process_client: read failure to server\n");
+ shut_down = 1;
+ }
+ }
+}
+
#define RAWFB_MMAP 1
#define RAWFB_FILE 2
#define RAWFB_SHM 3
@@ -842,6 +1131,7 @@ XImage *initialize_raw_fb(int reset) {
static XImage ximage_struct_snap;
int closedpy = 1, i, m, db = 0;
int do_macosx = 0;
+ int do_reflect = 0;
static char *last_file = NULL;
static int last_mode = 0;
@@ -988,6 +1278,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
raw_fb_addr = NULL;
raw_fb_offset = 0;
raw_fb_bytes_per_line = 0;
+ rawfb_vnc_reflect = 0;
last_mode = 0;
if (last_file) {
@@ -1023,6 +1314,18 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
}
str = str2;
rfbLog("console_guess returned: %s\n", str);
+ } else if (strstr(str, "vnc:") == str) {
+ char *str2 = vnc_reflect_guess(str, &raw_fb_addr);
+
+ rawfb_vnc_reflect = 1;
+ do_reflect = 1;
+
+ str = str2;
+ rfbLog("vnc_reflector set rawfb str to: %s\n", str);
+ if (pipeinput_str == NULL) {
+ pipeinput_str = strdup("VNC");
+ }
+ initialize_pipeinput();
}
if (closedpy && !view_only && got_noviewonly) {
@@ -1222,6 +1525,12 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
rfbLog(" w: %d h: %d b: %d addr: %p sz: %d\n", w, h,
b, raw_fb_addr, size);
last_mode = 0;
+ } else if (do_reflect) {
+ raw_fb_mmap = size;
+ rfbLog("rawfb: vnc fb: %s\n", q);
+ rfbLog(" w: %d h: %d b: %d addr: %p sz: %d\n", w, h,
+ b, raw_fb_addr, size);
+ last_mode = 0;
} else if (do_mmap) {
#if LIBVNCSERVER_HAVE_MMAP
@@ -1987,6 +2296,20 @@ static void setup_rotating(void) {
}
}
+static rfbBool set_xlate_wrapper(rfbClientPtr cl) {
+ static int first = 1;
+ if (first) {
+ first = 0;
+ } else if (ncache) {
+ int save = ncache_xrootpmap;
+ rfbLog("set_xlate_wrapper: clearing -ncache for new pixel format.\n");
+ ncache_xrootpmap = 0;
+ check_ncache(1, 0);
+ ncache_xrootpmap = save;
+ }
+ return rfbSetTranslateFunction(cl);
+}
+
/*
* initialize the rfb framebuffer/screen
*/
@@ -2507,6 +2830,7 @@ void initialize_screen(int *argc, char **argv, XImage *fb) {
screen->kbdAddEvent = keyboard;
screen->ptrAddEvent = pointer;
screen->setXCutText = xcut_receive;
+ screen->setTranslateFunction = set_xlate_wrapper;
/* called from inetd, we need to treat stdio as our socket */
if (inetd && use_openssl) {
diff --git a/x11vnc/screen.h b/x11vnc/screen.h
index 6d5ffeb..6e092dd 100644
--- a/x11vnc/screen.h
+++ b/x11vnc/screen.h
@@ -23,7 +23,14 @@ extern void initialize_screen(int *argc, char **argv, XImage *fb);
extern void set_vnc_desktop_name(void);
extern void announce(int lport, int ssl, char *iface);
+extern char *vnc_reflect_guess(char *str, char **raw_fb_addr);
+extern void vnc_reflect_process_client(void);
+extern rfbBool vnc_reflect_send_pointer(int x, int y, int mask);
+extern rfbBool vnc_reflect_send_key(uint32_t key, rfbBool down);
+extern rfbBool vnc_reflect_send_cuttext(char *str, int len);
+
extern int rawfb_reset;
extern int rawfb_dev_video;
+extern int rawfb_vnc_reflect;
#endif /* _X11VNC_SCREEN_H */
diff --git a/x11vnc/solid.c b/x11vnc/solid.c
index e6cbf05..deb83b6 100644
--- a/x11vnc/solid.c
+++ b/x11vnc/solid.c
@@ -67,7 +67,10 @@ static int dt_cmd(char *cmd) {
set_env("DISPLAY", DisplayString(dpy));
}
- rfbLog("running command:\n %s\n", cmd);
+ rfbLog("running command:\n");
+ if (!quiet) {
+ fprintf(stderr, "\n %s\n\n", cmd);
+ }
usr_bin_path(0);
close_exec_fds();
rc = system(cmd);
@@ -96,7 +99,10 @@ static char *cmd_output(char *cmd) {
return "";
}
- rfbLog("running pipe:\n %s\n", cmd);
+ rfbLog("running pipe:\n");
+ if (!quiet) {
+ fprintf(stderr, "\n %s\n\n", cmd);
+ }
usr_bin_path(0);
close_exec_fds();
p = popen(cmd, "r");
@@ -113,6 +119,28 @@ static char *cmd_output(char *cmd) {
return(output);
}
+static char *last_color = NULL;
+
+unsigned long get_pixel(char *color) {
+#if NO_X11
+ return 0;
+#else
+ XColor cdef;
+ Colormap cmap;
+ unsigned long pixel = BlackPixel(dpy, scr);
+ if (depth > 8 || strcmp(color, solid_default)) {
+ cmap = DefaultColormap (dpy, scr);
+ if (XParseColor(dpy, cmap, color, &cdef) &&
+ XAllocColor(dpy, cmap, &cdef)) {
+ pixel = cdef.pixel;
+ } else {
+ rfbLog("error parsing/allocing color: %s\n", color);
+ }
+ }
+ return pixel;
+#endif
+}
+
XImage *solid_root(char *color) {
#if NO_X11
RAWFB_RET_VOID
@@ -126,7 +154,7 @@ XImage *solid_root(char *color) {
GC gc;
XSetWindowAttributes swa;
Visual visual;
- unsigned long mask, pixel;
+ static unsigned long mask, pixel = 0;
XColor cdef;
Colormap cmap;
@@ -148,8 +176,6 @@ XImage *solid_root(char *color) {
InputOutput, &visual, mask, &swa);
if (! color) {
- /* restore the root window from the XImage snapshot */
- pixmap = XCreatePixmap(dpy, window, wdpy_x, wdpy_y, depth);
if (! image) {
/* whoops */
@@ -158,6 +184,8 @@ XImage *solid_root(char *color) {
return NULL;
}
+ /* restore the root window from the XImage snapshot */
+ pixmap = XCreatePixmap(dpy, window, wdpy_x, wdpy_y, depth);
/* draw the image to a pixmap: */
gcv.function = GXcopy;
@@ -215,16 +243,7 @@ XImage *solid_root(char *color) {
}
/* use black for low colors or failure */
- pixel = BlackPixel(dpy, scr);
- if (depth > 8 || strcmp(color, solid_default)) {
- cmap = DefaultColormap (dpy, scr);
- if (XParseColor(dpy, cmap, color, &cdef) &&
- XAllocColor(dpy, cmap, &cdef)) {
- pixel = cdef.pixel;
- } else {
- rfbLog("error parsing/allocing color: %s\n", color);
- }
- }
+ pixel = get_pixel(color);
rfbLog("setting solid background...\n");
XSetWindowBackground(dpy, window, pixel);
@@ -593,6 +612,100 @@ static void solid_gnome(char *color) {
#endif /* NO_X11 */
}
+static char *dcop_session(void) {
+#if NO_X11
+ RAWFB_RET("");
+ return "";
+#else
+ char list_sessions[] = "dcop --user '%s' --list-sessions";
+ int len;
+ char *cmd, *host, *user = NULL;
+ char *out, *p, *ds, *dsn = NULL, *sess = NULL, *sess2 = NULL;
+
+ RAWFB_RET("");
+
+ if (getenv("SESSION_MANAGER")) {
+ return "";
+ }
+
+ user = get_user_name();
+ if (strstr(user, "'") != NULL) {
+ rfbLog("invalid user: %s\n", user);
+ free(user);
+ return "";
+ }
+
+ len = strlen(list_sessions) + strlen(user) + 1;
+ cmd = (char *) malloc(len);
+ sprintf(cmd, list_sessions, user);
+
+ out = strdup(cmd_output(cmd));
+ free(cmd);
+ free(user);
+
+ ds = DisplayString(dpy);
+ if (!ds || !strcmp(ds, "")) {
+ ds = getenv("DISPLAY");
+ }
+ if (!ds) {
+ ds = ":0";
+ }
+ ds = strdup(ds);
+ dsn = strchr(ds, ':');
+ if (dsn) {
+ *dsn = '_';
+ } else {
+ free(ds);
+ ds = strdup("_0");
+ dsn = ds;
+ }
+
+ host = this_host();
+
+ p = strtok(out, "\n");
+ while (p) {
+ char *q = strstr(p, ".DCOP");
+ if (q == NULL) {
+ ;
+ } else if (host) {
+ if (strstr(q, host)) {
+ if(strstr(p, dsn)) {
+ sess = strdup(q);
+ break;
+ } else {
+ if (sess2) {
+ free(sess2);
+ }
+ sess2 = strdup(q);
+ }
+ }
+ } else {
+ if(strstr(p, dsn)) {
+ sess = strdup(q);
+ break;
+ }
+ }
+ p = strtok(NULL, "\n");
+ }
+ free(ds);
+ free(out);
+ if (!sess && sess2) {
+ sess = sess2;
+ }
+ if (!sess || strchr(sess, '\'')) {
+ if (sess) free(sess);
+ sess = strdup("--all-sessions");
+ } else {
+ len = strlen("--session ") + 2 + strlen(sess) + 1;
+ cmd = (char *) malloc(len);
+ sprintf(cmd, "--session '%s'", sess);
+ free(sess);
+ sess = cmd;
+ }
+ return sess;
+#endif
+}
+
static void solid_kde(char *color) {
#if NO_X11
RAWFB_RET_VOID
@@ -600,12 +713,12 @@ static void solid_kde(char *color) {
return;
#else
char set_color[] =
- "dcop --user '%s' kdesktop KBackgroundIface setColor '%s' 1";
+ "dcop --user '%s' %s kdesktop KBackgroundIface setColor '%s' 1";
char bg_off[] =
- "dcop --user '%s' kdesktop KBackgroundIface setBackgroundEnabled 0";
+ "dcop --user '%s' %s kdesktop KBackgroundIface setBackgroundEnabled 0";
char bg_on[] =
- "dcop --user '%s' kdesktop KBackgroundIface setBackgroundEnabled 1";
- char *cmd, *user = NULL;
+ "dcop --user '%s' %s kdesktop KBackgroundIface setBackgroundEnabled 1";
+ char *cmd, *user = NULL, *sess;
int len;
RAWFB_RET_VOID
@@ -617,13 +730,19 @@ static void solid_kde(char *color) {
return;
}
+ set_env("DISPLAY", DisplayString(dpy));
+
if (! color) {
- len = strlen(bg_on) + strlen(user) + 1;
+ sess = dcop_session();
+ len = strlen(bg_on) + strlen(user) + strlen(sess) + 1;
cmd = (char *) malloc(len);
- sprintf(cmd, bg_on, user);
+ sprintf(cmd, bg_on, user, sess);
+
dt_cmd(cmd);
+
free(cmd);
free(user);
+ free(sess);
return;
}
@@ -633,21 +752,134 @@ static void solid_kde(char *color) {
return;
}
- len = strlen(set_color) + strlen(user) + strlen(color) + 1;
+ sess = dcop_session();
+
+ len = strlen(set_color) + strlen(user) + strlen(sess) + strlen(color) + 1;
cmd = (char *) malloc(len);
- sprintf(cmd, set_color, user, color);
+ sprintf(cmd, set_color, user, sess, color);
dt_cmd(cmd);
free(cmd);
- len = strlen(bg_off) + strlen(user) + 1;
+ len = strlen(bg_off) + strlen(user) + strlen(sess) + 1;
cmd = (char *) malloc(len);
- sprintf(cmd, bg_off, user);
+ sprintf(cmd, bg_off, user, sess);
dt_cmd(cmd);
free(cmd);
free(user);
#endif /* NO_X11 */
}
+void kde_no_animate(int restore) {
+#if NO_X11
+ if (!restore) {}
+ RAWFB_RET_VOID
+ return;
+#else
+ char query_setting[] =
+ "kreadconfig --file kwinrc --group Windows --key AnimateMinimize";
+ char kwinrc_off[] =
+ "kwriteconfig --file kwinrc --group Windows --key AnimateMinimize --type bool false";
+ char kwinrc_on[] =
+ "kwriteconfig --file kwinrc --group Windows --key AnimateMinimize --type bool true";
+ char kwin_reconfigure[] =
+ "dcop --user '%s' %s kwin KWinInterface reconfigure";
+ char *cmd, *cmd2, *out, *user = NULL, *sess;
+ int len;
+ static int anim_state = 1;
+
+ RAWFB_RET_VOID
+
+ if (ncache_keep_anims) {
+ return;
+ }
+
+ if (restore) {
+ if (anim_state == 1) {
+ return;
+ }
+
+ user = get_user_name();
+ if (strstr(user, "'") != NULL) {
+ rfbLog("invalid user: %s\n", user);
+ free(user);
+ return;
+ }
+
+ sess = dcop_session();
+
+ len = strlen(kwin_reconfigure) + strlen(user) + strlen(sess) + 1;
+ cmd = (char *) malloc(len);
+ sprintf(cmd, kwin_reconfigure, user, sess);
+ rfbLog("\n");
+ rfbLog("Restoring KDE kwinrc settings.\n");
+ rfbLog("\n");
+ dt_cmd(cmd);
+ free(cmd);
+ free(user);
+ free(sess);
+ anim_state = 1;
+ return;
+ } else {
+ if (anim_state == 0) {
+ return;
+ }
+ anim_state = 0;
+ }
+
+ user = get_user_name();
+ if (strstr(user, "'") != NULL) {
+ rfbLog("invalid user: %s\n", user);
+ free(user);
+ return;
+ }
+ out = cmd_output(query_setting);
+
+
+ if (!out || strstr(out, "false")) {
+ rfbLog("\n");
+ rfbLog("********************************************************\n");
+ rfbLog("KDE kwinrc AnimateMinimize is false. Good.\n");
+ rfbLog("********************************************************\n");
+ rfbLog("\n");
+ free(user);
+ return;
+ }
+
+ rfbLog("\n");
+ rfbLog("********************************************************\n");
+ rfbLog("To improve the -ncache client-side caching performance\n");
+ rfbLog("temporarily setting KDE kwinrc AnimateMinimize to false.\n");
+ rfbLog("It will be reset for the next session or when VNC client\n");
+ rfbLog("disconnects. Or you can use the Control Center GUI to\n");
+ rfbLog("change it now (toggle its setting a few times):\n");
+ rfbLog(" Desktop -> Window Behavior -> Moving\n");
+ rfbLog("********************************************************\n");
+ rfbLog("\n");
+
+ set_env("DISPLAY", DisplayString(dpy));
+
+ sess = dcop_session();
+ len = strlen(kwin_reconfigure) + strlen(user) + strlen(sess) + 1;
+ cmd = (char *) malloc(len);
+ sprintf(cmd, kwin_reconfigure, user, sess);
+
+ len = 1 + strlen(kwinrc_off) + 2 + strlen(cmd) + 2 + strlen("sleep 5") + 2 + strlen(kwinrc_on) + 3 + 1;
+ cmd2 = (char *) malloc(len);
+
+ sprintf(cmd2, "(%s; %s; sleep 5; %s) &", kwinrc_off, cmd, kwinrc_on);
+
+ dt_cmd(cmd2);
+ free(cmd);
+ free(cmd2);
+ free(user);
+ free(sess);
+#endif /* NO_X11 */
+}
+
+void gnome_no_animate(void) {
+ ;
+}
+
char *guess_desktop(void) {
#if NO_X11
RAWFB_RET("root")
@@ -710,6 +942,42 @@ char *guess_desktop(void) {
#endif /* NO_X11 */
}
+XImage *solid_image(char *color) {
+#if NO_X11
+ RAWFB_RET(NULL)
+ return NULL;
+#else
+ XImage *image = NULL;
+ unsigned long pixel = 0;
+ int x, y;
+
+ RAWFB_RET(NULL)
+
+ if (!color) {
+ color = last_color;
+ }
+
+ if (!color) {
+ return NULL;
+ }
+
+ image = XGetImage(dpy, rootwin, 0, 0, wdpy_x, wdpy_y, AllPlanes,
+ ZPixmap);
+
+ if (!image) {
+ return NULL;
+ }
+ pixel = get_pixel(color);
+
+ for (y=0; y<wdpy_y; y++) {
+ for (x=0; x<wdpy_x; x++) {
+ XPutPixel(image, x, y, pixel);
+ }
+ }
+ return image;
+#endif /* NO_X11 */
+}
+
void solid_bg(int restore) {
static int desktop = -1;
static int solid_on = 0;
@@ -770,6 +1038,11 @@ void solid_bg(int restore) {
color = solid_default;
}
}
+ if (last_color) {
+ free(last_color);
+ }
+ last_color = strdup(color);
+
if (!strcmp(dtname, "gnome")) {
desktop = 1;
solid_gnome(color);
diff --git a/x11vnc/solid.h b/x11vnc/solid.h
index e9ae0b3..d2d3b7b 100644
--- a/x11vnc/solid.h
+++ b/x11vnc/solid.h
@@ -4,7 +4,11 @@
/* -- solid.h -- */
extern char *guess_desktop(void);
+extern unsigned long get_pixel(char *color);
+extern XImage *solid_image(char *color);
extern void solid_bg(int restore);
extern XImage *solid_root(char *color);
+extern void kde_no_animate(int restore);
+extern void gnome_no_animate(void);
#endif /* _X11VNC_SOLID_H */
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h
index dc38ef7..90002d1 100644
--- a/x11vnc/ssltools.h
+++ b/x11vnc/ssltools.h
@@ -688,7 +688,7 @@ char find_display[] =
"# x11vnc then uses the info to open the display.\n"
"#\n"
"\n"
-"FIND_DISPLAY_OUTPUT=/tmp/fdo.txt\n"
+"#FIND_DISPLAY_OUTPUT=/tmp/fdo.$USER.txt\n"
"if [ \"X$FIND_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
" if [ \"X$FIND_DISPLAY_EXEC\" = \"X\" ]; then\n"
" FIND_DISPLAY_EXEC=1\n"
@@ -747,72 +747,112 @@ char find_display[] =
"# Now try to match X DISPLAY to user:\n"
"\n"
"# who(1) output column 2:\n"
-"display=`who | grep \"^${user}[ ][ ]*:[0-9]\" | head -1 \\\n"
-" | awk '{print $2}'`\n"
-"\n"
-"if [ \"X$display\" = \"X\" ]; then\n"
-" # who(1) output, last column:\n"
-" display=`who | grep \"^${user}[ ]\" | awk '{print $NF}' \\\n"
-" | grep '(:[0-9]' | sed -e 's/[()]//g' | head -1`\n"
-" if [ \"X$display\" = \"X\" ]; then\n"
-" if [ \"X$X11VNC_FINDDISPLAY_SKIP_XAUTH\" != \"X\" ]; then\n"
-" echo \"\" # failure\n"
-" exit 1\n"
+"#gone=`last $user | grep 'gone.*no.logout' | awk '{print $2}' | grep '^:' | sed -e 's,/.*,,' | tr '\\n' '|'`\n"
+"#gone=\"${gone}__quite_impossible__\"\n"
+"#display=`who | grep \"^${user}[ ][ ]*:[0-9]\" | egrep -v \" ($gone)\\>\" | head -1 \\\n"
+"# | awk '{print $2}' | sed -e 's,/.*$,,'`\n"
+"poss=\"\"\n"
+"list=`who | grep \"^${user}[ ][ ]*:[0-9]\" | awk '{print $2}' | sed -e 's,/.*$,,'`\n"
+"list=\"$list \"`w -h \"$user\" | grep \"^${user}[ ][ ]*:[0-9]\" | awk '{print $2}' | sed -e 's,/.*$,,'`\n"
+"list=\"$list \"`who | grep \"^${user}[ ]\" | awk '{print $NF}' | grep '(:[0-9]' | sed -e 's/[()]//g'`\n"
+"host=`hostname | sed -e 's/\\..*$//'`\n"
+"if [ \"X$X11VNC_FINDDISPLAY_SKIP_XAUTH\" = \"X\" ]; then\n"
+" list=\"$list \"`xauth list | awk '{print $1}' | grep /unix | grep \"^${host}\" | sed -e 's/^.*:/:/' | sort -n | uniq`\n"
+"fi\n"
+"uname=`uname`\n"
+"nsout=`netstat -an`\n"
+"psout=`ps -ef`\n"
+"for p in $list\n"
+"do\n"
+" d=`echo \"$p\" | sed -e 's/://' -e 's/\\..*$//'`\n"
+" ok=\"\"\n"
+" xd=\"/tmp/.X11-unix/X$d\"\n"
+" if [ -r \"$xd\" -o -w \"$xd\" -o -x \"$xd\" ]; then\n"
+" if echo \"$nsout\" | grep \"/tmp/.X11-unix/X$d[ ]*\\$\" > /dev/null; then\n"
+" ok=1\n"
" fi\n"
-" # loop over xauth list items machine ^hostname/unix:N\n"
-" host=`hostname | sed -e 's/\\..*$//'`\n"
-" tries1=\"\"\n"
-" tries2=\"\"\n"
-" for d in `xauth list | awk '{print $1}' | grep /unix \\\n"
-" | grep \"^${host}\" | sed -e 's/^.*://' | sort -n | uniq`\n"
-" do\n"
-" if [ -e \"/tmp/.X$d-lock\" -o -e \"/tmp/.X11-unix/X$d\" ]; then\n"
-" tries1=\"$tries1 $d\"\n"
-" else\n"
-" # these are often ssh X redirs so try them last or skip:\n"
-" #tries2=\"$tries2 $d\"\n"
-" :\n"
+" fi\n"
+" if [ \"X$ok\" = \"X\" ]; then\n"
+" if [ -f \"/tmp/.X$d-lock\" ]; then\n"
+" pid=`cat \"/tmp/.X$d-lock\" | sed -e 's/[ ]//g'`\n"
+" if echo \"$pid\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
+" if [ \"X$uname\" = \"XLinux\" -o \"X$uname\" = \"XSunOS\" ]; then\n"
+" if [ -d \"/proc/$pid\" ]; then\n"
+" ok=1\n"
+" fi\n"
+" elif echo \"$ps_out\" | awk '{print $2}' | grep -w \"$pid\" > /dev/null; then\n"
+" ok=1\n"
+" fi\n"
" fi\n"
-" done\n"
-" \n"
+" fi\n"
+" fi\n"
+" if [ \"X$ok\" = \"X1\" ]; then\n"
+" poss=\"$poss $p\"\n"
+" fi\n"
+"done\n"
"\n"
-" for d in $tries1 $tries2\n"
-" do\n"
-" xdpyinfo -display \":$d\" >/dev/null 2>&1\n"
-" if [ $? = 0 ]; then\n"
-" # try again with no authority:\n"
-" env XAUTHORITY=/dev/null xdpyinfo \\\n"
-" -display \":$d\" >/dev/null 2>&1\n"
-" # 0 means got in for free... skip it.\n"
-" if [ $? != 0 ]; then\n"
-" # keep it\n"
-" display=\":$d\"\n"
-" break\n"
+"poss=`echo \"$poss\" | sed -e 's/^ *//' -e 's/ *$//'`\n"
+"\n"
+"if [ \"X$X11VNC_FINDDISPLAY_SKIP_XAUTH\" != \"X\" ]; then\n"
+" display=`echo \"$poss\" | tr ' ' '\\n' | head -1`\n"
+"else\n"
+" freebie=\"\"\n"
+" for p in $poss\n"
+" do\n"
+" xdpyinfo -display \"$p\" >/dev/null 2>&1\n"
+" if [ $? = 0 ]; then\n"
+" # try again with no authority:\n"
+" env XAUTHORITY=/dev/null xdpyinfo -display \"$p\" >/dev/null 2>&1\n"
+" # 0 means got in for free... skip it.\n"
+" if [ $? != 0 ]; then\n"
+" # keep it\n"
+" display=\"$p\"\n"
+" break\n"
+" else\n"
+" if [ \"X$freebie\" = \"X\" ]; then\n"
+" freebie=\"$p\"\n"
" fi\n"
" fi\n"
-" done\n"
-" if [ \"X$display\" = \"X\" ]; then\n"
-" echo \"\" # failure\n"
-" exit 1\n"
" fi\n"
+" done\n"
+" if [ \"X$display\" = \"X\" -a \"X$freebie\" != \"X\" ]; then\n"
+" display=\"$freebie\"\n"
" fi\n"
"fi\n"
"\n"
+"if [ \"X$display\" = \"X\" ]; then\n"
+" echo \"\" # failure\n"
+" exit 1\n"
+"fi\n"
+"\n"
"chvt=\"\"\n"
-"if [ \"X`uname`\" = \"XLinux\" ]; then\n"
-" vt=`ps wwwwwaux | grep X | egrep -v 'startx|xinit' | grep \" $display \" | egrep ' vt([789]|[1-9][0-9][0-9]*) ' | grep -v grep | head -1`\n"
+"if [ \"X$uname\" = \"XLinux\" ]; then\n"
+" d2=$display\n"
+" d3=`echo \"$d2\" | sed -e 's/^.*:/:/' -e 's/\\..*$//'`\n"
+" d4=\"($d2|$d3)\"\n"
+" vt=`ps wwwwwaux | grep X | egrep -v 'startx|xinit' | egrep \" $d4 \" | egrep ' vt([789]|[1-9][0-9][0-9]*) ' | grep -v grep | head -1`\n"
" if [ \"X$vt\" != \"X\" ]; then\n"
" vt=`echo \"$vt\" | sed -e 's/^.* vt\\([0-9][0-9]*\\) .*$/\\1/'`\n"
" if echo \"$vt\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
" chvt=\",VT=$vt\"\n"
" fi\n"
" else\n"
-" vt=`ps wwwwwaux | grep X | grep \" $display \" | egrep ' tty([789]|[1-9][0-9][0-9]*) ' | grep -v grep | head -1`\n"
+" vt=`ps wwwwwaux | grep X | egrep \" $d4 \" | egrep ' tty([789]|[1-9][0-9][0-9]*) ' | grep -v grep | head -1`\n"
" if [ \"X$vt\" != \"X\" ]; then\n"
" vt=`echo \"$vt\" | sed -e 's/^.* tty\\([0-9][0-9]*\\) .*$/\\1/'`\n"
" if echo \"$vt\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
" chvt=\",VT=$vt\"\n"
" fi\n"
+" else\n"
+" pvt=`ps wwwwwaux | grep X | egrep -v 'startx|xinit' | egrep \" $d4 \" | head -1 | awk '{print $2}'`\n"
+" if [ \"X$pvt\" != \"X\" ]; then\n"
+" vt=`lsof -p \"$pvt\" | egrep '/dev/tty([789]|[1-9][0-9][0-9]*)$' | grep -v grep | head -1 | awk '{print $NF}' | sed -e 's,/dev/tty,,'`\n"
+" if echo \"$vt\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
+" chvt=\",VT=$vt\"\n"
+" else\n"
+" chvt=\",XPID=$pvt\"\n"
+" fi\n"
+" fi\n"
" fi\n"
" fi\n"
"fi\n"
@@ -822,7 +862,6 @@ char find_display[] =
" xauth extract - \"$display\" 2>/dev/null\n"
"fi\n"
"\n"
-"\n"
"exit 0\n"
;
@@ -830,17 +869,20 @@ char create_display[] =
"#!/bin/sh\n"
"\n"
"#CREATE_DISPLAY_OUTPUT=/tmp/cdo.txt\n"
-"if [ \"X$CREATE_DISPLAY_EXEC\" = \"X\" ]; then\n"
-" CREATE_DISPLAY_EXEC=1\n"
-" export CREATE_DISPLAY_EXEC\n"
-" if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
-" /bin/sh $0 \"$@\" 2> $CREATE_DISPLAY_OUTPUT\n"
-" else\n"
-" /bin/sh $0 \"$@\" 2> /dev/null\n"
+"if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
+" if [ \"X$CREATE_DISPLAY_EXEC\" = \"X\" ]; then\n"
+" CREATE_DISPLAY_EXEC=1\n"
+" export CREATE_DISPLAY_EXEC\n"
+" if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
+" /bin/sh $0 \"$@\" 2> $CREATE_DISPLAY_OUTPUT\n"
+" else\n"
+" /bin/sh $0 \"$@\" 2> /dev/null\n"
+" fi\n"
+" exit $?\n"
" fi\n"
-" exit $?\n"
"fi\n"
"\n"
+"\n"
"if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
" set -xv\n"
"fi\n"
@@ -848,17 +890,44 @@ char create_display[] =
"findfree() {\n"
" try=20\n"
" n=\"\"\n"
+" nsout=\"\"\n"
+" if [ \"X$have_netstat\" != \"X\" ]; then\n"
+" nsout=`$have_netstat -an`\n"
+" fi\n"
" while [ $try -lt 99 ]\n"
" do\n"
-" if [ ! -e \"/tmp/.X${try}-lock\" ]; then\n"
-" n=$try\n"
-" break\n"
+" if [ ! -f \"/tmp/.X${try}-lock\" ]; then\n"
+" if echo \"$nsout\" | grep \"/tmp/.X11-unix/X${try}[ ]*\\$\" > /dev/null; then\n"
+" :\n"
+" else\n"
+" n=$try\n"
+" break\n"
+" fi\n"
" fi\n"
" try=`expr $try + 1`\n"
" done\n"
" echo \"$n\"\n"
"}\n"
"\n"
+"random() {\n"
+" if [ \"X$RANDOM\" != \"X\" ]; then\n"
+" echo \"$RANDOM\"\n"
+" else\n"
+" r1=`bash -c 'echo $RANDOM' 2>/dev/null`\n"
+" if echo \"$r1\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
+" echo \"$r1\"\n"
+" else\n"
+" r2=`sh -c 'echo $$; date; ps -elf' 2>/dev/null | sum -r 2>/dev/null | awk '{print $1}'`\n"
+" if echo \"$r2\" | grep '^[0-9][0-9]*$' > /dev/null; then\n"
+" echo \"$r2\"\n"
+" else\n"
+" r3=`sh -c 'echo $$'`\n"
+" echo \"$r3\"\n"
+" fi\n"
+" fi\n"
+" fi\n"
+"}\n"
+"\n"
"findsession() {\n"
" if [ \"X$session\" != \"X\" ]; then\n"
" echo \"$session\"\n"
@@ -927,21 +996,30 @@ char create_display[] =
" if [ \"X$have_root\" != \"X\" -a \"X$USER\" != \"Xroot\" ]; then\n"
" sess=\"env DISPLAY=:$N $sess\"\n"
" fi\n"
+" rmf=\"/nosuch\"\n"
" if echo \"$sess\" | grep '[ ]' > /dev/null; then\n"
-" stmp=/tmp/.cd$$\n"
+" stmp=/tmp/.cd$$`random`\n"
" rm -f $stmp\n"
+" if [ -f $stmp ]; then\n"
+" exit 1\n"
+" fi\n"
" touch $stmp\n"
-" chmod 755 $stmp\n"
+" chmod 755 $stmp || exit 1\n"
" echo \"#!/bin/sh\" > $stmp\n"
" echo \"$sess\" >> $stmp\n"
" echo \"sleep 1\" >> $stmp\n"
" echo \"rm -f $stmp\" >> $stmp\n"
" sess=$stmp\n"
+" rmf=\"$stmp\"\n"
" fi\n"
" if [ \"X$have_root\" != \"X\" -a \"X$USER\" != \"Xroot\" ]; then\n"
-" ctmp=\"/tmp/.xa.$$\"\n"
+" ctmp=/tmp/.xat$$`random`\n"
+" rm -f $ctmp\n"
+" if [ -f $ctmp ]; then\n"
+" exit 1\n"
+" fi\n"
" touch $ctmp\n"
-" chmod 644 $ctmp\n"
+" chmod 644 $ctmp || exit 1\n"
" $have_xauth -f $authfile nextract - :$N > $ctmp\n"
" su - $USER -c \"$have_xauth nmerge - < $ctmp\" 1>&2\n"
" $have_xauth -f $authfile nextract - `hostname`:$N > $ctmp\n"
@@ -954,18 +1032,25 @@ char create_display[] =
" $have_xauth -f $authfile nextract - :$N | $have_xauth nmerge -\n"
" $have_xauth -f $authfile nextract - `hostname`:$N | $have_xauth nmerge -\n"
" fi\n"
-" \n"
-" if [ \"X$have_startx\" != \"X\" ]; then\n"
-" echo \"$have_startx $sess -- $* -auth $authfile\" 1>&2\n"
-" $have_startx $sess -- $* -auth $authfile 1>&2 &\n"
+"\n"
+" if [ \"X$use_xdmcp_query\" = \"X1\" ]; then\n"
+" # we cannot use -nolisten tcp\n"
+" #echo \"$* -from localhost -once -query localhost\"\n"
+" #nohup $* -from localhost -once -query localhost 1>&2 &\n"
+" echo \"$* -once -query localhost\" 1>&2\n"
+" nohup $* -once -query localhost 1>&2 &\n"
+" pid=$!\n"
+" elif [ \"X$have_startx\" != \"X\" ]; then\n"
+" echo \"$have_startx $sess -- $* -nolisten tcp -auth $authfile\" 1>&2\n"
+" $have_startx $sess -- $* -nolisten tcp -auth $authfile 1>&2 &\n"
" pid=$!\n"
" elif [ \"X$have_xinit\" != \"X\" ]; then\n"
-" echo \"$have_xinit $sess -- $* -auth $authfile\" 1>&2\n"
-" $have_xinit $sess -- $* -auth $authfile 1>&2 &\n"
+" echo \"$have_xinit $sess -- $* -nolisten tcp -auth $authfile\" 1>&2\n"
+" $have_xinit $sess -- $* -nolisten tcp -auth $authfile 1>&2 &\n"
" pid=$!\n"
" else\n"
-" echo \"$*\"\n"
-" nohup $* 1>&2 &\n"
+" echo \"$* -nolisten tcp -auth $authfile\" 1>&2\n"
+" nohup $* -nolisten tcp -auth $authfile 1>&2 &\n"
" pid=$!\n"
" nohup $sess 1>&2 &\n"
" fi\n"
@@ -975,15 +1060,31 @@ char create_display[] =
" else\n"
" result=0\n"
" fi\n"
-" #(sleep 120; rm -f $authfile) &\n"
+" if uname | grep SunOS > /dev/null; then\n"
+" nohup sh -c \"(sleep 60; rm -f $rmf)\" 1>&2 &\n"
+" else\n"
+" nohup sh -c \"(sleep 60; rm -f $rmf $authfile)\" 1>&2 &\n"
+" fi\n"
"}\n"
"\n"
"try_X() {\n"
-" if [ \"X$have_xinit\" != \"X\" ]; then\n"
+" if [ \"X$use_xdmcp_query\" = \"X1\" ]; then\n"
+" if [ \"X$have_X\" != \"X\" ]; then\n"
+" server $have_X :$N\n"
+" elif [ \"X$have_Xorg\" != \"X\" ]; then\n"
+" server $have_Xorg :$N\n"
+" elif [ \"X$have_XFree86\" != \"X\" ]; then\n"
+" server $have_XFree86 :$N\n"
+" elif [ \"X$have_Xsun\" != \"X\" ]; then\n"
+" server $have_Xsun :$N\n"
+" fi\n"
+" elif [ \"X$have_xinit\" != \"X\" ]; then\n"
" save_have_startx=$have_startx\n"
" have_startx=\"\"\n"
" server :$N\n"
" have_startx=$save_have_startx\n"
+" else\n"
+" server :$N\n"
" fi\n"
"}\n"
"\n"
@@ -1008,7 +1109,17 @@ char create_display[] =
"\n"
" #save_have_startx=$have_startx\n"
" #have_startx=\"\"\n"
-" server $have_Xvfb :$N -screen 0 ${geom}x${depth}\n"
+" sarg=\"-screen\"\n"
+" if uname | grep SunOS > /dev/null; then\n"
+" if grep /usr/openwin/bin/Xsun $have_Xvfb > /dev/null; then\n"
+" sarg=\"screen\"\n"
+" if [ \"X$depth\" = \"X16\" ]; then\n"
+" #depth=24\n"
+" :\n"
+" fi\n"
+" fi\n"
+" fi\n"
+" server $have_Xvfb :$N $sarg 0 ${geom}x${depth}\n"
" #have_startx=$save_have_startx\n"
"\n"
" if [ \"X$result\" = \"X1\" -a \"X$have_xmodmap\" != \"X\" ]; then\n"
@@ -1031,23 +1142,25 @@ char create_display[] =
" if [ \"X$have_mcookie\" != \"X\" ]; then\n"
" cookie=`mcookie`\n"
" elif [ \"X$have_md5sum\" != \"X\" ]; then\n"
-" if [ -e /dev/urandom ]; then\n"
+" if [ -c /dev/urandom ]; then\n"
" cookie=`dd if=/dev/urandom count=32 2>/dev/null | md5sum | awk '{print $1}'`\n"
-" elif [ -e /dev/random ]; then\n"
+" elif [ -c /dev/random ]; then\n"
" cookie=`dd if=/dev/random count=32 2>/dev/null | md5sum | awk '{print $1}'`\n"
" fi\n"
" if [ \"X$cookie\" = \"X\" ]; then\n"
-" cookie=`(echo $RANDOM; date; uptime; ps -ealf 2>&1) | md5sum | awk '{print $1}'`\n"
+" r=`random`\n"
+" cookie=`(echo $r; date; uptime; ps -ealf 2>&1) | md5sum | awk '{print $1}'`\n"
" fi\n"
" elif [ \"X$have_xauth\" != \"X\" ]; then\n"
" cookie=`$have_xauth list | awk '{print $NF}' | tail -1`\n"
" fi\n"
" if [ \"X$cookie\" = \"X\" ]; then\n"
" # oh well..\n"
-" cookie=$cookie`printf \"%08x\" \"$RANDOM$$\"`\n"
-" cookie=$cookie`printf \"%08x\" \"$RANDOM$$\"`\n"
-" cookie=$cookie`printf \"%08x\" \"$RANDOM$$\"`\n"
-" cookie=$cookie`printf \"%08x\" \"$RANDOM$$\"`\n"
+" for k in 1 2 3 4\n"
+" do\n"
+" r=`random`\n"
+" cookie=$cookie`printf \"%08x\" \"${r}$$\"`\n"
+" done\n"
" fi\n"
" echo \"$cookie\"\n"
"}\n"
@@ -1056,10 +1169,13 @@ char create_display[] =
" if [ \"X$have_xauth\" = \"X\" ]; then\n"
" exit 1\n"
" fi\n"
-" tmp=\"/tmp/.xauth$$$RANDOM\"\n"
+" tmp=/tmp/.xas$$`random`\n"
" rm -f $tmp\n"
+" if [ -f $tmp ]; then\n"
+" exit 1\n"
+" fi\n"
" touch $tmp\n"
-" chmod 600 $tmp\n"
+" chmod 600 $tmp || exit 1\n"
" if [ ! -f $tmp ]; then\n"
" exit 1\n"
" fi\n"
@@ -1073,13 +1189,6 @@ char create_display[] =
"depth=${depth:-16}\n"
"geom=${geom:-1280x1024}\n"
"\n"
-"N=`findfree`\n"
-"\n"
-"if [ \"X$N\" = \"X\" ]; then\n"
-" exit 1\n"
-"fi\n"
-"echo \"trying N=$N ...\" 1>&2\n"
-"\n"
"if [ \"X$USER\" = \"X\" ]; then\n"
" USER=$LOGNAME\n"
"fi\n"
@@ -1087,7 +1196,7 @@ char create_display[] =
" USER=`whoami`\n"
"fi\n"
"\n"
-"PATH=$PATH:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin:/usr/dt/bin:/opt/kde3/bin:/opt/gnome/bin:/usr/bin:/bin\n"
+"PATH=$PATH:/usr/X11R6/bin:/usr/bin/X11:/usr/openwin/bin:/usr/dt/bin:/opt/kde3/bin:/opt/gnome/bin:/usr/bin:/bin:/usr/sfw/bin\n"
"\n"
"have_root=\"\"\n"
"id0=`id`\n"
@@ -1095,17 +1204,38 @@ char create_display[] =
" have_root=\"1\"\n"
"fi\n"
"\n"
-"for prog in startx xinit xdm gdm kdm xterm Xdummy Xvfb xauth mcookie md5sum xmodmap startkde gnome-session blackbox fvwm mwm openbox twm windowmaker metacity\n"
+"p_ok=0\n"
+"if [ \"`type -p /bin/sh`\" = \"/bin/sh\" ]; then\n"
+" p_ok=1\n"
+"fi\n"
+"\n"
+"for prog in startx xinit xdm gdm kdm xterm Xdummy Xvfb xauth mcookie md5sum xmodmap startkde gnome-session blackbox fvwm mwm openbox twm windowmaker metacity X Xorg XFree86 Xsun Xsession netstat\n"
"do\n"
" p2=`echo \"$prog\" | sed -e 's/-/_/g'`\n"
" eval \"have_$p2=''\"\n"
" if type $prog > /dev/null 2>&1; then\n"
-" eval \"have_$p2=`which $prog`\"\n"
+" bpath=`which $prog | awk '{print $NF}'`\n"
+" if [ ! -x \"$bpath\" -o -d \"$bpath\" ]; then\n"
+" if [ \"X$p_ok\" = \"X1\" ]; then\n"
+" bpath=`type -p $prog | awk '{print $NF}'`\n"
+" fi\n"
+" if [ ! -x \"$bpath\" -o -d \"$bpath\" ]; then\n"
+" bpath=`type $prog | awk '{print $NF}'`\n"
+" fi\n"
+" fi\n"
+" eval \"have_$p2=$bpath\"\n"
" fi\n"
"done\n"
"\n"
+"N=`findfree`\n"
+"\n"
+"if [ \"X$N\" = \"X\" ]; then\n"
+" exit 1\n"
+"fi\n"
+"echo \"trying N=$N ...\" 1>&2\n"
+"\n"
"if [ \"X$CREATE_DISPLAY_OUTPUT\" != \"X\" ]; then\n"
-" set | grep ^have_ 1>&2\n"
+" set | grep \"^have_\" 1>&2\n"
"fi\n"
"\n"
"TRY=\"$1\"\n"
@@ -1116,6 +1246,12 @@ char create_display[] =
"for curr_try in `echo \"$TRY\" | tr ',' ' '`\n"
"do\n"
" result=0\n"
+" use_xdmcp_query=0\n"
+" if echo \"$curr_try\" | egrep '[+.-]xdmcp' > /dev/null; then\n"
+" use_xdmcp_query=1\n"
+" fi\n"
+" curr_try=`echo \"$curr_try\" | sed -e 's/[+.-]xdmcp//'`\n"
+" \n"
" if echo \"$curr_try\" | grep -iw \"Xdummy\" > /dev/null; then\n"
" try_Xdummy\n"
" elif echo \"$curr_try\" | grep -iw \"Xvfb\" > /dev/null; then\n"
diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc
index de50c16..02f4108 100755
--- a/x11vnc/tkx11vnc
+++ b/x11vnc/tkx11vnc
@@ -135,6 +135,7 @@ Clients
Displays
=D display:
=F auth:
+ =S reflect:
=D desktop:
=D rfbport:
=0 gui:
@@ -369,6 +370,7 @@ Tuning
ncache_no_moveraise
ncache_no_dtchange
ncache_no_rootpixmap
+ ncache_keep_anims
=A ncache_reset_rootpixmap
=GAL LOFF
--
diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h
index e57bbc1..21caea8 100644
--- a/x11vnc/tkx11vnc.h
+++ b/x11vnc/tkx11vnc.h
@@ -146,6 +146,7 @@ char gui_code[] = "";
"Displays\n"
" =D display:\n"
" =F auth:\n"
+" =S reflect:\n"
" =D desktop:\n"
" =D rfbport:\n"
" =0 gui:\n"
@@ -380,6 +381,7 @@ char gui_code[] = "";
" ncache_no_moveraise\n"
" ncache_no_dtchange\n"
" ncache_no_rootpixmap\n"
+" ncache_keep_anims\n"
" =A ncache_reset_rootpixmap\n"
" =GAL LOFF\n"
" --\n"
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index 67ee309..332d93a 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -62,7 +62,7 @@ void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init);
void unixpw_accept(char *user);
void unixpw_deny(void);
void unixpw_msg(char *msg, int delay);
-int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size);
+int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int nodisp);
int crypt_verify(char *user, char *pass);
int cmd_verify(char *user, char *pass);
@@ -552,7 +552,7 @@ int cmd_verify(char *user, char *pass) {
}
}
-int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
+int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int nodisp) {
#ifndef UNIXPW_SU
return 0;
#else
@@ -624,6 +624,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
return 0;
}
+ if (db) fprintf(stderr, "cmd is: %s\n", cmd);
if (db) fprintf(stderr, "slave is: %s fd=%d\n", slave, fd);
if (fd < 0) {
@@ -729,10 +730,19 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
set_env("LC_ALL", "C");
set_env("LANG", "C");
set_env("SHELL", "/bin/sh");
- if (!cmd && getenv("DISPLAY")) {
+ if (nodisp) {
/* this will cause timeout problems with pam_xauth */
- char *s = getenv("DISPLAY");
- if (s) *(s-2) = '_'; /* quite... */
+ int k;
+ for (k=0; k<3; k++) {
+ if (getenv("DISPLAY")) {
+ char *s = getenv("DISPLAY");
+ if (s) *(s-2) = '_'; /* quite... */
+ }
+ if (getenv("XAUTHORITY")) {
+ char *s = getenv("XAUTHORITY");
+ if (s) *(s-2) = '_'; /* quite... */
+ }
+ }
}
/* synchronize with parent: */
@@ -874,6 +884,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
return 0;
}
+ if (db > 2) fprintf(stderr, "\nsending passwd: %s\n", pass);
usleep(100 * 1000);
if (slow_pw) {
unsigned int k;
@@ -899,6 +910,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
drain_size = *rbuf_size;
rsize = 0;
}
+ if (db) fprintf(stderr, "\ndraining:\n");
for (i = 0; i< drain_size; i++) {
int n;
@@ -907,12 +919,13 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
n = read(fd, cbuf, 1);
if (n < 0 && errno == EINTR) {
+ if (db) fprintf(stderr, "\nEINTR n=%d i=%d --", n, i);
i--;
if (i < 0) i = 0;
continue;
}
- if (db) fprintf(stderr, "%s", cbuf);
+ if (db) fprintf(stderr, "\nn=%d i=%d errno=%d %.6f '%s'", n, i, errno, dnowx(), cbuf);
if (n <= 0) {
break;
@@ -921,6 +934,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
rbuf[rsize++] = cbuf[0];
}
}
+ if (db && rbuf) fprintf(stderr, "\nrbuf: '%s'\n", rbuf);
if (rbuf && *rbuf_size > 0) {
char *s = rbuf;
@@ -961,7 +975,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size) {
free(p);
}
- if (db) fprintf(stderr, "\n");
+ if (db) fprintf(stderr, "\n--\n");
alarm(0);
signal(SIGALRM, SIG_DFL);
@@ -1042,7 +1056,7 @@ if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "***
ok = 0;
}
} else {
- if (su_verify(user, pass, NULL, NULL, NULL)) {
+ if (su_verify(user, pass, NULL, NULL, NULL, 1)) {
rfbLog("unixpw_verify: su_verify login for '%s'"
" succeeded.\n", user);
ok = 1;
diff --git a/x11vnc/unixpw.h b/x11vnc/unixpw.h
index 9d1a806..53f70ec 100644
--- a/x11vnc/unixpw.h
+++ b/x11vnc/unixpw.h
@@ -9,7 +9,7 @@ extern void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init);
extern void unixpw_accept(char *user);
extern void unixpw_deny(void);
extern void unixpw_msg(char *msg, int delay);
-extern int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size);
+extern int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int nodisp);
extern int crypt_verify(char *user, char *pass);
extern int cmd_verify(char *user, char *pass);
diff --git a/x11vnc/user.c b/x11vnc/user.c
index 1a2bbd8..b90b182 100644
--- a/x11vnc/user.c
+++ b/x11vnc/user.c
@@ -1241,6 +1241,10 @@ int wait_for_client(int *argc, char** argv, int http) {
return 0;
}
+ if (getenv("WAIT_FOR_CLIENT_DB")) {
+ db = 1;
+ }
+
for (i=0; i < *argc; i++) {
if (!strcmp(argv[i], "-desktop")) {
dt = 1;
@@ -1435,6 +1439,7 @@ int wait_for_client(int *argc, char** argv, int http) {
char line2[16384];
char *q;
int n;
+ int nodisp = 0;
memset(line1, 0, 1024);
memset(line2, 0, 16384);
@@ -1447,9 +1452,10 @@ int wait_for_client(int *argc, char** argv, int http) {
rfbLogPerror("mkstemp");
clean_up_exit(1);
}
+ chmod(tmp, 0644);
write(tmp_fd, find_display, strlen(find_display));
close(tmp_fd);
- chmod(tmp, 0644);
+ nodisp = 1;
if (strstr(cmd, "FINDCREATEDISPLAY") == cmd) {
char *opts = strchr(cmd, '-');
@@ -1487,10 +1493,10 @@ if (db) fprintf(stderr, "create_cmd: %s\n", create_cmd);
if (keep_unixpw_user && keep_unixpw_pass) {
n = 18000;
res = su_verify(keep_unixpw_user,
- keep_unixpw_pass, cmd, line, &n);
+ keep_unixpw_pass, cmd, line, &n, nodisp);
}
-if (db) write(2, line, n); write(2, "\n", 1);
+if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);}
if (! res && create_cmd) {
FILE *mt = fopen(tmp, "w");
@@ -1506,7 +1512,7 @@ if (db) write(2, line, n); write(2, "\n", 1);
/* if not root, run as the other user... */
n = 18000;
res = su_verify(keep_unixpw_user,
- keep_unixpw_pass, create_cmd, line, &n);
+ keep_unixpw_pass, create_cmd, line, &n, nodisp);
/*if (1) fprintf(stderr, "line: '%s'\n", line); */
} else {
@@ -1576,8 +1582,8 @@ if (db) fprintf(stderr, "line1: '%s'\n", line1);
line2[i] = q[k+j];
i++;
}
-write(2, line, 100);
-fprintf(stderr, "\n");
+if (db) write(2, line, 100);
+if (db) fprintf(stderr, "\n");
} else {
FILE *p;
int rc;
@@ -1641,6 +1647,7 @@ fprintf(stderr, "\n");
}
}
+if (db) fprintf(stderr, "line1=%s\n", line1);
if (strstr(line1, "DISPLAY=") != line1) {
rfbLog("wait_for_client: bad reply '%s'\n", line1);
@@ -1648,6 +1655,7 @@ fprintf(stderr, "\n");
clean_up_exit(1);
}
+
if (strstr(line1, ",VT=")) {
int vt;
char *t = strstr(line1, ",VT=");
@@ -1660,6 +1668,41 @@ fprintf(stderr, "\n");
system(chvt);
sleep(2);
}
+ } else if (strstr(line1, ",XPID=")) {
+ int i, pvt, vt = -1;
+ char *t = strstr(line1, ",XPID=");
+ pvt = atoi(t + strlen(",XPID="));
+ *t = '\0';
+ if (pvt > 0) {
+ for (i=3; i <= 10; i++) {
+ int k;
+ char proc[100];
+ char buf[100];
+ sprintf(proc, "/proc/%d/fd/%d", pvt, i);
+if (db) fprintf(stderr, "%d -- %s\n", i, proc);
+ for (k=0; k < 100; k++) {
+ buf[k] = '\0';
+ }
+
+ if (readlink(proc, buf, 100) != -1) {
+ buf[100-1] = '\0';
+if (db) fprintf(stderr, "%d -- %s -- %s\n", i, proc, buf);
+ if (strstr(buf, "/dev/tty") == buf) {
+ vt = atoi(buf + strlen("/dev/tty"));
+ if (vt > 0) {
+ break;
+ }
+ }
+ }
+ }
+ }
+ if (7 <= vt && vt <= 128) {
+ char chvt[100];
+ sprintf(chvt, "chvt %d >/dev/null 2>/dev/null &", vt);
+ rfbLog("running: %s\n", chvt);
+ system(chvt);
+ sleep(2);
+ }
}
use_dpy = strdup(line1 + strlen("DISPLAY="));
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c
index fe1edc5..6a86d2e 100644
--- a/x11vnc/userinput.c
+++ b/x11vnc/userinput.c
@@ -275,6 +275,7 @@ void parse_fixscreen(void) {
/*
WIREFRAME_PARMS "0xff,2,0,30+6+6+6,Alt,0.05+0.3+2.0,8"
+ 0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125
shade,linewidth,percent,T+B+L+R,mods,t1+t2+t3+t4
*/
#define LW_MAX 8
@@ -874,11 +875,12 @@ static void draw_box(int x, int y, int w, int h, int restore) {
save[i]->saved = 0;
}
+if (0) fprintf(stderr, " DrawBox: %04dx%04d+%04d+%04d B=%d rest=%d lw=%d %.4f\n", w, h, x, y, 2*(w+h)*(2-restore)*pixelsize*lw, restore, lw, dnowx());
+
if (restore) {
return;
}
-if (0) fprintf(stderr, " DrawBox: %dx%d+%d+%d\n", w, h, x, y);
/*
* work out shade/color for the wireframe line, could be a color
@@ -1824,12 +1826,12 @@ void do_copyregion(sraRegionPtr region, int dx, int dy, int mode) {
if (rfb_fb == main_fb && ! rotating && mode == DCR_Normal) {
/* normal case, no -scale or -8to24 */
get_client_regions(&req, &mod, &cpy, &ncli);
-if (debug_scroll > 1) fprintf(stderr, ">>>-rfbDoCopyRect req: %d mod: %d cpy: %d\n", req, mod, cpy);
+if (0 || debug_scroll > 1) fprintf(stderr, ">>>-rfbDoCopyRect req: %d mod: %d cpy: %d\n", req, mod, cpy);
rfbDoCopyRegion(screen, region, dx, dy);
get_client_regions(&req, &mod, &cpy, &ncli);
-if (debug_scroll > 1) fprintf(stderr, "<<<-rfbDoCopyRect req: %d mod: %d cpy: %d\n", req, mod, cpy);
+if (0 || debug_scroll > 1) fprintf(stderr, "<<<-rfbDoCopyRect req: %d mod: %d cpy: %d\n", req, mod, cpy);
return;
}
@@ -1976,7 +1978,7 @@ void batch_copyregion(sraRegionPtr* region, int *dx, int *dy, int ncr, double de
rfbClientIteratorPtr i;
rfbClientPtr cl;
int k, direct, mode, nrects = 0, bad = 0;
- double start = dnow();
+ double t1, t2, start = dnow();
for (k=0; k < ncr; k++) {
sraRectangleIterator *iter;
@@ -2011,6 +2013,8 @@ void batch_copyregion(sraRegionPtr* region, int *dx, int *dy, int ncr, double de
}
fb_push_wait(delay, FB_COPY|FB_MOD);
+ t1 = dnow();
+
#if 0
i = rfbGetClientIterator(screen);
while( (cl = rfbClientIteratorNext(i)) ) {
@@ -2048,6 +2052,9 @@ void batch_copyregion(sraRegionPtr* region, int *dx, int *dy, int ncr, double de
for (k=0; k < ncr; k++) {
do_copyregion(region[k], dx[k], dy[k], mode);
}
+
+ t2 = dnow();
+
i = rfbGetClientIterator(screen);
while( (cl = rfbClientIteratorNext(i)) ) {
if (!direct) {
@@ -2061,7 +2068,8 @@ void batch_copyregion(sraRegionPtr* region, int *dx, int *dy, int ncr, double de
last_copyrect = dnow();
-fprintf(stderr, "batch_copyregion: nrects: %d nregions: %d dt=%.4f %.4f\n", nrects, ncr, dnow() - start, dnowx());
+if (0) fprintf(stderr, "batch_copyregion: nrects: %d nregions: %d tot=%.4f t10=%.4f t21=%.4f t32=%.4f %.4f\n",
+ nrects, ncr, last_copyrect - start, t1 - start, t2 - t1, last_copyrect - t2, dnowx());
}
@@ -4123,7 +4131,7 @@ void check_macosx_iconify(Window orig_frame, Window frame, int flush) {
idx = lookup_win_index(orig_frame);
if (idx >= 0) {
if (cache_list[idx].map_state == IsUnmapped) {
-fprintf(stderr, "FAW orig_frame unmapped.\n");
+if (0) fprintf(stderr, "FAW orig_frame unmapped.\n");
unmapped = 1;
m = 3;
}
@@ -4133,17 +4141,17 @@ fprintf(stderr, "FAW orig_frame unmapped.\n");
if (unmapped) {
;
} else if (orig_frame && macosxCGS_follow_animation_win(orig_frame, -1, 0)) {
- fprintf(stderr, "FAW orig_frame %d\n", (int) orig_frame);
+ if (0) fprintf(stderr, "FAW orig_frame %d\n", (int) orig_frame);
} else if (0 && frame && macosxCGS_follow_animation_win(frame, -1, 0)) {
- fprintf(stderr, "FAW frame %d\n", (int) frame);
+ if (0) fprintf(stderr, "FAW frame %d\n", (int) frame);
}
for (j=0; j<m; j++) {
macosxCGS_get_all_windows();
if (macosx_checkevent(NULL)) {
ok = 1;
- fprintf(stderr, "Check Event 1\n");
+ if (0) fprintf(stderr, "Check Event 1\n");
} else {
- fprintf(stderr, "Check Event 0\n");
+ if (0) fprintf(stderr, "Check Event 0\n");
}
if (ok) {
break;
@@ -4400,6 +4408,10 @@ if (db) fprintf(stderr, "INTERIOR\n");
frame_changed_spin *= 2.0;
max_spin *= 2.0;
min_draw *= 1.5;
+ if (link == LR_DIALUP) {
+ max_spin *= 1.2;
+ min_draw *= 1.7;
+ }
if (! didmsg) {
rfbLog("increased wireframe timeouts for "
"slow network connection.\n");
@@ -4706,7 +4718,7 @@ if (db) fprintf(stderr, "FRAME MOVE 1st-dt: %.3f\n", first_dt_ave/n);
} else {
if (drew_box && cnt > last_draw_cnt) {
doit = 1;
-fprintf(stderr, "*** NO GPI DRAW_BOX\n");
+if (0) fprintf(stderr, "*** NO GPI DRAW_BOX\n");
}
}
@@ -5513,6 +5525,16 @@ 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) {
+ if (rawfb_vnc_reflect) {
+ if (got_user_input) {
+ if (0) vnc_reflect_process_client();
+ }
+ if (got_user_input && *cnt % ui_skip != 0) {
+ /* every n-th drops thru to scan */
+ *cnt = *cnt + 1;
+ return 1; /* short circuit watch_loop */
+ }
+ }
#ifdef MACOSX
if (! macosx_console) {
RAWFB_RET(0)
@@ -5549,7 +5571,7 @@ if (debug_scroll && rc > 1) fprintf(stderr, " CXR: check_user_input ret %d\n",
if (pointer_mode == 1) {
if ((got_user_input || ui_skip < 0) && *cnt % ui_skip != 0) {
/* every ui_skip-th drops thru to scan */
- *cnt++;
+ *cnt = *cnt + 1;
X_LOCK;
XFlush_wr(dpy);
X_UNLOCK;
@@ -5565,7 +5587,7 @@ if (debug_scroll && rc > 1) fprintf(stderr, " CXR: check_user_input ret %d\n",
* *keyboard* input.
*/
if (*cnt % ui_skip != 0) {
- *cnt++;
+ *cnt = *cnt + 1;
return 1;
}
}
@@ -5913,7 +5935,7 @@ void snap_old(void) {
int i;
old_stack_n = STACKMAX;
quick_snap(old_stack, &old_stack_n);
-fprintf(stderr, "snap_old: %d %.4f\n", old_stack_n, dnowx());
+if (0) fprintf(stderr, "snap_old: %d %.4f\n", old_stack_n, dnowx());
#if 0
for (i= old_stack_n - 1; i >= 0; i--) {
int idx = lookup_win_index(old_stack[i]);
@@ -6069,7 +6091,7 @@ int free_rect(int idx) {
int x, y, w, h;
if (idx < 0 || idx >= cache_list_num) {
-fprintf(stderr, "free_rect: bad index: %d\n", idx);
+if (0) fprintf(stderr, "free_rect: bad index: %d\n", idx);
clean_up_exit(1);
}
@@ -7071,6 +7093,13 @@ fprintf(stderr, "BS_save: FAIL FOR: %d\n", idx);
clip_region(r, win);
}
+ if (sraRgnEmpty(r)) {
+if (verb) fprintf(stderr, "BS_save: Region Empty: %d\n", idx);
+ sraRgnDestroy(r0);
+ sraRgnDestroy(r);
+ return 0;
+ }
+
dx = x - x2;
dy = y - y2;
@@ -7165,6 +7194,14 @@ fprintf(stderr, "SU_save: FAIL FOR: %d\n", idx);
clip_region(r, win);
}
+ if (sraRgnEmpty(r)) {
+if (verb) fprintf(stderr, "SU_save: Region Empty: %d\n", idx);
+ sraRgnDestroy(r0);
+ sraRgnDestroy(r);
+ return 0;
+ }
+
+
dx = x - x2;
dy = y - y2;
@@ -7608,6 +7645,7 @@ int Ev_order[EVMAX];
int Ev_area[EVMAX];
int Ev_tmp[EVMAX];
int Ev_tmp2[EVMAX];
+Window Ev_tmpwin[EVMAX];
Window Ev_win[EVMAX];
Window Ev_map[EVMAX];
Window Ev_unmap[EVMAX];
@@ -7811,12 +7849,12 @@ fprintf(stderr, "TRY_TO_FIX_SU(%d) 0x%lx 0x%lx was_unmapped=%d map_state=%s\n"
for (i = old_stack_n - 1; i >= 0; i--) {
win2 = old_stack[i];
if (win2 == above) {
-fprintf(stderr, "0x%lx turn on: 0x%lx i=%d\n", win, win2, i);
+if (0) fprintf(stderr, "0x%lx turn on: 0x%lx i=%d\n", win, win2, i);
on = 1;
found_above = 1;
}
if (win2 == win) {
-fprintf(stderr, "0x%lx turn off: 0x%lx i=%d\n", win, win2, i);
+if (0) fprintf(stderr, "0x%lx turn off: 0x%lx i=%d\n", win, win2, i);
found = 1;
on = 0;
break;
@@ -8021,7 +8059,10 @@ void set_ncache_xrootpmap(void) {
old_handler = XSetErrorHandler(trap_xerror);
trapped_xerror = 0;
pmap = XInternAtom(dpy, "_XROOTPMAP_ID", True);
- if (pmap != None) {
+
+ if (use_solid_bg) {
+ image = solid_image(NULL);
+ } else if (pmap != None) {
Pixmap pixmap;
unsigned char *d_pmap;
@@ -8083,17 +8124,23 @@ void set_ncache_xrootpmap(void) {
#define EV_VISIBILITY_UNOBS 10
#define EV_VISIBILITY_OBS 11
#define EV_PROPERTY 12
+#define EV_OLD_WM_MAP 13
+#define EV_OLD_WM_UNMAP 14
+#define EV_OLD_WM_OFF 15
+#define EV_OLD_WM_NOTMAPPED 16
Window _ev_list[EVLISTMAX];
int _ev_case[EVLISTMAX];
int _ev_list_cnt;
int n_CN = 0, n_RN = 0, n_DN = 0, n_ON = 0, n_MN = 0, n_UN = 0;
int n_VN = 0, n_VN_p = 0, n_VN_u = 0, n_ST = 0, n_PN = 0, n_DC = 0;
+int n_ON_sz = 0, n_ON_po = 0, n_ON_st = 0;
int ev_store(Window win, int type) {
if (type == EV_RESET) {
n_CN = 0; n_RN = 0; n_DN = 0; n_ON = 0; n_MN = 0; n_UN = 0;
n_VN = 0; n_VN_p = 0; n_VN_u = 0; n_ST = 0; n_PN = 0; n_DC = 0;
+ n_ON_sz = 0; n_ON_po = 0; n_ON_st = 0;
_ev_list_cnt = 0;
return 1;
}
@@ -8238,12 +8285,15 @@ if (type != ConfigureNotify) fprintf(stderr, "root: skip %s for 0x%lx\n", Etype
ev_store(win, EV_CONFIGURE);
if (cfg_size) {
ev_store(win, EV_CONFIGURE_SIZE);
+ n_ON_sz++;
}
if (cfg_pos) {
ev_store(win, EV_CONFIGURE_POS);
+ n_ON_po++;
}
if (cfg_stack) {
ev_store(win, EV_CONFIGURE_STACK);
+ n_ON_st++;
}
n++;
n_ON++;
@@ -8448,6 +8498,9 @@ fprintf(stderr, " try_to_synth_su: 0x%lx %d idx=%d cnt=%d\n", win, i, idx, cnt
return 1;
}
+static double last_vis_unobs_time = 0.0;
+static double last_vis_obs_time = 0.0;
+
static int saw_desktop_change = 0;
void check_sched(int try_batch, int *did_sched) {
@@ -8655,7 +8708,7 @@ fprintf(stderr, "*VIS BS_save: 0x%lx %d %d %d\n", win, cache_list[i].width, cac
if (now < cache_list[i].vis_unobs_time + 0.75 && now < cache_list[i].vis_obs_time + 0.75) {
continue;
}
- bs_save(i, bat, &attr, !top_now[k], 0, &valid, 0);
+ bs_save(i, bat, &attr, !top_now[k], 0, &valid, 1);
if (valid) {
STORE(i, win, attr);
} else {
@@ -8709,6 +8762,7 @@ int check_ncache(int reset, int mode) {
int su_fix_cnt;
int pixels = 0, ttot;
int desktop_change = 0, n1, n2;
+ int desktop_change_old_wm = 0;
int missed_su_restore = 0;
int missed_bs_restore = 0;
sraRegionPtr r0, r;
@@ -8790,6 +8844,15 @@ if (c) fprintf(stderr, "check_ncache purged %d events\n", c);
if (nofb) {
return -1;
}
+ if (now < last_client + 4) {
+ return -1;
+ }
+ if (! all_clients_initialized()) {
+ /* play it safe */
+ return -1;
+ }
+
+
if (reset) {
rfbLog("check_ncache: resetting cache\n");
@@ -8846,19 +8909,22 @@ if (c) fprintf(stderr, "check_ncache purged %d events\n", c);
"This is the Pixel buffer cache region. Your VNC Viewer is not hiding it from you.",
white_pixel());
rfbDrawString(screen, &default8x16Font, dx, ds + Dy+2*dy,
- "Try resizing your VNC Viewer so you don't see it!! Pay no attention to the man behind the curtain...",
+ "Try resizing your VNC Viewer so you don't see it!!",
white_pixel());
rfbDrawString(screen, &default8x16Font, dx, ds + Dy+3*dy,
- "To disable run the server with: x11vnc -ncache 0 ...",
+ "Pay no attention to the man behind the curtain...",
white_pixel());
rfbDrawString(screen, &default8x16Font, dx, ds + Dy+4*dy,
- "If there are painting errors you can press 3 Alt_L's (Left \"Alt\" key) in a row to repaint the screen.",
+ "To disable caching run the server with: x11vnc -noncache ...",
white_pixel());
rfbDrawString(screen, &default8x16Font, dx, ds + Dy+5*dy,
+ "If there are painting errors press 3 Alt_L's (Left \"Alt\" key) in a row to repaint the screen.",
+ white_pixel());
+ rfbDrawString(screen, &default8x16Font, dx, ds + Dy+6*dy,
"More info: http://www.karlrunge.com/x11vnc/#faq-client-caching",
white_pixel());
- ds += 9 * dy;
+ ds += 11 * dy;
}
snapshot_cache_list(0, 100.0);
@@ -8868,15 +8934,16 @@ if (c) fprintf(stderr, "check_ncache purged %d events\n", c);
for (n = 1; n <= ncache; n++) {
rect_reg[n] = NULL;
}
+
+ if (ncache_xrootpmap) {
+ set_ncache_xrootpmap();
+ }
+
snap_old();
}
check_zero_rects();
- if (now < last_client + 4) {
- return -1;
- }
-
if (hack_val == 2) {
block_stats();
hack_val = 1;
@@ -8910,19 +8977,61 @@ if (hack_val == 2) {
} else if (dt_guess && !strcmp(dt_guess, "kde")) {
dt_kde = 1;
}
+ if (dt_kde) {
+ kde_no_animate(0);
+ }
ev_store(None, EV_RESET);
X_LOCK;
for (k = 1; k <= 3; k++) {
+ int j, retry = 0;
nsave = n;
if (k > 1) fprintf(stderr, "read_events-%d\n", k);
read_events(&n);
- nxsel = 0;
+#if 0
+ if (dt_gnome && (n_MN || n_UN)) {
+ retry = 1;
+ } else if (ncache_old_wm && n_ON_po >= 2) {
+ retry = 1;
+ } else if (n > nsave) {
+ /* XXX Y */
+ retry = 1;
+ }
+
+ if (retry) {
+ int n0 = n;
+ usleep(25 * 1000);
+ XFlush_wr(dpy);
+ read_events(&n);
+ fprintf(stderr, "read_events retry: %d -> %d\n", n0, n);
+ }
+#endif
+
+ if (n > nsave) {
+ int n0 = n;
+
+ for (j=0; j<4; j++) {
+ if (j < 2) {
+ usleep(30 * 1000);
+ } else {
+ usleep(10 * 1000);
+ }
+ XFlush_wr(dpy);
+ read_events(&n);
+ fprintf(stderr, "read_events retry: %d -> %d\n", n0, n);
+ if (n == n0) {
+ break;
+ }
+ n0 = n;
+ }
+ }
+ nxsel = 0;
+
/* handle creates and reparenting: */
for (n1 = nsave; n1 < n; n1++) {
Window win2;
@@ -9041,12 +9150,89 @@ fprintf(stderr, "SKIPWINS: Ev_unmap/map: 0x%lx %d\n", twin, n2);
n_DC++;
}
} else {
- if (n_MN + n_UN >= 4) {
+ if (n_MN + n_UN >= 3) {
desktop_change = 1;
n_DC++;
}
}
}
+ if (ncache_old_wm) {
+ int old_maps = 0;
+ int old_unmaps = 0;
+ int shifts = 0;
+ for (i=0; i < n; i++) {
+ XEvent ev;
+ int ns, skip = 0, type, idx = -1, state, valid;
+ int ik = Ev_order[i];
+ int x_new, y_new, w_new, h_new;
+ int x_old, y_old, w_old, h_old;
+ int old_wm = 0;
+
+ if (Ev_done[ik]) continue;
+ win = Ev_win[ik];
+
+ ev = Ev[ik];
+ type = ev.type;
+ if (type != ConfigureNotify) {
+ continue;
+ }
+ if (ev_lookup(win, EV_MAP)) {
+ continue;
+ } else if (ev_lookup(win, EV_UNMAP)) {
+ continue;
+ } else if (ev_lookup(win, EV_DESTROY)) {
+ continue;
+ }
+
+ idx = lookup_win_index(win);
+ if (idx < 0) {
+ continue;
+ }
+ x_new = ev.xconfigure.x;
+ y_new = ev.xconfigure.y;
+ w_new = ev.xconfigure.width;
+ h_new = ev.xconfigure.height;
+
+ x_old = cache_list[idx].x;
+ y_old = cache_list[idx].y;
+ w_old = cache_list[idx].width;
+ h_old = cache_list[idx].height;
+
+ if (w_new == w_old && h_new == h_old) {
+ if (nabs(x_new - x_old) >= dpy_x || nabs(y_new - y_old) >= dpy_y) {
+ sraRegionPtr r_old, r_new, r0;
+ r0 = sraRgnCreateRect(0, 0, dpy_x, dpy_y);
+ r_old = sraRgnCreateRect(x_old, y_old, x_old+w_old, y_old+h_old);
+ sraRgnAnd(r_old, r0);
+ r_new = sraRgnCreateRect(x_new, y_new, x_new+w_new, y_new+h_new);
+ sraRgnAnd(r_new, r0);
+ if (cache_list[idx].map_state != IsViewable) {
+ ev_store(win, EV_OLD_WM_NOTMAPPED);
+ } else if (sraRgnEmpty(r_old) && !sraRgnEmpty(r_new)) {
+ old_wm = 1;
+ ev_store(win, EV_OLD_WM_MAP);
+ Ev_map[i] = win;
+ } else if (!sraRgnEmpty(r_old) && sraRgnEmpty(r_new)) {
+ ev_store(win, EV_OLD_WM_UNMAP);
+ old_wm = -1;
+ Ev_unmap[i] = win;
+ } else {
+ ev_store(win, EV_OLD_WM_OFF);
+ }
+ sraRgnDestroy(r_old);
+ sraRgnDestroy(r_new);
+ sraRgnDestroy(r0);
+ shifts++;
+fprintf(stderr, "old_wm[%d] +%04d+%04d +%04d+%04d old_wm: %d\n", i, x_old, y_old, x_new, y_new, old_wm);
+ }
+ }
+ }
+ if (shifts >= 3) {
+fprintf(stderr, "DESKTOP_CHANGE_OLD_WM: %d\n", shifts);
+ desktop_change = 1;
+ desktop_change_old_wm = 1;
+ }
+ }
#define SKIPUMS \
ok = 1; \
@@ -9060,7 +9246,100 @@ fprintf(stderr, "SKIPWINS: Ev_unmap/map: 0x%lx %d\n", twin, n2);
} \
}
- /* XXX Y not working well */
+ if (desktop_change) {
+ Window twin;
+ int ok, s, k, add, cnt, ns;
+
+ cnt = 0;
+ add = 0;
+ for (i=0; i < n; i++) {
+ twin = Ev_unmap[i];
+ SKIPUMS
+ if (ok) {
+fprintf(stderr, "U Ev_tmp[%d] = %d\n", cnt, i);
+ Ev_tmp[cnt++] = i;
+ }
+ }
+ for (i=0; i < n; i++) {
+ twin = Ev_map[i];
+ SKIPUMS
+ if (ok) {
+fprintf(stderr, "M Ev_tmp[%d] = %d\n", cnt, i);
+ Ev_tmp[cnt++] = i;
+ }
+ }
+ for (k = 0; k < cnt; k++) {
+ Ev_tmp2[k] = -1;
+ }
+ /* unmap from top to bottom */
+ for (s = old_stack_n - 1; s >= 0; s--) {
+ twin = old_stack[s];
+ if (twin == None || twin == rootwin) {
+ continue;
+ }
+ for (k = 0; k < cnt; k++) {
+ i = Ev_tmp[k];
+ if (twin == Ev_unmap[i]) {
+fprintf(stderr, "U Ev_tmp2[%d] = %d\n", add, i);
+ Ev_tmp2[add++] = i;
+ break;
+ }
+ }
+ }
+ /* map from bottom to top */
+ for (s = 0; s < old_stack_n; s++) {
+ twin = old_stack[s];
+ if (twin == None || twin == rootwin) {
+ continue;
+ }
+ for (k = 0; k < cnt; k++) {
+ i = Ev_tmp[k];
+ if (twin == Ev_map[i]) {
+fprintf(stderr, "M Ev_tmp2[%d] = %d\n", add, i);
+ Ev_tmp2[add++] = i;
+ break;
+ }
+ }
+ }
+ k = 0;
+ for (i=0; i < n; i++) {
+ Window wu, wm;
+ int j;
+ int oku = 0, okm = 0;
+ wu = Ev_unmap[i];
+ wm = Ev_map[i];
+ ok = 0;
+ if (wu != None && wu != rootwin) oku = 1;
+ if (wm != None && wm != rootwin) okm = 1;
+ if (!oku && !okm) {
+ continue;
+ }
+ if (oku) {
+ twin = wu;
+ SKIPUMS
+ if (!ok) {
+ oku = 0;
+ }
+ }
+ if (okm) {
+ twin = wm;
+ SKIPUMS
+ if (!ok) {
+ okm = 0;
+ }
+ }
+ if (!oku && !okm) {
+ continue;
+ }
+ j = Ev_tmp2[k++];
+ if (j >= 0) {
+fprintf(stderr, "UM Ev_order[%d] = %d oku=%d okm=%d\n", i, j, oku, okm);
+ Ev_order[i] = j;
+ }
+ }
+ }
+
+#if 0
if (desktop_change) {
Window twin;
int ok, s, k, add, cnt, ns;
@@ -9137,6 +9416,64 @@ fprintf(stderr, "SKIPWINS: Ev_unmap/map: 0x%lx %d\n", twin, n2);
}
}
}
+#endif
+
+ if (!desktop_change && (n_VN_p && !n_UN && (n_MN || n_ON_st))) {
+ if (now < last_vis_unobs_time + 0.75 || now < last_vis_obs_time + 0.75) {
+ ;
+ } else if (n_MN <= 2 && n_ON_st <= 1) {
+ for (i=0; i < n; i++) {
+ XEvent ev;
+ int ns, skip = 0, type, idx = -1, state, valid;
+ int ik = Ev_order[i];
+
+ if (Ev_done[ik]) continue;
+ win = Ev_win[ik];
+
+ ev = Ev[ik];
+ type = ev.type;
+ if (type != VisibilityNotify) {
+ continue;
+ }
+
+ state = ev.xvisibility.state;
+ if (state == VisibilityUnobscured) {
+ continue;
+ }
+ if (ev_lookup(win, EV_MAP)) {
+ continue;
+ } else if (ev_lookup(win, EV_UNMAP)) {
+ continue;
+ } else if (ev_lookup(win, EV_DESTROY)) {
+ continue;
+ }
+ idx = lookup_win_index(win);
+
+ if (idx < 0) {
+ continue;
+ }
+ if (cache_list[idx].vis_state == VisibilityFullyObscured) {
+ continue;
+ }
+ if (now < cache_list[idx].vis_unobs_time + 3.00 || now < cache_list[idx].vis_obs_time + 3.00) {
+ continue;
+ }
+
+fprintf(stderr, "----%02d: VisibilityNotify 0x%lx %3d (*PRELOOP*) state: %s U/P %d/%d\n", ik, win, idx, VState(state), n_VN_u, n_VN_p);
+ valid = 0;
+ bs_save(idx, nbatch, &attr, 1, 0, &valid, 1);
+ if (valid) {
+ STORE(idx, win, attr);
+ } else {
+ DELETE(idx);
+ }
+
+ cache_list[idx].vis_state = state;
+ cache_list[idx].vis_obs_time = last_vis_obs_time = dnow();
+ Ev_done[ik] = 1;
+ }
+ }
+ }
if (desktop_change) {
if (ncache_dt_change) {
fprintf(stderr, "GUESSED DESKTOP CHANGE.\n");
@@ -9147,6 +9484,7 @@ fprintf(stderr, "SKIPWINS: Ev_unmap/map: 0x%lx %d\n", twin, n2);
}
}
+
create_cnt = 0;
missed_su_restore = 0;
missed_bs_restore = 0;
@@ -9234,7 +9572,7 @@ fprintf(stderr, "root%02d: ** IgnoringRoot 0x%lx type: %s\n", ik, win, Etype(ty
if (type == ConfigureNotify) {
int x_new, y_new, w_new, h_new;
int x_old, y_old, w_old, h_old;
- int stack_change;
+ int stack_change, old_wm = 0;
Window oabove = None;
idx = lookup_win_index(win);
@@ -9260,19 +9598,60 @@ fprintf(stderr, "----%02d: ConfigureNotify 0x%lx %3d -- above: 0x%lx -> 0x%lx
w_old = cache_list[idx].width;
h_old = cache_list[idx].height;
- if (x_old != x_new || y_old != y_new) {
- /* invalidate su */
- cache_list[idx].su_time = 0.0;
-fprintf(stderr, " INVALIDATE su: 0x%lx xy: +%d+%d +%d+%d \n", win, x_old, y_old, x_new, y_new);
+ if (desktop_change_old_wm) {
+ if (ev_lookup(win, EV_OLD_WM_MAP)) {
+ if (Ev_map[ik] == win) {
+ old_wm = 1;
+ } else {
+ old_wm = 2;
+ }
+ } else if (ev_lookup(win, EV_OLD_WM_UNMAP)) {
+ if (Ev_unmap[ik] == win) {
+ old_wm = -1;
+ } else {
+ old_wm = 2;
+ }
+ } else if (ev_lookup(win, EV_OLD_WM_OFF)) {
+ old_wm = 2;
+ } else if (ev_lookup(win, EV_OLD_WM_NOTMAPPED)) {
+ old_wm = 3;
+ }
}
- if (w_old != w_new || h_old != h_new) {
- /* invalidate bs */
- cache_list[idx].bs_time = 0.0;
+
+ if (!old_wm) {
+ if (x_old != x_new || y_old != y_new) {
+ /* invalidate su */
+ cache_list[idx].su_time = 0.0;
+fprintf(stderr, " INVALIDATE su: 0x%lx xy: +%d+%d +%d+%d \n", win, x_old, y_old, x_new, y_new);
+ }
+ if (w_old != w_new || h_old != h_new) {
+ /* invalidate bs */
+ cache_list[idx].bs_time = 0.0;
fprintf(stderr, " INVALIDATE bs: 0x%lx wh: %dx%d %dx%d \n", win, w_old, h_old, w_new, h_new);
+ }
+ } else {
+ int valid;
+ X_UNLOCK;
+ if (old_wm == 1) {
+ /* XXX Y */
+fprintf(stderr, " OLD_WM_MAP: 0x%lx wh: %dx%d+%d+%d %dx%d+%d+%d \n", win, w_old, h_old, x_old, y_old, w_new, h_new, x_new, y_new);
+ valid = 0;
+ bs_restore(idx, nbatch, NULL, &attr, 0, 0, &valid, 1);
+
+ } else if (old_wm == -1) {
+fprintf(stderr, " OLD_WM_UNMAP: 0x%lx wh: %dx%d+%d+%d %dx%d+%d+%d \n", win, w_old, h_old, x_old, y_old, w_new, h_new, x_new, y_new);
+ valid = 1;
+ su_restore(idx, nbatch, NULL, &attr, 1, 0, &valid, 1);
+ } else {
+fprintf(stderr, " OLD_WM_OFF:: 0x%lx wh: %dx%d+%d+%d %dx%d+%d+%d old_wm=%d\n", win, w_old, h_old, x_old, y_old, w_new, h_new, x_new, y_new, old_wm);
+ }
+ X_LOCK;
}
stack_change = 0;
- if (cache_list[idx].above != ev.xconfigure.above) {
+ if (old_wm) {
+ ;
+ } else if (cache_list[idx].above != ev.xconfigure.above) {
stack_change = 1;
} else if (x_new == x_old && y_new == y_old && w_new == w_old && h_new == h_old) {
stack_change = 1;
@@ -9430,9 +9809,9 @@ fprintf(stderr, "----%02d: VisibilityNotify 0x%lx %3d state: %s U/P %d/%d\n",
}
}
if (state == VisibilityUnobscured) {
- cache_list[idx].vis_unobs_time = dnow();
+ cache_list[idx].vis_unobs_time = last_vis_unobs_time = dnow();
} else if (cache_list[idx].vis_state == VisibilityUnobscured) {
- cache_list[idx].vis_obs_time = dnow();
+ cache_list[idx].vis_obs_time = last_vis_obs_time = dnow();
}
cache_list[idx].vis_state = state;
diff --git a/x11vnc/util.c b/x11vnc/util.c
index 5ba621c..632b617 100644
--- a/x11vnc/util.c
+++ b/x11vnc/util.c
@@ -287,6 +287,8 @@ char *this_host(void) {
if (gethostname(host, MAXN) == 0) {
host[MAXN-1] = '\0';
return strdup(host);
+ } else if (UT.nodename) {
+ return strdup(UT.nodename);
}
#endif
return NULL;
diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1
index 719c7a6..1936108 100644
--- a/x11vnc/x11vnc.1
+++ b/x11vnc/x11vnc.1
@@ -2,7 +2,7 @@
.TH X11VNC "1" "January 2007" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
- version: 0.8.4, lastmod: 2007-01-10
+ version: 0.8.4, lastmod: 2007-01-31
.SH SYNOPSIS
.B x11vnc
[OPTION]...
@@ -42,10 +42,10 @@ Also, use of a VNC password (-rfbauth or \fB-passwdfile)\fR is strongly recommen
For additional info see: http://www.karlrunge.com/x11vnc/
and http://www.karlrunge.com/x11vnc/#faq
.PP
-Rudimentary config file support: if the file $HOME/.x11vncrc exists then each
-line in it is treated as a single command line option. Disable with \fB-norc.\fR
-For each option name, the leading character "-" is not required. E.g. a
-line that is either "forever" or "\fB-forever\fR" may be used and are equivalent.
+Config file support: if the file $HOME/.x11vncrc exists then each line in
+it is treated as a single command line option. Disable with \fB-norc.\fR For
+each option name, the leading character "-" is not required. E.g. a line
+that is either "forever" or "\fB-forever\fR" may be used and are equivalent.
Likewise "wait 100" or "\fB-wait\fR \fI100\fR" are acceptable and equivalent lines.
The "#" character comments out to the end of the line in the usual way
(backslash it for a literal). Leading and trailing whitespace is trimmed off.
@@ -73,9 +73,29 @@ before startup. Same as \fB-xauth\fR file. See
.IR xauth (1)
man pages for more info.
.PP
+\fB-N\fR
+.IP
+If the X display is :N, try to set the VNC display
+to also be :N This just sets the \fB-rfbport\fR option
+to 5900+N. The program will exit immediately if that
+port is not available.
+.PP
+\fB-reflect\fR \fIhost:N\fR
+.IP
+Instead of connecting to and polling an X display,
+connect to the remote VNC server host:N and be a
+reflector/repeater for it. This is useful for trying
+to manage the case of many simultaneous VNC viewers
+(e.g. classroom broadcasting) where, e.g. you put
+a repeater on each network switch, etc, to improve
+performance by distributing the load and network
+traffic. Implies \fB-shared\fR (use \fB-noshared\fR as a later
+option to disable). See the discussion below under
+\fB-rawfb\fR vnc:host:N for more details.
+.PP
\fB-id\fR \fIwindowid\fR
.IP
-Show the window corresponding to \fIwindowid\fR not
+Show the X window corresponding to \fIwindowid\fR not
the entire display. New windows like popup menus,
transient toplevels, etc, may not be seen or may be
clipped. Disabling SaveUnders or BackingStore in the
@@ -921,15 +941,16 @@ source code (x11vnc/misc/Xdummy) It should be available
in PATH and have run "Xdummy \fB-install"\fR once to create
the shared library. Xdummy requires root permission
and only works on Linux. Xvfb is available on most
-platforms.
+platforms and does not require root.
.IP
When x11vnc exits (i.e. user disconnects) the X server
-session stays running in the background. Presumably the
-FINDDISPLAY will find it next time. The user must exit
-the X session in the usual way for it to terminate.
+session stays running in the background. Presumably
+the FINDDISPLAY will find it next time. The user must
+exit the X session in the usual way for it to terminate
+(or kill the X server process if all else fails).
.IP
So this is a somewhat odd mode for x11vnc in that it
-will start up and poll virtual X servers. This can
+will start up and poll virtual X servers! This can
be used from, say,
.IR inetd (8)
to provide a means of
@@ -946,13 +967,30 @@ Where /.../x11vnc is the full path to x11vnc.
Use WAIT:cmd=FINDCREATEDISPLAY-print to print out the
script used. You can specify the preferred order via
e.g., WAIT:cmd=FINDCREATEDISPLAY-Xdummy,Xvfb,X and/or
-leave out ones you do not want. The the extra case "X"
-means try to start up a real, hardware X server using
-.IR xinit (1).
-If there is already an X server running the
-X case may only work on Linux (see
+leave out ones you do not want. The the extra case
+"X" means try to start up a real, hardware X server
+using
+.IR xinit (1)
+or
+.IR startx (1).
+If there is already an
+X server running the X case may only work on Linux
+(see
.IR startx (1)
).
+.IP
+If you want the FINDCREATEDISPLAY session to contact an
+XDMCP login manager (xdm/gdm/kdm) on the same machine,
+then use "Xvfb.xdmcp" instead of "Xvfb", etc.
+The user will have to supply his username and password
+one more time (but he gets to select his desktop type
+so that can be useful). For this to work, you will
+need to enable localhost XDMCP (udp port 177) for the
+display manager. This seems to be:
+.IP
+for gdm in gdm.conf: Enable=true in section [xdmcp]
+for kdm in kdmrc: Enable=true in section [Xdmcp]
+for xdm in xdm-config: DisplayManager.requestPort: 177
.PP
\fB-ssl\fR \fI[pem]\fR
.IP
@@ -1969,6 +2007,14 @@ the state of the modifiers: this usually works for
identical keyboards). Also useful in resolving cases
where a Keysym is bound to multiple keys (e.g. "<" + ">"
and "," + "<" keys). Default: \fB-modtweak\fR
+.IP
+On some HP-UX systems it is been noted that they have
+an odd keymapping where a single keycode will have a
+keysym, e.g. "#", up to three times. You can check
+via "xmodmap \fB-pk"\fR or the \fB-dk\fR option. The failure
+is when you try to type "#" it yields "3". If you
+see this problem try setting the environment variable
+MODTWEAK_LOWEST=1 to see if it helps.
.PP
\fB-xkb,\fR \fB-noxkb\fR
.IP
@@ -2376,93 +2422,6 @@ slow setups, but you lose all visual feedback for drags,
text selection, and some menu traversals. It overrides
any \fB-pointer_mode\fR setting.
.PP
-\fB-ncache\fR \fIn\fR
-.IP
-Client-side caching scheme. Framebuffer memory \fIn\fR
-(an integer) times that of the full display is allocated
-below the actual framebuffer to cache screen contents
-for rapid retrieval. So a W x H frambuffer is expanded
-to a W x (n+1)*H one. Use 0 to disable. Default: XXX.
-.IP
-This is an experimental option, currently implemented
-in an awkward way in that in the VNC Viewer you can
-see the cache contents if you scroll down, etc. So you
-will have to set things up so you can't see that region.
-If this method is successful, the changes required for
-clients to do this less awkwardly will be investigated.
-.IP
-Note that this mode consumes a huge amount of memory,
-both on the x11vnc server side and on the VNC Viewer
-side. If n=2 then the amount of RAM used is roughly
-tripled for both x11vnc and the VNC Viewer. As a rule
-of thumb, note that 1280x1024 at depth 24 is about 5MB
-of pixel data.
-.IP
-For reasonable response when cycling through 4 to 6
-large (e.g. web browser) windows a value n of 6 to 12
-is recommended. (that's right: ~10X more memory...)
-.IP
-Because of the way window backingstore and saveunders
-are implemented, n must be even. It will be incremented
-by 1 if it is not.
-.IP
-This mode also works for native MacOS X, but may not
-be as effective as the X version. This is due to a
-number of things, one is the drop-shadow compositing
-that leaves extra areas that need to be repaired (see
-\fB-ncache_pad).\fR Another is the window iconification
-animations need to be avoided (see \fB-macicontime).\fR
-It appears the that the 'Scale' animation mode gives
-better results than the 'Genie' one. Also, window event
-detection not as accurate as the X version.
-.PP
-\fB-ncache_cr\fR
-.IP
-In \fB-ncache\fR mode, try to do copyrect opaque window
-moves/drags instead of wireframes (this can induce
-painting errors). The wireframe will still be used when
-moving a window whose save-unders has not yet been set
-or has been invalidated.
-.IP
-Some VNC Viewers provide better response than others
-with this option. On Unix, realvnc viewer gives
-smoother drags than tightvnc viewer. Response may also
-be choppy if the server side machine is too slow.
-.IP
-Sometimes on very slow modem connections, this actually
-gives an improvement because no pixel data at all
-(not even the box animation) is sent during the drag.
-.PP
-\fB-ncache_no_moveraise\fR
-.IP
-In \fB-ncache\fR mode, do not assume that moving a window
-will cause the window manager to raise it to the top
-of the stack. The default is to assume it does, and
-so at the beginning of any wireframe, etc, window moves
-the window will be pushed to top in the VNC viewer.
-.PP
-\fB-ncache_no_dtchange\fR
-.IP
-In \fB-ncache\fR mode, do not try to guess when the desktop
-(viewport) changes to another one (i.e. another
-workarea). The default is to try to guess and when
-detected try to make the transistion more smoothly.
-.PP
-\fB-ncache_no_rootpixmap\fR
-.IP
-In \fB-ncache\fR mode, do not try to snapshot the desktop
-background to use in guessing or reconstructing window
-save-unders..
-.PP
-\fB-ncache_pad\fR \fIn\fR
-.IP
-In \fB-ncache\fR mode, pad each window with n pixels for the
-caching rectangles. This can be used to try to improve
-the situation with dropshadows or other compositing
-(e.g. MacOS X window manager), although it could make
-things worse. The default is 0 on Unix and 24 on
-MacOS X.
-.PP
\fB-wireframe\fR \fI[str],\fR \fB-nowireframe\fR
.IP
Try to detect window moves or resizes when a mouse
@@ -2480,7 +2439,7 @@ The value "str" is optional and, of course, is
packed with many tunable parameters for this scheme:
.IP
Format: shade,linewidth,percent,T+B+L+R,mod,t1+t2+t3+t4
-Default: 0xff,3,0,32+8+8+8,all,0.15+0.30+5.0+0.125
+Default: 0xff,2,0,32+8+8+8,all,0.15+0.30+5.0+0.125
.IP
If you leave nothing between commas: ",," the default
value is used. If you don't specify enough commas,
@@ -3197,6 +3156,10 @@ If the string begins with "console", "/dev/fb", or
the framebuffer device is opened and keystrokes (and
possibly mouse events) are inserted into the console.
.IP
+If the string begins with "vnc", see the VNC HOST
+discussion below where the framebuffer is taken as that
+of another remote VNC server.
+.IP
Optional suffixes are ":R/G/B" and "+O" to specify
red, green, and blue masks and an offset into the
memory object. If the masks are not provided x11vnc
@@ -3222,6 +3185,7 @@ Examples:
\fB-rawfb\fR video0
\fB-rawfb\fR video \fB-pipeinput\fR VID
\fB-rawfb\fR console
+\fB-rawfb\fR vnc:somehost:0
.IP
(see
.IR ipcs (1)
@@ -3398,6 +3362,44 @@ Examples:
\fB-rawfb\fR consolex (no keystrokes or mouse)
\fB-rawfb\fR console:/dev/nonstd
\fB-rawfb\fR console \fB-pipeinput\fR UINPUT:accel=4.0
+.IP
+VNC HOST: if the \fB-rawfb\fR string is of the form
+"vnc:host:N" then the VNC display "N" on the remote
+VNC server "host" is connected to (i.e. x11vnc acts as
+a VNC client itself) and that framebuffer is exported.
+.IP
+This mode is really only of use if you are trying
+to improve performance in the case of many (e.g. >
+10) simultaneous VNC viewers, and you try a divide
+and conquer scheme to reduce bandwidth and improve
+responsiveness.
+.IP
+For example, if there will be 64 simultaneous VNC
+viewers this can lead to a lot of redundant VNC traffic
+to and from the server host:N, extra CPU usage,
+and all viewers response can be reduced by having
+to wait for writes to the slowest client to finish.
+However, if you set up 8 reflectors/repeaters started
+with option \fB-rawfb\fR vnc:host:N, then there are only
+8 connections to host:N. Each repeater then handles
+8 vnc viewer connections thereby spreading the load
+around. In classroom broadcast usage, try to put the
+repeaters on different switches. This mode is the same
+as \fB-reflect\fR host:N. Replace "host:N" by "listen"
+or "listen:port" for a reverse connection.
+.IP
+Overall performance will not be as good as a single
+direct connection because, among other things,
+there is an additional level of framebuffer polling
+and pointer motion can still induce many changes per
+second that must be propagated. Tip: if the remote VNC
+is x11vnc doing wireframing, or an X display that does
+wireframing that gives much better response than opaque
+window dragging. Consider the \fB-nodragging\fR option if
+the problem is severe.
+.IP
+The VNC HOST mode implies \fB-shared.\fR Use \fB-noshared\fR as
+a subsequent cmdline option to disable sharing.
.PP
\fB-freqtab\fR \fIfile\fR
.IP
@@ -3507,7 +3509,7 @@ Use reset=0 to disable.
If the uinput device has an absolute pointer (as opposed
to a normal mouse that is a relative pointer) you can
specify the option "abs". Note that a touchpad
-on a laptop is an absolute device t some degree.
+on a laptop is an absolute device to some degree.
This (usually) avoids all the problems with mouse
acceleration. If x11vnc has trouble deducing the size
of the device, use "abs=WxH". Furthermore, if the
@@ -4040,6 +4042,10 @@ noncache_no_rootpixmap disable ncache_no_rootpixmap.
.IP
ncache_reset_rootpixmap recheck the root pixmap
.IP
+ncache_keep_anims enable ncache_keep_anims.
+.IP
+noncache_keep_anims disable ncache_keep_anims.
+.IP
wireframe enable \fB-wireframe\fR mode. same as "wf"
.IP
nowireframe disable \fB-wireframe\fR mode. same as "nowf"
@@ -4307,26 +4313,27 @@ unlock connect allowonce allow localhost nolocalhost
listen lookup nolookup accept afteraccept gone shm
noshm flipbyteorder noflipbyteorder onetile noonetile
solid_color solid nosolid blackout xinerama noxinerama
-xtrap noxtrap xrandr noxrandr xrandr_mode rotate padgeom
-quiet q noquiet modtweak nomodtweak xkb noxkb capslock
-nocapslock skip_lockkeys noskip_lockkeys skip_keycodes
-sloppy_keys nosloppy_keys skip_dups noskip_dups
-add_keysyms noadd_keysyms clear_mods noclear_mods
-clear_keys noclear_keys remap repeat norepeat fb nofb
-bell nobell sel nosel primary noprimary setprimary
-nosetprimary clipboard noclipboard setclipboard
-nosetclipboard seldir cursorshape nocursorshape
-cursorpos nocursorpos cursor_drag nocursor_drag cursor
-show_cursor noshow_cursor nocursor arrow xfixes
-noxfixes xdamage noxdamage xd_area xd_mem alphacut
-alphafrac alpharemove noalpharemove alphablend
-noalphablend xwarppointer xwarp noxwarppointer
-noxwarp buttonmap dragging nodragging ncache_cr
-noncache_cr ncache_no_moveraise noncache_no_moveraise
-ncache_no_dtchange noncache_no_dtchange
-ncache_no_rootpixmap noncache_no_rootpixmap
-ncache_reset_rootpixmap ncache noncache ncache_size
-wireframe_mode wireframe wf nowireframe nowf
+xtrap noxtrap xrandr noxrandr xrandr_mode rotate
+padgeom quiet q noquiet modtweak nomodtweak xkb noxkb
+capslock nocapslock skip_lockkeys noskip_lockkeys
+skip_keycodes sloppy_keys nosloppy_keys skip_dups
+noskip_dups add_keysyms noadd_keysyms clear_mods
+noclear_mods clear_keys noclear_keys remap repeat
+norepeat fb nofb bell nobell sel nosel primary
+noprimary setprimary nosetprimary clipboard noclipboard
+setclipboard nosetclipboard seldir cursorshape
+nocursorshape cursorpos nocursorpos cursor_drag
+nocursor_drag cursor show_cursor noshow_cursor
+nocursor arrow xfixes noxfixes xdamage noxdamage
+xd_area xd_mem alphacut alphafrac alpharemove
+noalpharemove alphablend noalphablend xwarppointer
+xwarp noxwarppointer noxwarp buttonmap dragging
+nodragging ncache_cr noncache_cr ncache_no_moveraise
+noncache_no_moveraise ncache_no_dtchange
+noncache_no_dtchange ncache_no_rootpixmap
+noncache_no_rootpixmap ncache_reset_rootpixmap
+ncache_keep_anims noncache_keep_anims ncache noncache
+ncache_size wireframe_mode wireframe wf nowireframe nowf
wireframelocal wfl nowireframelocal nowfl wirecopyrect
wcr nowirecopyrect nowcr scr_area scr_skip scr_inc
scr_keys scr_term scr_keyrepeat scr_parms scrollcopyrect
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index b69b2e5..a45da20 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -582,6 +582,14 @@ static void watch_loop(void) {
}
}
+ if (rawfb_vnc_reflect) {
+ static time_t lastone = 0;
+ if (time(NULL) > lastone + 10) {
+ lastone = time(NULL);
+ vnc_reflect_process_client();
+ }
+ }
+
if (! screen || ! screen->clientHead) {
/* waiting for a client */
if (first_conn_timeout) {
@@ -633,6 +641,10 @@ static void watch_loop(void) {
}
if (unixpw_in_progress) continue;
+
+ if (rawfb_vnc_reflect) {
+ vnc_reflect_process_client();
+ }
dtime0(&tm);
if (use_snapfb) {
int t, tries = 3;
@@ -1072,7 +1084,7 @@ static void quick_pw(char *str) {
exit(1);
}
} else {
- if (su_verify(p, q+1, NULL, NULL, NULL)) {
+ if (su_verify(p, q+1, NULL, NULL, NULL, 1)) {
fprintf(stdout, "Y %s\n", p);
exit(0);
} else {
@@ -1461,7 +1473,7 @@ char msg[] =
"perhaps even report back your observations. However, if you do not want\n"
"to test or use the feature, run x11vnc like this:\n"
"\n"
-" x11vnc -ncache 0 ...\n"
+" x11vnc -noncache ...\n"
"\n"
"Your current setting is: -ncache %d\n"
"\n"
@@ -1517,6 +1529,7 @@ int main(int argc, char* argv[]) {
int got_rfbwait = 0;
int got_httpdir = 0, try_http = 0;
int waited_for_client = 0;
+ int orig_use_xdamage = use_xdamage;
XImage *fb0 = NULL;
/* used to pass args we do not know about to rfbGetScreen(): */
@@ -1644,6 +1657,13 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-auth") || !strcmp(arg, "-xauth")) {
CHECK_ARGC
auth_file = strdup(argv[++i]);
+ } else if (!strcmp(arg, "-N")) {
+ display_N = 1;
+ } else if (!strcmp(arg, "-reflect")) {
+ CHECK_ARGC
+ raw_fb_str = (char *) malloc(4 + strlen(argv[i]) + 1);
+ sprintf(raw_fb_str, "vnc:%s", argv[++i]);
+ shared = 1;
} else if (!strcmp(arg, "-id") || !strcmp(arg, "-sid")) {
CHECK_ARGC
if (!strcmp(arg, "-sid")) {
@@ -1716,6 +1736,8 @@ int main(int argc, char* argv[]) {
got_noviewonly = 1;
} else if (!strcmp(arg, "-shared")) {
shared = 1;
+ } else if (!strcmp(arg, "-noshared")) {
+ shared = 0;
} else if (!strcmp(arg, "-once")) {
connect_once = 1;
got_connect_once = 1;
@@ -2159,21 +2181,27 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-nodragging")) {
show_dragging = 0;
#ifndef NO_NCACHE
- } else if (!strcmp(arg, "-ncache")) {
+ } else if (!strcmp(arg, "-ncache") || !strcmp(arg, "-nc")) {
CHECK_ARGC
ncache = atoi(argv[++i]);
if (ncache % 2 != 0) {
ncache++;
}
- } else if (!strcmp(arg, "-ncache_cr")) {
+ } else if (!strcmp(arg, "-noncache") || !strcmp(arg, "-nonc")) {
+ ncache = 0;
+ } else if (!strcmp(arg, "-ncache_cr") || !strcmp(arg, "-nc_cr")) {
ncache_copyrect = 1;
- } else if (!strcmp(arg, "-ncache_no_moveraise")) {
+ } else if (!strcmp(arg, "-ncache_no_moveraise") || !strcmp(arg, "-nc_no_moveraise")) {
ncache_wf_raises = 1;
- } else if (!strcmp(arg, "-ncache_no_dtchange")) {
+ } else if (!strcmp(arg, "-ncache_no_dtchange") || !strcmp(arg, "-nc_no_dtchange")) {
ncache_dt_change = 0;
- } else if (!strcmp(arg, "-ncache_no_rootpixmap")) {
+ } else if (!strcmp(arg, "-ncache_no_rootpixmap") || !strcmp(arg, "-nc_no_rootpixmap")) {
ncache_xrootpmap = 0;
- } else if (!strcmp(arg, "-ncache_pad")) {
+ } else if (!strcmp(arg, "-ncache_keep_anims") || !strcmp(arg, "-nc_keep_anims")) {
+ ncache_keep_anims = 1;
+ } else if (!strcmp(arg, "-ncache_old_wm") || !strcmp(arg, "-nc_old_wm")) {
+ ncache_old_wm = 1;
+ } else if (!strcmp(arg, "-ncache_pad") || !strcmp(arg, "-nc_pad")) {
CHECK_ARGC
ncache_pad = atoi(argv[++i]);
#endif
@@ -2281,6 +2309,8 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-debug_keyboard")
|| !strcmp(arg, "-dk")) {
debug_keyboard++;
+ } else if (!strcmp(arg, "-debug_xdamage")) {
+ debug_xdamage++;
} else if (!strcmp(arg, "-defer")) {
CHECK_ARGC
defer_update = atoi(argv[++i]);
@@ -2375,6 +2405,9 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-rawfb")) {
CHECK_ARGC
raw_fb_str = strdup(argv[++i]);
+ if (strstr(raw_fb_str, "vnc:") == raw_fb_str) {
+ shared = 1;
+ }
} else if (!strcmp(arg, "-freqtab")) {
CHECK_ARGC
freqtab = strdup(argv[++i]);
@@ -2527,6 +2560,7 @@ int main(int argc, char* argv[]) {
}
}
+ orig_use_xdamage = use_xdamage;
if (getenv("X11VNC_LOOP_MODE")) {
if (bg) {
@@ -3067,6 +3101,34 @@ int main(int argc, char* argv[]) {
initialize_allowed_input();
+ if (display_N && !got_rfbport) {
+ char *ud = use_dpy;
+ if (ud == NULL) {
+ ud = getenv("DISPLAY");
+ }
+ if (ud && strstr(ud, "cmd=") == NULL) {
+ char *p;
+ ud = strdup(ud);
+ p = strrchr(ud, ':');
+ if (p) {
+ int N;
+ char *q = strchr(p, '.');
+ if (q) {
+ *q = '\0';
+ }
+ N = atoi(p+1);
+ if (argc_vnc+1 < argc_vnc_max) {
+ char Nstr[16];
+ sprintf(Nstr, "%d", (5900 + N) % 65536);
+ argv_vnc[argc_vnc++] = strdup("-rfbport");
+ argv_vnc[argc_vnc++] = strdup(Nstr);
+ got_rfbport = 1;
+ }
+ }
+ free(ud);
+ }
+ }
+
if (users_list && strstr(users_list, "lurk=")) {
if (use_dpy) {
rfbLog("warning: -display does not make sense in "
@@ -3094,6 +3156,7 @@ int main(int argc, char* argv[]) {
dpy = XOpenDisplay_wr("");
}
+
#ifdef MACOSX
if (! dpy && ! raw_fb_str) {
raw_fb_str = strdup("console");
@@ -3497,21 +3560,29 @@ int main(int argc, char* argv[]) {
raw_fb_pass_go_and_collect_200_dollars:
-#ifdef MACOSX
- if (! dpy) {
+ if (! dpy || raw_fb_str) {
+ int doit = 0;
/* XXX this needs improvement (esp. for remote control) */
if (! raw_fb_str || strstr(raw_fb_str, "console") == raw_fb_str) {
+#ifdef MACOSX
+ doit = 1;
+#endif
+ }
+ if (raw_fb_str && strstr(raw_fb_str, "vnc") == raw_fb_str) {
+ doit = 1;
+ }
+ if (doit) {
if (! multiple_cursors_mode) {
multiple_cursors_mode = strdup("most");
}
initialize_cursors_mode();
+ use_xdamage = orig_use_xdamage;
if (use_xdamage) {
xdamage_present = 1;
initialize_xdamage();
}
}
}
-#endif
if (! dt) {
static char str[] = "-desktop";
diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h
index 05aaaa4..cce9f93 100644
--- a/x11vnc/x11vnc.h
+++ b/x11vnc/x11vnc.h
@@ -137,6 +137,7 @@
/* these are for delaying features: */
#define xxNO_SSL_OR_UNIXPW
#define xxNO_NCACHE
+#define NO_NCACHE
/*
* Beginning of support for small binary footprint build for embedded
diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c
index 1b2c060..da6c04e 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: 2007-01-10";
+char lastmod[] = "0.8.4 lastmod: 2007-01-31";
/* X display info */
@@ -110,14 +110,14 @@ int scale_cursor_numer = 0, scale_cursor_denom = 0;
/* size of the basic tile unit that is polled for changes: */
int tile_x = 32;
int tile_y = 32;
-int ntiles, ntiles_x, ntiles_y;
+int ntiles, ntiles_x = 0, ntiles_y = 0;
/* arrays that indicate changed or checked tiles. */
unsigned char *tile_has_diff = NULL, *tile_tried = NULL, *tile_copied = NULL;
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_event = 0, 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;
diff --git a/x11vnc/xdamage.c b/x11vnc/xdamage.c
index 9195b87..fb5e2b7 100644
--- a/x11vnc/xdamage.c
+++ b/x11vnc/xdamage.c
@@ -8,6 +8,7 @@
#if LIBVNCSERVER_HAVE_LIBXDAMAGE
Damage xdamage = 0;
#endif
+
#ifndef XDAMAGE
#define XDAMAGE 1
#endif
@@ -30,7 +31,7 @@ int XD_skip = 0, XD_tot = 0, XD_des = 0; /* for stats */
void add_region_xdamage(sraRegionPtr new_region);
void clear_xdamage_mark_region(sraRegionPtr markregion, int flush);
-int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call);
+int collect_non_X_xdamage(int x_in, int y_in, int w_in, int h_in, int call);
int collect_xdamage(int scancnt, int call);
int xdamage_hint_skip(int y);
void initialize_xdamage(void);
@@ -118,6 +119,11 @@ static void record_desired_xdamage_rect(int x, int y, int w, int h) {
xdamage_direct_count++;
X_LOCK;
} else {
+
+ if (ntiles_x == 0 || ntiles_y == 0) {
+ /* too early. */
+ return;
+ }
nt_x1 = nfix( (x)/tile_x, ntiles_x);
nt_x2 = nfix((x+w)/tile_x, ntiles_x);
nt_y1 = nfix( (y)/tile_y, ntiles_y);
@@ -217,7 +223,7 @@ void clear_xdamage_mark_region(sraRegionPtr markregion, int flush) {
#endif
}
-int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call) {
+int collect_non_X_xdamage(int x_in, int y_in, int w_in, int h_in, int call) {
sraRegionPtr tmpregion;
sraRegionPtr reg;
static int rect_count = 0;
@@ -227,7 +233,7 @@ int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call) {
double tm, dt;
int x, y, w, h, x2, y2;
-if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d %d - %d / %d\n", x_in, y_in, w_in, h_in, call, use_xdamage);
+if (call && debug_xdamage > 1) fprintf(stderr, "collect_non_X_xdamage: %d %d %d %d - %d / %d\n", x_in, y_in, w_in, h_in, call, use_xdamage);
if (! use_xdamage) {
return 0;
@@ -248,6 +254,9 @@ if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d
sraRgnMakeEmpty(reg);
}
} else {
+ if (xdamage_ticker < 0) {
+ xdamage_ticker = 0;
+ }
reg = xdamage_regions[xdamage_ticker];
}
if (reg == NULL) {
@@ -315,7 +324,7 @@ if (call && debug_xdamage > 1) fprintf(stderr, "collect_macosx_damage: %d %d %d
dt = dtime(&tm);
if ((debug_tiles > 1 && ecount) || (debug_tiles && ecount > 200)
|| debug_xdamage > 1) {
- fprintf(stderr, "collect_macosx_damage(%d): %.4f t: %.4f ev/dup/accept"
+ fprintf(stderr, "collect_non_X_xdamage(%d): %.4f t: %.4f ev/dup/accept"
"/direct %d/%d/%d/%d\n", call, dt, tm - x11vnc_start, ecount,
dcount, ccount, xdamage_direct_count);
}
@@ -389,6 +398,9 @@ int collect_xdamage(int scancnt, int call) {
sraRgnMakeEmpty(reg);
}
} else {
+ if (xdamage_ticker < 0) {
+ xdamage_ticker = 0;
+ }
reg = xdamage_regions[xdamage_ticker];
}
if (reg == NULL) {
diff --git a/x11vnc/xdamage.h b/x11vnc/xdamage.h
index 7fa6d60..85742ac 100644
--- a/x11vnc/xdamage.h
+++ b/x11vnc/xdamage.h
@@ -19,7 +19,7 @@ extern int XD_skip, XD_tot, XD_des;
extern void add_region_xdamage(sraRegionPtr new_region);
extern void clear_xdamage_mark_region(sraRegionPtr markregion, int flush);
-extern int collect_macosx_damage(int x_in, int y_in, int w_in, int h_in, int call);
+extern int collect_non_X_xdamage(int x_in, int y_in, int w_in, int h_in, int call);
extern int collect_xdamage(int scancnt, int call);
extern int xdamage_hint_skip(int y);
extern void initialize_xdamage(void);
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c
index d22faf8..8b85c79 100644
--- a/x11vnc/xevents.c
+++ b/x11vnc/xevents.c
@@ -1152,6 +1152,7 @@ void check_xevents(int reset) {
#endif /* NO_X11 */
}
+extern int rawfb_vnc_reflect;
/*
* hook called when a VNC client sends us some "XCut" text (rfbClientCutText).
*/
@@ -1188,6 +1189,11 @@ void xcut_receive(char *text, int len, rfbClientPtr cl) {
}
#endif
+ if (rawfb_vnc_reflect) {
+ vnc_reflect_send_cuttext(text, len);
+ return;
+ }
+
RAWFB_RET_VOID
#if NO_X11