diff options
author | runge <runge> | 2006-07-10 01:58:34 +0000 |
---|---|---|
committer | runge <runge> | 2006-07-10 01:58:34 +0000 |
commit | 0afa1da8cc33e663a1d4162290595d14bbaf197e (patch) | |
tree | c023e329fa37652f207e1a93932f6c99e2dbdb4c /x11vnc | |
parent | 079528470d8a1dfeab321ebdc2ab6c42943ed296 (diff) | |
download | libtdevnc-0afa1da8cc33e663a1d4162290595d14bbaf197e.tar.gz libtdevnc-0afa1da8cc33e663a1d4162290595d14bbaf197e.zip |
x11vnc: improve uinput heuristics so button clicks work on qt-embedded.
Diffstat (limited to 'x11vnc')
-rw-r--r-- | x11vnc/README | 2675 | ||||
-rw-r--r-- | x11vnc/help.c | 34 | ||||
-rw-r--r-- | x11vnc/remote.c | 2 | ||||
-rw-r--r-- | x11vnc/sslcmds.c | 2 | ||||
-rw-r--r-- | x11vnc/sslhelper.c | 2 | ||||
-rw-r--r-- | x11vnc/uinput.c | 78 | ||||
-rw-r--r-- | x11vnc/unixpw.c | 2 | ||||
-rw-r--r-- | x11vnc/x11vnc.1 | 34 | ||||
-rw-r--r-- | x11vnc/x11vnc.c | 2 | ||||
-rw-r--r-- | x11vnc/x11vnc.h | 2 | ||||
-rw-r--r-- | x11vnc/x11vnc_defs.c | 2 |
11 files changed, 1536 insertions, 1299 deletions
diff --git a/x11vnc/README b/x11vnc/README index 09c05e1..595ff4c 100644 --- a/x11vnc/README +++ b/x11vnc/README @@ -1,5 +1,5 @@ -x11vnc README file Date: Sat Jul 8 19:22:13 EDT 2006 +x11vnc README file Date: Sun Jul 9 21:41:44 EDT 2006 The following information is taken from these URLs: @@ -35,7 +35,7 @@ x11vnc: a VNC server for real X displays x0rfbserver build problems centered around esoteric C++ toolkits. x11vnc is written in plain C and uses only standard libraries. I also added a some enhancements to improve the interactive response, add - esoteric features, etc. + many esoteric features, etc. This page and the [13]FAQ contain a lot of information [14][*] and solutions to many problems and interesting applications, but @@ -658,8 +658,16 @@ make -users unixpw=" provides a way to allow a user to login with their UNIX password and have their display connected to [97]automatically. - - Here are some [98]previous release notes + * Linux console framebuffer keystroke and mouse insertion is now + supported by the uinput linux device driver. This enables full + interaction with non-X applications on the Linux console (e.g. + Qt-embedded apps). This will be autodetected in: [98]-rawfb cons + mode, and can be forced on via: [99]-pipeinput UINPUT + * The [100]-grabkdb and [101]-grabptr options allow some degree of + grabbing the pointer and keyboard so local users cannot perform + input (e.g. helpdesk application). + + Here are some [102]previous release notes _________________________________________________________________ Some Notes: @@ -686,11 +694,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 [99]-solid [color] option that + Update: As of Feb/2005 x11vnc has the [103]-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 [100]TightVNC encoding gives the best response for my + I also find the [104]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. @@ -702,16 +710,16 @@ make is X11's default listening port). Had port 5900 been taken by some other application, x11vnc would have next tried 5901. That would mean the viewer command above should be changed to vncviewer - far-away.east:1. You can force the port with the "[101]-rfbport NNNN" + far-away.east:1. You can force the port with the "[105]-rfbport NNNN" option where NNNN is the desired port number. If that port is already taken, x11vnc will exit immediately. (also see the "SunRay Gotcha" note below) Options: x11vnc has (far too) many features that may be activated - via its [102]command line options. Useful options are, e.g., -scale to + via its [106]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 - [103]-storepasswd option can be used to create the password file). + [107]-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 @@ -738,7 +746,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 [104]even more + window manager decorations. There will be an [108]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 @@ -748,8 +756,8 @@ make Sun Ray Notes: - You can run x11vnc on your (connected or disconnected) [105]SunRay - session. Here are some [106]notes on SunRay usage with x11vnc. + You can run x11vnc on your (connected or disconnected) [109]SunRay + session. Here are some [110]notes on SunRay usage with x11vnc. _________________________________________________________________ @@ -761,7 +769,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 - [107]-scrollcopyrect and [108]-wireframe speedups using the + [111]-scrollcopyrect and [112]-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 @@ -802,20 +810,20 @@ make Another amusing thing one can do is use Xvfb as the X server, e.g. "xinit $HOME/.xinitrc -- /usr/X11R6/bin/Xvfb :1 -screen 0 1024x768x16" x11vnc can poll Xvfb efficiently via main memory. - It's not exactly clear why one would want to do this (perhaps to - take advantage of an x11vnc feature, such as framebuffer scaling), - instead of using vncserver/Xvnc, but we mention it because it may - be of use for special purpose applications. + It's not exactly clear why one would want to do this instead of + using vncserver/Xvnc, (perhaps to take advantage of an x11vnc + feature, such as framebuffer scaling), but we mention it because + 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 - [109]this FAQ for details. + [113]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" [110]options, however, for a partial hack + X" and "-cursor some" [114]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 [111]-overlay option is also supplied. A similar thing is done + the [115]-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 @@ -823,20 +831,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 [112]the FAQ on this below.) The + redirectors do exist, e.g. esd [116]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 [113]-scrollcopyrect option + * The scroll detection algorithm for the [117]-scrollcopyrect option can give choppy or bunched up transient output and occasionally painting errors. - * Occasionally a patch of tiles will not get updated correctly. - Evidently a timing related bug and difficult to reproduce... * Using -threads can expose some bugs in libvncserver. - Please feel free to [114]contact me if you have any questions, + Please feel free to [118]contact me if you have any questions, problems, or comments about x11vnc, etc. - Also, some people ask if they can make a donation, see [115]this link + Also, some people ask if they can make a donation, see [119]this link for that. _________________________________________________________________ @@ -845,327 +851,327 @@ make [Building and Starting] - [116]Q-1: I can't get x11vnc to start up. It says "XOpenDisplay failed + [120]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? - [117]Q-2: I can't get x11vnc and/or libvncserver to compile. + [121]Q-2: I can't get x11vnc and/or libvncserver to compile. - [118]Q-3: I just built x11vnc successfully, but when I use it my + [122]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). - [119]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old + [123]Q-4: Help, I need to run x11vnc on Solaris 2.5.1 (or other old Unix/Linux) and it doesn't compile! - [120]Q-5: Where can I get a precompiled x11vnc binary for my Operating + [124]Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - [121]Q-6: Where can I get a VNC Viewer binary (or source code) for the + [125]Q-6: Where can I get a VNC Viewer binary (or source code) for the Operating System I will be viewing from? - [122]Q-7: How can I see all of x11vnc's command line options and + [126]Q-7: How can I see all of x11vnc's command line options and documentation on how to use them? - [123]Q-8: I don't like typing arcane command line options every time I + [127]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? - [124]Q-9: How can I get the GUI to run in the System Tray, or at least + [128]Q-9: How can I get the GUI to run in the System Tray, or at least be a smaller, simpler icon? - [125]Q-10: Can I make x11vnc more quiet and also go into the + [129]Q-10: Can I make x11vnc more quiet and also go into the background after starting up? - [126]Q-11: Sometimes when a VNC viewer dies abruptly, x11vnc also dies + [130]Q-11: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with the error message like: "Broken pipe". I'm using the -forever mode and I want x11vnc to keep running. - [127]Q-12: Are there any build-time customizations possible, e.g. + [131]Q-12: Are there any build-time customizations possible, e.g. change defaults, create a smaller binary, etc? [Win2VNC Related] - [128]Q-13: I have two separate machine displays in front of me, one + [132]Q-13: I have two separate machine displays in front of me, one Windows the other X11: can I use x11vnc in combination with Win2VNC in dual-screen mode to pass the keystrokes and mouse motions to the X11 display? - [129]Q-14: I am running Win2VNC on my Windows machine and "x11vnc + [133]Q-14: I am running Win2VNC on my Windows machine and "x11vnc -nofb" on Unix to pass keyboard and mouse to the Unix monitor. Whenever I start Win2VNC it quickly disconnects and x11vnc says: rfbProcessClientNormalMessage: read: Connection reset by peer [Color Issues] - [130]Q-15: The X display I run x11vnc on is only 8 bits per pixel + [134]Q-15: The X display I run x11vnc on is only 8 bits per pixel (bpp) PseudoColor (i.e. only 256 distinct colors). The x11vnc colors may start out OK, but after a while they are incorrect in certain windows. - [131]Q-16: Color problems: Why are the colors for some windows + [135]Q-16: Color problems: Why are the colors for some windows incorrect in x11vnc? BTW, my X display has nice overlay/multi-depth visuals of different color depths: e.g. there are both depth 8 and 24 visuals available at the same time. - [132]Q-17: How do I figure out the window id to supply to the -id + [136]Q-17: How do I figure out the window id to supply to the -id windowid option? - [133]Q-18: Why don't menus or other transient windows come up when I + [137]Q-18: Why don't menus or other transient windows come up when I am using the -id windowid option to view a single application window? - [134]Q-19: My X display is depth 24 at 24bpp (instead of the normal + [138]Q-19: My X display is depth 24 at 24bpp (instead of the normal depth 24 at 32bpp). I'm having lots of color and visual problems with x11vnc and/or vncviewer. What's up? [Xterminals] - [135]Q-20: Can I use x11vnc to view and interact with an Xterminal + [139]Q-20: Can I use x11vnc to view and interact with an Xterminal (e.g. NCD) that is not running UNIX and so x11vnc cannot be run on it directly? - [136]Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) + [140]Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct for a Unix/Linux machine acting as an Xterminal? [Sun Rays] - [137]Q-22: I'm having trouble using x11vnc with my Sun Ray session. + [141]Q-22: I'm having trouble using x11vnc with my Sun Ray session. [Remote Control] - [138]Q-23: How do I stop x11vnc once it is running in the background? + [142]Q-23: How do I stop x11vnc once it is running in the background? - [139]Q-24: Can I change settings in x11vnc without having to restart + [143]Q-24: Can I change settings in x11vnc without having to restart it? Can I remote control it? [Security and Permissions] - [140]Q-25: How do I create a VNC password for use with x11vnc? + [144]Q-25: How do I create a VNC password for use with x11vnc? - [141]Q-26: Can I make it so -storepasswd doesn't show my password on + [145]Q-26: Can I make it so -storepasswd doesn't show my password on the screen? - [142]Q-27: Can I have two passwords for VNC viewers, one for full + [146]Q-27: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - [143]Q-28: Can I have as many full-access and view-only passwords as I + [147]Q-28: Can I have as many full-access and view-only passwords as I like? - [144]Q-29: Does x11vnc support Unix usernames and passwords? Can I + [148]Q-29: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - [145]Q-30: Why does x11vnc exit as soon as the VNC viewer disconnects? + [149]Q-30: Why does x11vnc exit as soon as the VNC viewer disconnects? And why doesn't it allow more than one VNC viewer to connect at the same time? - [146]Q-31: Can I limit which machines incoming VNC clients can connect + [150]Q-31: Can I limit which machines incoming VNC clients can connect from? - [147]Q-32: How do I build x11vnc/libvncserver with libwrap + [151]Q-32: How do I build x11vnc/libvncserver with libwrap (tcp_wrappers) support? - [148]Q-33: Can I have x11vnc only listen on one network interface + [152]Q-33: Can I have x11vnc only listen on one network interface (e.g. internal LAN) rather than having it listen on all network interfaces and relying on -allow to filter unwanted connections out? - [149]Q-34: Now that -localhost implies listening only on the loopback + [153]Q-34: Now that -localhost implies listening only on the loopback interface, how I can occasionally allow in a non-localhost via the -R allowonce remote control command? - [150]Q-35: Can I fine tune what types of user input are allowed? E.g. + [154]Q-35: Can I fine tune what types of user input are allowed? E.g. have some users just be able to move the mouse, but not click or type anything? - [151]Q-36: Can I prompt the user at the local X display whether the + [155]Q-36: Can I prompt the user at the local X display whether the incoming VNC client should be accepted or not? Can I decide to make some clients view-only? How about running an arbitrary program to make the decisions? - [152]Q-37: I start x11vnc as root because it is launched via inetd(8) + [156]Q-37: I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user? - [153]Q-38: I use a screen-lock when I leave my workstation (e.g. + [157]Q-38: I use a screen-lock when I leave my workstation (e.g. xscreensaver or xlock). When I remotely access my workstation desktop via x11vnc I can unlock the desktop fine, but I am worried people will see my activities on the physical monitor. What can I do to prevent this, or at least make it more difficult? - [154]Q-39: Can I have x11vnc automatically lock the screen when I + [158]Q-39: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? [Encrypted Connections] - [155]Q-40: How can I tunnel my connection to x11vnc via an encrypted + [159]Q-40: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - [156]Q-41: How can I tunnel my connection to x11vnc via an encrypted + [160]Q-41: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [157]Q-42: How can I tunnel my connection to x11vnc via an encrypted + [161]Q-42: How can I tunnel my connection to x11vnc via an encrypted SSL channel using an external tool like stunnel? - [158]Q-43: Does x11vnc have built-in SSL tunneling? + [162]Q-43: Does x11vnc have built-in SSL tunneling? - [159]Q-44: How do I use VNC Viewers with built-in SSL tunneling? + [163]Q-44: How do I use VNC Viewers with built-in SSL tunneling? - [160]Q-45: How do I use VNC Viewers with built-in SSL tunneling when + [164]Q-45: How do I use VNC Viewers with built-in SSL tunneling when going through a Web Proxy? - [161]Q-46: Can Apache web server act as a gateway for users to connect + [165]Q-46: Can Apache web server act as a gateway for users to connect via SSL from the Internet with a Web browser to x11vnc running on their workstations behind a firewall? - [162]Q-47: Can I create and use my own SSL Certificate Authority (CA) + [166]Q-47: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? [Display Managers and Services] - [163]Q-48: How can I run x11vnc as a "service" that is always + [167]Q-48: How can I run x11vnc as a "service" that is always available? - [164]Q-49: How can I use x11vnc to connect to an X login screen like + [168]Q-49: How can I use x11vnc to connect to an X login screen like xdm, GNOME gdm, KDE kdm, or CDE dtlogin? (i.e. nobody is logged into an X session yet). - [165]Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? + [169]Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? - [166]Q-51: Can I have x11vnc allow a user to log in with her UNIX + [170]Q-51: Can I have x11vnc allow a user to log in with her UNIX password and then have it find her X display on that machine and connect to it? - [167]Q-52: Can I have x11vnc restart itself after it terminates? + [171]Q-52: Can I have x11vnc restart itself after it terminates? - [168]Q-53: How do I make x11vnc work with the Java VNC viewer applet + [172]Q-53: How do I make x11vnc work with the Java VNC viewer applet in a web browser? - [169]Q-54: Are reverse connections (i.e. the VNC server connecting to + [173]Q-54: Are reverse connections (i.e. the VNC server connecting to the VNC viewer) using "vncviewer -listen" and vncconnect(1) supported? - [170]Q-55: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a + [174]Q-55: Can I use x11vnc as a replacement for Xvnc? (i.e. not for a real display, but for a virtual one I keep around). - [171]Q-56: How can I use x11vnc on "headless" machines? Why might I + [175]Q-56: How can I use x11vnc on "headless" machines? Why might I want to? [Resource Usage and Performance] - [172]Q-57: I have lots of memory, but why does x11vnc fail with + [176]Q-57: I have lots of memory, but why does x11vnc fail with shmget: No space left on device or Minor opcode of failed request: 1 (X_ShmAttach)? - [173]Q-58: How can I make x11vnc use less system resources? + [177]Q-58: How can I make x11vnc use less system resources? - [174]Q-59: How can I make x11vnc use MORE system resources? + [178]Q-59: How can I make x11vnc use MORE system resources? - [175]Q-60: I use x11vnc over a slow link with high latency (e.g. + [179]Q-60: I use x11vnc over a slow link with high latency (e.g. dialup modem), is there anything I can do to speed things up? - [176]Q-61: Does x11vnc support the X DAMAGE Xserver extension to find + [180]Q-61: Does x11vnc support the X DAMAGE Xserver extension to find modified regions of the screen quickly and efficiently? - [177]Q-62: When I drag windows around with the mouse or scroll up and + [181]Q-62: When I drag windows around with the mouse or scroll up and down things really bog down (unless I do the drag in a single, quick motion). Is there anything to do to improve things? - [178]Q-63: Why not do something like wireframe animations to avoid the + [182]Q-63: Why not do something like wireframe animations to avoid the windows "lurching" when being moved or resized? - [179]Q-64: Can x11vnc try to apply heuristics to detect when an window + [183]Q-64: Can x11vnc try to apply heuristics to detect when an window is scrolling its contents and use the CopyRect encoding for a speedup? [Mouse Cursor Shapes] - [180]Q-65: Why isn't the mouse cursor shape (the little icon shape + [184]Q-65: Why isn't the mouse cursor shape (the little icon shape where the mouse pointer is) correct as I move from window to window? - [181]Q-66: When using XFIXES cursorshape mode, some of the cursors + [185]Q-66: When using XFIXES cursorshape mode, some of the cursors look really bad with extra black borders around the cursor and other cruft. How can I improve their appearance? - [182]Q-67: In XFIXES mode, are there any hacks to handle cursor + [186]Q-67: In XFIXES mode, are there any hacks to handle cursor transparency ("alpha channel") exactly? [Mouse Pointer] - [183]Q-68: Why does the mouse arrow just stay in one corner in my + [187]Q-68: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - [184]Q-69: Can I take advantage of the TightVNC extension to the VNC + [188]Q-69: Can I take advantage of the TightVNC extension to the VNC protocol where Cursor Positions Updates are sent back to all connected clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - [185]Q-70: Is it possible to swap the mouse buttons (e.g. left-handed + [189]Q-70: Is it possible to swap the mouse buttons (e.g. left-handed operation), or arbitrarily remap them? How about mapping button clicks to keystrokes, e.g. to partially emulate Mouse wheel scrolling? [Keyboard Issues] - [186]Q-71: How can I get my AltGr and Shift modifiers to work between + [190]Q-71: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - [187]Q-72: When I try to type a "<" (i.e. less than) instead I get ">" + [191]Q-72: When I try to type a "<" (i.e. less than) instead I get ">" (i.e. greater than)! Strangely, typing ">" works OK!! - [188]Q-73: When I try to type a "<" (i.e. less than) instead I get + [192]Q-73: When I try to type a "<" (i.e. less than) instead I get "<," (i.e. an extra comma). - [189]Q-74: I'm using an "international" keyboard (e.g. German "de", or + [193]Q-74: I'm using an "international" keyboard (e.g. German "de", or Danish "dk") and the -modtweak mode works well if the VNC viewer is run on a Unix/Linux machine with a similar keyboard. But if I run the VNC viewer on Unix/Linux with a different keyboard (e.g. "us") or Windows with any keyboard, I can't type some keys like: "@", "$", "<", ">", etc. How can I fix this? - [190]Q-75: When typing I sometimes get double, triple, or more of my + [194]Q-75: When typing I sometimes get double, triple, or more of my keystrokes repeated. I'm sure I only typed them once, what can I do? - [191]Q-76: The x11vnc -norepeat mode is in effect, but I still get + [195]Q-76: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - [192]Q-77: The machine where I run x11vnc has an AltGr key, but the + [196]Q-77: The machine where I run x11vnc has an AltGr key, but the local machine where I run the VNC viewer does not. Is there a way I can map a local unused key to send an AltGr? How about a Compose key as well? - [193]Q-78: I have a Sun machine I run x11vnc on. Its Sun keyboard has + [197]Q-78: I have a Sun machine I run x11vnc on. Its Sun keyboard has just one Alt key labelled "Alt" and two Meta keys labelled with little diamonds. The machine where I run the VNC viewer only has Alt keys. How can I send a Meta keypress? (e.g. emacs needs this) - [194]Q-79: Can I map a keystroke to a mouse button click on the remote + [198]Q-79: Can I map a keystroke to a mouse button click on the remote machine? - [195]Q-80: How can I get Caps_Lock to work between my VNC viewer and + [199]Q-80: How can I get Caps_Lock to work between my VNC viewer and x11vnc? [Screen Related Issues and Features] - [196]Q-81: The remote display is larger (in number of pixels) than the + [200]Q-81: The remote display is larger (in number of pixels) than the local display I am running the vncviewer on. I don't like the vncviewer scrollbars, what I can do? - [197]Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. + [201]Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. to make the desktop smaller). - [198]Q-83: Does x11vnc work with Xinerama? (i.e. multiple monitors + [202]Q-83: Does x11vnc work with Xinerama? (i.e. multiple monitors joined together to form one big, single screen). - [199]Q-84: Can I use x11vnc on a multi-headed display that is not + [203]Q-84: Can I use x11vnc on a multi-headed display that is not Xinerama (i.e. separate screens :0.0, :0.1, ... for each monitor)? - [200]Q-85: Can x11vnc show only a portion of the display? (E.g. for a + [204]Q-85: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - [201]Q-86: Does x11vnc support the XRANDR (X Resize, Rotate and + [205]Q-86: Does x11vnc support the XRANDR (X Resize, Rotate and Reflection) extension? Whenever I rotate or resize the screen x11vnc just seems to crash. - [202]Q-87: Why is the view in my VNC viewer completely black? Or why + [206]Q-87: Why is the view in my VNC viewer completely black? Or why is everything flashing around randomly? - [203]Q-88: I use Linux Virtual Consoles (VC's) to implement 'Fast User + [207]Q-88: I use Linux Virtual Consoles (VC's) to implement 'Fast User Switching' between users' sessions (e.g. Betty is on Ctrl-Alt-F7, Bobby is on Ctrl-Alt-F8, and Sid is on Ctrl-Alt-F1: they use those keystrokes to switch between their sessions). How come the view in a @@ -1173,15 +1179,18 @@ make otherwise all messed up unless the X session x11vnc is attached to is in the active VC? - [204]Q-89: Can I use x11vnc to view my VMWare session remotely? + [208]Q-89: Can I use x11vnc to view my VMWare session remotely? - [205]Q-90: Can non-X devices (e.g. a raw framebuffer) be viewed (and - even controlled) with VNC via x11vnc? + [209]Q-90: Can non-X devices (e.g. a raw framebuffer) be viewed (and + even controlled) via VNC with x11vnc? - [206]Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using + [210]Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - [207]Q-92: I am using x11vnc where my local machine has "popup/hidden + [211]Q-92: Can I view via VNC a Qt-embedded application running on my + handheld or PC using the Linux console framebuffer (i.e. not X11)? + + [212]Q-93: I am using x11vnc where my local machine has "popup/hidden taskbars" (e.g. GNOME or MacOS X) and the remote display where x11vnc runs also has "popup/hidden taskbars" (e.g. GNOME). When I move the mouse to the edge of the screen where the popups happen, the taskbars @@ -1189,18 +1198,18 @@ make [Misc: Clipboard, File Transfer, Sound, Beeps, Thanks, etc.] - [208]Q-93: Does the Clipboard/Selection get transferred between the + [213]Q-94: Does the Clipboard/Selection get transferred between the vncviewer and the X display? - [209]Q-94: Can I transfer files back and forth with x11vnc? + [214]Q-95: Can I transfer files back and forth with x11vnc? - [210]Q-95: How can I hear the sound (audio) from the remote + [215]Q-96: How can I hear the sound (audio) from the remote applications on the desktop I am viewing via x11vnc? - [211]Q-96: Why don't I hear the "Beeps" in my X session (e.g. when + [216]Q-97: Why don't I hear the "Beeps" in my X session (e.g. when typing tput bel in an xterm)? - [212]Q-97: Thanks for your program and for your help! Can I make a + [217]Q-98: Thanks for your program and for your help! Can I make a donation? _________________________________________________________________ @@ -1213,8 +1222,9 @@ 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 [213]-display - option to specify it. Nearly always the correct value will be ":0" + on). Set your DISPLAY environment variable or use the [218]-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). For the latter error, you need to set up the X11 permissions @@ -1224,20 +1234,20 @@ make while sitting at the physical X display open a terminal window (gnome-terminal, xterm, etc). You should be able to run x11vnc successfully without any need for special steps or command line - options in that terminal. If that works OK then you know X11 - permissions are the only thing preventing it from working when you try - to start x11vnc via, say, a remote shell. + options in that terminal (i.e. just type "x11vnc"). If that works OK + then you know X11 permissions are the only thing preventing it from + 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 for much info on X11 permissions. For example, you may need to set - your XAUTHORITY environment variable or use the [214]-auth option to + your XAUTHORITY environment variable or use the [219]-auth option to point to the correct MIT-MAGIC-COOKIE file (e.g. /home/joe/.Xauthority - or /var/gdm/:0.Xauth or /var/lib/kdm/A:0-crWk72K or /tmp/.gdmzndVlR), - or simply be sure you run x11vnc as the correct user (i.e. the user - who is logged into the X session you wish to view). + 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 to view). - The MIT cookie file contains the secret key that allows x11vnc to - connect to the desired X display. + Note: The MIT cookie file contains the secret key that allows x11vnc + to connect to the desired X display. If, say, sshd has set XAUTHORITY to point to a random file it has created for X forwarding that will cause problems. (Under some @@ -1252,7 +1262,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 [215]this faq for other display manager + read the gdm cookie file, see [220]this faq for other display manager cookie file names). While running x11vnc as root, remember it comes with no warranty ;-). @@ -1262,7 +1272,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 [216]-users option). + (please read the documentation on the [221]-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 @@ -1273,7 +1283,7 @@ make properly: xdpyinfo successfully connected to DISPLAY! You could also type xclock and make sure no errors are reported (a clock should appear on the X display, press Ctrl-C to stop it). If these work, then - typing "x11vnc" should also work. + typing "x11vnc" in the same environment should also work. Important: if you cannot get your X11 permissions so that the xdpyinfo or xclock tests work, x11vnc also will not work (all of these X @@ -1339,11 +1349,11 @@ make package. x11vnc will build without support for this library (e.g. perhaps one - wants a view-only x11vnc on a stripped down or embedded system...). At - runtime it will also continue to run even if the X server it connects - to does not support XTEST. In both cases it cannot inject keystrokes - or button clicks since XTEST is needed for that (it can still move the - mouse pointer using the X API XWarpPointer()). + wants a view-only x11vnc on a stripped down or embedded system...). + And at runtime it will also continue to run even if the X server it + connects to does not support XTEST. In both cases it cannot inject + keystrokes or button clicks since XTEST is needed for that (it can + still move the mouse pointer using the X API XWarpPointer()). You will see a warning message something like this at run time: 20/03/2005 22:33:09 WARNING: XTEST extension not available (either missing fr @@ -1374,7 +1384,7 @@ h earlier and perhaps non-Solaris): First use the environment settings (CPPFLAGS, LDFLAGS, etc.) in the - above [217]Solaris build script to run the configure command. That + above [222]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 @@ -1400,7 +1410,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 - [218]SunOS 4.x + [223]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 @@ -1410,28 +1420,28 @@ typedef unsigned int in_addr_t; Q-5: Where can I get a precompiled x11vnc binary for my Operating System? - Hopefully the [219]build steps above and [220]FAQ provide enough info + Hopefully the [224]build steps above and [225]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) [221]http://packages.debian.org/x11vnc - - Slackware: (.tgz) [222]http://www.linuxpackages.net/ Redhat/Fedora: - (.rpm) [223]http://dag.wieers.com/packages/x11vnc/ - [224]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) - [225]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) - [226]http://www.sunfreeware.com/ FreeBSD: (.tbz) - [227]http://www.freebsd.org/ [228]http://www.freshports.org/net/x11vnc - OpenBSD: (.tgz) [229]http://www.openbsd.org/ NetBSD: (src) - [230]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) - [231]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus - [232]http://www.pdaxrom.org/ and [233]http://www.focv.com/ + Debian: (.deb) [226]http://packages.debian.org/x11vnc + + Slackware: (.tgz) [227]http://www.linuxpackages.net/ Redhat/Fedora: + (.rpm) [228]http://dag.wieers.com/packages/x11vnc/ + [229]http://dries.ulyssis.org/rpm/packages/x11vnc SuSE: (.rpm) + [230]http://linux01.gwdg.de/~pbleser/ Solaris: (pkg) + [231]http://www.sunfreeware.com/ FreeBSD: (.tbz) + [232]http://www.freebsd.org/ [233]http://www.freshports.org/net/x11vnc + OpenBSD: (.tgz) [234]http://www.openbsd.org/ NetBSD: (src) + [235]http://pkgsrc.se/x11/x11vnc Nokia 770 (.deb) + [236]http://mike.saunby.net/770/x11vnc/ Sharp Zaurus + [237]http://www.pdaxrom.org/ and [238]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 [234]my collection of + (and all else fails!) you can try one of [239]my collection of binaries for various OS's and x11vnc releases. As a general note, the x11vnc program is simple enough you don't @@ -1452,10 +1462,10 @@ typedef unsigned int in_addr_t; To obtain VNC viewers for the viewing side (Windows, Mac OS, or Unix) try here: - * [235]http://www.tightvnc.com/download.html - * [236]http://www.realvnc.com/download-free.html - * [237]http://sourceforge.net/projects/cotvnc/ - * [238]http://www.ultravnc.com/ + * [240]http://www.tightvnc.com/download.html + * [241]http://www.realvnc.com/download-free.html + * [242]http://sourceforge.net/projects/cotvnc/ + * [243]http://www.ultravnc.com/ Q-7: How can I see all of x11vnc's command line options and @@ -1463,7 +1473,8 @@ 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 - [239]here as well. + [244]here as well. Yes, x11vnc does have a lot of options, doesn't + it... Q-8: I don't like typing arcane command line options every time I @@ -1493,11 +1504,11 @@ display :0 remote-control functionality ("-R") that was added. The /usr/bin/wish program is needed for operation. The gui is not particularly user-friendly, it just provides a point and click mode to set all the - many x11vnc parameters and obtain help on them. See the [240]-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 "[241]-gui tray" system - tray mode. + many x11vnc parameters and obtain help on them. It is also very useful + for testing. See the [245]-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 "[246]-gui tray" system tray mode. Q-9: How can I get the GUI to run in the System Tray, or at least be a @@ -1518,17 +1529,17 @@ display :0 at the physical X display (not remotely), using something like "x11vnc -display :0 -gui tray=setpass" might be something for them that they are accustomed to in a Desktop environment (it prompts for an initial - password, etc). This is a basic "Share My Desktop" mode. + password, etc). This is a basic "Share My Desktop" usage mode. Q-10: Can I make x11vnc more quiet and also go into the background after starting up? - Use the [242]-q and [243]-bg options, respectively. (also: -quiet is + Use the [247]-q and [248]-bg options, respectively. (also: -quiet is an alias for -q) Note that under -bg the stderr messages will be lost unless you use - the "[244]-o logfile" option. + the "[249]-o logfile" option. Q-11: Sometimes when a VNC viewer dies abruptly, x11vnc also dies with @@ -1549,7 +1560,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 [245]build notes for general background). + (see the [250]build notes for general background). /* * Mar/2006 * Build-time customization via CPPFLAGS. @@ -1620,21 +1631,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 "[246]-nofb" option + Yes, for best response start up x11vnc with the "[251]-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 [247]x2vnc, however you would + This will also work X11 to X11 using [252]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: - * [248]Original Win2VNC - * [249]Enhanced Win2VNC and [250]sourceforge link - * [251]x2vnc - * [252]x2x also [253]here - * [254]zvnc (MorphOS) + * [253]Original Win2VNC + * [254]Enhanced Win2VNC and [255]sourceforge link + * [256]x2vnc + * [257]x2x also [258]here + * [259]zvnc (MorphOS) All of them will work with x11vnc (except x2x where it is not needed). @@ -1654,7 +1665,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 [255]-visual option to allow you to force the framebuffer + has the [260]-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: @@ -1669,7 +1680,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 [256]-flashcmap option to have x11vnc watch for changes in the + Use the [261]-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 @@ -1678,13 +1689,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 [257]-8to24 (Jan/2006) can often remove the need + Also note the option [262]-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 [258]-notruecolor option has corrected colors + In some rare cases the [263]-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. @@ -1695,13 +1706,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 [259]previous question regarding 8 bpp + You may want to review the [264]previous question regarding 8 bpp PseudoColor. - On some hardware (Sun/SPARC and SGI), the [260]-overlay option + On some hardware (Sun/SPARC and SGI), the [265]-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 - [261]-8to24 option may help (also discussed below). + [266]-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 @@ -1737,7 +1748,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 [262]-overlay x11vnc option (Aug/2004) to have x11vnc use the + use the [267]-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 @@ -1762,7 +1773,7 @@ TrueColor defdepth 24 Xsun, e.g. in your /etc/dt/config/Xservers file). - The -8to24 mode: The [263]-8to24 x11vnc option (Jan/2006) is a kludge + The -8to24 mode: The [268]-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 @@ -1776,11 +1787,11 @@ TrueColor defdepth 24 32bpp view is exported via VNC. Even on pure 8bpp displays it can be used as an alternative to - [264]-flashcmap to avoid color flashing completely. + [269]-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: [265]-fixscreen V=3.0 to + row, or by using something like: [270]-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. @@ -1793,23 +1804,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 [266]-8to24 help description for information on + speedup. See the [271]-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 [267]-id option to + possible workaround in this case is to use the [272]-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 [268]-8to24 method + for x11vnc to be able to do so in real time. The [273]-8to24 method does this approximately and is somewhat usable. Fortunately the - [269]-overlay option works for Solaris machines with overlay visuals + [274]-overlay option works for Solaris machines with overlay visuals where most of this problem occurs. @@ -1820,9 +1831,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 [270]color problems. + debugging x11vnc [275]color problems. - Also, as of Dec/2004 you can use "[271]-id pick" to have x11vnc run + Also, as of Dec/2004 you can use "[276]-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. @@ -1840,7 +1851,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 [272]-sid windowid option ("shifted" windowid). + polling, try the [277]-sid windowid option ("shifted" windowid). Q-19: My X display is depth 24 at 24bpp (instead of the normal depth @@ -1875,9 +1886,9 @@ 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 [273]-24to32 option to have + Update: as of Apr/2006 you can use the [278]-24to32 option to have x11vnc dynamically transform the 24bpp pixel data to 32bpp. This extra - transformation could slow things down further. + transformation could slow things down further however. Now coming the opposite direction if you are running the vncviewer on the 24bpp display, TightVNC will fail with "Can't cope with 24 @@ -1894,15 +1905,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 [274]-display option to point the display to that of + machine. Use the [279]-display option to point the display to that of the Xterminal (you'll of course need basic X11 permission to do that) - and also supply the [275]-noshm option (this enables the polling over - the network). + and finally supply the [280]-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 [276]-flipbyteorder if the + on the polling rate. You may also need [281]-flipbyteorder if the colors get messed up due to endian byte order differences. Q-21: How do I get my X permissions (MIT-MAGIC-COOKIE file) correct @@ -1926,7 +1937,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 - [277]-auth option to point to the correct file). Other options include + [282]-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 - @@ -1938,7 +1949,7 @@ TrueColor defdepth 24 details. If the display name in the cookie file needs to be changed between the - two hosts, see [278]this note on the "xauth add ..." command. + two hosts, see [283]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 @@ -1952,7 +1963,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 [279]poll + Not recommended, but as a last resort, you could have x11vnc [284]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...) @@ -1981,13 +1992,13 @@ TrueColor defdepth 24 Q-22: I'm having trouble using x11vnc with my Sun Ray session. - The [280]Sun Ray technology is a bit like "VNC done in hardware" (the + The [285]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 [281]this discussion of Sun Ray issues for + "Soft Ray". Please see [286]this discussion of Sun Ray issues for solutions to problems. [Remote Control] @@ -1995,17 +2006,18 @@ TrueColor defdepth 24 Q-23: How do I stop x11vnc once it is running in the background? As of Dec/2004 there is a remote control feature. It can change a huge - amount of things on the fly: see the [282]-remote and [283]-query + amount of things on the fly: see the [287]-remote and [288]-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 [284]-forever option has not been supplied, x11vnc will - automatically exit after the first client disconnects. In general you - will have to kill the x11vnc process This can be done via: "kill - NNNNN" (where NNNNN is the x11vnc process id number found from ps(1)), - or "pkill x11vnc", or "killall x11vnc" (Linux only). + If the [289]-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 [285]-bg option + If you have not put x11vnc in the background via the [290]-bg option or shell & operator, then simply press Ctrl-C in the shell where x11vnc is running to stop it. @@ -2015,15 +2027,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 [286]-clear_mods - option and [287]-clear_keys option can be used to release pressed keys + by tapping Ctrl, Shift, and Alt. Alternatively, the [291]-clear_mods + option and [292]-clear_keys option can be used to release pressed keys at startup and exit. Q-24: Can I change settings in x11vnc without having to restart it? Can I remote control it? - Look at the [288]-remote (same as -R) and [289]-query (same as -Q) + Look at the [293]-remote (same as -R) and [294]-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", @@ -2034,7 +2046,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 [290]-gui option for more info. You will need to + mechanism. See the [295]-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". @@ -2049,15 +2061,15 @@ TrueColor defdepth 24 vncpasswd(1) program from those packages. As of Jun/2004 x11vnc supports the -storepasswd "pass" "file" - [291]option, which is the same functionality of storepasswd. Be sure + [296]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: "[292]-rfbauth + You then use the password via the x11vnc option: "[297]-rfbauth $HOME/myvncpasswd" - If you do not supply any arguments: + As of Jan/2006 if you do not supply any arguments: x11vnc -storepasswd you will be prompted for a password to save to ~/.vnc/passwd (your @@ -2066,11 +2078,11 @@ TrueColor defdepth 24 ~/.mypass", the password you are prompted for will be stored in that file. - x11vnc also has the [293]-passwdfile and -passwd/-viewpasswd plain + x11vnc also has the [298]-passwdfile and -passwd/-viewpasswd plain text (i.e. not obscured like the -rfbauth VNC passwords) password options. - You can use the [294]-usepw option to automatically use any password + You can use the [299]-usepw option to automatically use any password file you have in ~/.vnc/passwd or ~/.vnc/passwdfile (the latter is used with the -passwdfile option). @@ -2078,7 +2090,8 @@ TrueColor defdepth 24 If neither file exists you are prompted to store a password in ~/.vnc/passwd. If a password file cannot be found or created x11vnc - exits immediately. + exits immediately. An admin may want to set it up this way for users + who do not know better. Q-26: Can I make it so -storepasswd doesn't show my password on the @@ -2101,14 +2114,14 @@ TrueColor defdepth 24 Q-27: Can I have two passwords for VNC viewers, one for full access and the other for view-only access to the display? - Yes, as of May/2004 there is the [295]-viewpasswd option to supply the - view-only password. Note the full-access password option [296]-passwd + Yes, as of May/2004 there is the [300]-viewpasswd option to supply the + view-only password. Note the full-access password option [301]-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 - [297]-passwdfile option to specify a file containing plain text + [302]-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 @@ -2116,7 +2129,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 [298]-rfbauth + View-only passwords currently do not work for the [303]-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 @@ -2129,7 +2142,7 @@ TrueColor defdepth 24 Q-28: Can I have as many full-access and view-only passwords as I like? - Yes, as of Jan/2006 in the libvncserver CVS the [299]-passwdfile + Yes, as of Jan/2006 in the libvncserver CVS the [304]-passwdfile option has been extended to handle as many passwords as you like. You put the view-only passwords after a line __BEGIN_VIEWONLY__. @@ -2139,11 +2152,7 @@ TrueColor defdepth 24 Q-29: Does x11vnc support Unix usernames and passwords? Can I further limit the set of Unix usernames who can connect to the VNC desktop? - - Until the VNC protocol and libvncserver support this things will be - approximate at best. - - Update: as of Feb/2006 x11vnc has the [300]-unixpw option that does + Update: as of Feb/2006 x11vnc has the [305]-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 @@ -2153,7 +2162,7 @@ TrueColor defdepth 24 A list of allowed Unix usernames may also be supplied along with per-user settings. - There is also the [301]-unixpw_nis option for non-shadow-password + There is also the [306]-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 @@ -2162,16 +2171,16 @@ TrueColor defdepth 24 shadow(5). Two settings are enforced in the -unixpw and -unixpw_nis modes to - provide extra security: the 1) [302]-localhost and 2) [303]-stunnel - options. Without these one might send the Unix username and password - data in clear text over the network which is a very bad idea. They can - be relaxed if you want to provide encryption other than stunnel (the - stunnel constraint is automatically relaxed if SSH_CONNECTION is set - and indicates you have ssh-ed in, however the -localhost requirement - is still enforced). - - The two -unixpw modes have been tested on Linux, Solaris, HP-UX, - Tru64, FreeBSD, OpenBSD, and NetBSD. Additional testing is + provide extra security: the 1) [307]-localhost and 2) [308]-stunnel or + [309]-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 [310]-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). + + The two -unixpw modes have been tested on Linux, Solaris, Mac OS X, + HP-UX, Tru64, FreeBSD, OpenBSD, and NetBSD. Additional testing is appreciated. For the last 4 it appears that su(1) will not prompt for a password if su-ing to oneself. Since x11vnc requires a password prompt from su, those logins will fail even when the correct password @@ -2179,14 +2188,19 @@ TrueColor defdepth 24 out the pam_self.so entry in /etc/pam.d/su. - Previous discussion: One approximate method involves starting x11vnc - with the [304]-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 + Previous discussion (prior to -unixpw option): + + Until the VNC protocol and libvncserver support this things will be + approximate at best. + + One approximate method involves starting x11vnc with the + [311]-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 [305]elsewhere on this page. [306]stunnel does this as well. + mentioned [312]elsewhere on this page. [313]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 @@ -2197,7 +2211,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 [307]-accept option that runs a program to examine the connection + the [314]-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 @@ -2236,23 +2250,23 @@ 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 [308]-forever option (aka -many) to have + periods of time. Use the [315]-forever option (aka -many) to have x11vnc wait for more connections after the first client disconnects. - Use the [309]-shared option to have x11vnc allow multiple clients to + Use the [316]-shared option to have x11vnc allow multiple clients to connect simultaneously. - Recommended additional safety measures include using ssh ([310]see - above), stunnel, or a VPN to authenticate and encrypt the viewer - connections or to at least use the -rfbauth passwd-file [311]option to - use VNC password protection (or [312]-passwdfile) It is up to YOU to - apply these security measures, they will not be done for you - automatically. + Recommended additional safety measures include using ssh ([317]see + above), stunnel, [318]-ssl, or a VPN to authenticate and encrypt the + viewer connections or to at least use the -rfbauth passwd-file + [319]option to use VNC password protection (or [320]-passwdfile) It is + up to YOU to apply these security measures, they will not be done for + you automatically. Q-31: Can I limit which machines incoming VNC clients can connect from? - Yes, look at the [313]-allow and [314]-localhost options to limit + Yes, look at the [321]-allow and [322]-localhost options to limit connections by hostname or IP address. E.g. x11vnc -allow 192.168.0.1,192.168.0.2 @@ -2261,10 +2275,10 @@ exit 1 # reject it for a subnet. For individual hosts you can use the hostname instead of the IP number, e.g.: "-allow snoopy", and "-allow darkstar,wombat". - Note that -localhost is the same as "-allow 127.0.0.1" + Note that -localhost achieves the same thing as "-allow 127.0.0.1" For more control, build libvncserver with libwrap support - [315](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) + [323](tcp_wrappers) and then use /etc/hosts.allow See hosts_access(5) for complete details. @@ -2284,7 +2298,7 @@ exit 1 # reject it is "vnc", e.g.: vnc: 192.168.100.3 .example.com - Note that if you run x11vnc out of [316]inetd you do not need to build + Note that if you run x11vnc out of [324]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. @@ -2293,15 +2307,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 "[317]-listen ipaddr" option that enables + As of Mar/2005 there is the "[325]-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 - "[318]-allow host1,..." option to allow only specific hosts in. + "[326]-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 [319]-localhost now implies "-listen localhost" since that + The option [327]-localhost now implies "-listen localhost" since that is what most people expect it to do. @@ -2309,29 +2323,22 @@ 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 "[320]-allow localhost". Unlike [321]-localhost + To do this specify "[328]-allow localhost". Unlike [329]-localhost this will leave x11vnc listening on all interfaces (but of course only allowing in local connections, e.g. ssh redirs). Then you can later run "x11vnc -R allowonce:somehost" or use to gui to permit a one-shot connection from a remote host. - Note that if you do a lot of changing of the listening interface - ([322]-listen option) via remote control or gui, you may need to also - manually adjust the [323]-allow list if you unexpectedly get into a - state where the allow list cannot match any hosts that would be coming - in on the listening interface. If you just toggle [324]-localhost on - and off x11vnc should see to it that you never get into such a state. - Q-35: Can I fine tune what types of user input are allowed? E.g. have some users just be able to move the mouse, but not click or type anything? - As of Feb/2005, the [325]-input option allows you to do this. "K", - "M", and "B" stand for Keystroke, Mouse-motion, and Button-clicks, - respectively. The setting: "-input M" makes attached viewers only able - to move the mouse. "-input KMB,M" lets normal clients do everything - and enables view-only clients to move the mouse. + As of Feb/2005, the [330]-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 + clients do everything and enables view-only clients to move the mouse. These settings can also be applied on a per-viewer basis via the remote control mechanism or the GUI. E.g. x11vnc -R input:hostname:M @@ -2342,7 +2349,7 @@ exit 1 # reject it some clients view-only? How about running an arbitrary program to make the decisions? - Yes, look at the "[326]-accept command" option, it allows you to + Yes, look at the "[331]-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 @@ -2361,7 +2368,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 [327]-viewonly option has been + mouse on the "View" button. If the [332]-viewonly option has been supplied, the "View" action will not be present: the whole display is view only in that case. @@ -2377,7 +2384,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 [328]ftp://ftp.x.org/ + is available at [333]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 @@ -2416,7 +2423,7 @@ elif [ $rc = 4 ]; then fi exit 1 - Stefan Radman has written a nice dtksh script [329]dtVncPopup for use + Stefan Radman has written a nice dtksh script [334]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. @@ -2425,18 +2432,23 @@ exit 1 popup is being run, so attached clients will not receive screen updates, etc during this period. - To run a command when a client disconnects, use the "[330]-gone + To run a command when a client disconnects, use the "[335]-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 "[336]-afteraccept command" option will run the + command only after the VNC client has been accepted and authenticated. + Like -gone the return code is not interprted. RFB_MODE will be + "afteraccept"). + Q-37: I start x11vnc as root because it is launched via inetd(8) or a display manager like gdm(1). Can I have x11vnc later switch to a different user? - As of Feb/2005 x11vnc has the [331]-users option that allows things + As of Feb/2005 x11vnc has the [337]-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. @@ -2461,7 +2473,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 [332]blockdpy.c The idea behind it is simple (but + source for it is [338]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 @@ -2477,8 +2489,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 [333]-accept option and told - to exit via the [334]-gone option (the vnc client user should + The blockdpy utility is launched by the [339]-accept option and told + to exit via the [340]-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. @@ -2486,7 +2498,7 @@ exit 1 Q-39: Can I have x11vnc automatically lock the screen when I disconnect the VNC viewer? - Yes, a user mentions he uses the [335]-gone option under CDE to run a + Yes, a user mentions he uses the [341]-gone option under CDE to run a screen lock program: x11vnc -display :0 -forever -gone 'dtaction LockDisplay' @@ -2495,7 +2507,7 @@ exit 1 x11vnc -display :0 -forever -gone 'kdesktop_lock' x11vnc -display :0 -forever -gone 'xlock &' - Here is a scheme using the [336]-afteraccept option (in version 0.7.3) + Here is a scheme using the [342]-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 @@ -2526,7 +2538,7 @@ fi Q-40: How can I tunnel my connection to x11vnc via an encrypted SSH channel between two Unix machines? - See the description earlier on this page on [337]how to tunnel VNC via + See the description earlier on this page on [343]how to tunnel VNC via SSH from Unix to Unix. A number of ways are described along with some issues you may encounter. @@ -2537,7 +2549,7 @@ fi Q-41: How can I tunnel my connection to x11vnc via an encrypted SSH channel from Windows using an SSH client like Putty? - [338]Above we described how to tunnel VNC via SSH from Unix to Unix, + [344]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 @@ -2560,8 +2572,8 @@ fi process in a BAT file including launching the VNC viewer by using the plink Putty utility. Send us the script if you get that working. - For extra protection feel free to run x11vnc with the [339]-localhost - and [340]-rfbauth/[341]-passwdfile options. + For extra protection feel free to run x11vnc with the [345]-localhost + and [346]-rfbauth/[347]-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 @@ -2569,11 +2581,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 [342]chaining ssh's. + automated by [348]chaining ssh's. - As discussed [343]above another option is to first start the VNC + As discussed [349]above another option is to first start the VNC viewer in "listen" mode, and then launch x11vnc with the - "[344]-connect localhost" option to establish the reverse connection. + "[350]-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). @@ -2583,20 +2595,20 @@ 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 [345]stunnel provide an encrypted channel + IPSEC. SSL tunnels such as [351]stunnel provide an encrypted channel without the need for Unix users, passwords, and key passphrases - required for ssh (and at the other extreme can also provide a complete - signed certificate chain of trust). OTOH, since SSH is usually - installed everywhere and firewalls often let its port through, ssh is - frequently the path of least resistance (it also nicely manages public - keys for you). - - Update: As of Feb/2006 x11vnc has the options [346]-ssl, - [347]-stunnel, and [348]-sslverify to provide integrated SSL schemes. - They are discussed [349]in the Next FAQ (you may want to skip to it + required for ssh (and at the other extreme SSL can also provide a + complete signed certificate chain of trust). OTOH, since SSH is + usually installed everywhere and firewalls often let its port through, + ssh is frequently the path of least resistance (it also nicely manages + public keys for you). + + Update: As of Feb/2006 x11vnc has the options [352]-ssl, + [353]-stunnel, and [354]-sslverify to provide integrated SSL schemes. + They are discussed [355]in the Next FAQ (you may want to skip to it now). - Here are some basic examples using [350]stunnel but the general idea + Here are some basic examples using [356]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 @@ -2620,7 +2632,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 [351]signed by + stunnel is built. One can also create certificates [357]signed by Certificate Authorities or self-signed if desired using the x11vnc utilities described there. @@ -2634,7 +2646,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 [352]ssl_vncviewer script can automate + That's it. (note that the [358]ssl_vncviewer script can automate this.) Be sure to use a VNC password because unlike ssh by default the @@ -2642,13 +2654,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 [353]the key management section for details. + and also [359]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 [354]article The article also + found at the stunnel site and in this [360]article The article also shows the detailed steps to set up all the authentication - certificates. (for both server and clients, see also the [355]x11vnc + certificates. (for both server and clients, see also the [361]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 @@ -2669,7 +2681,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 [356]-inetd mode: + start up x11vnc in [362]-inetd mode: stunnel -p /path/to/stunnel.pem -P none -d 5900 -l ./x11vnc_sh Where the script x11vnc_sh starts up x11vnc: @@ -2706,48 +2718,48 @@ connect = 5900 SSL VNC Viewers: Regarding VNC viewers that "natively" do SSL unfortunately there do - not seem to be many. UltraVNC has encryption plugin, but we have not - tried it (it does not seem to be SSL). Commercial versions of VNC seem - to have some SSL built in, but we haven't tried those either and 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 [357]SSL-enabled - Java applet that can be served up via the [358]-httpdir or [359]-http - options when [360]-ssl is enabled. It will also be served via HTTPS + not seem to be many. UltraVNC has an encryption plugin, but we have + not tried it (it does not seem to be SSL). Commercial versions of VNC + seem to have some SSL built in, but we haven't tried those either and + 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 [363]SSL-enabled + Java applet that can be served up via the [364]-httpdir or [365]-http + options when [366]-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 [361]-https option. + the [367]-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 [362]-stunnel option on the server side it works well and is - convenient. Here is a simple script [363]ssl_vncviewer that automates - running stunnel on the VNC viewer side on Unix a little more carefully - than the commands printed above. (One could probably do a similar - thing with a .BAT file on Windows in the stunnel folder.) + the [368]-stunnel or [369]-ssl option on the server side it works well + and is convenient. Here is a simple script [370]ssl_vncviewer that + automates running stunnel on the VNC viewer side on Unix a little more + carefully than the commands printed above. (One could probably do a + similar thing with a .BAT file on Windows in the stunnel folder.) Q-43: Does x11vnc have built-in SSL tunneling? - You can read about non-built-in methods [364]in the Previous FAQ + You can read about non-built-in methods [371]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 - other extreme can also provide a complete signed certificate chain of - trust). OTOH, since SSH is usually installed everywhere and firewalls - often let its port through, ssh is frequently the path of least - resistance. + other extreme SSL can also provide a complete signed certificate chain + of trust). OTOH, since SSH is usually installed everywhere and + firewalls often let its port through, ssh is frequently the path of + least resistance. Built-in SSL x11vnc options: - As of Feb/2006 the x11vnc [365]-ssl and [366]-stunnel options automate - the SSL tunnel creation on the x11vnc server side. An [367]SSL-enabled - Java Viewer applet is also provided that can be served via http or - https to automate SSL on the client side. + As of Feb/2006 the x11vnc [372]-ssl and [373]-stunnel options automate + the SSL tunnel creation on the x11vnc server side. An [374]SSL-enabled + Java Viewer applet is also provided that can be served via HTTP or + HTTPS to automate SSL on the client side. - The [368]-ssl mode uses the [369]www.openssl.org library if available - at build time. The [370]-stunnel mode requires the - [371]www.stunnel.org command stunnel(8) to be installed on the system. + The [375]-ssl mode uses the [376]www.openssl.org library if available + at build time. The [377]-stunnel mode requires the + [378]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" @@ -2799,12 +2811,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 [372]x11vnc Key Management for some utilities + See the discussion on [379]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 [373]ssl_vncviewer provides an example on unix + The wrapper script [380]ssl_vncviewer provides an example on unix (-verify option). Here are some notes on the simpler default (non-CA) operation. To have @@ -2820,7 +2832,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 - [374]here), then Man-In-The-Middle-Attacks are prevented. Otherwise, + [381]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.) @@ -2845,7 +2857,7 @@ connect = 5900 including using https to download it into the browser and connect to x11vnc. - See the [375]next FAQ for SSL enabled VNC Viewers. + See the [382]next FAQ for SSL enabled VNC Viewers. Q-44: How do I use VNC Viewers with built-in SSL tunneling? @@ -2856,9 +2868,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 [376]-httpdir can be used to specify the path to .../classes/ssl. + the [383]-httpdir can be used to specify the path to .../classes/ssl. A typical location might be /usr/local/share/x11vnc/classes/ssl. Or - [377]-http can be used to try to have it find the directory + [384]-http can be used to try to have it find the directory automatically. The Java viewer uses SSL to communicate securely with x11vnc. Note @@ -2883,7 +2895,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 [378]-https option to get an additional port dedicated to https + the [385]-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: @@ -2896,7 +2908,7 @@ connect = 5900 You may also use "?GET=somestring" to have /somestring prepended to /request.https.vnc.connection". Perhaps you are using a web server - [379]proxy scheme to enter a firewall or otherwise have rules applied + [386]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".) @@ -2920,7 +2932,7 @@ connect = 5900 connection is VNC instead of the HTTPS it actually is (but since you have paused too long at the dialog the GET request comes too late). Often hitting Reload and going through the dialogs more quickly will - let you connect. Use the [380]-https option if you want a dedicated + let you connect. Use the [387]-https option if you want a dedicated port for HTTPS connections instead of sharing the VNC port. @@ -2929,10 +2941,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 [381]for + package. The basic ideas of doing this were discussed [388]for external tunnel utilities here. - The [382]ssl_vncviewer script provided with x11vnc can set up the + The [389]ssl_vncviewer script provided with x11vnc can set up the stunnel tunnel automatically on unix as long as the stunnel command is installed on the Viewer machine and available in PATH (and vncviewer too of course). Note that on Debian based system you will need to @@ -2957,17 +2969,17 @@ connect = 5900 The third one requires that the x11vnc server authenticate itself against the certificate in the file ./server.crt (e.g. one created by - "x11vnc -ssl SAVE" and copied to the VNC viewer machine). The fourth - one is for VNC Viewer authentication, it uses ./client.pem to + "x11vnc -ssl SAVE" and safely copied to the VNC viewer machine). The + fourth one is for VNC Viewer authentication, it uses ./client.pem to authenticate itself to x11vnc. One can supply both -verify and -mycert simultaneously. 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 [383]this page for more information on + separate the two by commas. See [390]this page for more information on how Web proxies come into play. - If one uses a Certificate Authority (CA) scheme described [384]here, + If one uses a Certificate Authority (CA) scheme described [391]here, the wrapper script would use the CA cert instead of the server cert: 3') ssl_vncviewer -verify ./cacert.crt far-away.east:0 @@ -3003,7 +3015,7 @@ connect = 5900 (instead of the unsigned one in https://yourmachine.com:5900/ that gives the default index.vnc) - Note that the [385]ssl_vncviewer stunnel wrapper script can use Web + Note that the [392]ssl_vncviewer stunnel wrapper script can use Web proxies as well. Proxies that limit CONNECT to ports 443 and 563: @@ -3017,7 +3029,7 @@ connect = 5900 If you do such a redirection to an internal machine and x11vnc is not listening on port 443, you will probably need to edit proxy.vnc. - Suppose the SSL x11vnc server was listening on port 5901. YOu should + Suppose the SSL x11vnc server was listening on port 5901. You should change the line in proxy.vnc from: <param name=PORT value=$PORT> @@ -3032,7 +3044,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 [386]trick discussed above, do: + parameters in the URL. To use the GET [393]trick discussed above, do: https://yourmachine.com/proxy.vnc?PORT=443&GET=1 @@ -3040,7 +3052,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 [387]here. This provides a clean alternative to the + It is discussed [394]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. @@ -3048,7 +3060,7 @@ connect = 5900 Q-47: Can I create and use my own SSL Certificate Authority (CA) with x11vnc? - Yes, see [388]this page for how to do this and the utility commands + Yes, see [395]this page for how to do this and the utility commands x11vnc provides to create and manage many types of certificates and private keys. @@ -3067,13 +3079,13 @@ connect = 5900 need to have sufficient permissions to connect to the X display. Here are some ideas: - * Use the description under "Continuously" in the [389]FAQ on x11vnc + * Use the description under "Continuously" in the [396]FAQ on x11vnc and Display Managers - * Use the description in the [390]FAQ on x11vnc and inetd(8) - * Use the description in the [391]FAQ on Unix user logins and + * Use the description in the [397]FAQ on x11vnc and inetd(8) + * Use the description in the [398]FAQ on Unix user logins and inetd(8) * Start x11vnc from your $HOME/.xsession (or $HOME/.xinitrc) - * Although less reliable, see the [392]x11vnc_loop rc.local hack + * Although less reliable, see the [399]x11vnc_loop rc.local hack below. The display manager scheme will not be specific to which user has the @@ -3104,7 +3116,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 [393]-auth option sets the XAUTHORITY variable for you). + (the [400]-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 @@ -3129,7 +3141,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 - [394]the example at the end of this FAQ). Then restart dtlogin, e.g.: + [401]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 @@ -3167,8 +3179,8 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg In any event, the line you will add to the display manager script will look something like: - /usr/local/bin/x11vnc -rfbauth /path/to/the/vnc/passwd -o /tmp/x11vnc.log -fo -rever -bg + /usr/local/bin/x11vnc -rfbauth /path/to/the/vnc/passwd -o /var/log/x11vnc.log + -forever -bg where you should customize the exact command to your needs. @@ -3177,14 +3189,14 @@ rever -bg and XAUTHORITY environment variables for the Xsetup script!!! You may also want to force the VNC port with something like "-rfbport - 5900" + 5900" to avoid autoselecting one if 5900 is already taken. _________________________________________________________________ Fedora/gdm: Here is an example of what we did on a vanilla install of Fedora-C3 (seems to use gdm by default). Add a line like this to /etc/X11/gdm/Init/:0 - /usr/local/bin/x11vnc -rfbauth /etc/x11vnc.passwd -forever -bg -o /tmp/x11vnc -.log + /usr/local/bin/x11vnc -rfbauth /etc/x11vnc.passwd -forever -bg -o /var/log/x1 +1vnc.log And then add this line to /etc/X11/gdm/gdm.conf in the [daemon] section: @@ -3192,7 +3204,7 @@ rever -bg Then restart: /usr/sbin/gdm-restart (or reboot). The KillInitClients=false setting is important: without it x11vnc will be - killed immediately after the user logs in. Here are [395]full details + killed immediately after the user logs in. Here are [402]full details on how to configure gdm _________________________________________________________________ @@ -3211,7 +3223,7 @@ rever -bg cp /usr/dt/config/Xsetup /etc/dt/config/Xsetup Edit /etc/dt/config/Xsetup and at the bottom put a line like: - /usr/local/bin/x11vnc -forever -o /var/tmp/x11vnc.log -bg + /usr/local/bin/x11vnc -forever -o /var/log/x11vnc.log -bg (tweaked to your local setup and preferences, a password via -rfbauth, etc. would be a very good idea). @@ -3225,7 +3237,7 @@ rever -bg KDM: One user running the kdm display manager reports putting this line: - x11vnc -forever -rfbauth /home/xyz/.vnc/passwd -bg -o /tmp/x11vnc.log + x11vnc -forever -rfbauth /home/xyz/.vnc/passwd -bg -o /var/log/x11vnc.log in /etc/kde/kdm/Xsetup. After rebooting the system it all seemed to work fine. @@ -3234,13 +3246,14 @@ rever -bg If you do not want to deal with any display manager startup scripts, here is a kludgey script that can be run manually or out of a boot - file like rc.local: [396]x11vnc_loop It will need some local + file like rc.local: [403]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. + described above is greatly preferred. There is also the [404]-loop + option that does something similar. If the machine is a traditional Xterminal you may want to read - [397]this FAQ. + [405]this FAQ. Q-50: Can I run x11vnc out of inetd(8)? How about xinetd(8)? @@ -3250,12 +3263,12 @@ rever -bg 5900 stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/x11vnc_sh - where the shell script /usr/local/bin/x11vnc_sh uses the [398]-inetd + where the shell script /usr/local/bin/x11vnc_sh uses the [406]-inetd option and looks something like (you'll need to customize to your settings). #!/bin/sh /usr/local/bin/x11vnc -inetd -display :0 -auth /home/fred/.Xauthority \ - -rfbauth /home/fred/.vnc/passwd -o /tmp/x11vnc_sh.log + -rfbauth /home/fred/.vnc/passwd -o /var/log/x11vnc_sh.log Important: Note that you must redirect the standard error output to a log file (e.g. -o logfile) or "2>/dev/null" for proper operation via @@ -3263,7 +3276,7 @@ rever -bg and that confuses it greatly, causing it to abort). If you do not use a wrapper script as above but rather call x11vnc directly in /etc/inetd.conf and do not redirect stderr to a file, then you must - specify the -q (aka [399]-quiet) option: "/usr/local/bin/x11vnc -q + specify the -q (aka [407]-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 @@ -3271,11 +3284,13 @@ rever -bg script with "2>logfile" redirection because the errors and warnings printed out are very useful in troubleshooting problems. - Note also the need to set XAUTHORITY via [400]-auth to point to the + Note also the need to set XAUTHORITY via [408]-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. + ideas on what that auth file may be, etc. The scheme described in the + [409]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 /etc/inetd.conf, you'll need to replace it with a word like x11vnc an @@ -3283,8 +3298,8 @@ rever -bg Since the process runs as root, it might be a bad idea to have the logfile in a world-writable area like /tmp if there are untrustworthy - users on the machine. Perhaps /var/log would be a better place. Also, - while running x11vnc as root, remember it comes with no warranty ;-). + users on the machine. Perhaps /var/log is a better place. Also, while + running x11vnc as root, remember it comes with no warranty ;-). Be sure to look at your /etc/hosts.allow and /etc/hosts.deny settings to limit the machines that can connect to this service (your @@ -3339,13 +3354,13 @@ service x11vncservice Q-51: Can I have x11vnc allow a user to log in with her UNIX password and then have it find her X display on that machine and connect to it? - The easiest way to do this is via [401]inetd(8) using the [402]-unixpw - and [403]-display WAIT options. The reason inetd(8) makes this easier + The easiest way to do this is via [410]inetd(8) using the [411]-unixpw + and [412]-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 [404]this example). + x11vnc's (see [413]this example). - The [405]-display WAIT option makes x11vnc wait until a VNC viewer is + The [414]-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 @@ -3388,7 +3403,7 @@ exit 0 as the first line and any remaining lines are either XAUTHORITY=file or raw xauth data (the above example does the latter). - The [406]-unixpw option allows [407]UNIX password logins. Here are a + The [415]-unixpw option allows [416]UNIX password logins. Here are a couple /etc/inetd.conf examples for this: 5900 stream tcp nowait nobody /usr/sbin/tcpd /usr/local/bin/x11vnc -inetd -unixpw \ @@ -3408,9 +3423,9 @@ xpw= directory will need to be set up to allow "nobody" to use them. In the second one x11vnc is run as root and switches to the user that - logs in due to the "[408]-users unixpw=" option. + logs in due to the "[417]-users unixpw=" option. - Note that [409]SSL is required for this mode because otherwise the + Note that [418]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 @@ -3421,7 +3436,7 @@ xpw= Q-52: Can I have x11vnc restart itself after it terminates? One could do this in a shell script, but now there is an option - [410]-loop that makes it easier. Of course when x11vnc restarts it + [419]-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" @@ -3432,7 +3447,7 @@ xpw= web browser? To have x11vnc serve up a Java VNC viewer applet to any web browsers - that connect to it, run x11vnc with this [411]option: + that connect to it, run x11vnc with this [420]option: -httpdir /path/to/the/java/classes/dir (this directory will contain the files index.vnc and, for example, @@ -3451,12 +3466,14 @@ xpw= then you can connect to that URL with any Java enabled browser. Feel free to customize the default index.vnc file in the classes directory. - As of May/2005 the [412]-http option will try to guess where the Java - classes jar file is by looking in expected locations. + As of May/2005 the [421]-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. Also note that if you wanted to, you could also start the Java viewer entirely from the viewer-side by having the jar file there and using either the java or appletviewer commands to run the program. + java -cp ./VncViewer.jar VncViewer HOST far-away.east PORT 5900 Q-54: Are reverse connections (i.e. the VNC server connecting to the @@ -3465,7 +3482,7 @@ xpw= As of Mar/2004 x11vnc supports reverse connections. On Unix one starts the VNC viewer in listen mode: vncviewer -listen (see your documentation for Windows, etc), and then starts up x11vnc with the - [413]-connect option. To connect immediately at x11vnc startup time + [422]-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). @@ -3473,7 +3490,7 @@ xpw= file is checked periodically (about once a second) for new hosts to connect to. - The [414]-remote control option (aka -R) can also be used to do this + The [423]-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 @@ -3485,7 +3502,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 [415]-vncconnect option to x11vnc (Note: + www.realvnc.com) specify the [424]-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 @@ -3530,7 +3547,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 - [416]-add_keysyms option to have keysyms added automatically. Also, to + [425]-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" @@ -3552,11 +3569,11 @@ xmodmap -e "add Control = Control_L Control_R" The main drawback to this method (besides requiring extra configuration and possibly root permission) is that it also does the - Linux Virtual Console/Terminal (VC/VT) [417]switching even though it + Linux Virtual Console/Terminal (VC/VT) [426]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 [418]Xdummy that allows you to + Jul/2005 we have an LD_PRELOAD script [427]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 @@ -3588,7 +3605,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 [419]this FAQ) and access it from + display via x11vnc (e.g. see [428]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 @@ -3631,7 +3648,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 [420]shm_clear to list and prompt for removal + Here is a shell script [429]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, @@ -3665,36 +3682,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 - [421]-onetile option (corresponds to only 3 shm segments used, and + [430]-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 - [422]-noshm option. Performance will be somewhat degraded but when + [431]-noshm option. Performance will be somewhat degraded but when done over local machine sockets it should be acceptable (see an - [423]earlier question discussing -noshm). + [432]earlier question discussing -noshm). Q-58: How can I make x11vnc use less system resources? - The [424]-nap and "[425]-wait n" (where n is the sleep between polls - in milliseconds, the default is 30 or so) option are good places to - start. Reducing the X server bits per pixel depth (e.g. to 16bpp or - even 8bpp) will further decrease memory I/O and network I/O. The - ShadowFB will make x11vnc's screen polling less severe. Using the - [426]-onetile option will use less memory and use fewer shared memory - slots (add [427]-fs 1.0 for one less slot). + The [433]-nap (now on by default) and "[434]-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 "[435]-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 [436]-onetile + option will use less memory and use fewer shared memory slots (add + [437]-fs 1.0 for one less slot). Q-59: How can I make x11vnc use MORE system resources? - You can try [428]-threads and dial down the wait time (e.g. -wait 1) - and possibly dial down [429]-defer as well. Note that if you try to + You can try [438]-threads and dial down the wait time (e.g. -wait 1) + and possibly dial down [439]-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 [430]-id option) can be streamed over a LAN or wireless at + the x11vnc [440]-id option) can be streamed over a LAN or wireless at a reasonable frame rate. @@ -3710,7 +3731,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 - [431]-solid [color] option to try to do this automatically. + [441]-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 @@ -3719,9 +3740,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 [432]-scrollcopyrect is active and + problem in x11vnc 0.7.2 if [442]-scrollcopyrect is active and detecting scrolls for the application). - * If the [433]-wireframe option is not available (earlier than + * If the [443]-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) @@ -3741,7 +3762,7 @@ ied) noticed. VNC viewer parameters: - * Use a [434]TightVNC enabled viewer! (Actually, RealVNC 4.x viewer + * Use a [444]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 @@ -3755,43 +3776,47 @@ ied) server side before sending, but uses more CPU) * Try reducing the TightVNC -quality (increases JPEG compression, but is lossy with painting artifacts) - * Try other VNC encodings via -encodings (tight is may be the - fastest, but you should compare it to zrle and maybe some of the - others) + * Try other VNC encodings via -encodings (tight may be the fastest, + but you should compare it to zrle and maybe some of the others) * On the machine where vncviewer is run, make sure Backing Store is enabled (XFree86/Xorg disables it by default causing re-exposures of vncviewer to be very slow) Option "backingstore" in config file. x11vnc parameters: - * Make sure the [435]-wireframe option is active (it should be on by + * Make sure the [445]-wireframe option is active (it should be on by default) and you have Opaque Moves/Resizes Enabled in the window manager. - * Make sure the [436]-scrollcopyrect option is active (it should be + * Make sure the [446]-scrollcopyrect option is active (it should be on by default). This detects scrolls in many (but not all) applications an applies the CopyRect encoding for a big speedup. - * Specify [437]-speeds modem to force the wireframe and + * Enforce a solid background when VNC viewers are connected via + [447]-solid + * Specify [448]-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 [438]-nodragging (no screen updates when dragging mouse, + drastic [449]-nodragging (no screen updates when dragging mouse, but sometimes you miss visual feedback) - * Set [439]-fs 1.0 (disables fullscreen updates) - * Try increasing [440]-wait or [441]-defer (reduces the maximum + * Set [450]-fs 1.0 (disables fullscreen updates) + * Try increasing [451]-wait or [452]-defer (reduces the maximum "frame rate", but won't help much for large screen changes) - * Try the [442]-progressive pixelheight mode with the block + * Try the [453]-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 [443]-id (cuts + * If you just want to watch one (simple) window use [454]-id (cuts down extraneous polling and updates, but can be buggy or insufficient) - * Set [444]-nosel (disables all clipboard selection exchange) - * Use [445]-nocursor and [446]-nocursorpos (repainting the remote + * Set [455]-nosel (disables all clipboard selection exchange) + * Use [456]-nocursor and [457]-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 - [447]-readtimeout n setting if it sometimes takes more than 20sec + [458]-readtimeout n setting if it sometimes takes more than 20sec to paint the full screen, etc. + * Do not use [459]-fixscreen to automatically refresh the whole + screen, tap three Alt_L's then the screen has painting errors + (rare problem). Q-61: Does x11vnc support the X DAMAGE Xserver extension to find @@ -3812,7 +3837,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 [448]slow (e.g. + in main memory. So reading the fb is still painfully [460]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 @@ -3830,27 +3855,27 @@ ied) DAMAGE rectangles to contain real damage. The larger rectangles are only used as hints to focus the traditional scanline polling (i.e. if a scanline doesn't intersect a recent DAMAGE rectangle, the scan is - skipped). You can use the "[449]-xd_area A" option to adjust the size + skipped). You can use the "[461]-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 "[450]-xd_mem f" may also be of use in tuning the - algorithm. To disable using DAMAGE entirely use "[451]-noxdamage". + The option "[462]-xd_mem f" may also be of use in tuning the + algorithm. To disable using DAMAGE entirely use "[463]-noxdamage". Q-62: When I drag windows around with the mouse or scroll up and down things really bog down (unless I do the drag in a single, quick motion). Is there anything to do to improve things? - This problem is primarily due to [452]slow hardware read rates from + This problem is primarily due to [464]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 - [453]-pointer_mode option for more info. The next bottleneck is + [465]-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 @@ -3860,28 +3885,31 @@ 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 "[454]-pointer_mode 1" option. + the "[466]-pointer_mode 1" option. - Also added was the [455]-nodragging option that disables all screen + Also added was the [467]-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 [456]-pointer_mode n option was introduced. n=1 is + As of Dec/2004 the [468]-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 [457]-threads option can improve + Also, in some circumstances the [469]-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 [458]wireframe FAQ and - [459]scrollcopyrect FAQ below) provide schemes to sweep this problem + As of Apr/2005 two new options (see the [470]wireframe FAQ and + [471]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. + window scrolls. These are the preferred way of avoiding the "lurching" + problem, contact me if they are not working. (Note on SuSE the RECORD + X extension used by scrollcopyrect is not enabled by default, turn it + on in xorg.conf) Q-63: Why not do something like wireframe animations to avoid the @@ -3895,16 +3923,16 @@ ied) the window move/resize stops, it returns to normal processing: you should only see the window appear in the new position. This spares you from interacting with a "lurching" window between all of the - intermediate steps. BTW the lurching is due to [460]slow video card - read rates (see [461]here too). A displacement, even a small one, of a + intermediate steps. BTW the lurching is due to [472]slow video card + read rates (see [473]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. Note that Opaque Moves/Resizes must be Enabled by your window manager for -wireframe to do any good. - The mode is currently on by default because most people are inflicted - with the problem. It can be disabled with the [462]-nowireframe option + The mode is currently on by default because most people are afflicted + with the problem. It can be disabled with the [474]-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 @@ -3949,13 +3977,13 @@ ied) * Maximum time to show a wireframe animation. * Minimum time between sending wireframe outlines. - See the [463]"-wireframe tweaks" option for more details. On a slow + See the [475]"-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 - [464]"-wirecopyrect mode" option. It is also on by default. This + [476]"-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 @@ -4003,7 +4031,7 @@ ied) requiring the image data to be transmitted over the network. For fast links the speedup is primarily due to x11vnc not having to read the scrolled framebuffer data from the X server (recall that reading from - the hardware framebuffer is [465]slow). + the hardware framebuffer is [477]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. @@ -4025,10 +4053,10 @@ ied) the X server display: if one falls too far behind it could become a mess... - The initial implementation of [466]-scrollcopyrect option is useful in + The initial implementation of [478]-scrollcopyrect option is useful in that it detects many scrolls and thus gives a much nicer working - environment (especially when combined with the [467]-wireframe - [468]-wirecopyrect [469]options, which are also on by default; and if + environment (especially when combined with the [479]-wireframe + [480]-wirecopyrect [481]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. @@ -4061,10 +4089,10 @@ ied) One can tap the Alt_L key (Left "Alt" key) 3 times in a row to signal x11vnc to refresh the screen to all viewers. Your VNC-viewer may have its own screen refresh hot-key or button. See - also: [470]-fixscreen + also: [482]-fixscreen * Some applications, notably OpenOffice, do XCopyArea scrolls in weird ways that assume ancestor window clipping is taking place. - See the [471]-scr_skip option for ways to tweak this on a + See the [483]-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 @@ -4081,7 +4109,7 @@ ied) because it fails to detect scrolls in it. Sometimes clicking inside the application window or selecting some text in it to force the focus helps. - * When using the [472]-scale option there will be a quick CopyRect + * When using the [484]-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 @@ -4094,7 +4122,7 @@ ied) If you find the -scrollcopyrect behavior too approximate or distracting you can go back to the standard polling-only update method - with the [473]-noscrollcopyrect (or -noscr for short). If you find + with the [485]-noscrollcopyrect (or -noscr for short). If you find some extremely bad and repeatable behavior for -scrollcopyrect please report a bug. @@ -4133,23 +4161,23 @@ ied) this is because the cursor shape is often downloaded to the graphics hardware (video card), but I could be mistaken. - A simple kludge is provided by the "[474]-cursor X" option that + A simple kludge is provided by the "[486]-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 "[475]-cursor some" option for + work for those cases. Also see the "[487]-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 - [476]-overlay option is supplied. See [477]this FAQ for more info. + [488]-overlay option is supplied. See [489]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 - [478]Solaris 10. + [490]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 @@ -4157,7 +4185,7 @@ ied) situations where the cursor transparency can also handled exactly: when the VNC Viewer requires the cursor shape be drawn into the VNC framebuffer or if you apply a patch to your VNC Viewer to extract - hidden alpha channel data under 32bpp. [479]Details can be found here. + hidden alpha channel data under 32bpp. [491]Details can be found here. Q-66: When using XFIXES cursorshape mode, some of the cursors look @@ -4190,17 +4218,17 @@ ied) for most cursor themes and you don't have to worry about it. In case it still looks bad for your cursor theme, there are (of - course!) some tunable parameters. The "[480]-alphacut n" option lets + course!) some tunable parameters. The "[492]-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 "[481]-alphafrac f" option tries to correct individual + 240. The "[493]-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 [482]-alpharemove that is useful for + Finally, there is an option [494]-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 @@ -4226,10 +4254,10 @@ ied) alpha channel data to libvncserver. However, this data will only be used for VNC clients that do not support the CursorShapeUpdates VNC extension (or have disabled it). It can be disabled for all clients - with the [483]-nocursorshape x11vnc option. In this case the cursor is + with the [495]-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 [484]-noalphablend option to disable this + the x11vnc side. Use the [496]-noalphablend option to disable this behavior (always approximate transparent cursors with opaque RGB values). @@ -4258,9 +4286,9 @@ ied) Q-68: Why does the mouse arrow just stay in one corner in my vncviewer, whereas my cursor (that does move) is just a dot? - This default takes advantage of a [485]tightvnc extension + This default takes advantage of a [497]tightvnc extension (CursorShapeUpdates) that allows specifying a cursor image shape for - the local VNC viewer. You may disable it with the [486]-nocursor + the local VNC viewer. You may disable it with the [498]-nocursor option to x11vnc if your viewer does not have this extension. Note: as of Aug/2004 this should be fixed: the default for @@ -4274,17 +4302,17 @@ ied) clients (i.e. passive viewers can see the mouse cursor being moved around by another viewer)? - Use the [487]-cursorpos option when starting x11vnc. A VNC viewer must + Use the [499]-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 [488]-nocursorpos and [489]-nocursorshape. + is the default. See also [500]-nocursorpos and [501]-nocursorshape. Q-70: Is it possible to swap the mouse buttons (e.g. left-handed operation), or arbitrarily remap them? How about mapping button clicks to keystrokes, e.g. to partially emulate Mouse wheel scrolling? - You can remap the mouse buttons via something like: [490]-buttonmap + You can remap the mouse buttons via something like: [502]-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. @@ -4292,7 +4320,7 @@ ied) One user had an X server with only one mouse button(!) and was able to map all of the VNC client mouse buttons to it via: -buttonmap 123-111. - Note that the [491]-debug_pointer option prints out much info for + Note that the [503]-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 @@ -4314,7 +4342,7 @@ ied) Exactly what keystroke "scrolling" events they should be bound to depends on one's taste. If this method is too approximate, one could - consider not using [492]-buttonmap but rather configuring the X server + consider not using [504]-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"'). @@ -4344,7 +4372,7 @@ ied) Q-71: How can I get my AltGr and Shift modifiers to work between keyboards for different languages? - The option [493]-modtweak should help here. It is a mode that monitors + The option [505]-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. @@ -4353,16 +4381,16 @@ ied) to get the old behavior). This was done because it was noticed on newer XFree86 setups even on bland "us" keyboards like "pc104 us" XFree86 included a "ghost" key with both "<" and ">" it. This key does - not exist on the keyboard (see [494]this FAQ for more info). Without + not exist on the keyboard (see [506]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 [495]FAQ about the -xkb option for a more powerful method + Also see the [507]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 - [496]-debug_keyboard option prints out much info for every keystroke + [508]-debug_keyboard option prints out much info for every keystroke and so can be useful debugging things. @@ -4374,9 +4402,9 @@ ied) (e.g. pc105 in the XF86Config file when it should be something else, say pc104). - Short Cut: Try the [497]-xkb or [498]-sloppy_keys options and see if + Short Cut: Try the [509]-xkb or [510]-sloppy_keys options and see if that helps the situation. The discussion below is a bit outdated (e.g. - [499]-modtweak is now the default) but is useful reference for various + [511]-modtweak is now the default) but is useful reference for various tricks and so is kept. @@ -4419,17 +4447,17 @@ ied) -remap less-comma These are convenient in that they do not modify the actual X server - settings. The former ([500]-modtweak) is a mode that monitors the + settings. The former ([512]-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 ([501]-remap less-comma) is an immediate remapping of the + The latter ([513]-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 [502]FAQ about the -xkb option as a possible workaround + See also the [514]FAQ about the -xkb option as a possible workaround using the XKEYBOARD extension. - Note that the [503]-debug_keyboard option prints out much info for + Note that the [515]-debug_keyboard option prints out much info for every keystroke to aid debugging keyboard problems. @@ -4437,13 +4465,13 @@ ied) (i.e. an extra comma). This is likely because you press "Shift" then "<" but then released - the Shift key before releasing the "<". Because of a [504]keymapping + the Shift key before releasing the "<". Because of a [516]keymapping ambiguity the last event "< up" is interpreted as "," because that key unshifted is the comma. - This should not happen in [505]-xkb mode, because it works hard to + This should not happen in [517]-xkb mode, because it works hard to resolve the ambiguities. If you do not want to use -xkb, try the - option [506]-sloppy_keys to attempt a similar type of algorithm. + option [518]-sloppy_keys to attempt a similar type of algorithm. Q-74: I'm using an "international" keyboard (e.g. German "de", or @@ -4467,7 +4495,7 @@ ied) In both cases no AltGr is sent to the VNC server, but we know AltGr is needed on the physical international keyboard to type a "@". - This all worked fine with x11vnc running with the [507]-modtweak + This all worked fine with x11vnc running with the [519]-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 @@ -4484,7 +4512,7 @@ ied) * there is a new option -xkb to use the XKEYBOARD extension API to do the Modifier key tweaking. - The [508]-xkb option seems to fix all of the missing keys: "@", "<", + The [520]-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 @@ -4492,7 +4520,7 @@ ied) debugging output (send it along with any problems you report). Update: as of Jun/2005 x11vnc will try to automatically enable - [509]-xkb if it appears that would be beneficial (e.g. if it sees any + [521]-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. @@ -4507,13 +4535,14 @@ ied) was attached to keycode 93 (no physical key generates this keycode) while ISO_Level3_Shift was attached to keycode 113. The keycode skipping option was used to disable the ghost key: - [510]-skip_keycodes 93 + [522]-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 sending the keysyms asciitilde and asciicircum to x11vnc, but on the X server with the international keyboard those keysyms were - not mapped to any keys. So x11vnc had to skip them. + not mapped to any keys. So x11vnc had to skip them (Note: as of + May/2005 they are added by default see -add_keysyms below). The way these characters are typically entered on international keyboards is by "dead" (aka "mute") keys. E.g. to enter "~" at the physical display the keysym dead_tilde is pressed and released @@ -4524,16 +4553,16 @@ ied) What to do? In general the VNC protocol has not really solved this problem: what should be done if the VNC viewer sends a keysym not recognized by the VNC server side? Workarounds can possibly be - created using the [511]-remap x11vnc option: + created using the [523]-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 - [512]-add_keysyms option in the next paragraph. - Update: for convenience "[513]-remap DEAD" does many of these + [524]-add_keysyms option in the next paragraph. + Update: for convenience "[525]-remap DEAD" does many of these mappings at once. - * To complement the above workaround using the [514]-remap, an - option [515]-add_keysyms was added. This option instructs x11vnc + * To complement the above workaround using the [526]-remap, an + option [527]-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 @@ -4552,7 +4581,7 @@ ied) Short answer: disable key autorepeating by running the command "xset r off" on the Xserver where x11vnc is run (restore via "xset r on") or - use the new (Jul/2004) [516]-norepeat x11vnc option. You will still + use the new (Jul/2004) [528]-norepeat x11vnc option. You will still have autorepeating because that is taken care of on your VNC viewer side. @@ -4576,7 +4605,7 @@ ied) off", does the problem go away? The workaround is to manually apply "xset r off" and "xset r on" as - needed, or to use the [517]-norepeat (which has since Dec/2004 been + needed, or to use the [529]-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 @@ -4586,12 +4615,12 @@ ied) Q-76: The x11vnc -norepeat mode is in effect, but I still get repeated keystrokes!! - Are you using x11vnc to log in to an X session? (as described in - [518]this FAQ) If so, x11vnc is starting before your session and it - disables autorepeat when you connect, but then after you log in your - session startup (GNOME, KDE, ...) could be resetting the autorepeat to - be on. Or it could be something inside your desktop trying to be - helpful that decides to turn it back on. + Are you using x11vnc to log in to an X session via display manager? + (as described in [530]this FAQ) If so, x11vnc is starting before your + session and it disables autorepeat when you connect, but then after + you log in your session startup (GNOME, KDE, ...) could be resetting + the autorepeat to be on. Or it could be something inside your desktop + trying to be helpful that decides to turn it back on. x11vnc in -norepeat mode will by default reset autorepeat to off 2 times (to help get thru the session startup problem), but it will not @@ -4611,7 +4640,7 @@ ied) machine where I run the VNC viewer does not. Is there a way I can map a local unused key to send an AltGr? How about a Compose key as well? - Something like "[519]-remap Super_R-Mode_switch" x11vnc option may + Something like "[531]-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)). @@ -4634,7 +4663,7 @@ ied) Since xmodmap(1) modifies the X server mappings you may not want to do this (because it affects local work on that machine). Something like - the [520]-remap Alt_L-Meta_L to x11vnc may be sufficient for ones + the [532]-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. @@ -4645,7 +4674,7 @@ ied) This can be done directly in some X servers using AccessX and Pointer_EnableKeys, but is a bit awkward. It may be more convenient to - have x11vnc do the remapping. This can be done via the [521]-remap + have x11vnc do the remapping. This can be done via the [533]-remap option using the fake "keysyms" Button1, Button2, etc. as the "to" keys (i.e. the ones after the "-") @@ -4654,7 +4683,7 @@ ied) button "paste" because (using XFree86/Xorg Emulate3Buttons) you have to click both buttons on the touch pad at the same time. This remapping: - [522]-remap Super_R-Button2 + [534]-remap Super_R-Button2 maps the Super_R "flag" key press to the Button2 click, thereby making X pasting a bit easier. @@ -4673,10 +4702,10 @@ ied) Caps_Lock in the viewer your local machine goes into the Caps_Lock on state and sends keysym "A" say when you press "a". x11vnc will then fake things up so that Shift is held down to generate "A". The - [523]-skip_lockkeys option should help to accomplish this. For finer - grain control use something like: "[524]-remap Caps_Lock-None". + [535]-skip_lockkeys option should help to accomplish this. For finer + grain control use something like: "[536]-remap Caps_Lock-None". - Also try the [525]-nomodtweak and [526]-capslock options. + Also try the [537]-nomodtweak and [538]-capslock options. [Screen Related Issues and Features] @@ -4699,7 +4728,7 @@ ied) There may also be scaling viewers out there (e.g. TightVNC or UltraVNC on Windows) that automatically shrink or expand the remote framebuffer to fit the local display. Especially for hand-held devices. See also - [527]this FAQ on x11vnc scaling. + [539]this FAQ on x11vnc scaling. Q-82: Does x11vnc support server-side framebuffer scaling? (E.g. to @@ -4707,7 +4736,7 @@ ied) As of Jun/2004 x11vnc provides basic server-side scaling. It is a global scaling of the desktop, not a per-client setting. To enable it - use the "[528]-scale fraction" option. "fraction" can either be a + use the "[540]-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. @@ -4728,7 +4757,7 @@ ied) One can also use the ":nb" with an integer scale factor (say "-scale 2:nb") to use x11vnc as a screen magnifier for vision impaired - [529]applications. Since with integer scale factors the framebuffers + [541]applications. Since with integer scale factors the framebuffers become huge and scaling operations time consuming, be sure to use ":nb" for the fastest response. @@ -4754,7 +4783,7 @@ ied) If one desires per-client scaling for something like 1:1 from a workstation and 1:2 from a smaller device (e.g. handheld), currently the only option is to run two (or more) x11vnc processes with - different scalings listening on separate ports ([530]-rfbport option, + different scalings listening on separate ports ([542]-rfbport option, etc.). Update: As of May/2006 x11vnc also supports the UltraVNC server-side @@ -4764,8 +4793,8 @@ ied) "-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 [531]GUI, then to avoid all of the x11vnc's simultaneously - answering the gui you will need to use something like [532]"-connect + use the [543]GUI, then to avoid all of the x11vnc's simultaneously + answering the gui you will need to use something like [544]"-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 @@ -4774,7 +4803,7 @@ ied) Update: As of Mar/2005 x11vnc now scales the mouse cursor with the same scale factor as the screen. If you don't want that, use the - [533]"-scale_cursor frac" option to set the cursor scaling to a + [545]"-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). @@ -4796,17 +4825,17 @@ ied) screen is not rectangular (e.g. 1280x1024 and 1024x768 monitors joined together), then there will be "non-existent" areas on the screen. The X server will return "garbage" image data for these areas and so they - may be distracting to the viewer. The [534]-blackout x11vnc option + may be distracting to the viewer. The [546]-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 - [535]-xinerama x11vnc option can be used to have it automatically + [547]-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: - [536]-xinerama is now on by default. + [548]-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 [537]-xwarppointer + of the large display. If this happens try using the [549]-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 @@ -4831,23 +4860,23 @@ ied) Note: if you are running on Solaris 8 or earlier you can easily hit up against the maximum of 6 shm segments per process (for Xsun in this case) from running multiple x11vnc processes. You should modify - /etc/system as mentioned in another [538]FAQ to increase the limit. It - is probably also a good idea to run with the [539]-onetile option in + /etc/system as mentioned in another [550]FAQ to increase the limit. It + is probably also a good idea to run with the [551]-onetile option in this case (to limit each x11vnc to 3 shm segments), or even - [540]-noshm to use no shm segments. + [552]-noshm to use no shm segments. Q-85: Can x11vnc show only a portion of the display? (E.g. for a special purpose rfb application). - As of Mar/2005 x11vnc has the "[541]-clip WxH+X+Y" option to select a + As of Mar/2005 x11vnc has the "[553]-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 [542]Xinerama screen into two + One user used -clip to split up a large [554]Xinerama screen into two more managable smaller screens. This also works to view a sub-region of a single application window if - the [543]-id or [544]-sid options are used. The offset is measured + the [555]-id or [556]-sid options are used. The offset is measured from the upper left corner of the selected window. @@ -4856,7 +4885,7 @@ ied) crash. As of Dec/2004 x11vnc supports XRANDR. You enable it with the - [545]-xrandr option to make x11vnc monitor XRANDR events and also trap + [557]-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. @@ -4866,7 +4895,7 @@ ied) then the viewer will automatically resize. Otherwise, the new framebuffer is fit as best as possible into the original viewer size (portions of the screen may be clipped, unused, etc). For these - viewers you can try the [546]-padgeom option to make the region big + viewers you can try the [558]-padgeom option to make the region big enough to hold all resizes and rotations. If you specify "-xrandr newfbsize" then vnc viewers that do not @@ -4912,8 +4941,8 @@ ied) Q-89: Can I use x11vnc to view my VMWare session remotely? - Yes, since VMWare is an X application you can view it via x11vnc in - the normal way. + Yes, since VMWare usually runs as an X application you can view it via + x11vnc in the normal way. Note that VMWare has several viewing modes: * Normal X application window (with window manager frame) @@ -4921,10 +4950,10 @@ ied) * Fullscreen mode The way VMWare does Fullscreen mode on Linux is to display the Guest - desktop in a separate Virtual Console (e.g. VC 8) (see [547]this FAQ + desktop in a separate Virtual Console (e.g. VC 8) (see [559]this FAQ on VC's for background). Unfortunately, this Fullscreen VC is not an X - server. So x11vnc cannot access it (however, [548]see this for a - possible partial workaround). x11vnc works fine with "Normal X + server. So x11vnc cannot access it (however, [560]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. Update: It appears the in VMWare 5.x the Fullscreen mode is X, so @@ -4938,19 +4967,19 @@ ied) the Guest desktop remotely. - Sometimes it is convenient (for performance, etc.) to start VMWare in - its own X session using startx(1). This can be used to have a minimal - window manger (e.g. twm or even no window manager), to 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 + Aside: Sometimes it is convenient (for performance, etc.) to start + VMWare in its own X session using startx(1). This can be used to have + a minimal window manger (e.g. twm or even no window manager), to + 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 [549]is in the active VC. + as long as the VMWare X session [561]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 [550]-id windowid option. The + the VMWare menu buttons) by use of the [562]-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 @@ -4960,24 +4989,27 @@ ied) Q-90: Can non-X devices (e.g. a raw framebuffer) be viewed (and even - controlled) with VNC via x11vnc? - - As of Apr/2005 there is rudimentary support for this. Two options were - added: "-rawfb string" (to indicate the raw framembuffer and its - parameters) and "-pipeinput cmd" (to provide an external program that - will inject or otherwise process mouse and keystroke input). - - This non-X mode for x11vnc is experimental because it is so removed in - scope from the intended usage of the tool. Incomplete attempt is made - to make all of the other options consistent with non-X framebuffer - polling. So all of the X-related options (e.g. -add_keysyms, -xkb) are - just ignored or in the worst case will cause a crash. Be careful - applying such an option via the command line or remote control. + controlled) via VNC with x11vnc? + + As of Apr/2005 there is support for this. Two options were added: + "[563]-rawfb string" (to indicate the raw framembuffer device, file, + etc. and its parameters) and "[564]-pipeinput command" (to provide an + external program that will inject or otherwise process mouse and + keystroke input). Some useful [565]-pipeinput schemes, VID, CONS, and + UINPUT, have since been built into x11vnc for convenience. + + This non-X mode for x11vnc is somewhat experimental because it is so + removed in scope from the intended usage of the tool. Incomplete + attempt is made to make all of the other options consistent with non-X + framebuffer polling. So all of the X-related options (e.g. + -add_keysyms, -xkb) are just ignored or may cause an error if used. Be + careful applying such an option via remote control. The format for the -rawfb string is: -rawfb <type>:<object>@<W>x<H>x<bpp>[:<R>/<G>/<B>][+<offset>] - Some examples: + There are also some useful aliases (e.g. "console" aka "cons"). Some + examples: -rawfb shm:210337933@800x600x32:ff/ff00/ff0000 -rawfb map:/dev/fb0@1024x768x16 @@ -4990,14 +5022,21 @@ ied) -rawfb snap:/dev/video0@320x240x24 -24to32 + -rawfb console + + -rawfb video + + -rawfb setup:mycmd.sh + So the type can be "shm" for shared memory objects, and "map" or "file" for file objects. "map" uses mmap(2) to map the file into memory and is preferred over "file" (that uses the slower lseek(2) access method). Only use file if map isn't working. BTW, "mmap" is an alias for "map" and if you do not supply a type and the file exists, - map is assumed. The "snap:" setting applies the [551]-snapfb option - with "file:" type reading (this is useful for exporting webcams or TV - tuner video; see [552]the next FAQ for more info). + map is assumed (see the -help output and below for some exceptions to + this). The "snap:" setting applies the [566]-snapfb option with + "file:" type reading (this is useful for exporting webcams or TV tuner + video; see [567]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 @@ -5009,7 +5048,7 @@ ied) polls the area for changes. See shmat(2) and ipcs(8) for more info. The ipcs command will list current shared memory segments on the system. Sometimes you can snoop on a program's framebuffer it did not - expect you would be polling. + expect you would be polling! The object will be the path to the regular or character special file for the cases of map and file. The idea here is that in the case of a @@ -5022,7 +5061,8 @@ ied) the case of the Linux framebuffer device, /dev/fb0, the fbset(8) may be of use (but may not always be accurate for what is currently viewable). In general some guessing may be required, especially for - the bpp. + the bpp. Update: in "-rawfb console" mode x11vnc will use the linuxfb + API to try to guess (it is still not always accurate). Based on the bpp x11vnc will try to guess the red, green, and blue masks (these indicate which bits correspond to each color). It if gets @@ -5036,9 +5076,9 @@ ied) framebuffer has options -shmem and -fbdir for exporting its virtual screen to either shm or a mapped file. The format of these is XWD and so the initial header should be skipped. BTW, since XWD is not - strictly RGB the view will only be approximate. Of course for the case - of Xvfb x11vnc can poll it much better via the [553]X API, but you get - the idea. + 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 [568]X + API, but you get the idea. By default in -rawfb mode x11vnc will actually close any X display it happened to open. This is basically to shake out bugs (e.g it will @@ -5050,16 +5090,45 @@ ied) /path/to/file" mechanism could also be used for remote control to avoid the X property channel. Rare usage, but if you also supply -noviewonly in this "+" mode then the mouse and keyboard input are - still sent to the X display, presumably for doing something strange + still sent to the X display, presumably for doing something amusing with /dev/fb... - - All of the above was just for viewing the raw framebuffer. That may be - enough for certain applications of this feature (e.g. suppose a - [554]video camera mapped its framebuffer into memory). To handle the - pointer and keyboard input from the viewer users the "-pipeinput cmd" - option was added to indicate a helper program to process the user - input. The input is streamed to it and looks something like this: + Interesting Devices:. Here are some interesting device files that can + be polled via -rawfb: + -rawfb console /dev/fb0 Linux Console + -rawfb video /dev/video0 Video4Linux Capture device + -rawfb rand /dev/urandom Random Bytes + -rawfb null /dev/zero Zero Bytes (black screen) + + The Linux console, /dev/fb0, etc needs to have its driver enable in + the kernel. Some of the drivers are video card specific and + accelerated. The console is either the Text consoles (usually + tty1-tty6), or X graphical display (usually starting at tty7). In + addition to text console may be other graphical ones may be viewed and + interacted with, e.g. SVGAlib apps, VMWare non-X fullscreen, or + [569]Qt-embedded apps (PDAs/Handhelds). By default the pipeinput + mechanisms UINPUT and CONS (keystrokes only) are automatically + attempted in this mode under "-rawfb console" (also "-rawfb cons"). + + The Video4Linux Capture device, /dev/video0, etc is either a Webcam or + a TV capture device and needs to have its driver enable in the kernel. + See [570]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). + + The last two, /dev/urandom and /dev/zero are just for fun, but are + also useful in testing. + + + All of the above [571]-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 [572]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 + process the user input. The input is streamed to it and looks + something like this: Pointer 1 205 257 0 None Pointer 1 198 253 0 None Pointer 1 198 253 1 ButtonPress-1 @@ -5074,14 +5143,15 @@ ied) Run "-pipeinput tee:/bin/cat" to get a description of the format. Note that the -pipeinput option is independent of -rawfb mode and so may - have some other interesting uses. BTW, the "tee:" prefix means x11vnc - will both process the user input and pipe it to the command. The - default is to just pipe it to the -pipeinput command. + have some other interesting uses. The "tee:" prefix means x11vnc will + both process the user input and pipe it to the command. The default is + to just pipe it to the -pipeinput command. Note the -pipeinput helper program could actually control the raw framebuffer. In the libvncserver CVS a simple example program x11vnc/misc/slide.pl is provided that demonstrates a simple jpeg - "slideshow" application. + "slideshow" application. Also the builtin "-pipeinput VID" mode does + this for webcams and TV capture devices (/dev/video0). The -pipeinput program is run with these environment variables set: X11VNC_PID, X11VNC_PROG, X11VNC_CMDLINE, X11VNC_RAWFB_STR to aid its @@ -5091,50 +5161,70 @@ ied) keystrokes into the Linux console (e.g. the virtual consoles: /dev/tty1, /dev/tty2, etc) in x11vnc/misc/vcinject.pl. It is based on the vncterm/LinuxVNC.c program also in the libvncserver CVS. So to - view and interact with VC #2 (assuming it is the [555]active VC) one + view and interact with VC #2 (assuming it is the [573]active VC) one can run something like: x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2' This assumes your Linux framebuffer device (/dev/fb0) is properly configured. See fbset(8) and other documentation. Try - "file:/dev/fb0@WxHxB" as a last resort. + "file:/dev/fb0@WxHxB" as a last resort. Starting with x11vnc 0.8.1, + the above vc injection is built in, as well as WxHxB determination. + Just use something like: + x11vnc -rawfb cons (same as "-rawfb console") - Starting with x11vnc 0.8.1, the above vc injection is built in, as - well as WxHxB determination. Just use something like: - x11vnc -rawfb cons - - This will try to guess the active virtual console (via /dev/tty0) and + this will try to guess the active virtual console (via /dev/tty0) and also the /dev/fb0 WxHxB and rgb masks automatically. Use, e.g., - "-rawfb cons3" to force the VT number. Here is the -help output for - this mode: + "-rawfb cons3" to force the VT number. This input method can be used + generally via "-pipeinput CONS". Also starting with x11vnc 0.8.2 the + "-pipeinput UINPUT" mode is tried first (it does both keyboard and + mouse input) and then falls back to CONS mode if it is not available. + Here is the -help output for this mode: If the rawfb string begins with "cons" the framebuffer device - /dev/fb0 is opened (this requires the appropriate kernel modules) - and so is /dev/tty0. The latter is used to inject keystrokes (not - all are supported, but the basic ones are). You will need to be - root to inject keystrokes. /dev/tty0 refers to the active VT, to - indicate one explicitly, use "cons2", etc. using the VT number. + /dev/fb0 is opened (this requires the appropriate kernel modules to + be installed) and so is /dev/tty0. The latter is used to inject + keystrokes (not all are supported, but the basic ones are). You + will need to be root to inject keystrokes. /dev/tty0 refers to the + active VT, to indicate one explicitly, use "cons2", etc. using the + VT number. + + If the Linux version seems to be 2.6 or later and the "uinput" + module appears to be present, then the uinput method will be used + instead of /dev/ttyN. uinput allows insertion of BOTH keystrokes + and mouse input and so it preferred when accessing graphical (e.g. + QT-embedded) linux console apps. See -pipeinput UINPUT below for + more information on this mode (you may want to also use the + -nodragging and -cursor none options). Use "cons0", etc or + -pipeinput CONS to force the /dev/ttyN method. + Note you can change VT remotely using the chvt(1) command. - Sometimes switching out and back corrects the framebuffer. To skip - injecting entirely use "consx". + Sometimes switching out and back corrects the framebuffer state. + + To skip input injecting entirely use "consx". The strings "console", or "/dev/fb0" can be used instead of "cons". The latter can be used to specify a different framebuffer device, - e.g. /dev/fb1. If the name is something nonstandard, use - "cons:/dev/foofb" + e.g. /dev/fb1. As a shortcut the "/dev/" can be dropped. If the + name is something nonstandard, use "cons:/dev/foofb" If you do not want x11vnc to guess the framebuffer's WxHxB and - masks automatically, specify them with a @WxHxB at the end of the - string. - - The above is just an example of what can be done. If you really want - to view and interact with the Linux console it is better to use the - more accurate and faster LinuxVNC program. The only advantage x11vnc - -rawfb might have is that it can presumably allow interaction with a - non-text application, e.g. one based on svgalib. For example the - [556]VMWare Fullscreen mode is actually viewable under -rawfb. But - this isn't much use until one figures out how to inject keystrokes and - mouse events... + masks automatically (sometimes the kernel given inaccurate + information), specify them with a @WxHxB at the end of the string. + + The above is just an example of what can be done. Note that if you + really want to view and interact with the Linux Text console it is + 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 + [574]Qt-embedded Also, for example the [575]VMWare Fullscreen mode is + actually viewable under -rawfb and can be interacted with if uinput is + enabled. + + If the Linux uinput driver is available then full keystroke and mouse + input into the Linux console can be performed. You may be able to + enable uinput via commands like these: + modprobe uinput + mknod /dev/input/uinput c 10 223 The -rawfb and -pipeinput features are intended to help one creatively "get out of a jam" (say on a legacy or embedded device) where X is @@ -5146,9 +5236,9 @@ ied) Q-91: Can I export via VNC a Webcam or TV tuner framebuffer using x11vnc? - Yes, this is possible to some degree with the [557]-rawfb option. + Yes, this is possible to some degree with the [576]-rawfb option. There is no X11 involved: snapshots from the video capture device are - used for the screen image data. See the [558]previous FAQ on -rawfb + used for the screen image data. See the [577]previous FAQ on -rawfb for background. For best results, use x11vnc version 0.8.1 or later. Roughly, one would do something like this: @@ -5160,7 +5250,7 @@ ied) snapshot to a file that you point -rawfb to; ask me if it is not clear what to do). - The "snap:" enforces [559]-snapfb mode which appears to be necessary. + The "snap:" enforces [578]-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. @@ -5182,7 +5272,7 @@ ied) Many video4linux drivers tend to set the framebuffer to be 24bpp (as opposed to 32bpp). Since this can cause problems with VNC viewers, - etc, the [560]-24to32 option will be automatically imposed when in + etc, the [579]-24to32 option will be automatically imposed when in 24bpp. Note that by its very nature, video capture involves rapid change in @@ -5190,7 +5280,7 @@ ied) wavering in brightness is always happening. This can lead to much network bandwidth consumption for the VNC traffic and also local CPU and I/O resource usage. You may want to experiment with "dialing down" - the framerate via the [561]-wait, [562]-slow_fb, or [563]-defer + the framerate via the [580]-wait, [581]-slow_fb, or [582]-defer options. Decreasing the window size and bpp also helps. @@ -5259,9 +5349,10 @@ ied) they are used verbatim: the device is not queried for the current values. Otherwise the device will be queried. - Also, if you supply the "-pipeinput VID" option you can control the - settings to some degree via keystroke mappings, e.g. B to increase the - brightness or Up arrow to change the TV station: + Also, if you supply the "-pipeinput VID" (or use "-rawfb Video") + option you can control the settings to some degree via keystroke + mappings, e.g. B to increase the brightness or Up arrow to change the + TV station: For "-pipeinput VID" and you are using the -rawfb for a video capture device, then an internal list of keyboard mappings is used @@ -5278,12 +5369,55 @@ ied) format to HI240, RGB565, RGB24, RGB32, RGB555, and GREY respectively. See -rawfb video for details. - See also the [564]-freqtab option to supply your own xawtv channel to + See also the [583]-freqtab option to supply your own xawtv channel to frequency mappings for your country (only ntsc-cable-us is built into x11vnc). - Q-92: I am using x11vnc where my local machine has "popup/hidden + Q-92: Can I view via VNC a Qt-embedded application running on my + handheld or PC using the Linux console framebuffer (i.e. not X11)? + + Yes, the basic method for this is the [584]-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: + x11vnc -rawfb cons + + (you may need to enable uinput via "modprobe uinput; mknod + /dev/input/uinput c 10 223") If this does not find the correct frame + buffer properties figure them out or guess them and use something + like: + x11vnc -rawfb /dev/fb0@640x480x16 + + Also, to force usage of the uinput injection method use "-pipeinput + UINPUT". + + One problem with the x11vnc uinput scheme is that it cannot guess the + mouse motion "acceleration" used by the windowing application (e.g. + QWS or X11). For X11 and Qt-embedded the acceleration is usually 2 + (i.e. a dx of 1 from the mouse yields a 2 pixel displacement of the + mouse cursor). The default x11vnc uses is 2, since that is often used. + However for one Qt-embedded system we needed to do: + x11vnc -rawfb cons -pipeinput UINPUT:accel=4.0 + + to get reasonable positioning of the mouse. + + 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 two + times a second. See the [585]-pipeinput UINPUT option for tuning + parameters that can be set. + + Currently, one can expect mouse input to be a little flakey. All in + all, the Linux framebuffer input mechanism for Qt-embedded framebuffer + apps is not perfect, but is usable. + + Note that Qt-embedded supplies its own VNC graphics driver, but it + cannot do both the Linux console framebuffer and VNC at the same time, + which is often what is desired from VNC. + + + Q-93: I am using x11vnc where my local machine has "popup/hidden taskbars" (e.g. GNOME or MacOS X) and the remote display where x11vnc runs also has "popup/hidden taskbars" (e.g. GNOME). When I move the mouse to the edge of the screen where the popups happen, the taskbars @@ -5298,22 +5432,24 @@ ied) [Misc: Clipboard, File Transfer, Sound, Beeps, Thanks, etc.] - Q-93: Does the Clipboard/Selection get transferred between the + Q-94: 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 selection (Xvnc does - not seem to do this). If you don't want the Clipboard/Selection - exchanged use the [565]-nosel option. If you don't want the PRIMARY - selection to be polled for changes use the [566]-noprimary option. You - can also fine-tune it a bit with the [567]-seldir dir option. + 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 [586]-nosel option. If you don't + want the PRIMARY selection to be polled for changes use the + [587]-noprimary option. (with a similar thing for CLIPBOARD). You can + also fine-tune it a bit with the [588]-seldir dir option and also + [589]-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-94: Can I transfer files back and forth with x11vnc? + Q-95: 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 @@ -5321,7 +5457,7 @@ ied) (and Windows viewers only support filetransfer it appears). TightVNC file transfer is on by default, if you want to disable it use - the [568]-nofilexfer option. UltraVNC file transfer is currently off + the [590]-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 @@ -5329,13 +5465,13 @@ ied) be version 3.6). - Q-95: How can I hear the sound (audio) from the remote applications on + Q-96: 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. Audio is not part of the VNC protocol. - We show a simple unix to unix esd method here (artsd should be + We show a simple unix to unix esd example here (artsd should be possible too, and perhaps even one or both of these have been ported to Windows so you can redirect the sound there). @@ -5391,10 +5527,11 @@ ied) desktop with sound directed to localhost:16001. When we are sitting at far-away.east we run "esd -promiscuous -port 16001 -tcp" on far-away.east (to be able to hear the sound). However, when we are - sitting at sitting-here.west we kill the esd process and run that same - esd command on sitting-here.west and start up the above ssh tunnel. - This is a little awkward, but with some scripts one would probably - kill and restart the esd processes automatically. + sitting at sitting-here.west we kill that esd process and run that + same esd command on sitting-here.west and start up the above ssh + tunnel. This is a little awkward, but with some scripts one would + probably kill and restart the esd processes automatically when x11vnc + is used. So next we have to run the whole desktop pointing toward our esd. Here is a simple way to test. Log in to the machine via the "FailSafe" @@ -5403,14 +5540,14 @@ ied) or: esddsp -s localhost:16001 startkde - or whatever command starts your desktop. This causes the environment - variables ESPEAKER and LD_PRELOAD to be set appropriately and every - application (processes with the desktop as an ancestor) will use them. - If this scheme works well you can make it less klunky by adding the - command to your ~/.xsession, etc. file that starts your default - desktop. Or you may be able to configure your desktop to use - localhost:16001, or whatever is needed, via a gui configuration panel. - Some Notes: + where the last part is whatever command starts your desktop (even + fvwm2). This causes the environment variables ESPEAKER and LD_PRELOAD + to be set appropriately and every application (processes with the + desktop as an ancestor) will use them. If this scheme works well you + can make it less klunky by adding the command to your ~/.xsession, + etc. file that starts your default desktop. Or you may be able to + configure your desktop to use localhost:16001, or whatever is needed, + via a gui configuration panel. Some Notes: * Not all audio applications are compatible with the esd and artsd mechanisms, but many are. * The audio is not compressed so you probably need a broadband or @@ -5424,7 +5561,7 @@ or: the applications will fail to run because LD_PRELOAD will point to libraries of the wrong wordsize. - Q-96: Why don't I hear the "Beeps" in my X session (e.g. when typing + Q-97: 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 @@ -5432,16 +5569,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 [569]-nobell option. If + If you don't want to hear the beeps use the [591]-nobell option. If you want to hear the audio from the remote applications, consider - trying a [570]redirector such as esd. + trying a [592]redirector such as esd. Contributions: - Q-97: Thanks for your program and for your help! Can I make a + Q-98: 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! @@ -5451,576 +5588,598 @@ or: References - 1. http://www.karlrunge.com/x11vnc/index.html#faq - 2. http://www.karlrunge.com/x11vnc/index.html#downloading - 3. http://www.karlrunge.com/x11vnc/index.html#building - 4. http://www.karlrunge.com/x11vnc/index.html#beta-test - 5. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 6. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 7. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 8. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 9. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 10. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 11. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 12. http://www.karlrunge.com/x11vnc/index.html#faq-video - 13. http://www.karlrunge.com/x11vnc/index.html#faq - 14. http://www.karlrunge.com/x11vnc/disclaimer.html - 15. http://www.karlrunge.com/x11vnc/index.html#contact + 1. http://karl.runges.net/x11vnc/index.html#faq + 2. http://karl.runges.net/x11vnc/index.html#downloading + 3. http://karl.runges.net/x11vnc/index.html#building + 4. http://karl.runges.net/x11vnc/index.html#beta-test + 5. http://karl.runges.net/x11vnc/index.html#faq-thanks + 6. http://karl.runges.net/x11vnc/index.html#faq-thanks + 7. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-int + 8. http://karl.runges.net/x11vnc/index.html#faq-userlogin + 9. http://karl.runges.net/x11vnc/index.html#faq-scaling + 10. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 11. http://karl.runges.net/x11vnc/index.html#faq-filexfer + 12. http://karl.runges.net/x11vnc/index.html#faq-video + 13. http://karl.runges.net/x11vnc/index.html#faq + 14. http://karl.runges.net/x11vnc/disclaimer.html + 15. http://karl.runges.net/x11vnc/index.html#contact 16. http://www.realvnc.com/ 17. http://www.tightvnc.com/ 18. http://www.ultravnc.com/ 19. http://www.redstonesoftware.com/vnc.html - 20. http://www.karlrunge.com/x11vnc/index.html#downloading + 20. http://karl.runges.net/x11vnc/index.html#downloading 21. http://www.tightvnc.com/download.html - 22. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 23. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 24. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 25. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download + 22. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-auth + 23. http://karl.runges.net/x11vnc/index.html#faq-xperms + 24. http://karl.runges.net/x11vnc/index.html#faq-xperms + 25. http://karl.runges.net/x11vnc/index.html#faq-viewer-download 26. http://www.sun.com/software/solaris/freeware/ - 27. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 28. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 29. http://www.karlrunge.com/x11vnc/index.html#faq-service - 30. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 31. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 32. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 33. http://www.karlrunge.com/x11vnc/index.html#vnc_password_file - 34. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 35. http://www.karlrunge.com/x11vnc/index.html#tightvnc_via - 36. http://www.karlrunge.com/x11vnc/chainingssh.html - 37. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 38. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 39. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 40. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 41. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 42. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 43. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 44. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 45. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 46. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 47. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers + 27. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-forever + 28. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-forever + 29. http://karl.runges.net/x11vnc/index.html#faq-service + 30. http://karl.runges.net/x11vnc/index.html#faq-passwd + 31. http://karl.runges.net/x11vnc/index.html#vnc_password_file + 32. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-connect + 33. http://karl.runges.net/x11vnc/index.html#vnc_password_file + 34. http://karl.runges.net/x11vnc/index.html#faq-inetd + 35. http://karl.runges.net/x11vnc/index.html#tightvnc_via + 36. http://karl.runges.net/x11vnc/chainingssh.html + 37. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-bg + 38. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-connect + 39. http://karl.runges.net/x11vnc/index.html#faq-inetd + 40. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbauth + 41. http://karl.runges.net/x11vnc/index.html#faq-passwd + 42. http://karl.runges.net/x11vnc/index.html#faq-passwdfile + 43. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwdfile + 44. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-usepw + 45. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 46. http://karl.runges.net/x11vnc/index.html#faq-allow-opt + 47. http://karl.runges.net/x11vnc/index.html#faq-tcp_wrappers 48. http://www.stunnel.org/ - 49. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 50. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int + 49. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 50. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-int 51. http://sourceforge.net/projects/libvncserver/ 52. http://sourceforge.net/project/showfiles.php?group_id=32584&package_id=119006&release_id=422738 53. http://sourceforge.net/project/shownotes.php?release_id=422738&group_id=32584 54. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz - 55. http://www.karlrunge.com/x11vnc/index.html#faq-binaries + 55. http://karl.runges.net/x11vnc/index.html#faq-binaries 56. http://www.tightvnc.com/download.html 57. http://www.realvnc.com/download-free.html 58. http://sourceforge.net/projects/cotvnc/ 59. http://www.ultravnc.com/ - 60. http://www.karlrunge.com/x11vnc/rx11vnc - 61. http://www.karlrunge.com/x11vnc/rx11vnc.pl + 60. http://karl.runges.net/x11vnc/rx11vnc + 61. http://karl.runges.net/x11vnc/rx11vnc.pl 62. http://www.sunfreeware.com/ - 63. http://www.karlrunge.com/x11vnc/bins - 64. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 65. http://www.karlrunge.com/x11vnc/miscbuild.html + 63. http://karl.runges.net/x11vnc/bins + 64. http://karl.runges.net/x11vnc/index.html#solarisbuilding + 65. http://karl.runges.net/x11vnc/miscbuild.html 66. ftp://ftp.uu.net/graphics/jpeg/ 67. http://www.gzip.org/zlib/ 68. http://www.sunfreeware.com/ - 69. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 70. http://www.karlrunge.com/x11vnc/x11vnc-0.8.2.tar.gz - 71. http://www.karlrunge.com/x11vnc/bins + 69. http://karl.runges.net/x11vnc/index.html#faq-solaris251build + 70. http://karl.runges.net/x11vnc/x11vnc-0.8.2.tar.gz + 71. http://karl.runges.net/x11vnc/bins 72. mailto:x11vnc-beta@karlrunge.com - 73. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 74. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 75. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 76. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 77. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noclipboard - 78. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosetclipboard - 79. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 80. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 81. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fbpm - 82. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 83. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl + 73. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 74. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 75. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-24to32 + 76. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-usepw + 77. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noclipboard + 78. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nosetclipboard + 79. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-capslock + 80. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 81. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fbpm + 82. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xinerama + 83. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl 84. http://www.openssl.org/ - 85. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel + 85. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel 86. http://www.stunnel.org/ - 87. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 88. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 89. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 90. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 91. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 92. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 93. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 94. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 95. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 96. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 97. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 98. http://www.karlrunge.com/x11vnc/prevrels.html - 99. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 100. http://www.tightvnc.com/ - 101. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 102. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 103. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 104. http://www.karlrunge.com/x11vnc/recurse_x11vnc.jpg - 105. http://wwws.sun.com/sunray/index.html - 106. http://www.karlrunge.com/x11vnc/sunray.html - 107. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 108. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 109. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 110. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 111. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 112. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 113. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 114. mailto:xvml@karlrunge.com - 115. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 116. http://www.karlrunge.com/x11vnc/index.html#faq-xperms - 117. http://www.karlrunge.com/x11vnc/index.html#faq-build - 118. http://www.karlrunge.com/x11vnc/index.html#faq-missing-xtest - 119. http://www.karlrunge.com/x11vnc/index.html#faq-solaris251build - 120. http://www.karlrunge.com/x11vnc/index.html#faq-binaries - 121. http://www.karlrunge.com/x11vnc/index.html#faq-viewer-download - 122. http://www.karlrunge.com/x11vnc/index.html#faq-cmdline-opts - 123. http://www.karlrunge.com/x11vnc/index.html#faq-config-file - 124. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 125. http://www.karlrunge.com/x11vnc/index.html#faq-quiet-bg - 126. http://www.karlrunge.com/x11vnc/index.html#faq-sigpipe - 127. http://www.karlrunge.com/x11vnc/index.html#faq-build-customizations - 128. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc - 129. http://www.karlrunge.com/x11vnc/index.html#faq-win2vnc-8bpp - 130. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 131. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 132. http://www.karlrunge.com/x11vnc/index.html#faq-windowid - 133. http://www.karlrunge.com/x11vnc/index.html#faq-transients-id - 134. http://www.karlrunge.com/x11vnc/index.html#faq-24bpp - 135. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 136. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 137. http://www.karlrunge.com/x11vnc/index.html#faq-sunrays - 138. http://www.karlrunge.com/x11vnc/index.html#faq-stop-bg - 139. http://www.karlrunge.com/x11vnc/index.html#faq-remote_control - 140. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 141. http://www.karlrunge.com/x11vnc/index.html#faq-passwd-noecho - 142. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 143. http://www.karlrunge.com/x11vnc/index.html#faq-multipasswd - 144. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 145. http://www.karlrunge.com/x11vnc/index.html#faq-forever-shared - 146. http://www.karlrunge.com/x11vnc/index.html#faq-allow-opt - 147. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 148. http://www.karlrunge.com/x11vnc/index.html#faq-listen-interface - 149. http://www.karlrunge.com/x11vnc/index.html#faq-listen-localhost - 150. http://www.karlrunge.com/x11vnc/index.html#faq-input-opt - 151. http://www.karlrunge.com/x11vnc/index.html#faq-accept-opt - 152. http://www.karlrunge.com/x11vnc/index.html#faq-users-opt - 153. http://www.karlrunge.com/x11vnc/index.html#faq-blockdpy - 154. http://www.karlrunge.com/x11vnc/index.html#faq-gone-lock - 155. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-unix - 156. http://www.karlrunge.com/x11vnc/index.html#faq-ssh-putty - 157. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 158. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 159. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 160. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 161. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 162. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-ca - 163. http://www.karlrunge.com/x11vnc/index.html#faq-service - 164. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 165. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 166. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 167. http://www.karlrunge.com/x11vnc/index.html#faq-loop - 168. http://www.karlrunge.com/x11vnc/index.html#faq-java-http - 169. http://www.karlrunge.com/x11vnc/index.html#faq-reverse-connect - 170. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 171. http://www.karlrunge.com/x11vnc/index.html#faq-headless - 172. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 173. http://www.karlrunge.com/x11vnc/index.html#faq-less-resource - 174. http://www.karlrunge.com/x11vnc/index.html#faq-more-resource - 175. http://www.karlrunge.com/x11vnc/index.html#faq-slow-link - 176. http://www.karlrunge.com/x11vnc/index.html#faq-xdamage - 177. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 178. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 179. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 180. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-shape - 181. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha - 182. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 183. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-arrow - 184. http://www.karlrunge.com/x11vnc/index.html#faq-cursor-positions - 185. http://www.karlrunge.com/x11vnc/index.html#faq-buttonmap-opt - 186. http://www.karlrunge.com/x11vnc/index.html#faq-altgr - 187. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 188. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless-sloppy - 189. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 190. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys - 191. http://www.karlrunge.com/x11vnc/index.html#faq-repeated-keys-still - 192. http://www.karlrunge.com/x11vnc/index.html#faq-remap-opt - 193. http://www.karlrunge.com/x11vnc/index.html#faq-sun-alt-meta - 194. http://www.karlrunge.com/x11vnc/index.html#faq-remap-button-click - 195. http://www.karlrunge.com/x11vnc/index.html#faq-remap-capslock - 196. http://www.karlrunge.com/x11vnc/index.html#faq-scrollbars - 197. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 198. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 199. http://www.karlrunge.com/x11vnc/index.html#faq-multi-screen - 200. http://www.karlrunge.com/x11vnc/index.html#faq-clip-screen - 201. http://www.karlrunge.com/x11vnc/index.html#faq-xrandr - 202. http://www.karlrunge.com/x11vnc/index.html#faq-black-screen - 203. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 204. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 205. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 206. http://www.karlrunge.com/x11vnc/index.html#faq-video - 207. http://www.karlrunge.com/x11vnc/index.html#faq-hidden-taskbars - 208. http://www.karlrunge.com/x11vnc/index.html#faq-clipboard - 209. http://www.karlrunge.com/x11vnc/index.html#faq-filexfer - 210. http://www.karlrunge.com/x11vnc/index.html#faq-sound - 211. http://www.karlrunge.com/x11vnc/index.html#faq-beeps - 212. http://www.karlrunge.com/x11vnc/index.html#faq-thanks - 213. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 214. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 215. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 216. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 217. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 218. http://www.karlrunge.com/x11vnc/x11vnc_sunos4.html - 219. http://www.karlrunge.com/x11vnc/index.html#building - 220. http://www.karlrunge.com/x11vnc/index.html#faq-build - 221. http://packages.debian.org/x11vnc - 222. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc - 223. http://dag.wieers.com/packages/x11vnc/ - 224. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html - 225. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ - 226. http://www.sunfreeware.com/ - 227. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all - 228. http://www.freshports.org/net/x11vnc - 229. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html - 230. http://pkgsrc.se/x11/x11vnc - 231. http://mike.saunby.net/770/x11vnc/ - 232. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc - 233. http://www.focv.com/ipkg/ - 234. http://www.karlrunge.com/x11vnc/bins - 235. http://www.tightvnc.com/download.html - 236. http://www.realvnc.com/download-free.html - 237. http://sourceforge.net/projects/cotvnc/ - 238. http://www.ultravnc.com/ - 239. http://www.karlrunge.com/x11vnc/x11vnc_opts.html - 240. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 241. http://www.karlrunge.com/x11vnc/index.html#faq-gui-tray - 242. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 243. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 244. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-o - 245. http://www.karlrunge.com/x11vnc/index.html#solarisbuilding - 246. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofb - 247. http://fredrik.hubbe.net/x2vnc.html - 248. http://www.hubbe.net/~hubbe/win2vnc.html - 249. http://www.deboer.gmxhome.de/ - 250. http://sourceforge.net/projects/win2vnc/ - 251. http://fredrik.hubbe.net/x2vnc.html - 252. http://freshmeat.net/projects/x2x/ - 253. http://ftp.digital.com/pub/Digital/SRC/x2x/ - 254. http://zapek.com/software/zvnc/ - 255. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-visual - 256. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 257. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 258. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-notruecolor - 259. http://www.karlrunge.com/x11vnc/index.html#faq-8bpp - 260. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 261. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 262. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 263. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 264. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flashcmap - 265. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 266. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 267. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 268. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-8to24 - 269. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 270. http://www.karlrunge.com/x11vnc/index.html#faq-overlays - 271. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 272. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sid - 273. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 274. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display - 275. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 276. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-flipbyteorder - 277. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 278. http://www.karlrunge.com/x11vnc/index.html#xauth_pain - 279. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 280. http://wwws.sun.com/sunray/index.html - 281. http://www.karlrunge.com/x11vnc/sunray.html - 282. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 283. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 284. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 285. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-bg - 286. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_mods - 287. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clear_keys - 288. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 289. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-query - 290. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 291. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-storepasswd - 292. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 293. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 294. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 295. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewpasswd - 296. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwd - 297. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 298. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 299. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 300. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 301. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw_nis - 302. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 303. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 304. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 305. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 306. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel - 307. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 308. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-forever - 309. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-shared - 310. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 311. http://www.karlrunge.com/x11vnc/index.html#faq-passwd - 312. http://www.karlrunge.com/x11vnc/index.html#faq-passwdfile - 313. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 314. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 315. http://www.karlrunge.com/x11vnc/index.html#faq-tcp_wrappers - 316. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 317. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 318. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 319. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 320. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 321. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 322. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-listen - 323. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-allow - 324. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 325. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-input - 326. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 327. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-viewonly - 328. ftp://ftp.x.org/ - 329. http://www.karlrunge.com/x11vnc/dtVncPopup - 330. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 331. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 332. http://www.karlrunge.com/x11vnc/blockdpy.c - 333. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-accept - 334. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 335. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gone - 336. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept - 337. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 338. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 339. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-localhost - 340. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 341. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 342. http://www.karlrunge.com/x11vnc/index.html#gateway_double_ssh - 343. http://www.karlrunge.com/x11vnc/index.html#tunnelling - 344. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 345. http://www.stunnel.org/ - 346. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 347. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 348. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 349. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 350. http://www.stunnel.org/ - 351. http://www.karlrunge.com/x11vnc/ssl.html - 352. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 353. http://www.karlrunge.com/x11vnc/ssl.html - 354. http://www.securityfocus.com/infocus/1677 - 355. http://www.karlrunge.com/x11vnc/ssl.html - 356. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 357. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 358. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 359. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 360. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 361. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 362. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 363. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 364. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 365. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 366. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 367. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 368. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 369. http://www.openssl.org/ - 370. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-stunnel - 371. http://www.stunnel.org/ - 372. http://www.karlrunge.com/x11vnc/ssl.html - 373. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 374. http://www.karlrunge.com/x11vnc/ssl.html - 375. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 376. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 377. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 378. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 379. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-portal - 380. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-https - 381. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 382. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 383. http://www.karlrunge.com/x11vnc/ssl-portal.html - 384. http://www.karlrunge.com/x11vnc/ssl.html - 385. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer - 386. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-viewers - 387. http://www.karlrunge.com/x11vnc/ssl-portal.html - 388. http://www.karlrunge.com/x11vnc/ssl.html - 389. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 390. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 391. http://www.karlrunge.com/x11vnc/index.html#faq-userlogin - 392. http://www.karlrunge.com/x11vnc/index.html#x11vnc_loop - 393. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 394. http://www.karlrunge.com/x11vnc/index.html#dtlogin_solaris - 395. http://www.jirka.org/gdm-documentation/x241.html - 396. http://www.karlrunge.com/x11vnc/x11vnc_loop - 397. http://www.karlrunge.com/x11vnc/index.html#faq-xterminal-xauth - 398. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-inetd - 399. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-q - 400. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-auth - 401. http://www.karlrunge.com/x11vnc/index.html#faq-inetd - 402. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 403. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 404. http://www.karlrunge.com/x11vnc/index.html#stunnel-inetd - 405. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-display_WAIT - 406. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 407. http://www.karlrunge.com/x11vnc/index.html#faq-unix-passwords - 408. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-users - 409. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-int - 410. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-loop - 411. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-httpdir - 412. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http - 413. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 414. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remote - 415. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-vncconnect - 416. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 417. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 418. http://www.karlrunge.com/x11vnc/Xdummy - 419. http://www.karlrunge.com/x11vnc/index.html#display-manager-continuously - 420. http://www.karlrunge.com/x11vnc/shm_clear - 421. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 422. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 423. http://www.karlrunge.com/x11vnc/index.html#faq-noshm - 424. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nap - 425. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 426. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 427. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 428. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 429. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 430. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 431. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 432. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 433. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 434. http://www.tightvnc.com/ - 435. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 436. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 437. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-speeds - 438. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 439. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fs - 440. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 441. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 442. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-progressive - 443. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 444. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 445. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 446. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 447. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-readtimeout - 448. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 449. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_area - 450. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xd_mem - 451. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noxdamage - 452. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 453. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 454. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 455. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nodragging - 456. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-pointer_mode - 457. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-threads - 458. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 459. http://www.karlrunge.com/x11vnc/index.html#faq-scrollcopyrect - 460. http://www.karlrunge.com/x11vnc/index.html#faq-pointer-mode - 461. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 462. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 463. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 464. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 465. http://www.karlrunge.com/x11vnc/index.html#fb_read_slow - 466. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 467. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wireframe - 468. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wirecopyrect - 469. http://www.karlrunge.com/x11vnc/index.html#faq-wireframe - 470. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-fixscreen - 471. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scr_skip - 472. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 473. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scrollcopyrect - 474. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 475. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursor - 476. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-overlay - 477. http://www.karlrunge.com/x11vnc/index.html#the-overlay-mode - 478. http://www.karlrunge.com/x11vnc/index.html#solaris10-build - 479. http://www.karlrunge.com/x11vnc/index.html#faq-xfixes-alpha-hacks - 480. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphacut - 481. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alphafrac - 482. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-alpharemove - 483. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 484. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noalphablend - 485. http://www.tightvnc.com/ - 486. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursor - 487. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-cursorpos - 488. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorpos - 489. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nocursorshape - 490. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 491. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_pointer - 492. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-buttonmap - 493. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 494. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 495. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 496. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 497. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 498. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 499. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 500. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 501. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 502. http://www.karlrunge.com/x11vnc/index.html#faq-xkbmodtweak - 503. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-debug_keyboard - 504. http://www.karlrunge.com/x11vnc/index.html#faq-greaterless - 505. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 506. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sloppy_keys - 507. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-modtweak - 508. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 509. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xkb - 510. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_keycodes - 511. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 512. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 513. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 514. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 515. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-add_keysyms - 516. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 517. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-norepeat - 518. http://www.karlrunge.com/x11vnc/index.html#faq-display-manager - 519. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 520. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 521. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 522. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 523. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-skip_lockkeys - 524. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-remap - 525. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nomodtweak - 526. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-capslock - 527. http://www.karlrunge.com/x11vnc/index.html#faq-scaling - 528. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale - 529. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html - 530. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 531. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-gui - 532. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-connect - 533. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-scale_cursor - 534. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-blackout - 535. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 536. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xinerama - 537. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xwarppointer - 538. http://www.karlrunge.com/x11vnc/index.html#faq-solshm - 539. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-onetile - 540. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noshm - 541. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-clip - 542. http://www.karlrunge.com/x11vnc/index.html#faq-xinerama - 543. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 544. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 545. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-xrandr - 546. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-padgeom - 547. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 548. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 549. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 550. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-id - 551. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 552. http://www.karlrunge.com/x11vnc/index.html#faq-video - 553. http://www.karlrunge.com/x11vnc/index.html#faq-xvfb - 554. http://www.karlrunge.com/x11vnc/index.html#faq-video - 555. http://www.karlrunge.com/x11vnc/index.html#faq-linuxvc - 556. http://www.karlrunge.com/x11vnc/index.html#faq-vmware - 557. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rawfb - 558. http://www.karlrunge.com/x11vnc/index.html#faq-rawfb - 559. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-snapfb - 560. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-24to32 - 561. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 562. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-slow_fb - 563. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-defer - 564. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-freqtab - 565. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nosel - 566. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-noprimary - 567. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-seldir - 568. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nofilexfer - 569. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-nobell - 570. http://www.karlrunge.com/x11vnc/index.html#faq-sound + 87. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 88. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-https + 89. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer + 90. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 91. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 92. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 93. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 94. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 95. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display_WAIT + 96. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display + 97. http://karl.runges.net/x11vnc/index.html#faq-userlogin + 98. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 99. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pipeinput + 100. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-grabkdb + 101. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-grabptr + 102. http://karl.runges.net/x11vnc/prevrels.html + 103. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-solid + 104. http://www.tightvnc.com/ + 105. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbport + 106. http://karl.runges.net/x11vnc/x11vnc_opts.html + 107. http://karl.runges.net/x11vnc/index.html#faq-passwd + 108. http://karl.runges.net/x11vnc/recurse_x11vnc.jpg + 109. http://wwws.sun.com/sunray/index.html + 110. http://karl.runges.net/x11vnc/sunray.html + 111. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 112. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 113. http://karl.runges.net/x11vnc/index.html#faq-xvfb + 114. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-cursor + 115. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-overlay + 116. http://karl.runges.net/x11vnc/index.html#faq-sound + 117. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 118. mailto:xvml@karlrunge.com + 119. http://karl.runges.net/x11vnc/index.html#faq-thanks + 120. http://karl.runges.net/x11vnc/index.html#faq-xperms + 121. http://karl.runges.net/x11vnc/index.html#faq-build + 122. http://karl.runges.net/x11vnc/index.html#faq-missing-xtest + 123. http://karl.runges.net/x11vnc/index.html#faq-solaris251build + 124. http://karl.runges.net/x11vnc/index.html#faq-binaries + 125. http://karl.runges.net/x11vnc/index.html#faq-viewer-download + 126. http://karl.runges.net/x11vnc/index.html#faq-cmdline-opts + 127. http://karl.runges.net/x11vnc/index.html#faq-config-file + 128. http://karl.runges.net/x11vnc/index.html#faq-gui-tray + 129. http://karl.runges.net/x11vnc/index.html#faq-quiet-bg + 130. http://karl.runges.net/x11vnc/index.html#faq-sigpipe + 131. http://karl.runges.net/x11vnc/index.html#faq-build-customizations + 132. http://karl.runges.net/x11vnc/index.html#faq-win2vnc + 133. http://karl.runges.net/x11vnc/index.html#faq-win2vnc-8bpp + 134. http://karl.runges.net/x11vnc/index.html#faq-8bpp + 135. http://karl.runges.net/x11vnc/index.html#faq-overlays + 136. http://karl.runges.net/x11vnc/index.html#faq-windowid + 137. http://karl.runges.net/x11vnc/index.html#faq-transients-id + 138. http://karl.runges.net/x11vnc/index.html#faq-24bpp + 139. http://karl.runges.net/x11vnc/index.html#faq-noshm + 140. http://karl.runges.net/x11vnc/index.html#faq-xterminal-xauth + 141. http://karl.runges.net/x11vnc/index.html#faq-sunrays + 142. http://karl.runges.net/x11vnc/index.html#faq-stop-bg + 143. http://karl.runges.net/x11vnc/index.html#faq-remote_control + 144. http://karl.runges.net/x11vnc/index.html#faq-passwd + 145. http://karl.runges.net/x11vnc/index.html#faq-passwd-noecho + 146. http://karl.runges.net/x11vnc/index.html#faq-passwdfile + 147. http://karl.runges.net/x11vnc/index.html#faq-multipasswd + 148. http://karl.runges.net/x11vnc/index.html#faq-unix-passwords + 149. http://karl.runges.net/x11vnc/index.html#faq-forever-shared + 150. http://karl.runges.net/x11vnc/index.html#faq-allow-opt + 151. http://karl.runges.net/x11vnc/index.html#faq-tcp_wrappers + 152. http://karl.runges.net/x11vnc/index.html#faq-listen-interface + 153. http://karl.runges.net/x11vnc/index.html#faq-listen-localhost + 154. http://karl.runges.net/x11vnc/index.html#faq-input-opt + 155. http://karl.runges.net/x11vnc/index.html#faq-accept-opt + 156. http://karl.runges.net/x11vnc/index.html#faq-users-opt + 157. http://karl.runges.net/x11vnc/index.html#faq-blockdpy + 158. http://karl.runges.net/x11vnc/index.html#faq-gone-lock + 159. http://karl.runges.net/x11vnc/index.html#faq-ssh-unix + 160. http://karl.runges.net/x11vnc/index.html#faq-ssh-putty + 161. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-ext + 162. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-int + 163. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 164. http://karl.runges.net/x11vnc/index.html#faq-ssl-java-viewer-proxy + 165. http://karl.runges.net/x11vnc/index.html#faq-ssl-portal + 166. http://karl.runges.net/x11vnc/index.html#faq-ssl-ca + 167. http://karl.runges.net/x11vnc/index.html#faq-service + 168. http://karl.runges.net/x11vnc/index.html#faq-display-manager + 169. http://karl.runges.net/x11vnc/index.html#faq-inetd + 170. http://karl.runges.net/x11vnc/index.html#faq-userlogin + 171. http://karl.runges.net/x11vnc/index.html#faq-loop + 172. http://karl.runges.net/x11vnc/index.html#faq-java-http + 173. http://karl.runges.net/x11vnc/index.html#faq-reverse-connect + 174. http://karl.runges.net/x11vnc/index.html#faq-xvfb + 175. http://karl.runges.net/x11vnc/index.html#faq-headless + 176. http://karl.runges.net/x11vnc/index.html#faq-solshm + 177. http://karl.runges.net/x11vnc/index.html#faq-less-resource + 178. http://karl.runges.net/x11vnc/index.html#faq-more-resource + 179. http://karl.runges.net/x11vnc/index.html#faq-slow-link + 180. http://karl.runges.net/x11vnc/index.html#faq-xdamage + 181. http://karl.runges.net/x11vnc/index.html#faq-pointer-mode + 182. http://karl.runges.net/x11vnc/index.html#faq-wireframe + 183. http://karl.runges.net/x11vnc/index.html#faq-scrollcopyrect + 184. http://karl.runges.net/x11vnc/index.html#faq-cursor-shape + 185. http://karl.runges.net/x11vnc/index.html#faq-xfixes-alpha + 186. http://karl.runges.net/x11vnc/index.html#faq-xfixes-alpha-hacks + 187. http://karl.runges.net/x11vnc/index.html#faq-cursor-arrow + 188. http://karl.runges.net/x11vnc/index.html#faq-cursor-positions + 189. http://karl.runges.net/x11vnc/index.html#faq-buttonmap-opt + 190. http://karl.runges.net/x11vnc/index.html#faq-altgr + 191. http://karl.runges.net/x11vnc/index.html#faq-greaterless + 192. http://karl.runges.net/x11vnc/index.html#faq-greaterless-sloppy + 193. http://karl.runges.net/x11vnc/index.html#faq-xkbmodtweak + 194. http://karl.runges.net/x11vnc/index.html#faq-repeated-keys + 195. http://karl.runges.net/x11vnc/index.html#faq-repeated-keys-still + 196. http://karl.runges.net/x11vnc/index.html#faq-remap-opt + 197. http://karl.runges.net/x11vnc/index.html#faq-sun-alt-meta + 198. http://karl.runges.net/x11vnc/index.html#faq-remap-button-click + 199. http://karl.runges.net/x11vnc/index.html#faq-remap-capslock + 200. http://karl.runges.net/x11vnc/index.html#faq-scrollbars + 201. http://karl.runges.net/x11vnc/index.html#faq-scaling + 202. http://karl.runges.net/x11vnc/index.html#faq-xinerama + 203. http://karl.runges.net/x11vnc/index.html#faq-multi-screen + 204. http://karl.runges.net/x11vnc/index.html#faq-clip-screen + 205. http://karl.runges.net/x11vnc/index.html#faq-xrandr + 206. http://karl.runges.net/x11vnc/index.html#faq-black-screen + 207. http://karl.runges.net/x11vnc/index.html#faq-linuxvc + 208. http://karl.runges.net/x11vnc/index.html#faq-vmware + 209. http://karl.runges.net/x11vnc/index.html#faq-rawfb + 210. http://karl.runges.net/x11vnc/index.html#faq-video + 211. http://karl.runges.net/x11vnc/index.html#faq-qt-embedded + 212. http://karl.runges.net/x11vnc/index.html#faq-hidden-taskbars + 213. http://karl.runges.net/x11vnc/index.html#faq-clipboard + 214. http://karl.runges.net/x11vnc/index.html#faq-filexfer + 215. http://karl.runges.net/x11vnc/index.html#faq-sound + 216. http://karl.runges.net/x11vnc/index.html#faq-beeps + 217. http://karl.runges.net/x11vnc/index.html#faq-thanks + 218. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display + 219. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-auth + 220. http://karl.runges.net/x11vnc/index.html#faq-display-manager + 221. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-users + 222. http://karl.runges.net/x11vnc/index.html#solarisbuilding + 223. http://karl.runges.net/x11vnc/x11vnc_sunos4.html + 224. http://karl.runges.net/x11vnc/index.html#building + 225. http://karl.runges.net/x11vnc/index.html#faq-build + 226. http://packages.debian.org/x11vnc + 227. http://www.linuxpackages.net/search_view.php?by=name&name=x11vnc + 228. http://dag.wieers.com/packages/x11vnc/ + 229. http://dries.ulyssis.org/rpm/packages/x11vnc/info.html + 230. http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=Network/x11vnc/ + 231. http://www.sunfreeware.com/ + 232. http://www.freebsd.org/cgi/ports.cgi?query=x11vnc&stype=all + 233. http://www.freshports.org/net/x11vnc + 234. http://www.openbsd.org/3.9_packages/i386/x11vnc-0.6.2.tgz-long.html + 235. http://pkgsrc.se/x11/x11vnc + 236. http://mike.saunby.net/770/x11vnc/ + 237. http://www.pdaxrom.org/ipk_feed.php?menuid=11&showfeed=unstable#x11vnc + 238. http://www.focv.com/ipkg/ + 239. http://karl.runges.net/x11vnc/bins + 240. http://www.tightvnc.com/download.html + 241. http://www.realvnc.com/download-free.html + 242. http://sourceforge.net/projects/cotvnc/ + 243. http://www.ultravnc.com/ + 244. http://karl.runges.net/x11vnc/x11vnc_opts.html + 245. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gui + 246. http://karl.runges.net/x11vnc/index.html#faq-gui-tray + 247. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-q + 248. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-bg + 249. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-o + 250. http://karl.runges.net/x11vnc/index.html#solarisbuilding + 251. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nofb + 252. http://fredrik.hubbe.net/x2vnc.html + 253. http://www.hubbe.net/~hubbe/win2vnc.html + 254. http://www.deboer.gmxhome.de/ + 255. http://sourceforge.net/projects/win2vnc/ + 256. http://fredrik.hubbe.net/x2vnc.html + 257. http://freshmeat.net/projects/x2x/ + 258. http://ftp.digital.com/pub/Digital/SRC/x2x/ + 259. http://zapek.com/software/zvnc/ + 260. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-visual + 261. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-flashcmap + 262. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-8to24 + 263. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-notruecolor + 264. http://karl.runges.net/x11vnc/index.html#faq-8bpp + 265. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-overlay + 266. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-8to24 + 267. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-overlay + 268. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-8to24 + 269. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-flashcmap + 270. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fixscreen + 271. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-8to24 + 272. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 273. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-8to24 + 274. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-overlay + 275. http://karl.runges.net/x11vnc/index.html#faq-overlays + 276. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 277. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sid + 278. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-24to32 + 279. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display + 280. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noshm + 281. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-flipbyteorder + 282. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-auth + 283. http://karl.runges.net/x11vnc/index.html#xauth_pain + 284. http://karl.runges.net/x11vnc/index.html#faq-noshm + 285. http://wwws.sun.com/sunray/index.html + 286. http://karl.runges.net/x11vnc/sunray.html + 287. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remote + 288. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-query + 289. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-forever + 290. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-bg + 291. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-clear_mods + 292. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-clear_keys + 293. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remote + 294. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-query + 295. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gui + 296. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-storepasswd + 297. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbauth + 298. http://karl.runges.net/x11vnc/index.html#faq-passwdfile + 299. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-usepw + 300. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-viewpasswd + 301. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwd + 302. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwdfile + 303. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbauth + 304. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwdfile + 305. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 306. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw_nis + 307. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 308. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 309. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 310. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 311. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 312. http://karl.runges.net/x11vnc/index.html#tunnelling + 313. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel + 314. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-accept + 315. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-forever + 316. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-shared + 317. http://karl.runges.net/x11vnc/index.html#tunnelling + 318. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 319. http://karl.runges.net/x11vnc/index.html#faq-passwd + 320. http://karl.runges.net/x11vnc/index.html#faq-passwdfile + 321. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-allow + 322. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 323. http://karl.runges.net/x11vnc/index.html#faq-tcp_wrappers + 324. http://karl.runges.net/x11vnc/index.html#faq-inetd + 325. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-listen + 326. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-allow + 327. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 328. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-allow + 329. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 330. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-input + 331. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-accept + 332. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-viewonly + 333. ftp://ftp.x.org/ + 334. http://karl.runges.net/x11vnc/dtVncPopup + 335. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gone + 336. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-afteraccept + 337. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-users + 338. http://www.karlrunge.com/x11vnc/blockdpy.c + 339. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-accept + 340. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gone + 341. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gone + 342. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-afteraccept + 343. http://karl.runges.net/x11vnc/index.html#tunnelling + 344. http://karl.runges.net/x11vnc/index.html#tunnelling + 345. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-localhost + 346. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbauth + 347. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwdfile + 348. http://karl.runges.net/x11vnc/index.html#gateway_double_ssh + 349. http://karl.runges.net/x11vnc/index.html#tunnelling + 350. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-connect + 351. http://www.stunnel.org/ + 352. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 353. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 354. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 355. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-int + 356. http://www.stunnel.org/ + 357. http://karl.runges.net/x11vnc/ssl.html + 358. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer + 359. http://karl.runges.net/x11vnc/ssl.html + 360. http://www.securityfocus.com/infocus/1677 + 361. http://karl.runges.net/x11vnc/ssl.html + 362. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-inetd + 363. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 364. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-httpdir + 365. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-http + 366. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 367. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-https + 368. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 369. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 370. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer + 371. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-ext + 372. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 373. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 374. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 375. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 376. http://www.openssl.org/ + 377. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-stunnel + 378. http://www.stunnel.org/ + 379. http://karl.runges.net/x11vnc/ssl.html + 380. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer + 381. http://karl.runges.net/x11vnc/ssl.html + 382. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 383. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-httpdir + 384. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-http + 385. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-https + 386. http://karl.runges.net/x11vnc/index.html#faq-ssl-portal + 387. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-https + 388. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-ext + 389. http://karl.runges.net/x11vnc/ssl_vncviewer + 390. http://karl.runges.net/x11vnc/ssl-portal.html + 391. http://karl.runges.net/x11vnc/ssl.html + 392. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer + 393. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-viewers + 394. http://karl.runges.net/x11vnc/ssl-portal.html + 395. http://karl.runges.net/x11vnc/ssl.html + 396. http://karl.runges.net/x11vnc/index.html#display-manager-continuously + 397. http://karl.runges.net/x11vnc/index.html#faq-inetd + 398. http://karl.runges.net/x11vnc/index.html#faq-userlogin + 399. http://karl.runges.net/x11vnc/index.html#x11vnc_loop + 400. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-auth + 401. http://karl.runges.net/x11vnc/index.html#dtlogin_solaris + 402. http://www.jirka.org/gdm-documentation/x241.html + 403. http://karl.runges.net/x11vnc/x11vnc_loop + 404. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-loop + 405. http://karl.runges.net/x11vnc/index.html#faq-xterminal-xauth + 406. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-inetd + 407. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-q + 408. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-auth + 409. http://karl.runges.net/x11vnc/index.html#faq-userlogin + 410. http://karl.runges.net/x11vnc/index.html#faq-inetd + 411. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 412. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display_WAIT + 413. http://karl.runges.net/x11vnc/index.html#stunnel-inetd + 414. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-display_WAIT + 415. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 416. http://karl.runges.net/x11vnc/index.html#faq-unix-passwords + 417. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-users + 418. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-int + 419. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-loop + 420. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-httpdir + 421. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-http + 422. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-connect + 423. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remote + 424. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-vncconnect + 425. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-add_keysyms + 426. http://karl.runges.net/x11vnc/index.html#faq-linuxvc + 427. http://karl.runges.net/x11vnc/Xdummy + 428. http://karl.runges.net/x11vnc/index.html#display-manager-continuously + 429. http://karl.runges.net/x11vnc/shm_clear + 430. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-onetile + 431. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noshm + 432. http://karl.runges.net/x11vnc/index.html#faq-noshm + 433. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nap + 434. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wait + 435. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sb + 436. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-onetile + 437. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fs + 438. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-threads + 439. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-defer + 440. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 441. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-solid + 442. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 443. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 444. http://www.tightvnc.com/ + 445. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 446. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 447. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-solid + 448. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-speeds + 449. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nodragging + 450. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fs + 451. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wait + 452. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-defer + 453. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-progressive + 454. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 455. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nosel + 456. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursor + 457. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursorpos + 458. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-readtimeout + 459. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fixscreen + 460. http://karl.runges.net/x11vnc/index.html#fb_read_slow + 461. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xd_area + 462. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xd_mem + 463. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noxdamage + 464. http://karl.runges.net/x11vnc/index.html#fb_read_slow + 465. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pointer_mode + 466. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pointer_mode + 467. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nodragging + 468. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pointer_mode + 469. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-threads + 470. http://karl.runges.net/x11vnc/index.html#faq-wireframe + 471. http://karl.runges.net/x11vnc/index.html#faq-scrollcopyrect + 472. http://karl.runges.net/x11vnc/index.html#faq-pointer-mode + 473. http://karl.runges.net/x11vnc/index.html#fb_read_slow + 474. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 475. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 476. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 477. http://karl.runges.net/x11vnc/index.html#fb_read_slow + 478. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 479. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wireframe + 480. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wirecopyrect + 481. http://karl.runges.net/x11vnc/index.html#faq-wireframe + 482. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-fixscreen + 483. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scr_skip + 484. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scale + 485. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scrollcopyrect + 486. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-cursor + 487. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-cursor + 488. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-overlay + 489. http://karl.runges.net/x11vnc/index.html#the-overlay-mode + 490. http://karl.runges.net/x11vnc/index.html#solaris10-build + 491. http://karl.runges.net/x11vnc/index.html#faq-xfixes-alpha-hacks + 492. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-alphacut + 493. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-alphafrac + 494. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-alpharemove + 495. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursorshape + 496. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noalphablend + 497. http://www.tightvnc.com/ + 498. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursor + 499. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-cursorpos + 500. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursorpos + 501. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nocursorshape + 502. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-buttonmap + 503. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-debug_pointer + 504. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-buttonmap + 505. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-modtweak + 506. http://karl.runges.net/x11vnc/index.html#faq-greaterless + 507. http://karl.runges.net/x11vnc/index.html#faq-xkbmodtweak + 508. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 509. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xkb + 510. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 511. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-modtweak + 512. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-modtweak + 513. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 514. http://karl.runges.net/x11vnc/index.html#faq-xkbmodtweak + 515. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-debug_keyboard + 516. http://karl.runges.net/x11vnc/index.html#faq-greaterless + 517. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xkb + 518. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sloppy_keys + 519. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-modtweak + 520. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xkb + 521. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xkb + 522. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-skip_keycodes + 523. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 524. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-add_keysyms + 525. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 526. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 527. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-add_keysyms + 528. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-norepeat + 529. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-norepeat + 530. http://karl.runges.net/x11vnc/index.html#faq-display-manager + 531. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 532. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 533. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 534. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 535. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-skip_lockkeys + 536. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-remap + 537. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nomodtweak + 538. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-capslock + 539. http://karl.runges.net/x11vnc/index.html#faq-scaling + 540. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scale + 541. http://www.cus.cam.ac.uk/~ssb22/source/vnc-magnification.html + 542. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbport + 543. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-gui + 544. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-connect + 545. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-scale_cursor + 546. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-blackout + 547. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xinerama + 548. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xinerama + 549. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xwarppointer + 550. http://karl.runges.net/x11vnc/index.html#faq-solshm + 551. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-onetile + 552. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noshm + 553. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-clip + 554. http://karl.runges.net/x11vnc/index.html#faq-xinerama + 555. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 556. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 557. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-xrandr + 558. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-padgeom + 559. http://karl.runges.net/x11vnc/index.html#faq-linuxvc + 560. http://karl.runges.net/x11vnc/index.html#faq-rawfb + 561. http://karl.runges.net/x11vnc/index.html#faq-linuxvc + 562. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-id + 563. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 564. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pipeinput + 565. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pipeinput + 566. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-snapfb + 567. http://karl.runges.net/x11vnc/index.html#faq-video + 568. http://karl.runges.net/x11vnc/index.html#faq-xvfb + 569. http://karl.runges.net/x11vnc/index.html#faq-qt-embedded + 570. http://karl.runges.net/x11vnc/index.html#faq-video + 571. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 572. http://karl.runges.net/x11vnc/index.html#faq-video + 573. http://karl.runges.net/x11vnc/index.html#faq-linuxvc + 574. http://karl.runges.net/x11vnc/index.html#faq-qt-embedded + 575. http://karl.runges.net/x11vnc/index.html#faq-vmware + 576. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rawfb + 577. http://karl.runges.net/x11vnc/index.html#faq-rawfb + 578. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-snapfb + 579. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-24to32 + 580. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wait + 581. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-slow_fb + 582. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-defer + 583. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-freqtab + 584. http://karl.runges.net/x11vnc/index.html#faq-rawfb + 585. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-pipeinput + 586. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nosel + 587. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-noprimary + 588. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-seldir + 589. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-input + 590. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nofilexfer + 591. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-nobell + 592. http://karl.runges.net/x11vnc/index.html#faq-sound ======================================================================= http://www.karlrunge.com/x11vnc/chainingssh.html: @@ -6098,7 +6257,7 @@ http://www.karlrunge.com/x11vnc/miscbuild.html: References - 1. http://www.karlrunge.com/x11vnc/miscbuild.html#faq-build + 1. http://karl.runges.net/x11vnc/miscbuild.html#faq-build ======================================================================= http://www.karlrunge.com/x11vnc/sunray.html: @@ -6340,14 +6499,14 @@ env DISPLAY=`echo $DISPLAY | sed -e 's/^.*:/unix:/'` xscreensaver & References 1. http://wwws.sun.com/sunray/index.html - 2. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-wait - 3. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sb - 4. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-solid - 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbport - 6. http://www.karlrunge.com/x11vnc/vnc_findports - 7. http://www.karlrunge.com/x11vnc/findvncports - 8. http://www.karlrunge.com/x11vnc/shm_clear - 9. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-afteraccept + 2. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-wait + 3. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sb + 4. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-solid + 5. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbport + 6. http://karl.runges.net/x11vnc/vnc_findports + 7. http://karl.runges.net/x11vnc/findvncports + 8. http://karl.runges.net/x11vnc/shm_clear + 9. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-afteraccept ======================================================================= http://www.karlrunge.com/x11vnc/ssl.html: @@ -6770,26 +6929,26 @@ pem References - 1. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify + 1. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify 2. http://www.stunnel.org/ - 3. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-tunnel-ext - 4. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir - 6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssl - 7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 8. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 9. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCA - 10. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert - 11. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslDelCert - 12. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslEncKey - 13. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslCertInfo - 14. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir - 15. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir - 16. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-ssldir - 17. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 18. http://www.karlrunge.com/x11vnc/ssl_vncviewer - 19. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 20. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslCertInfo + 3. http://karl.runges.net/x11vnc/index.html#faq-ssl-tunnel-ext + 4. http://karl.runges.net/x11vnc/ssl_vncviewer + 5. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssldir + 6. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssl + 7. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 8. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 9. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslGenCA + 10. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslGenCert + 11. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslDelCert + 12. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslEncKey + 13. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslCertInfo + 14. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssldir + 15. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssldir + 16. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-ssldir + 17. http://karl.runges.net/x11vnc/ssl_vncviewer + 18. http://karl.runges.net/x11vnc/ssl_vncviewer + 19. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 20. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslCertInfo 21. http://www.securityfocus.com/infocus/1677 ======================================================================= @@ -7170,20 +7329,20 @@ ProxyPass /vncs/mach4/ https://mach4:5915/ References - 1. http://www.karlrunge.com/x11vnc/ssl-portal.html#no-apache - 2. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 3. http://www.karlrunge.com/x11vnc/ssl-portal.html#inetd - 4. http://www.karlrunge.com/x11vnc/index.html#faq-ssl-java-viewer-proxy - 5. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-rfbauth - 6. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-passwdfile - 7. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-usepw - 8. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw - 9. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslverify - 10. http://www.karlrunge.com/x11vnc/index.html#ssl_vncviewer + 1. http://karl.runges.net/x11vnc/ssl-portal.html#no-apache + 2. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 3. http://karl.runges.net/x11vnc/ssl-portal.html#inetd + 4. http://karl.runges.net/x11vnc/index.html#faq-ssl-java-viewer-proxy + 5. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-rfbauth + 6. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-passwdfile + 7. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-usepw + 8. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-unixpw + 9. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslverify + 10. http://karl.runges.net/x11vnc/index.html#ssl_vncviewer 11. http://httpd.apache.org/docs/2.0/mod/mod_ssl.html - 12. http://www.karlrunge.com/x11vnc/ssl.html - 13. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-sslGenCert - 14. http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-http_ssl + 12. http://karl.runges.net/x11vnc/ssl.html + 13. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-sslGenCert + 14. http://karl.runges.net/x11vnc/x11vnc_opts.html#opt-http_ssl ======================================================================= http://www.karlrunge.com/x11vnc/x11vnc_opts.html: @@ -7196,7 +7355,7 @@ x11vnc: a VNC server for real X displays Here are all of x11vnc command line options: % x11vnc -opts (see below for -help long descriptions) -x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-07-08 +x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-07-09 x11vnc options: -display disp -auth file -id windowid @@ -7294,7 +7453,7 @@ libvncserver-tight-extension options: % x11vnc -help -x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-07-08 +x11vnc: allow VNC connections to real X11 displays. 0.8.2 lastmod: 2006-07-09 (type "x11vnc -opts" to just list the options.) @@ -9827,7 +9986,7 @@ Options: -rawfb cons3 (force /dev/tty3) -rawfb consx (no keystrokes or mouse) -rawfb console:/dev/nonstd - -rawfb cons -pipeinput UINPUT:accel=1.5 + -rawfb cons -pipeinput UINPUT:accel=4.0 -freqtab file For use with "-rawfb video" for TV tuner devices to specify station frequencies. Instead of using the built @@ -9905,28 +10064,30 @@ Options: A UINPUT option of the form: accel=f, or accel=fx+fy sets the mouse motion "acceleration". This is used to correct raw mouse relative motion into how much the - application cursor moves (x11vnc has no control over - how the application interprets the raw mouse motions). - Typically the acceleration for an X display is 2 (see - xset "m" option). "f" is a floating point number, - e.g. 2.0. Use "fx+fy" if you need to supply different - corrections for x and y. + application cursor moves (x11vnc has no control over, + or knowledge of how the windowing application interprets + the raw mouse motions). Typically the acceleration + for an X display is 2 (see xset "m" option). "f" + is a floating point number, e.g. 3.0. Use "fx+fy" + if you need to supply different corrections for x and y. Note: the default acceleration is 2.0 since it seems - both X and qt-embedded often use this value. + both X and qt-embedded often (but not always) use + this value. Even with a correct accel setting the mouse position will get out of sync (probably due to a mouse "threshold" setting where the acceleration doe not - apply, set xset(1)). The option reset=N sets the number - of ms (default 500) after which the cursor is attempted - to be reset (by forcing the mouse to (0, 0) via small - increments and then back out to (x, y) in 1 jump), This - correction seems to be needed but can cause jerkiness - or unexpected behavior. Use reset=0 to disable. + apply, set xset(1)). The option reset=N sets the + number of ms (default 500) after which the cursor is + attempted to be reset (by forcing the mouse to (0, + 0) via small increments and then back out to (x, y) + in 1 jump), This correction seems to be needed but can + cause jerkiness or unexpected behavior with menus, etc. + Use reset=0 to disable. Example: - -pipeinput UINPUT:accel=1.0 -cursor none + -pipeinput UINPUT:accel=4.0 -cursor none -gui [gui-opts] Start up a simple tcl/tk gui based on the the remote control options -remote/-query described below. diff --git a/x11vnc/help.c b/x11vnc/help.c index 6f2fb1f..41dbeca 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -454,7 +454,7 @@ void print_help(int mode) { " and last line be \"__BEGIN_VIEWONLY__\" to have 2\n" " full-access passwords)\n" "\n" -#ifndef REL81 +#ifndef REL8x "-unixpw [list] Use Unix username and password authentication. x11vnc\n" " uses the su(1) program to verify the user's password.\n" " [list] is an optional comma separated list of allowed\n" @@ -2562,7 +2562,7 @@ void print_help(int mode) { " -rawfb cons3 (force /dev/tty3)\n" " -rawfb consx (no keystrokes or mouse)\n" " -rawfb console:/dev/nonstd\n" -" -rawfb cons -pipeinput UINPUT:accel=1.5\n" +" -rawfb cons -pipeinput UINPUT:accel=4.0\n" "\n" "-freqtab file For use with \"-rawfb video\" for TV tuner devices to\n" " specify station frequencies. Instead of using the built\n" @@ -2640,28 +2640,30 @@ void print_help(int mode) { " A UINPUT option of the form: accel=f, or accel=fx+fy\n" " sets the mouse motion \"acceleration\". This is used\n" " to correct raw mouse relative motion into how much the\n" -" application cursor moves (x11vnc has no control over\n" -" how the application interprets the raw mouse motions).\n" -" Typically the acceleration for an X display is 2 (see\n" -" xset \"m\" option). \"f\" is a floating point number,\n" -" e.g. 2.0. Use \"fx+fy\" if you need to supply different\n" -" corrections for x and y.\n" +" application cursor moves (x11vnc has no control over,\n" +" or knowledge of how the windowing application interprets\n" +" the raw mouse motions). Typically the acceleration\n" +" for an X display is 2 (see xset \"m\" option). \"f\"\n" +" is a floating point number, e.g. 3.0. Use \"fx+fy\"\n" +" if you need to supply different corrections for x and y.\n" "\n" " Note: the default acceleration is 2.0 since it seems\n" -" both X and qt-embedded often use this value.\n" +" both X and qt-embedded often (but not always) use\n" +" this value.\n" "\n" " Even with a correct accel setting the mouse position\n" " will get out of sync (probably due to a mouse\n" " \"threshold\" setting where the acceleration doe not\n" -" apply, set xset(1)). The option reset=N sets the number\n" -" of ms (default 500) after which the cursor is attempted\n" -" to be reset (by forcing the mouse to (0, 0) via small\n" -" increments and then back out to (x, y) in 1 jump), This\n" -" correction seems to be needed but can cause jerkiness\n" -" or unexpected behavior. Use reset=0 to disable.\n" +" apply, set xset(1)). The option reset=N sets the\n" +" number of ms (default 500) after which the cursor is\n" +" attempted to be reset (by forcing the mouse to (0,\n" +" 0) via small increments and then back out to (x, y)\n" +" in 1 jump), This correction seems to be needed but can\n" +" cause jerkiness or unexpected behavior with menus, etc.\n" +" Use reset=0 to disable.\n" "\n" " Example:\n" -" -pipeinput UINPUT:accel=1.0 -cursor none\n" +" -pipeinput UINPUT:accel=4.0 -cursor none\n" "\n" "-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote\n" " control options -remote/-query described below.\n" diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 9666796..cd80538 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -4005,7 +4005,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "aro=%s:%d", p, no_external_cmds); } else if (!strcmp(p, "passwdfile")) { snprintf(buf, bufn, "aro=%s:%s", p, NONUL(passwdfile)); -#ifndef REL81 +#ifndef REL8x } else if (!strcmp(p, "unixpw")) { snprintf(buf, bufn, "aro=%s:%d", p, unixpw); } else if (!strcmp(p, "unixpw_nis")) { diff --git a/x11vnc/sslcmds.c b/x11vnc/sslcmds.c index 5860f14..e22c252 100644 --- a/x11vnc/sslcmds.c +++ b/x11vnc/sslcmds.c @@ -15,7 +15,7 @@ #endif #endif -#ifdef REL81 +#ifdef REL8x #undef SSLCMDS #endif diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 8131393..da1496e 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -20,7 +20,7 @@ #endif #endif -#ifdef REL81 +#ifdef REL8x #undef FORK_OK #undef LIBVNCSERVER_HAVE_LIBSSL #define LIBVNCSERVER_HAVE_LIBSSL 0 diff --git a/x11vnc/uinput.c b/x11vnc/uinput.c index 1c3f1b2..c3a5166 100644 --- a/x11vnc/uinput.c +++ b/x11vnc/uinput.c @@ -32,6 +32,9 @@ void parse_uinput_str(char *str); void uinput_pointer_command(int mask, int x, int y, rfbClientPtr client); void uinput_key_command(int down, int keysym, rfbClientPtr client); +static void init_key_tracker(void); +static int mod_is_down(void); +static int key_is_down(void); static void set_uinput_accel_xy(double fx, double fy); static void shutdown_uinput(void); static void ptr_move(int dx, int dy); @@ -94,6 +97,45 @@ int check_uinput(void) { #endif } +static int key_pressed[256]; +static int key_ismod[256]; + +static void init_key_tracker(void) { + int i; + for (i = 0; i < 256; i++) { + key_pressed[i] = 0; + key_ismod[i] = 0; + } + i = lookup_code(XK_Shift_L); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Shift_R); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Control_L); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Control_R); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Alt_L); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Alt_R); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Meta_L); if (0<=i && i<256) key_ismod[i] = 1; + i = lookup_code(XK_Meta_R); if (0<=i && i<256) key_ismod[i] = 1; +} + +static int mod_is_down(void) { + int i; + for (i = 0; i < 256; i++) { + if (key_pressed[i] && key_ismod[i]) { + return 1; + } + } + return 0; +} + +static int key_is_down(void) { + int i; + for (i = 0; i < 256; i++) { + if (key_pressed[i]) { + return 1; + } + } + return 0; +} + static void shutdown_uinput(void) { #ifdef UINPUT_OK ioctl(fd, UI_DEV_DESTROY); @@ -112,6 +154,8 @@ int initialize_uinput(void) { close(fd); fd = -1; } + + init_key_tracker(); if (uinput_dev) { fd = open(uinput_dev, O_RDWR); @@ -176,6 +220,7 @@ static double resid_x = 0.0; static double resid_y = 0.0; static double zero_delay = 0.5; +static double last_button_click = 0.0; static void set_uinput_accel_xy(double fx, double fy) { fudge_x = 1.0/fx; @@ -353,6 +398,8 @@ static void button_click(int down, int btn) { ev.value = 0; write(fd, &ev, sizeof(ev)); + last_button_click = dnow(); + #endif } @@ -361,6 +408,8 @@ void uinput_pointer_command(int mask, int x, int y, rfbClientPtr client) { static int last_x = -1, last_y = -1, last_mask = -1; static double last_zero = 0.0; allowed_input_t input; + int do_reset; + double now; if (db) fprintf(stderr, "uinput_pointer_command: %d %d - %d\n", x, y, mask); @@ -369,13 +418,31 @@ void uinput_pointer_command(int mask, int x, int y, rfbClientPtr client) { } get_allowed_input(client, &input); - if (!bmask && dnow() >= last_zero + zero_delay && input.motion) { + now = dnow(); + + do_reset = 1; + if (mask || bmask) { + do_reset = 0; /* do not do reset if moust button down */ + } else if (! input.motion) { + do_reset = 0; + } else if (now < last_zero + zero_delay) { + do_reset = 0; + } + if (do_reset) { + if (mod_is_down()) { + do_reset = 0; + } else if (now < last_button_click + 0.25) { + do_reset = 0; + } + } + + if (do_reset) { static int first = 1; if (zero_delay > 0.0 || first) { /* try to push it to 0,0 */ - int tx = fudge_x * last_x; - int ty = fudge_y * last_y; + int tx = fudge_x * last_x + 40; + int ty = fudge_y * last_y + 40; int bigjump = 1; if (bigjump) { @@ -399,6 +466,7 @@ void uinput_pointer_command(int mask, int x, int y, rfbClientPtr client) { /* now jump back out */ ptr_rel(x, y); + if (0) usleep(10*1000); last_x = x; last_y = y; @@ -488,6 +556,10 @@ void uinput_key_command(int down, int keysym, rfbClientPtr client) { ev.code = SYN_REPORT; ev.value = 0; write(fd, &ev, sizeof(ev)); + + if (0 <= scancode < 256) { + key_pressed[scancode] = down ? 1 : 0; + } #endif } diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index 5606156..0584f91 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -51,7 +51,7 @@ extern char *crypt(const char*, const char *); #define IS_BSD #endif -#ifdef REL81 +#ifdef REL8x #undef UNIXPW_SU #undef UNIXPW_CRYPT #endif diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1 index 89cadc4..8bcda80 100644 --- a/x11vnc/x11vnc.1 +++ b/x11vnc/x11vnc.1 @@ -2,7 +2,7 @@ .TH X11VNC "1" "July 2006" "x11vnc " "User Commands" .SH NAME x11vnc - allow VNC connections to real X11 displays - version: 0.8.2, lastmod: 2006-07-08 + version: 0.8.2, lastmod: 2006-07-09 .SH SYNOPSIS .B x11vnc [OPTION]... @@ -3026,7 +3026,7 @@ Examples: \fB-rawfb\fR cons3 (force /dev/tty3) \fB-rawfb\fR consx (no keystrokes or mouse) \fB-rawfb\fR console:/dev/nonstd -\fB-rawfb\fR cons \fB-pipeinput\fR UINPUT:accel=1.5 +\fB-rawfb\fR cons \fB-pipeinput\fR UINPUT:accel=4.0 .PP \fB-freqtab\fR \fIfile\fR .IP @@ -3108,30 +3108,32 @@ and motion but not button clicks. A UINPUT option of the form: accel=f, or accel=fx+fy sets the mouse motion "acceleration". This is used to correct raw mouse relative motion into how much the -application cursor moves (x11vnc has no control over -how the application interprets the raw mouse motions). -Typically the acceleration for an X display is 2 (see -xset "m" option). "f" is a floating point number, -e.g. 2.0. Use "fx+fy" if you need to supply different -corrections for x and y. +application cursor moves (x11vnc has no control over, +or knowledge of how the windowing application interprets +the raw mouse motions). Typically the acceleration +for an X display is 2 (see xset "m" option). "f" +is a floating point number, e.g. 3.0. Use "fx+fy" +if you need to supply different corrections for x and y. .IP Note: the default acceleration is 2.0 since it seems -both X and qt-embedded often use this value. +both X and qt-embedded often (but not always) use +this value. .IP Even with a correct accel setting the mouse position will get out of sync (probably due to a mouse "threshold" setting where the acceleration doe not apply, set .IR xset (1) -). The option reset=N sets the number -of ms (default 500) after which the cursor is attempted -to be reset (by forcing the mouse to (0, 0) via small -increments and then back out to (x, y) in 1 jump), This -correction seems to be needed but can cause jerkiness -or unexpected behavior. Use reset=0 to disable. +). The option reset=N sets the +number of ms (default 500) after which the cursor is +attempted to be reset (by forcing the mouse to (0, +0) via small increments and then back out to (x, y) +in 1 jump), This correction seems to be needed but can +cause jerkiness or unexpected behavior with menus, etc. +Use reset=0 to disable. .IP Example: -\fB-pipeinput\fR UINPUT:accel=1.0 \fB-cursor\fR none +\fB-pipeinput\fR UINPUT:accel=4.0 \fB-cursor\fR none .PP \fB-gui\fR \fI[gui-opts]\fR .IP diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index ba6154c..0501e41 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1642,7 +1642,7 @@ int main(int argc, char* argv[]) { CHECK_ARGC passwdfile = strdup(argv[++i]); got_passwdfile = 1; -#ifndef REL81 +#ifndef REL8x } else if (strstr(arg, "-unixpw") == arg) { unixpw = 1; if (strstr(arg, "-unixpw_nis")) { diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h index dcbc3a3..50050bc 100644 --- a/x11vnc/x11vnc.h +++ b/x11vnc/x11vnc.h @@ -118,7 +118,7 @@ #define PASSWD_UNLESS_NOPW 0 #endif -#define noREL81 +#define noREL8x /* * Beginning of support for small binary footprint build for embedded diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c index 42a4370..dc9bb45 100644 --- a/x11vnc/x11vnc_defs.c +++ b/x11vnc/x11vnc_defs.c @@ -15,7 +15,7 @@ int xtrap_base_event_type = 0; int xdamage_base_event_type = 0; /* date +'lastmod: %Y-%m-%d' */ -char lastmod[] = "0.8.2 lastmod: 2006-07-08"; +char lastmod[] = "0.8.2 lastmod: 2006-07-09"; /* X display info */ |