Public bug reported: In older versions of Vvnc there was an option to switch off the display of the mouse cursor. This option was useful when using Xvnc to provide a view-only image. This option is not present anymore in the current version of Xvnc.
Here follows a patch that reimplements that option. Feel free to include it in subsequent versions of Xvnc. The new option is called 'NoCursor'. The change consists of only 6 lines. Many thanks. File vnc4-4.1.1+xorg1.0.2/unix/xc/programs/Xserver/vnc: --- XserverDesktop.cc.orig 2009-05-06 15:50:03.000000000 +0200 +++ XserverDesktop.cc 2009-05-05 19:10:07.000000000 +0200 @@ -72,6 +72,9 @@ "rejecting the connection", 10); +BoolParameter noCursor("NoCursor", + "Don't put up a cursor", false); + static KeyCode KeysymToKeycode(KeySymsPtr keymap, KeySym ks, int* col); static rdr::U8 reverseBits[] = { @@ -343,6 +346,9 @@ void XserverDesktop::setCursor(CursorPtr cursor) { + if(noCursor) + return; + try { int w = cursor->bits->width; int h = cursor->bits->height; ** Affects: vnc4 (Ubuntu) Importance: Undecided Status: New -- enh: patch for extra NoCursor option https://bugs.launchpad.net/bugs/372717 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs