diff options
author | runge <runge> | 2006-10-30 02:58:24 +0000 |
---|---|---|
committer | runge <runge> | 2006-10-30 02:58:24 +0000 |
commit | 17f88b494cd20e3c93ef77f3e1e68c7166c767ea (patch) | |
tree | 0de9818508f0128cfbb9da9dace28f2b5552d356 /x11vnc/x11vnc.c | |
parent | 5738e33f859563a566b059e15a517120c4c215b8 (diff) | |
download | libtdevnc-17f88b494cd20e3c93ef77f3e1e68c7166c767ea.tar.gz libtdevnc-17f88b494cd20e3c93ef77f3e1e68c7166c767ea.zip |
x11vnc: Add tip about how to reenable RECORD extension.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 92f56a5..7e897c0 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -3219,6 +3219,20 @@ int main(int argc, char* argv[]) { /* check for RECORD */ if (! XRecordQueryVersion_wr(dpy, &maj, &min)) { xrecord_present = 0; + if (! quiet) { + rfbLog("The RECORD X extension was not found on the display.\n"); + rfbLog("If your system has disabled it by default, you can\n"); + rfbLog("enable it to get a nice x11vnc performance speedup\n"); + rfbLog("for scrolling by putting this into the \"Module\" section\n"); + rfbLog("of /etc/X11/xorg.conf or /etc/X11/XF86Config:\n"); + rfbLog("\n"); + rfbLog(" Section \"Module\"\n"); + rfbLog(" ...\n"); + rfbLog(" Load \"record\"\n"); + rfbLog(" ...\n"); + rfbLog(" EndSection\n"); + rfbLog("\n"); + } } else { xrecord_present = 1; } |