diff options
author | runge <runge@karlrunge.com> | 2010-12-29 10:05:52 -0500 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-12-29 10:05:52 -0500 |
commit | 596331a5c3124f080cdcbb400c188c095048ef35 (patch) | |
tree | 66eb904b6c0181703d8f3c9ec81352a970d52601 /x11vnc/help.c | |
parent | 0c03b989407f9e5ea66b403011baaaad09fcd536 (diff) | |
download | libtdevnc-596331a5c3124f080cdcbb400c188c095048ef35.tar.gz libtdevnc-596331a5c3124f080cdcbb400c188c095048ef35.zip |
x11vnc: Use opengl to read screen on macosx. non-deprecated macosx interfaces for input injection.
Diffstat (limited to 'x11vnc/help.c')
-rw-r--r-- | x11vnc/help.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/x11vnc/help.c b/x11vnc/help.c index c268b3f..5cd5c12 100644 --- a/x11vnc/help.c +++ b/x11vnc/help.c @@ -810,6 +810,20 @@ void print_help(int mode) { " IPv6: if IPv6 is supported, this option automatically\n" " implies the IPv6 loopback address '::1' as well.\n" "\n" +"-unixsock str Listen on the unix socket (AF_UNIX) 'str'\n" +" for connections. This mode is for either local\n" +" connections or a tunnel endpoint where one wants the\n" +" file permission of the unix socket file to determine\n" +" what can connect to it. (This currently requires an\n" +" edit to libvnserver/rfbserver.c: comment out lines 310\n" +" and 311, 'close(sock)' and 'return NULL' in rfbserver.c\n" +" after the setsockopt() call.) Note that to disable all\n" +" tcp listening ports specify '-rfbport 0' and should be\n" +" useful with this mode. Example:\n" +" mkdir ~/s; chmod 700 ~/s;\n" +" x11vnc -unixsock ~/s/mysock -rfbport 0 ...\n" +" The SSVNC unix vncviewer can connect to unix sockets.\n" +"\n" #if X11VNC_IPV6 "-listen6 str When in IPv6 listen mode \"-6\", listen only on the\n" " network interface with address \"str\". It also works\n" @@ -4851,6 +4865,42 @@ void print_help(int mode) { " because they have animated fades, etc.)\n" "-macuskbd For the native MacOSX server, use the original\n" " keystroke insertion code based on a US keyboard.\n" +"-macnoopengl For the native MacOSX server, do not use OpenGL for\n" +" screen capture, but rather use the original, deprecated\n" +" raw memory access method: addr = CGDisplayBaseAddress().\n" +"-macnorawfb For the native MacOSX server, disable the raw memory\n" +" address screen capture method.\n" +"\n" +" MACOSX NOTE: There are some deprecated MacOSX interfaces\n" +" to inject keyboard and mouse events and the raw memory\n" +" access method is deprecated as well (however, OpenGL\n" +" will be preferred if available because it is faster.)\n" +" One can force not using any deprecated interfaces at\n" +" compile time by setting -DX11VNC_MACOSX_NO_DEPRECATED=1\n" +" in CPPFLAGS. Or to turn them off one by one:\n" +" -DX11VNC_MACOSX_NO_DEPRECATED_LOCALEVENTS=1,\n" +" -DX11VNC_MACOSX_NO_DEPRECATED_POSTEVENTS=1 or\n" +" -DX11VNC_MACOSX_NO_DEPRECATED_FRAMEBUFFER=1\n" +" At run time, for testing and workarounds, one can\n" +" disable them by using:\n" +" -env X11VNC_MACOSX_NO_DEPRECATED=1\n" +" -env X11VNC_MACOSX_NO_DEPRECATED_LOCALEVENTS=1\n" +" -env X11VNC_MACOSX_NO_DEPRECATED_POSTEVENTS=1 or\n" +" -env X11VNC_MACOSX_NO_DEPRECATED_FRAMEBUFFER=1\n" +" Note: When doing either of these for the mouse input\n" +" not everything works currently, e.g. double clicks and\n" +" wireframing. Also, screen resolution and pixel depth\n" +" changes will not be automatically detected unless the\n" +" deprecated framebuffer interfaces are allowed.\n" +"\n" +" Conversely, if you are compiling on an\n" +" older machine that does not have some of\n" +" the newer interfaces, you may need to specify\n" +" -DX11VNC_MACOSX_NO_CGEVENTCREATESCROLLWHEELEVENT\n" +" -DX11VNC_MACOSX_NO_CGEVENTCREATEMOUSEEVENT or\n" +" -DX11VNC_MACOSX_NO_CGEVENTCREATEKEYBOARDEVENT. Use\n" +" -DX11VNC_MACOSX_USE_GETMAINDEVICE to regain the very\n" +" old QuickDraw GetMainDevice() interface (rare...)\n" "\n" "-gui [gui-opts] Start up a simple tcl/tk gui based on the remote\n" " control options -remote/-query described below.\n" |