I can make it work by doing the following:
1. If you want to test TurboVNC 3.0 evolving, then modify the TurboVNC
Helper code in the dev branch as follows:
--- a/unix/vncviewer/turbovnchelper.c
+++ b/unix/vncviewer/turbovnchelper.c
@@ -396,8 +396,11 @@ JNIEXPORT void JNICALL
Java_com_turbovnc_vncviewer_Viewport_setupExtInput
break;
}
}
- if (ci >= devInfo[i].num_classes)
- continue;
+ if (ci >= devInfo[i].num_classes) {
+ if (!strcmp(devInfo[i].name, "Tablet alone Pen (0)"))
+ productID = rfbGIIDevTypeStylus;
+ else continue;
+ }
}
BAILIF0(eidcls =
(No modifications are necessary if you want to test TurboVNC 2.2.x stable.)
2. If you are testing TurboVNC 3.0 evolving, then rebuild the TurboVNC
Viewer and Helper from the source code that you modified above.
3. On the client machine, create and run the completely_fake_tablet.py
script as instructed in the answer here:
https://unix.stackexchange.com/questions/508612/simulate-graphics-tablet-using-libevent.
(I modified the script to pause for 60 seconds rather than 30.)
4. Using the TurboVNC Viewer (either the modified 3.0 version or the
stock 2.2.x version), connect to a TurboVNC session using:
vncviewer host:display -fullscreen -loglevel 150
5. Proceed with the other instructions that the script gives you
vis-a-vis launching GIMP.
DRC