12010-12-29 Karl Runge <runge@karlrunge.com> 2 * x11vnc: Use opengl to read screen on macosx. Experimental 3 use of non-deprecated macosx interfaces for input injection. 4 Fix cursors for 64bit macosx. Add -unixsock option. Work around 5 grep issue on OpenBSD in create_display. 6 72010-12-21 Karl Runge <runge@karlrunge.com> 8 * x11vnc: Add RELEASE-NOTES. Call shutdown_uinput() when exiting. 9 Free some minor memory. Do not use GetMainDevice() on macosx. 10 Add utility scripts qt_tslib_inject.pl and uinput.pl. Option 11 -ungrabboth (not useful.) X11VNC_SB_FACTOR -sb user tweak. 12 X11VNC_REFLECT_{bitsPerSample,samplesPerPixel,bytesPerPixel} 13 for -reflect vncclient. Fix minor fd leaks. For -create mode 14 preserve LC_ALL; FIND_DISPLAY_NO_VT_FIND, FIND_DISPLAY_NO_LSOF, 15 and X11VNC_CREATE_LC_ALL_C_OK. Speed up -find and -create scripts 16 for large installations. Enable direct event input modes to 17 bypass uinput. TSLIB support for uinput touchscreens. Handle 18 pressure events on touchscreens. User can set X11VNC_UINPUT_BUS 19 and X11VNC_UINPUT_VERSION. Allow Tab switch in -create login: 20 prompt. Fix bug in setting bpp for -rawfb. Java viewers now 21 handle mousewheel events. No vars named new. 22 232010-09-10 Karl Runge <runge@karlrunge.com> 24 * x11vnc: update classes/ssl jars, patches, and script. 25 update prepare_x11vnc_dist.sh to 0.9.13. Makefile.am no top_srcdir 26 Allow user to set avahi name and port via env. vars. Add 27 avahi_timeout() sigalarm. Rename pointer() to pointer_event() 28 because Xdefs.h is included for some unknown reason. Add 29 -always_inject option. Add vnc_reflect_cursor_pos() for -reflect 30 mode. Attempt at libvncclient VeNCrypt (disabled.) Fix bug 31 with --with-system-libvncserver missing FinishedFrameBufferUpdate. 32 More info in VncViewer.class http warning. Look for gdm* in 33 find display heuristics (e.g. gdm3). More heuristics with 34 XAUTHLOCALHOSTNAME attempts. X11VNC_CREATE_MAX_DISPLAYS: let user 35 specify max number of -create displays. FD_USERPREFS modes for 36 -unixpw (user conf file.) Document all exiting behavior. Let 37 user set X11VNC_NO_LIMIT_SHM to avoid autoreduction. Look for 38 kdm when avoiding being killed by dm, change timings too. 39 402010-05-08 Karl Runge <runge@karlrunge.com> 41 * x11vnc: set cd->unixname in apply_opts. Print message in 42 vnc_reflect_resize. Some tweaks to prepare_x11vnc_dist.sh 43 442010-05-01 Karl Runge <runge@karlrunge.com> 45 * x11vnc: X11VNC_DISABLE_SSL_CLIENT_MODE option to disable SSL 46 client role in reverse connections. Improvements to logging in 47 ultravnc_repeater, ULTRAVNC_REPEATER_NO_RFB option. Increase 48 SSL timeout and print message if 'repeater' mode is detected for 49 reverse SSL connection. Fix RECORD scroll XCopyArea detection 50 with recent gtk/gdk library; set X11VNC_SCROLL_MUST_EQUAL 51 to disable. Limit logging of RECORD error messages. 52 532010-04-25 Karl Runge <runge@karlrunge.com> 54 * x11vnc: incorporate new ultravnc_dsm_helper.c, add pointer_mask 55 remote control query. Cut openssl default -ping delay. 56 572010-04-18 Karl Runge <runge@karlrunge.com> 58 * x11vnc/misc: improvements to demo scripts 59 * x11vnc: Alias -coe for -connect_or_exit. more accurate 60 dotted_ip() and -listen6. Improvements to ipv6 mode. 61 http interface for X11VNC_HTTP_LISTEN_LOCALHOST. Print 62 warning about missing Xvfb, Xdummy, or Xvnc in -create. 63 Fix __LINUX_VIDEODEV2_H / HAVE_V4L2. Always print out info 64 about Xinerama screens. 65 * x11vnc/misc/enhanced_tightvnc_viewer: check for host cmd. 66 fix stunnel mode w/o proxy. Update to stunnel 4.33, Fix 67 build.unix with new stunnel on Solaris. ipv6 support for 68 unix ssvncviewer 69 702010-04-09 Karl Runge <runge@karlrunge.com> 71 * classes/ssl: debugging and workarounds for java viewer 72 * x11vnc/misc: sync ssvnc, improve util scripts. 73 * x11vnc: exit(1) for -connect_or_exit failure, quiet query 74 mode for grab_state, etc. ipv6 support. STUNNEL_LISTEN for 75 particular interface. -input_eagerly in addition to -allinput. 76 quiet Xinerama message. 77 782010-03-20 Karl Runge <runge@karlrunge.com> 79 * classes/ssl: Many improvements to Java SSL applet, onetimekey 80 serverCert param, debugging printout, user dialogs, catch 81 socket exceptions, autodetect x11vnc for GET=1. 82 * x11vnc: misc/scripts: desktop.cgi, inet6to4, panner.pl. 83 X11VNC_HTTPS_DOWNLOAD_WAIT_TIME, -unixpw %xxx documented, and 84 can run user cmd in UNIXPW_CMD. FD_XDMCP_IF for create script, 85 autodetect dm on udp6 only. Queries: pointer_x, pointer_y, 86 pointer_same, pointer_root. Switch on -xkd if keysyms per key > 87 4 in all cases. daemon mode improvements for connect_switch, 88 inet6to4, ultravnc_repeater.pl. Dynamic change of -clip do 89 not create new fb if WxH is unchanged. 90 912010-02-22 Karl Runge <runge@karlrunge.com> 92 * classes/ssl: Java SSL applet viewer now works with certificate 93 chains. 94 * x11vnc: Printout option -sslScripts. Suggest -auth guess 95 in error message. Set fake_screen width and height. Test 96 for +kb in Xvfb. 97 982010-01-02 Karl Runge <runge@karlrunge.com> 99 * x11vnc: small tweaks to Xdummy, rx11vnc*. Apply 100 SMALL_FOOTPRINT to -appshare text. Copyright year change. 101 1022009-12-29 Karl Runge <runge@karlrunge.com> 103 * x11vnc: rename -create_x to -create_xsrv. Hopefully 104 done fixing Xdummy. 105 1062009-12-28 Karl Runge <runge@karlrunge.com> 107 * x11vnc: Fix problems in --without-x builds. Fix crash 108 with -QD query for dbus info. Adjust window size for 109 small screens in -gui. Improve F1 help for xdm, etc. 110 include ssvnc 1.0.25 source. 111 1122009-12-24 Karl Runge <runge@karlrunge.com> 113 * x11vnc: prepare_x11vnc_dist.sh for 0.9.10. -xdummy_xvfb, 114 -svc_xdummy_xvfb and -create_x shorthand. lxde session. 115 Xdummy improvements and root no longer required. 116 1172009-12-21 Karl Runge <runge@karlrunge.com> 118 * x11vnc: -DENC_HAVE_OPENSSL=0 to disable enc.h but still 119 have ssl. Tweak ps command in find_display. Try to handle 120 AIX su. Ignore an initial newline at login: for -unixpw. 121 1222009-12-18 Karl Runge <runge@karlrunge.com> 123 * x11vnc: fix keycode and other remote control actions under 124 DIRECT: with an extra XFlush and other safety measures. 125 fflush(stderr) much in su_verify. Make the -unixpw env. vars 126 UNIXPW_DISABLE_SSL and UNIXPW_DISABLE_LOCALHOST work correctly. 127 Make -loopbg actually imply -bg. Add tag=... to unixpw opts 128 to set FD_TAG. Prefer Xvfb over Xdummy. Reduce wait time 129 for https. Add 'Login succeeded' output to unixpw panel. 130 1312009-12-15 Karl Runge <runge@karlrunge.com> 132 * x11vnc: X11VNC_REMOTE, X11VNC_TICKER, and VNC_CONNECT properties 133 names can be changed via env. vars (e.g. for multiple 134 x11vnc instances.) The -quiet option documented better. 135 Add fakebuttonevent remote control action. Improve child 136 test for connecting to port 113. Add connect_switch and 137 ultravnc_repeater.pl to CVS. Report X server number of mouse 138 buttons. Change find_display script to check for stale pids 139 in /tmp/.XNN-lock. If root under find_display, try FD_XDM 140 if previous failed to find auth. Print error reasons for 141 -storepasswd failures. 142 1432009-12-06 Karl Runge <runge@karlrunge.com> 144 * x11vnc: findauth/-auth guess works with FD_XDM=1 for root 145 finding dm's xauthority. Work around for GDM's recent 146 'xhost SI:localuser:root' usage. X11VNC_REOPEN_SLEEP_MAX 147 for longer lived -reopen-ing. X11VNC_EXTRA_HTTPS_PARAMS for 148 additional URL parameters, X11VNC_HTTP_LISTEN_LOCALHOST=1 to 149 force libvncserver http to listen on localhost. 150 1512009-12-04 Karl Runge <runge@karlrunge.com> 152 * classes/ssl: update binaries; new signing key; ss_vncviewer. 153 * x11vnc: add more wish possibilities for -gui. Declare crypt() 154 on all platforms (disable with -DDO_NOT_DECLARE_CRYPT.) 155 1562009-12-02 Karl Runge <runge@karlrunge.com> 157 * x11vnc: -appshare mode for sharing an application windows of the 158 entire desktop. map port + 5500 in reverse connect. Add id_cmd 159 remote control functions for id (and other) windows. Allow zero 160 port in SSL reverse connections. Adjust delays between multiple 161 reverse connections; X11VNC_REVERSE_SLEEP_MAX env var. Add some 162 missing mutex locks; add INPUT_LOCK and threads_drop_input. 163 More safety in -threads mode for new framebuffer change. Fix 164 some stderr leaking in -inetd mode. 165 1662009-11-18 Karl Runge <runge@karlrunge.com> 167 * x11vnc: use -timeout setting for reverse connections too. 168 Delay calling xfixes at the beginning of 1st connection to avoid 169 display manager Xorg server crash. Delay selwin creation at the 170 begin 1st connection to avoid being killed by display manager. 171 Options -findauth and '-auth guess'. Export icon_mode query. 172 Do not open X display in -rawfb mode unless asked. Bugfix for 173 -sid/-id handling window offscreen or bigger than display. 174 Search for windows with _DBUS_SESSION_BUS_PID to decide which 175 dbus_launch is ours. Fix missing displays in FIND_DISPLAY 176 script. Add X11VNC_SKIP_DISPLAY_NEGATE. Improvements to 177 'x11vnc Properties' gui dialog and connecting with x11vnc via 178 socket (client list.) X11VNC_SYSTEM_GREETER1 for previous text 179 font size. Fix bug with unixpw and vencrypt plain login. 180 Have fast fb read rate keep waitms and defer the same. 181 More heuristics to check try if GDM is still running (window 182 names gdm-*) 183 1842009-10-17 Karl Runge <runge@karlrunge.com> 185 * x11vnc: support for -solid option in xfce desktop. 186 List -Q guess_dbus query. Implement -showrfbauth option. 187 Workaround for inane X_ShmAttach incompatibility in Xorg. 188 1892009-10-08 Karl Runge <runge@karlrunge.com> 190 * x11vnc: bcx_xattach/x2x desktop switching facility. 191 More remote control features: grab_state, ping:mystring, 192 grablocal, resend_cutbuffer, resend_clipboard, resend_primary, 193 keycode, keysym, ptr, sleep, get_xprop, set_xprop, wininfo, 194 pointer_pos, mouse_xy, noop, guess_dbus Add DIRECT: for 195 remote control w/o server. X11VNC_NO_CHECK_PM for more 196 quiet DIRECT: usage. Options -query_retries, -remote_prefix, 197 and X11VNC_SYNC_TIMEOUT for remote control. Add scripting 198 to remote control. ping clients during in unixpw login. 199 Option -unixpw_system_greeter as shortcut to XDM/GDM/etc panel. 200 Add clear_all, viewonly, nodisplay, to unixpw username:opts. 201 F1 help for options (including smaller console font). 202 Document FD_TAG. Eat multiple property change events in one 203 sitting (also PROP_DBG=1). Support more -ssl features (special 204 cert names, single port, client certs, etc.) in -stunnel 205 external SSL helper mode. Reorganize openssl code to allow 206 integration with stunnel features if not compiled with openssl. 207 X11VNC_HTTPS_VS_VNC_TIMEOUT Fix dbus session address for -solid 208 in gnome. Use dbus-launch in -create mode if available. 209 X11VNC_SKIP_DISPLAY=all in -find/-create mode. let noxauth 210 unset XAUTHORITY for use with su - $USER. CREATE_DISPLAY_EXEC 211 debugging. Add x_terminal_emulator to -create cmd search. 212 Option -extra_fbur to tune fb update requests tracking; make 213 default tracking more aggressive. RATE_VERB/CHECK_RATE env. for 214 fbur rate. Env. vars to set Tk gui fonts. Catch closed 215 socket reads/writes. Try to detect 'crazy' xdamage insertion, 216 e.g. from some xscreensavers (needs work.). Don't switch 217 on server autorepeat if any keys are pressed down to work 218 around Xorg server and/or gnome bug. If PATH is empty, set 219 it to minimal one. Fix bug with -bg and -dp/-dk printout if 220 logfile present. 221 * classes/ssl: license statement. 222 2232009-06-18 Karl Runge <runge@karlrunge.com> 224 * classes/ssl: java viewer now handles auth-basic proxy logins. 225 * misc/enhanced_tightvnc_viewer: update ssvnc. 226 2272009-06-14 Karl Runge <runge@karlrunge.com> 228 * x11vnc: Add X11VNC_REFLECT_PASSWORD env. var. for -reflect mode. 229 Message to user about compiz problems suggesting -noxdamage. 230 Improvements to single-port detection and logging. 231 2322009-05-21 Karl Runge <runge@karlrunge.com> 233 * x11vnc: Thread safety improvements. Add 'OpenOffice' to special 234 case list for scroll detection. Fix -clip mode under -rawfb. 235 Workaround Xorg bug that yields infinitely repeating keys 236 when 'xset r off' action is done with keys pressed. Env. var 237 X11VNC_IDLE_TIMEOUT. 238 2392009-03-12 Karl Runge <runge@karlrunge.com> 240 * x11vnc: Fix off-screen bug for -ncache_cr copyrect. 241 2422009-03-07 Karl Runge <runge@karlrunge.com> 243 * x11vnc: allow range for X11VNC_SKIP_DISPLAY, document grab 244 Xserver issue. Add progress_client() to proceed more quickly 245 thru handshake. Improvements to turbovnc hack. 246 2472009-02-28 Karl Runge <runge@karlrunge.com> 248 * x11vnc: add kludge to experiment with turbovnc. 249 2502009-02-25 Karl Runge <runge@karlrunge.com> 251 * x11vnc: fix some -QD cases for use in tkx11vnc. 252 2532009-02-21 Karl Runge <runge@karlrunge.com> 254 * x11vnc: add -noskip_lockkeys option for future use. 255 2562009-02-03 Karl Runge <runge@karlrunge.com> 257 * x11vnc: Add "sendbell" remote cmd. Fix copyrect updates under 258 -reflect. Workaround that checks valid window of selection 259 requestor. Wait on some ssl helper pids earlier. Workaround 260 XAUTHLOCALHOSTNAME for some new usage modes. Set fake fb to 261 requested bpp with correct masks. -padgeom once:... mode. 262 Set LIBXCB_ALLOW_SLOPPY_LOCK by default. rfbRandomBytes earlier. 263 * classes/ssl: Update jars. Add "TOP_" dropdown customization to 264 ultravnc java viewer applet FTP panel. 265 2662009-01-11 Karl Runge <runge@karlrunge.com> 267 * classes/ssl: Add configurable Ultra java applet Filexfer Drives 268 drop down (e.g. ftpDropDown=Home.Desktop.bin). Document all 269 applet parameters in classes/ssl/README. 270 2712009-01-10 Karl Runge <runge@karlrunge.com> 272 * x11vnc: fix failure of -8to24 on default depth 24 due to 273 nonstandard indexed color support changes. Fix small window 274 for failure after XSendEvent selection call; add env var. 275 X11VNC_SENDEVENT_SYNC=1 to take even more care. 276 2772009-01-03 Karl Runge <runge@karlrunge.com> 278 * x11vnc: add -rmflag option, -rawfb vt support, bpp < 8 support 279 for rawfb, find /dev/video better. Fix reverse SSL connection 280 for DH. Some improvements for CUPS TS helper, restart if needed. 281 2822008-12-10 Karl Runge <runge@karlrunge.com> 283 * x11vnc: 0.9.6 release. Some strtok bugfixes. rename -tlsvnc 284 to -anontls. Disable ssl caching. No cert creation prompting 285 in inetd or bg modes. waitpid a bit more carefully on ssl 286 helpers. Tune ssl initial timeouts. Let -create user specify 287 starting X display. fix -rfbport prompt gui for older tk. 288 -sslonly option. Error if no -ssl with related options. -rand 289 option. -ssl implies -ssl SAVE 290 2912008-11-22 Karl Runge <runge@karlrunge.com> 292 * x11vnc: x11vnc.desktop file. -reopen, -dhparams, -sslCRL, 293 -setdefer options. -rfbport PROMPT VeNCrypt and TLSVNC SSL/TLS 294 encryption support. Tweaks to choose_delay() algorithm. 295 -ssl ANON anonymouse Diffie-Hellman mode. Fix bugs in certs 296 management. Additions to tray=setpass naive user mode. 297 2982008-11-09 Karl Runge <runge@karlrunge.com> 299 * x11vnc: add zeroconf external helpers (avahi-publish and 300 dns-sd). Alias -zeroconf. Close pipeinput_fh on exit. 301 Kludge to make -solid work on MacOSX console. Attempt at 302 cpp macros to disable newer libvncserver interfaces. 303 3042008-10-29 Karl Runge <runge@karlrunge.com> 305 * x11vnc: -http_oneport for single port HTTP and VNC. 306 Improve find_display wrt lsof blocking with -b. 307 3082008-10-19 Karl Runge <runge@karlrunge.com> 309 * x11vnc: -chatwindow for chat window on X console using SSVNC 310 as a helper. Print suggestion for X_ShmAttach failure. 311 Allow -scale WxH for different X- and Y-scaling factors. 312 Workaround for missing -enc cipher EVP_aes_256_cfb. Modify 313 message digest and salt/IV parameters. Try to improve compile 314 time by breaking up large if blocks. 315 3162008-09-21 Karl Runge <runge@karlrunge.com> 317 * x11vnc: Add symmetric key encryption -enc cipher:keyfile, 318 works with SSVNC. Make -remap work on MacOSX console. 319 update to 0.9.5 strings. Add a couple menu items to tkx11vnc. 320 3212008-09-17 Karl Runge <runge@karlrunge.com> 322 * x11vnc: make -allow work in -ssl mode. 323 3242008-09-14 Karl Runge <runge@karlrunge.com> 325 * x11vnc: -sleepin m-n for random sleep. More mktemp and mkstemp 326 protections. SSL_INIT_TIMEOUT=n env. var. Fix macosx console 327 X call bug. Synchronize other projects sources. 328 3292008-09-06 Karl Runge <runge@karlrunge.com> 330 * x11vnc: kill gui_pid on exit in -connect/-connect_or_exit mode. 331 -grablocal n experiment (not compiled by default). -macuskbd 332 option for macosx for orig uskdb code. keycode=N remote contol 333 cmd. Find dpy look at non-NFS cookies in /tmp. Fix gui tray 334 insertion on recent gnome dt. Fix connect_file bug. Sync SSVNC 335 3362008-06-07 Karl Runge <runge@karlrunge.com> 337 * x11vnc: -clip xineramaN option, -DIGNORE_GETSPNAM for HP-UX. 338 Print info on SSH_CONNECTION override. 339 3402008-05-31 Karl Runge <runge@karlrunge.com> 341 * x11vnc: Improvements to nonstandard indexed color support, e.g. 342 depths 1, 4, 12, etc. instead of only 8. Only enable xinerama 343 xwarppointer if there is more than 1 subscreen. 344 3452008-05-07 Karl Runge <runge@karlrunge.com> 346 * x11vnc: add UltraVNC repeater proxy support. fix to setp gui 347 mode. -threads is now strongly discouraged. Read PORT= in url. 348 User can set nolisten for Xvfb in -create mode. clean up 349 wait_for_client() to some degree. 350 3512008-01-31 Karl Runge <runge@karlrunge.com> 352 * x11vnc: during speeds estimate, guard against client 353 disconnecting. ssvnc sync. 354 3552008-01-14 Karl Runge <runge@karlrunge.com> 356 * x11vnc: -ping option, fix memory corruption in copy_tiles 357 after xrandr resize. 358 3592007-12-16 Karl Runge <runge@karlrunge.com> 360 * x11vnc: setup remote-ctrl file by default on macosx. improve 361 tkx11vnc wrt attaching to existing server in icon/tray mode. 362 3632007-12-15 Karl Runge <runge@karlrunge.com> 364 * x11vnc: fix find_display and usleep() prototype on macosx. 365 -display console and check DISPLAY /tmp/...:0 on macosx. 366 implement -noxinerama. 367 3682007-11-12 Karl Runge <runge@karlrunge.com> 369 * x11vnc: add clear_locks (Caps_Lock, etc) action. Fix 370 ssh tunnel on Darwin. 371 3722007-10-27 Karl Runge <runge@karlrunge.com> 373 * x11vnc: fix ncache bug and others under -8to24, -ssh 374 option, socks and other proxies in -proxy option. 375 compiler warnings. fix TARGETS selection request bug 376 (java, konsole). 377 3782007-10-03 Karl Runge <runge@karlrunge.com> 379 * x11vnc: add xfce to createdisplay 380 3812007-09-26 Karl Runge <runge@karlrunge.com> 382 * x11vnc: COLUMNS=256 to find/create scripts. More ratecheck. 383 3842007-09-14 Karl Runge <runge@karlrunge.com> 385 * x11vnc: Add -sshxdmsvc. Fix find_display for inetd. Improve 386 -allinput method; env CHECK_RATE to watch for FBUR build up 387 (i.e. JFVNC). 388 3892007-09-11 Karl Runge <runge@karlrunge.com> 390 * x11vnc: fix wireframe crash under -clip. Add -redirect for 391 VNC redir. -rawfb nullbig, randbig, solid, swirl, etc. 392 FD_XDM mode to find_display. -listdpy. Add enlightenment. 393 Xvnc.redirect FINDDISPLAY-vnc_redirect. -xvnc, -xvnc_redirect, 394 -svc_xvnc. AUTO_PORT. 395 * ssvnc: sshvnc ssh-only, tsvnc Terminal Services modes. 396 Improvements to ss_vncviewer. Automatically find X dpy and 397 X login. Reorganize menus a bit. ~/.ssvncrc file. 398 3992007-09-04 Karl Runge <runge@karlrunge.com> 400 * x11vnc: Add -autoport and -finddpy utils. -xdummy creation. 401 tweak xkb tiebreaking again. Shut off -ncache in dev mode. 402 watch for xrandr events even if no -xrandr. Tips for types 403 of URLs for java viewers. Add check_redir_services() to 404 create_display and tsdo() redir helper utility (-tsd). 405 Improvements to Xdummy. Prevent dcop XAUTHORITY='' 406 4072007-08-19 Karl Runge <runge@karlrunge.com> 408 * x11vnc: better -xkb tie-breaking for up keystrokes. Add 409 Xsrv/FD_XSRV custom server to FINDCREATEDISPLAY list. 410 4112007-08-18 Karl Runge <runge@karlrunge.com> 412 * x11vnc: improve FINDCREATEDISPLAY (-create) script. Document 413 FD_GEOM, FD_SESS, FD_OPTS, FD_PROG env vars, add Xvnc support. 414 4152007-08-15 Karl Runge <runge@karlrunge.com> 416 * x11vnc: add reverse -connect support to -display WAIT: 417 i.e. -find, -create, -svc, ... mode. Document need for 418 -shared under -connect host1,host2,... Fix bug in -display 419 WAIT: mode if vnc client tries to only retrieve SSL cert. 420 4212007-08-03 Karl Runge <runge@karlrunge.com> 422 * x11vnc: add -xrefresh option, fix KDE .DCOPserver parse bug, 423 make sure UNIXPW_DISABLE_LOCALHOST/-unixpw_unsafe ignore 424 any SSH tunnel that would imply -localhost. 425 4262007-07-04 Karl Runge <runge@karlrunge.com> 427 * x11vnc: -debug_ncache, fix big fonts in tkx11vnc. 428 4292007-06-14 Karl Runge <runge@karlrunge.com> 430 * x11vnc: add detectors if ultravnc chat or file xfer took place, 431 if so ping clients more frequently. Fix compile bug if libssl 432 not available. 433 * ssvnc: add ultravnc ftp jar feature. Add certificate management 434 "Verify All Certs". 435 4362007-05-26 Karl Runge <runge@karlrunge.com> 437 * x11vnc: set to version 0.9.2, back to NCACHE -12 for testing. 438 in -unixpw, initial Escape means no echo username (see ssvnc). 439 4402007-05-21 Karl Runge <runge@karlrunge.com> 441 * x11vnc: set things up (NCACHE = -1) to not have -ncache 442 on by default; just give a blurb about it. 443 4442007-05-16 Karl Runge <runge@karlrunge.com> 445 * x11vnc: print out peer host and port for debugging SSL. 446 * ssvnc: rand check, SOCKS support, PORT=, Verify all Certs 447 and accepted certs logging. 448 4492007-05-06 Karl Runge <runge@karlrunge.com> 450 * x11vnc: lower -wait and -defer to 20ms. Change some SSL 451 debug output. Drop client doing ultravnc stuff in -unixpw 452 during login phase. 453 4542007-05-05 Karl Runge <runge@karlrunge.com> 455 * x11vnc: add groups handling for -users mode. 456 4572007-05-01 Karl Runge <runge@karlrunge.com> 458 * ssl: update to java viewer and utility scripts (add onetimekey). 459 * x11vnc: setsid() for -gone mode. setpgrp for -create script and 460 add -cc 4 to avoid DirectColor. 461 4622007-04-28 Karl Runge <runge@karlrunge.com> 463 * x11vnc: -users sslpeer= option. RFB_SSL_CLIENT_CERT var. 464 X11VNC_FINDDISPLAY_ALWAYS_FAILS var. -ncache default 10. 465 gid switch fix. 466 * ssvnc: Linux.i*86 fix and code sync. 467 4682007-04-07 Karl Runge <runge@karlrunge.com> 469 * x11vnc: add gnome, kde, etc. FINDCREATEDISPLAY tags. 470 In check_ncache periodically check for changed desktop. 471 4722007-03-24 Karl Runge <runge@karlrunge.com> 473 * x11vnc: reverse SSL connections. -sleepin option. 474 4752007-03-20 Karl Runge <runge@karlrunge.com> 476 * x11vnc: Add -httpsredir option for router port redirs. 477 set Xcursor bg/fg color values to zero. Env var to 478 force timeout: X11VNC_HTTPS_VS_VNC_TIMEOUT. Let user 479 supply nc=N at login prompt. Disable -ncache beta 480 test under -http/-httpdir. 481 4822007-03-13 Karl Runge <runge@karlrunge.com> 483 * x11vnc: fix crash for kde dcop. limit ncache beta 484 tester to 96MB viewers. 485 4862007-02-18 Karl Runge <runge@karlrunge.com> 487 * x11vnc: Get ultravnc textchat working with ssvnc. 488 4892007-02-16 Karl Runge <runge@karlrunge.com> 490 * x11vnc: add Files mode to user controlled input. more 491 ultra/tight filexfer tweaks. rfbversion remote control. 492 noncache/nc unixpw user opt. 493 4942007-02-15 Karl Runge <runge@karlrunge.com> 495 * x11vnc: tightvnc filetransfer off by default. avahi 496 fixes. FINDCREATEDISPLAY geometry. -noultraext. 497 4982007-02-12 Karl Runge <runge@karlrunge.com> 499 * x11vnc: add avahi (aka mDNS/Zeroconf/Bonjour...) 500 support thanks to Diego Petten�. -avahi/-mdns. 501 Add -find and -create FINDISPLAY aliases. 502 5032007-02-11 Karl Runge <runge@karlrunge.com> 504 * x11vnc: add -grabalways, -forcedpms, -clientdpms, and 505 -noserverdpms (ultravnc viewer) for improvements in 506 the still approximate server locking. Add -loopbg 507 and -svc, -xdmsvc aliases. Bug fix create_display. 508 5092007-02-10 Karl Runge <runge@karlrunge.com> 510 * x11vnc: watch things like textchat, etc. more carefully 511 in unixpw state. Monitor broken XDAMAGE reports when 512 OpenGL apps like beryl are running. Implement simple 513 kbdReleaseAllKeys, setSingleWindow, setServerInput actions 514 (ultravnc extentions). Try to send XDM the username in 515 FINDCREATEDISPLAY, also try .dmrc before .xsession. 516 5172007-01-31 Karl Runge <runge@karlrunge.com> 518 * x11vnc: -reflect reflector/repeater mode with libvncclient. 519 -ncache tweaks: no kde animations and wm improvements, 520 fixes to FINDDISPLAY and FINDCREATEDISPLAY login modes, 521 MODTWEAK_LOWEST envvar for HP-UX keyboard workaround. 522 -N option for display and rfbport matching. 523 5242007-01-12 Karl Runge <runge@karlrunge.com> 525 * x11vnc: -N option, more -ncache improvements, kde/gnome. 526 5272007-01-03 Karl Runge <runge@karlrunge.com> 528 * x11vnc: more -ncache improvements. 529 5302007-01-01 Karl Runge <runge@karlrunge.com> 531 * x11vnc: more -ncache improvements. 532 5332006-12-28 Karl Runge <runge@karlrunge.com> 534 * x11vnc: more work on -ncache, add macosx support, fix X errors 535 and improve cache expiration algorithm. 536 5372006-12-17 Karl Runge <runge@karlrunge.com> 538 * x11vnc: first pass at client-side caching, -ncache option. 539 have -http guess ../classes/.. to run out of build area. 540 5412006-12-17 Karl Runge <runge@karlrunge.com> 542 * x11vnc: make -xwarppointer the default if xinerama is active. 543 5442006-12-09 Karl Runge <runge@karlrunge.com> 545 * java SSL viewer: guard against empty urlPrefix 546 * x11vnc: FINDCREATEDISPLAY support to create X session if 547 one cannot be found. close fds utility. Print VNC Viewer 548 is.. for find display mode. chvt(1) utility. 549 5502006-11-23 Karl Runge <runge@karlrunge.com> 551 * prepare_x11vnc_dist.sh: make ss_vncviewer installed 755. 552 * x11vnc: for HTTPONCE open new http port in -inetd mode. 553 -prog option to indicate full path to program (not know 554 when in -inetd and tcpd) 555 5562006-11-21 Karl Runge <runge@karlrunge.com> 557 * x11vnc: macosx: problem with padded framebuffer rows, wait for 558 user to switch back, CutText xfer support, ignore a few more 559 types of toplevels. Add local user wireframing. -dpms/-nodpms 560 option to work around kdesktop_lock problem. 561 5622006-11-13 Karl Runge <runge@karlrunge.com> 563 * x11vnc: Native Mac OS X support. 564 5652006-11-07 Karl Runge <runge@karlrunge.com> 566 * ssl_vncviewer: vnc:// direct connect, add -x to ssh, 567 SSL_VNC_LISTEN variable for direct proxy. 568 5692006-10-29 Karl Runge <runge@karlrunge.com> 570 * x11vnc: Add tip about how to reenable RECORD extension. 571 5722006-10-11 Karl Runge <runge@karlrunge.com> 573 * x11vnc: -cursor_drag for DnD, etc. 574 5752006-09-23 Karl Runge <runge@karlrunge.com> 576 * Java viewer: improvements to connection response, faster 577 connections. 578 * x11vnc: some cleanup for -unixpw login process. 579 5802006-09-20 Karl Runge <runge@karlrunge.com> 581 * x11vnc: -unixpw_cmd, -passwfile cmd:/custom:, -sslnofail, 582 -ultrafilexfer 583 5842006-09-17 Karl Runge <runge@karlrunge.com> 585 * x11vnc: move some info printout to -v, -verbose mode. Add 586 -connect_or_exit option. Have -rfbport 0 lead to no TCP 587 listening. Eliminate double certificates in .pem files. 588 Always print SSL certificate to the screen to aid pasting. 589 5902006-09-15 Karl Runge <runge@karlrunge.com> 591 * x11vnc: allow user set signals to ignore, clear DISPLAY in 592 -unixpw su_verify. -rawfb none same as null. 593 * rfbserver.c: shorten rfbEncodingNewFBSize message. 594 5952006-09-13 Karl Runge <runge@karlrunge.com> 596 * x11vnc: document 'ssh -t' improved keyboard response. add 597 extra rfbPE() around keystrokes. 598 misc/enhanced_tightvnc_viewer: incorporate scripts, documentation, 599 etc. for the enhanced tightvnc viewer package. 600 6012006-09-10 Karl Runge <runge@karlrunge.com> 602 * x11vnc: minor changes: REQ_ARGS for -sslGenCert, EV_SYN 603 SYN_REPORT check restore cursor most under -display WAIT. 604 6052006-08-10 Karl Runge <runge@karlrunge.com> 606 * x11vnc: first pass at touchscreens via uinput. 607 6082006-08-02 Karl Runge <runge@karlrunge.com> 609 * x11vnc: add -ssltimeout option; tweak ssl timeouts. 610 6112006-07-28 Karl Runge <runge@karlrunge.com> 612 * ssl_vncviewer: remove some bashisms, add features. 613 * x11vnc: -rotate option (e.g. handheld), fix FPE on tru64. 614 6152006-07-17 Karl Runge <runge@karlrunge.com> 616 * x11vnc: enable --without-x builds for -rawfb only (NO_X11) 617 6182006-07-11 Karl Runge <runge@karlrunge.com> 619 * x11vnc: more tweaks to UINPUT, mostly mouse motion. 620 6212006-07-08 Karl Runge <runge@karlrunge.com> 622 * x11vnc: add uinput support (-pipeinput UINPUT:...) for full 623 mouse and key input to linux console (e.g. for qt-embedded apps) 624 add -allinput for handleEventsEagerly. 625 6262006-07-04 Karl Runge <runge@karlrunge.com> 627 * x11vnc: 2nd -accept popup with WAIT, and UNIX: info for unixpw 628 login. Use RFB_CLIENT_ON_HOLD for -unixpw. -unixpw white arrow 629 -license option. Use getspnam if getpwnam is short. 630 abbrevs sc=, cm, ck for user:opts. 631 6322006-06-23 Karl Runge <runge@karlrunge.com> 633 * x11vnc: misc cleanup. 634 6352006-06-18 Karl Runge <runge@karlrunge.com> 636 * x11vnc: -grabkbd, -grabptr, -env options. under -unixpw + 637 WAIT let user add some options after his username (e.g. runge:3/4) 638 -allowedcmds to fine tune vs. -nocmds. general cleanup. 639 6402006-06-12 Karl Runge <runge@karlrunge.com> 641 * x11vnc: word tune SSL Java viewer; fix multi-certs bug. Add 642 -display WAIT:cmd=FINDDISPLAY builtin script and cmd=HTTPONCE 643 action. -http_ssl option for ssl subdir only. Add -rawfb RAND 644 test case. improve raw_xfer() for use in inetd https transfer. 645 fix bug SSH + -unixpw -> -localhost. fix bug setup cursors 646 in WAIT mode. Mac OS X pty tweak. 647 6482006-06-09 Karl Runge <runge@karlrunge.com> 649 * x11vnc: make -display WAIT + -unixpw work on Solaris. 650 6512006-06-08 Karl Runge <runge@karlrunge.com> 652 * x11vnc: XOpenDisplay wrapper for raw xauth data, -unixpw 653 su_verify() to run any cmd, -users unixpw= mode. -display WAIT:... 654 modes for delayed X display opening and dynamic choosing. 655 6562006-06-03 Karl Runge <runge@karlrunge.com> 657 * x11vnc: -capslock and -skip_lockkeys options. map some Alt keys 658 to Latin under linuxfb. switch to new stats API. Handle more 659 cases carefully when switching fb. 660 6612006-05-06 Karl Runge <runge@karlrunge.com> 662 * x11vnc: improved support for webcams and tv tuners with 663 video4linux /dev/video: -rawfb video, -freqtab etc. 664 Convenience option for linux VT's: -rawfb cons (LinuxVNC 665 method). -pipeinput builtins for video and console. 666 -24to32 option to avoid 24bpp problems. "snap:" method for 667 -rawfb. 668 6692006-04-26 Karl Runge <runge@karlrunge.com> 670 * x11vnc: skip exit in check_openssl() if not compiled with 671 libssl. set SKIP_HELP (again) in small footprint builds. 672 6732006-04-16 Karl Runge <runge@karlrunge.com> 674 * x11vnc: More web proxy work for Java SSL applet and wrapper 675 script ssl_vncviewer. Apache SSL gateway support for 676 incoming x11vnc connections. Handle "double proxy" case. 677 6782006-04-05 Karl Runge <runge@karlrunge.com> 679 * x11vnc: add FBPM support (-fbpm) for Suns. -rawfb ZERO for 680 testing. Basic key+cert management utilities: -sslGenCA, 681 -sslGenCert, -sslEncKey, -sslDelCert, -sslCertInfo, and 682 addln features. SSL proxy connection. -storepasswd with 683 no args or pw echo. 684 6852006-03-26 Karl Runge <runge@karlrunge.com> 686 * x11vnc: -xinerama now on by default. In -ssl mode accept https 687 applet downloads thru VNC port. -https option for 2nd https 688 port. Look for classes/ssl under -http. add Java URL messages 689 to final output lines. make -inetd work with -ssl (even for 690 https). fix -unixpw login prompt under -scale. guard against 691 clientData = NULL. 692 6932006-03-11 Karl Runge <runge@karlrunge.com> 694 * x11vnc: add -ssl mode using libssl. Include Xdummy in misc. 695 a few more macros for smallerfoot, etc. 696 6972006-03-08 Karl Runge <runge@karlrunge.com> 698 * x11vnc: manage CLIPBOARD in addition to PRIMARY. -debug_sel 699 Make reverse connections require passwords. -usepw option. 700 -storepasswd w/o args prompts and writes ~/.vnc/passwd. 701 7022006-03-06 Karl Runge <runge@karlrunge.com> 703 * x11vnc: switch remote control to X11VNC_REMOTE property. Put 704 in -unixpw constraints for reverse connections under -inetd. 705 -inetd won't quit when reverse conn client leaves. Allow keyboard 706 input for viewonly -unixpw logins. "%*" utils for testing 707 -unixpw. improve start time fix bugs, small screen in gui. 708 7092006-03-04 Karl Runge <runge@karlrunge.com> 710 * x11vnc: -unixpw on *bsd, hpux and tru64. Add -unixpw_nis for 711 non-shadow systems. check stunnel dying. check SSH_CONNECTION 712 in -unixpw. gui icon tweaks, unix username. 713 7142006-03-02 Karl Runge <runge@karlrunge.com> 715 * x11vnc: more tweaks to -unixpw mode. Add -gone popup mode. 716 Change filexfer via -R. Tune SMALL_FOOTPRINT. gui fixes. 717 7182006-02-24 Karl Runge <runge@karlrunge.com> 719 * x11vnc: -unixpw for Unix password auth, -stunnel to setup 720 stunnel(1) for an SSL tunnel on the server end. Add clipboard 721 input to per-client input controls. 722 7232006-02-20 Karl Runge <runge@karlrunge.com> 724 * x11vnc: add SIGINT SIGQUIT handling for run_user_command(), 725 set some signal handlers to SIG_DLF for forked children, 726 put a timeout on port 113 connection to viewer machine. 727 7282006-02-06 Karl Runge <runge@karlrunge.com> 729 * x11vnc: fix AIX build wrt h_errno. 730 7312006-02-06 Karl Runge <runge@karlrunge.com> 732 * x11vnc: -8to24 more speedups; tunables for very slow machines. 733 7342006-02-04 Karl Runge <runge@karlrunge.com> 735 * x11vnc: -8to24 speedups and improvements. 736 7372006-01-21 Karl Runge <runge@karlrunge.com> 738 * x11vnc: -8to24 opts, use XGetSubImage. fix -threads deadlocks and 739 -rawfb crash. 740 7412006-01-18 Karl Runge <runge@karlrunge.com> 742 * x11vnc: -8to24 now works on default depth 8 screens. 743 7442006-01-16 Karl Runge <runge@karlrunge.com> 745 * x11vnc: more tweaks to -8to24, add XGETIMAGE_8TO24 mode to call 746 XGetImage() on the 8bpp regions. 747 7482006-01-14 Karl Runge <runge@karlrunge.com> 749 * x11vnc: add -8to24 option for some multi-depth displays (but use 750 of -overlay is preferred if supported). 751 7522006-01-12 Karl Runge <runge@karlrunge.com> 753 * fix -DSMALL_FOOTPRINT=N builds. 754 7552006-01-11 Karl Runge <runge@karlrunge.com> 756 * x11vnc: close fd > 2 in run_user_command(), -nocmds in crash_debug, 757 fix 64bit bug for -solid. 758 7592006-01-08 Karl Runge <runge@karlrunge.com> 760 * x11vnc: the big split. opts: -afteraccept and -passwdfile read: 761 7622005-12-24 Karl Runge <runge@karlrunge.com> 763 * x11vnc: enhance -passwdfile features, filetransfer on by default, 764 call rfbRegisterTightVNCFileTransferExtension() earlier. 765 7662005-11-28 Karl Runge <runge@karlrunge.com> 767 * x11vnc: add -loop option. 768 7692005-11-25 Karl Runge <runge@karlrunge.com> 770 * x11vnc: throttle load if fb update requests not taking place. 771 * misc/x11vnc_pw: add utility script 772 7732005-10-22 Karl Runge <runge@karlrunge.com> 774 * add tightVNC FileTransfer (-filexfer) and -DFILEXFER=1 775 * -slow_fb for special purpose infrequent polling. 776 * make -blackout work with copyrect clipping. 777 * -blackout noptr,WxH+X+Y,... to prevent pointer from going 778 into a blacked out region. 779 7802005-07-17 Karl Runge <runge@karlrunge.com> 781 * more improvements to gui UE. gui requests via client_sock 782 PASSWD_REQUIRED and PASSWD_UNLESS_NOPW build options. 783 7842005-07-12 Karl Runge <runge@karlrunge.com> 785 * gui: remove nevershared etc., parse cmd line, bug fixes. 786 * x11vnc: fix pointer queue buildup under -viewonly. 787 7882005-07-10 Karl Runge <runge@karlrunge.com> 789 * more improvements to gui, default values, save-settings.. 790 * x11vnc scary password warnings. Release settings. -QD option. 791 add \# to rc files and fix rcfile read bug. 792 7932005-07-09 Karl Runge <runge@karlrunge.com> 794 * add -grab_buster helper thread to break up grabs (might not be 795 need any longer due to gett XFlush-ing). Fix scrolls and 796 copyrect for -clip and -id cases. 797 7982005-07-06 Karl Runge <runge@karlrunge.com> 799 * many improvements to the gui. now embeds into system tray ok. 800 x11vnc -debug_grabs, -printgui, -nosync 801 8022005-07-01 Karl Runge <runge@karlrunge.com> 803 * support for simple "-gui tray" mode (small icon like the original 804 x0rfbserver had). Can't figure how to get a tray to swallow it.. 805 * passwd, viewpasswd changing in tray mode. 806 * allow typos like: x11vnc -R -scale 3/4 807 8082005-06-26 Karl Runge <runge@karlrunge.com> 809 * track keycode state for heuristics, -sloppy_keys, -wmdt 810 * add -nodbg as option 811 8122005-06-21 Karl Runge <runge@karlrunge.com> 813 * reinstate "bad desktop" for wireframe. 814 * extra long info and tips of XOpenDisplay fails. 815 8162005-06-18 Karl Runge <runge@karlrunge.com> 817 * clean up some malloc/free problems (don't free the current cursor) 818 * set DISPLAY before calling gconf, dcop under -solid 819 * -inetd -q and no -o logfile implies closing stderr. 820 8212005-06-14 Karl Runge <runge@karlrunge.com> 822 * -DNOGUI and -DVIEWONLY build options 823 * -noskip_dups the default (windows viewer sends no ups when 824 repeating) 825 * HAVE_SOLARIS_XREADSCREEN and HAVE_IRIX_XREADDISPLAY 826 * Alt+Button+Motion to wireframe. tunable in WIREFRAME_PARMS 827 * copyrect now the default under -scale (works OK, but must 828 send a cleanup update) 829 * fix -pedantic and Sun cc warnings and errors (unsigned, etc..) 830 * print out fatal error messages under -quiet 831 * -seldir to control and debug selection transfers. 832 * fix crashes on 64bit wrt unsigned long in rich cursors. 833 * fix kde guessing errors 834 * more scrolling and wireframe tweaks. 835 8362005-06-03 Karl Runge <runge@karlrunge.com> 837 * make scrollcopyrect more or less usable under -scale 838 * add -fixscreen for periodic cleanup of painting errors. 839 * adjust keyrepeat scroll behavior. 840 8412005-05-30 Karl Runge <runge@karlrunge.com> 842 * alter "magic cleanup key sequences" (N*Alt_L and N*Super_L) 843 * dial down check_xrecord_reset() reset times. 844 8452005-05-24 Karl Runge <runge@karlrunge.com> 846 * more -scrollcopyrect: GrabServer detection, autorepeat throttling, 847 hack to clean screen 3,4,5 Alt_L in a row, mouse wheel detect. 848 * fix bug wrt switching to single_copytile, add Darwin to shm limit. 849 8502005-05-17 Karl Runge <runge@karlrunge.com> 851 * more -scrollcopyrect, -scr_term hacks for terminals. 852 * -wait_ui, -nowait_bog tunables. push cursor sooner. 853 8542005-05-14 Karl Runge <runge@karlrunge.com> 855 * much more work on "-scrollcopyrect" mode... getting usable. 856 * remove -pointer_mode 3, shift everyone back down 857 * -dbg "crash shell" for debugging 858 * -add_keysyms now the default, periodically clears if needed. 859 * try to autodetect if -xkb would be a good idea. 860 * improve keycode guessing for -xkb mode (force ISO_Level3_Shift) 861 * -remap DEAD, etc. for dead/mute keys remappings. 862 8632005-05-02 Karl Runge <runge@karlrunge.com> 864 * initial support for using RECORD to detect some types of window 865 scrolls. This is "-scrollcopyrect" mode, use -noscrollcopyrect 866 to disable. Much tuning and painting error repair still required. 867 * more build time customizations: REMOTE_DEFAULT, REMOTE_CONTROL, 868 EXTERNAL_COMMANDS, NOREPEAT, WIREFRAME*, SCROLL*, ... 869 * added bandwidth and latency measurements. 870 * added XListHosts to -privremote check. 871 * debug_* remote-control variables. 872 * removed OLD_TREE stuff. 873 8742005-04-19 Karl Runge <runge@karlrunge.com> 875 * somewhat safer remote-control defaults, and addnl options for 876 more safe operation: -privremote, -safer, -nocmds, -unsafe 877 * -wireframe, -wirecopyrect: instead of having user look at a 878 slowly moving, lurching window, guess when a window is being 879 moved/resized and just show a wireframe. -wirecopyrect means to 880 apply rfbDoCopyRegion to the detected move as well. 881 * debugging switches for X events and X damage: debug_xevents 882 debug_xdamage. 883 * -rawfb bugfixes. -noviewonly hack to still send UI to X. 884 8852005-04-11 Karl Runge <runge@karlrunge.com> 886 * fix -clip under -rawfb, fix offset bug under file lseeking. 887 * add -rawfb setup:cmd mode to initialize fb. example: misc/ranfb.pl 888 8892005-04-10 Karl Runge <runge@karlrunge.com> 890 * -rawfb non X-polling (i.e. shm, mmap, lseek). 891 * -pipeinput enable external user input processing command. 892 * -xtrap use XESimulateXEventRequest to inject user input. 893 * scaling blend for StaticGray, add :fb scaling option. 894 * default password macros. 895 * improve -norepeat use under -viewonly. 896 * -flag flagfile to aid wrapper scripts. 897 * add utility scripts, etc. dir ./misc 898 8992005-04-03 Karl Runge <runge@karlrunge.com> 900 * try DEC-XTRAP on X11R5 if XTestGrabControl is missing. 901 * -shiftcmap n, for 8bpp displays using < 256 color cells 902 and with pixel values shifted from zero. 903 * fix DAMAGE event leak after viewers disconnect. 904 * -http option to try to guess where the java viewer is. 905 9062005-03-29 Karl Runge <runge@karlrunge.com> 907 * build-time customizations X11VNC_SHARED, X11VNC_FOREVER, 908 REMOTE_CONTROL, SMALL_FOOTPRINT for CPPFLAGS 909 * fix event leaks for xkb BellNotify and ClientMessage and others, 910 esp. under -nofb. make nofb work with remote control. 911 * -nolookup for bad DNS setups. 912 * more playing with pointer_mode: check_user_input3() 913 9142005-03-19 Karl Runge <runge@karlrunge.com> 915 * scale cursors along with display. Use -scale_cursor to change 916 or disable cursor scaling. 917 * speed up scaling in some cases, :nb and integer magnification. 918 * provide alternative arrow cursors (1-6) via -arrow n. 919 * reset no autorepeat a couple times if something turns it off, 920 set with -norepeat N. 921 * do not take a nap if DAMAGE seems to be doing its job. 922 9232005-03-12 Karl Runge <runge@karlrunge.com> 924 * support for the X DAMAGE extension to receive damage 925 rectangle reports from the X server. On by default, disable 926 with -noxdamage. Currently only trusts small rects 927 (but see -xd_area n) and uses the rest as "hints" for the 928 scanline polling. 929 * -clip WxH+X+Y to show a clipped sub-region of the screen. 930 * use RFC 1413 (identd) to attach a name to a client in 931 friendly environments. 932 * fix XAUTHORITY wrt '-auth ... -gui other:0'. 933 9342005-03-04 Karl Runge <runge@karlrunge.com> 935 * add changes to couple with -listen option, in particular 936 the behavior of -localhost and remote control cmds. 937 * workarounds for old trees. 938 9392005-02-23 Karl Runge <runge@karlrunge.com> 940 * final changes for 0.7.1 release. 941 9422005-02-21 Karl Runge <runge@karlrunge.com> 943 * -nap is now the default, disable with -nonap 944 * set version to 0.7.1, word tune -help, etc. 945 9462005-02-14 Karl Runge <runge@karlrunge.com> 947 * cleanup -users stuff, add "lurk=" mode 948 * support cde in -solid 949 * simple gui mode for beginners, -gui ez,... 950 9512005-02-10 Karl Runge <runge@karlrunge.com> 952 * Add -input to fine tune client input (keystroke, mouse motion, 953 and button presses). Allow per-client setting via remote cntl. 954 * fix bug in get_remote_port, add ip2host for client info. 955 9562005-02-09 Karl Runge <runge@karlrunge.com> 957 * Add -users switch user mechanism and related utilities. 958 * fix -solid for gnome and kde. 959 * exit earlier on trapped XIO errors. 960 9612005-02-05 Karl Runge <runge@karlrunge.com> 962 * -solid solid color background when clients are connected. 963 * -opts/-? to show option names only. 964 9652005-01-23 Karl Runge <runge@karlrunge.com> 966 * sync with new draw cursor mechanism, keep old way in OLD_TREE. 967 * add -timeout option, change -alphablend to be default 968 * -R norepeat now forces the issue (Xsession may turn it back on). 969 * try :0 if no other info. 970 9712005-01-15 Karl Runge <runge@karlrunge.com> 972 * adjust alpha blending parameters, -alphablend, handle 24bpp. 973 * add -snapfb snapshot fb, not clear how useful it is.. 974 * more functions etc for -pointer_mode 4, still not finished. 975 * scan_for_updates() "count only" mode. 976 * increase max shm size on Linux. 977 * -oa -logappend, -pm, -speeds 978 * fix bugs in -allow, -R connect, screen == NULL 979 9802004-12-27 Karl Runge <runge@karlrunge.com> 981 * allow -DLIBVNCSERVER_HAVE_FOO=0 override everything 982 * get_xfixes_cursor() try to more carefully convert alpha channel 983 to opaque pixel. Options -alphacut, -alphafrac, -alpharemove 984 * more commands under remote control: rfbwait, rfbport, http, 985 httpport, httpdir, enablehttpproxy, desktop, alwaysshared, 986 dontdisconnect. Add to tkx11vnc. 987 9882004-12-22 Karl Runge <runge@karlrunge.com> 989 * final polishing for 0.7 release, tkx11vnc tweaks 990 * more careful rfbPE in pick_window, start check_user_input4() 991 9922004-12-19 Karl Runge <runge@karlrunge.com> 993 * cleanup putenv, snprint, other string manip. 994 * add -sync mode to remote control for better control 995 * allow -remote and -query at same time. 996 9972004-12-16 Karl Runge <runge@karlrunge.com> 998 * support for XFIXES extension to show the exact cursor shape, 999 working on Linux/Xorg and Solaris 10. disable with -noxfixes 1000 * remote control mania - nearly everything can be changed dynamically! 1001 see the -remote/-query (aka -R/-Q) options. e.g. -R scale:5/6 1002 * simple gui tkx11vnc based on the remote control mechanism, see -gui 1003 * support for XRANDR extension, if the X screen changes size (see 1004 xrandr(1)), x11vnc will resize the fb. Pays to have NewFBSize viewer 1005 * -overlay support on IRIX with XReadDisplay (not tested). 1006 * RFB_MODE is set to "accept" or "gone" in environment 1007 * "-id pick" will let you pick the window (calls xwininfo(1)...) 1008 * "-pointer_mode n" replaces -old_pointer (n=1) and -old_pointer2 (n=2) 1009 a new mode n=3 is added (similary to nodragging, but dynamic). 1010 * "-sb n" screen blank timeout option is now documented. 1011 * renamed NON_CVS to OLD_TREE 1012 10132004-08-31 Karl Runge <runge@karlrunge.com> 1014 * new check_user_input() pointer input algorithm, it tries to avoid 1015 extra-draws. still needs tuning, get previous one with -old_pointer2 1016 * add NON_CVS macro for building in older CVS trees. 1017 10182004-08-29 Karl Runge <runge@karlrunge.com> 1019 * remove old mouse patch code, now use rfbSetCursor (+ workarounds) 1020 * changed cursor shape options (no more -mouse, ...) to '-cursor mode' 1021 where 'mode' can be empty "X", "some", or "most". "some" adds 1022 heuristics for two more cursors. 1023 * -nocursorshape added. 1024 * ifdef checks for XSHM and XTEST. Add *_wr wrappers as well. 1025 * -vncconnect is now the default. 1026 10272004-08-15 Karl Runge <runge@karlrunge.com> 1028 * -overlay option to fix color problems on Sun machines with 8+24 1029 and 24+8 overlay visuals, uses Solaris XReadScreen(). 1030 * expose -sid option (shifted -id windowid) to allow explicit 1031 wrapping of XGetImage, etc for -overlay 1032 * fix misc bugs: missing var types, hardwired blackouts sizes, 1033 subwin desktop name crash. 1034 10352004-08-03 Karl Runge <runge@karlrunge.com> 1036 * add man page x11vnc.1 autogenerated from x11vnc -help; tweak 1037 help output a little bit. Adjust autoconf to pick up manpage. 1038 * add README from website docs. 1039 * zero watch_bell and use_xkb_modtweak if no XKEYBOARD 1040 10412004-07-31 Karl Runge <runge@karlrunge.com> 1042 * -cursorpos now the default; make cursorpos work when scaling 1043 * fix bug with multiple adds of the same keysym for -add_keysyms 1044 * rewhack -help output again 1045 * adjust version number and output. 1046 10472004-07-28 Karl Runge <runge@karlrunge.com> 1048 * -add_keysyms dynamically add missing keysyms to X server 1049 10502004-07-26 Karl Runge <runge@karlrunge.com> 1051 * first pass at doing modtweak via XKEYBOARD extension (-xkb) 1052 * -skip_keycodes option for use with -xkb 1053 * reset modtweak and xkb_modtweak on event MappingNotify. 1054 * trap Xerror during XSendEvent/XChangeProperty. 1055 * fix bug requesting PRIMARY way too often. 1056 * more careful to check if XKeysymToString returns NULL. 1057 * continuation lines "\" in x11vncrc. 1058 * undoc'd expts: -isolevel3, -xkbcompat 1059 10602004-07-19 Karl Runge <runge@karlrunge.com> 1061 * ignore keysyms 5-8 for keycode keymapping. 1062 * help to stdout for easy paging, add lastmod to help and -version. 1063 10642004-07-15 Karl Runge <runge@karlrunge.com> 1065 * make "modtweak" the default, disable with -nomodtweak. this 1066 corrects ghost "< >" key on pc104 us in XFree86. 1067 * fix bug wrt no got_keyboard_input under modtweak 1068 10692004-07-10 Karl Runge <runge@karlrunge.com> 1070 * -norepeat to turn off X server autorepeat when clients exist, 1071 (this is workaround for the repeating keystroke bug. Note that 1072 client side does autorepeating so not a big loss). 1073 10742004-07-04 Karl Runge <runge@karlrunge.com> 1075 * extend -allow to re-read a file with allowed IP addresses. 1076 * improvements to -help text. 1077 10782004-07-01 Karl Runge <runge@karlrunge.com> 1079 * improve scaled grid calculation to prevent drift (which causes 1080 drift in pixel weights and poorer tightvnc compression) 1081 * add ":pad" scale option, detect small fraction scale = m/n. 1082 10832004-06-28 Karl Runge <runge@karlrunge.com> 1084 * round scaled width to multiple of 4 to make vncviewer happy. 1085 * allow override of above ":n4" and allow 4 point interpolation 1086 to be used even with shrinking ":in". 1087 10882004-06-27 Karl Runge <runge@karlrunge.com> 1089 * speed up scaling a bit for slow machines (still all floating point) 1090 * add no blending option (-scale fraction:nb) 1091 10922004-06-26 Karl Runge <runge@karlrunge.com> 1093 * add -scale fract for global (not per-client) server-side scaling 1094 working more or less OK, needs to be optimized at some point. 1095 * remove -hints/-nohints options. 1096 10972004-06-17 Karl Runge <runge@karlrunge.com> 1098 * simple ~/.x11vncrc config file support, -rc, -norc 1099 11002004-06-12 Karl Runge <runge@karlrunge.com> 1101 * add -clear_mods -clear_keys for (rare) case where keys are 1102 not being released (e.g. Ctrl-C x11vnc thru x11vnc). 1103 * export RFB_SERVER_IP and RFB_SERVER_PORT to -accept program 1104 so that the tcp 4-tuple is completely specified. 1105 * add -storepasswd <pass> <file> so storepasswd program not needed 1106 11072004-06-05 Karl Runge <runge@karlrunge.com> 1108 * rearrange file for easier maintenance, indicating file breakup. 1109 * add RFB_CLIENT_COUNT, number of other connected clients to 1110 -accept and -gone commands. 1111 11122004-05-27 Karl Runge <runge@karlrunge.com> 1113 * add view-only passwd via -viewpasswd and 2nd line of -passwdfile 1114 11152004-05-21 Karl Runge <runge@karlrunge.com> 1116 * -accept: add view-only decision and other improvements. 1117 * add -gone command option for when a client leaves. 1118 Thanks to Jesus Alvarez for these ideas. 1119 * -passwdfile to keep passwd off of cmd line. 1120 * -o logfile send stderr to a logfile. 1121 11222004-05-14 Karl Runge <runge@karlrunge.com> 1123 * improvements to -accept popup: yes/no buttons and timeout. 1124 * less fprintf under -q so '-q -inetd' has no stderr output. 1125 11262004-05-08 Karl Runge <runge@karlrunge.com> 1127 * add -accept some-command/xmessage/popup to prompt local X11 user 1128 or otherwise decide to accept an incoming client. 1129 * clean up -Wall warnings. 1130 11312004-05-05 Karl Runge <runge@karlrunge.com> 1132 * enable mouse button -> keystrokes mapping in -buttonmap (mousewheel) 1133 * enable keystroke -> mouse button mapping in -remap (touchpad paste) 1134 (-remap incompat ':' -> '-', sorry...) 1135 * shm OS blacklist (i.e. <= SunOS 5.8) -> -onetile 1136 * revert to check_user_input() under -nofb 1137 * cleanup: lastmod, remove tile_shm and update_client_pointer, 1138 debug output, rfbPort failure. 1139 * user friendly last line: 'The VNC desktop is hostname:0' 1140 11412004-04-28 Karl Runge <runge@karlrunge.com> 1142 * -auth cmdline option for xauthority. 1143 * decrease default deferupdate under -nofb. 1144 * update_client_pointer() from Edoardo Tirtarahardja. 1145 * remove some assumptions about libvncserver defaults. 1146 11472004-04-19 Karl Runge <runge@karlrunge.com> 1148 * support for cursor positions updates -cursorpos 1149 * option for SIGPIPE handling -sigpipe 1150 11512004-04-13 Karl Runge <runge@karlrunge.com> 1152 * solve problem with sending selection when client initializing 1153 (not yet in RFB_NORMAL state). Increase delay to 15s as well. 1154 * when threaded: limit rfbMaxClientWait to >= 20 secs and 1155 increase it to a huge value unless -rfbwait is supplied. 1156 11572004-04-08 Karl Runge <runge@karlrunge.com> 1158 * added support for blacking out regions of the screen, primarily 1159 for Xinerama usage, options: -blackout -xinerama 1160 * Xinerama workaround mouse problem on 'embedded' system, 1161 option -xwarppointer (XWarpPointer instead of XTEST) 1162 * let -remap option take key remappings on cmdline as well as file. 1163 * use cargs fix to test for invalid cmdline options. Add --option. 1164 * remove copy_tile, use copy_tiles(..., 1) instead. 1165 11662004-03-10 Karl Runge <runge@karlrunge.com> 1167 * added reverse connection for vncconnect(1) and other means 1168 -vncconnect, -connect host:port, and -connect watchfile 1169 * added first pass at user keysym remapping feature via 1170 -remap file. Ignores modifier state, need to generalize. 1171 * debugging options for users -debug_pointer and -debug_keyboard 1172 * clear -passwd from argv for privacy (if OS allows). 1173 11742004-02-19 Karl Runge <runge@karlrunge.com> 1175 * added handling of clipboard/selection exchange to/from clients, 1176 even holds PRIMARY which Xvnc does not do. disable with -nosel. 1177 use -noprimary to disable polling of PRIMARY selection. 1178 * added -visual option to force framebuffer visual. not really 1179 of general use, more for testing and workarounds (e.g. win2vnc 1180 fails under 8bpp index color) 1181 * improve cleanup and error handling WRT shm and other failures. 1182 11832004-01-19 Karl Runge <runge@karlrunge.com> 1184 * improvements to pointer event handling primarily during window 1185 dragging. check_user_input() for non-threaded and pointer() 1186 for threaded. Revert to old way via -old_pointer option. 1187 * some memory I/O improvement by using copy_tiles() instead 1188 of copy_tile(). New one does rows of tiles at same time. 1189 Revert to old way via -old_copytile. 1190 * handle case of more mouse buttons on client than on X server. 1191 * added -buttonmap option for finer control over button differences. 1192 11932004-01-09 Karl Runge <runge@karlrunge.com> 1194 * options -allow / -localhost for simple IP based access screening 1195 * option -nodragging to skip all screen updates during mouse drags 1196 (thanks to Michal Sabala) 1197 * option -input_skip to allow users to tune watch_loop dropthru rate 1198 * try to avoid wasting RAM for framebuffer under -nofb 1199 * cleanup wrt bpp vs. depth 1200 12012003-12-08 Karl Runge <runge@karlrunge.com> 1202 * add Xbell support using XKEYBOARD extension (disable: -nobell) 1203 * add "-nofb" to disable framebuffer, i.e. mouse + keyboard only (!) 1204 * add "-notruecolor" to force indexed 8bpp color (when 8bpp) 1205 * make alias "-forever" for "-many" 1206 1207From Karl (x11vnc's father) on Apr 2, 2003: 1208 1209New option -nocursor to not display the vncviewer local cursor if user 1210does not want it (also caused some problems with older vncviewers) 1211 1212New option -mouse to show the position of the X server mouse (i.e. lagged 1213from the user's vnc cursor position). Also: -mouseX will try to show 1214the a different cursor (X) when on the root background. 1215 1216New option -many to wait for more connections rather than exiting when 1217the first client(s) disconnect. 1218 1219New option -flashcmap to try to follow installed colormaps under 8bpp 1220indexed color as pointer is moved. 1221 1222New option -nap to watch for low activity and throttle down the polling 1223rate. Useful on shared machines to keep the load down. 1224 1225Experimental option -id <windowid> to show just that window and not 1226the whole display. Some remaining bugs and inconvenient behavior... 1227(e.g. new toplevels can be unseen) 1228 1229Fixed bug on multi-headed machines where the screen number was being 1230ignored in a number of places. 1231 1232Fixed bug wrt connect_once mode. Now just refuses new clients unless 1233shared rather than terminating all clients. 1234 1235Try to follow changing default colormap under 8bpp indexed color 1236as color cells are added. 1237 1238Needed to pick up HAVE_LIBPTHREAD from autoconf. 1239 1240defined a select() macro for usleep() since usleep is not always thread 1241safe. 1242 1243Catch and exit on errors in the shm setup work (XShmCreateImage, shmget,...) 1244and moved the creation and removal work to separate utility functions. 1245 1246Added signal and X error handlers to try to clean out the shm objects 1247before exiting on interrupt, etc. 1248 1249Improved performance a bit on the memcmp() in scan_display() by checking 1250the whole line first. 1251 1252Added a workaround when threaded where libvncserver may disconnect too 1253early if it does not hear from a client (a small heartbeat is sent). 1254This may not be needed any longer. 1255 1256If -desktop has not been prescribed, try to choose a title based on DISPLAY 1257and the hostname (and window name under -id). 1258