summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c14
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;
}