I've tried it, but no result, even not in the log files.
So I've started kodi from a ssh session and it says
/home/pi/.kodi/addons/service.system.vnc/bin/vncserver: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
so I've linked them, just take one found in chromium browser:
pi@rpihot:/usr/lib $ sudo ln -s chromium-browser/libGLESv2.so .
pi@rpihot:/usr/lib $ sudo ln -s chromium-browser/libEGL.so .
Now I 've get the following if I start kodi:
Display is 1280 x 720
19/03/2018 19:31:07 Listening for VNC connections on TCP port 5900
19/03/2018 19:31:07 Listening for VNC connections on TCP6 port 5900
open /dev/uinput returned -1.
First write returned -1.
ioctl UI_DEV_CREATE returned -1.
Error create uinput device -1.
As expected the server listens on 5900 but he does not do
nmap shows no open port 5900 and connection is not possible.
Any ideas? I do a quick search but found no hint with dispmanx vncserver and the error about uinput device.