Simplified comprehensive implementation to get VNC client to work in almost any machine. Made possible thanks to projects node-websockify & noVNC.
Tested to work with: MacOS Catalina (10.15.3), Windows 10 64 bit
With Docker Container
To set up app first download files or git clone https://github.com/sukkamehu/nodejs-novnc
Set up VNC_HOST address in docker-compose.yml file. Then install Docker Container if you don't have and inside project folder execute docker-compose up --build
Without Docker Container
Clone project, install node.js and inside project folder run npm install
, edit /app/app.js row 13 process.env.VNC_HOST
to match your host VNC server. Then copy noVNC (https://github.com/novnc/noVNC) -files into /app/novnc-ui/ -folder.
After installation success, you should be able to visit http://localhost:8001/ and see working VNC client instance. Remember to tick allow loopback connections in your VNC server.