From 17f88b494cd20e3c93ef77f3e1e68c7166c767ea Mon Sep 17 00:00:00 2001 From: runge Date: Mon, 30 Oct 2006 02:58:24 +0000 Subject: x11vnc: Add tip about how to reenable RECORD extension. --- x11vnc/x11vnc.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'x11vnc/x11vnc.c') 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; } -- cgit v1.2.1