-
Install Tightvnc, After installation set up a password for authentication.
-
Download node.js from here (download the recommanded version) After installation press Start and open node.js command prompt
-
Run the following command in Node.js command prompt (ref. npm.js):
npm install --save node-websockify
-
Once the installation is finished create a folder named 'novnc' on desktop and create a subfolder named 'websockify'. Now right click on this link: websockify.js and click on "Save Link As" and save it to the 'websockify' folder that we have just created
-
Now open the Node.js command prompt and type:
cd desktop
cd novnc
cd websockify
node websockify.js
websockify part is completed and proxying
-
Now download the latest version of nginx for windows and copy paste it in the new folder named 'web' along side the 'websockify' folder Now open 'web' folder and find folder named 'html' and delete the two html files in this folder Now open GitHub Repository clone or download this file and copy paste it in the 'html' folder
-
Now open the command prompt and type
start nginx
-
Press start and click on start TightVNC server, Under the 'Access Control' tab and click on 'Allow loopback connections'
-
Open browser and type:
YOURIPADDRESS/vnc.html
On the left side of the window, click on settings icon and then advanced settings. Click on websocket and add the details stated below: (This detail needs to be filled only once)
Enter you IP adress as Host
Port: 8000
Path: websockify
- Click on connect and your noVNC is working!
Note: This document is inspired from this tutorial by JIBSIL.