#1070066 xserver-xorg-core: xserver doesn't come with XTEST extension

Package:
xserver-xorg-core
Source:
xserver-xorg-core
Description:
Xorg X server - core server
Submitter:
dklonowski
Date:
2024-04-29 14:54:06 UTC
Severity:
normal
#1070066#5
Date:
2024-04-29 14:51:25 UTC
From:
To:
Hello,

I wanted to remotely use my main laptop. So as usuall i've installed and fired up x11vnc.
To my surprise no Windows VNC client was able to do anything input-wise besides moving mouse pointer.
I've tried to build x11vnc from source - no luck
Close investigation of x11vnc's output revealed this message in startup logs

29/04/2024 16:40:55 WARNING: XTEST extension not available (either missing from
29/04/2024 16:40:55   display or client library libXtst missing at build time).
29/04/2024 16:40:55   MOST user input (pointer and keyboard) will be DISCARDED.
29/04/2024 16:40:55   If display does have XTEST, be sure to build x11vnc with
29/04/2024 16:40:55   a working libXtst build environment (e.g. libxtst-dev,
29/04/2024 16:40:55   or other packages).
29/04/2024 16:40:55 No XTEST extension, switching to -xwarppointer mode for

running x11vnc with -debug_keyboard revealed this while pressing 'f' key on VNC client
(...)
29/04/2024 16:41:57 Using tight encoding for client 172.16.31.134
29/04/2024 16:41:59 # keyboard(down, 0x66 "f") uip=0  16.5888
29/04/2024 16:41:59 xkb_tweak_keyboard: down keysym=0x66 "f"
29/04/2024 16:41:59 XTestFakeKeyEvent(dpy, keycode=0x29 "f", down)
29/04/2024 16:41:59 skipped input: keyboard: no-XTEST
29/04/2024 16:41:59 # keyboard(up, 0x66 "f") uip=0  16.6694

i've tried to create xorg.conf snippet to load modules 'record', 'xtest' and/or 'test' but no luck
xdpyinfo -ext all shows
(...)
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XVideo
(...)

I believe this might be missclick while building package as i haven't found verbose information in package's changelog about extension removal.
Else, if XTEST should be long gone, how else i could force x11vnc-alikes to work?