Kodi and VNC

I don’t believe its possible over a TightVNC/VNC4 VNC instance, as it lacks GPU acceleration.

It may work with RealVNC, which supports a shared desktop/screen capture:
https://dietpi.com/forum/t/resolved-removing-diversion-of-boot-overlays-readme-err/74/1

Although, thats for RPi only (due to limitations by RealVNC)