I use the Raspberry as a kiosk video player, in a console (server) environment, without an X11 session.
I was needed the vnc server for view-only mode, to let me check if the videos are playing fine.
Your vnc server works very well, however I had to modify it to be able to run from ssh session:
I had to change the user input device from /dev/uinput to /dev/null to be able to exit from the server by ctrl+C,
and comment out the check the result of the UI_DEV_CREATE.
Maybe You could add an option to use the vnc-server as view-only mode and completely ignore the uinput device.
Other minor issues:
the vnc server is eating 60% cpu on RPI4B even if there is no active vnc connections.
for security, it's advised to enable localhost-only binding. This works, by launching "./dispmanx_vncserver -listen 127.0.0.1", however I coudn't find any documentation about the available command line options. Maybe You could list the options in the readme.md.
Dear Peter,
I use the Raspberry as a kiosk video player, in a console (server) environment, without an X11 session. I was needed the vnc server for view-only mode, to let me check if the videos are playing fine.
Your vnc server works very well, however I had to modify it to be able to run from ssh session: I had to change the user input device from /dev/uinput to /dev/null to be able to exit from the server by ctrl+C, and comment out the check the result of the UI_DEV_CREATE.
Maybe You could add an option to use the vnc-server as view-only mode and completely ignore the uinput device.
Other minor issues:
Have a great day! Gabor