1
-----------------------------------
2
Windows noVNC Websockify Service
3
-----------------------------------
5
The "noVNC Websocket Service.exe" file is a windows service wrapper created with Visual Studio 2010 to create a windows service to start stop the noVNC Websocket Server. All files used to create the wrapper can be found in 'noVNC Websocket Service Project' folder.
7
To download the precompiled executables please grab the zip in the downloads section of websockify project:
8
https://github.com/kanaka/websockify
10
---------------------------
12
---------------------------
14
1. This service requires websockify.exe be in the same directory. Instructions on how to compile websockify python script as a windows executable can be found here:
15
https://github.com/kanaka/noVNC/wiki/Compiling-Websockify-to-Windows-Executable
17
2.To add this service to a Windows PC you need to run the commandline as administrator and then run this line:
19
sc create "noVNC Websocket Server" binPath= "PATH TO noVNC eg C:\noVNC\utils\Windows\Websocket Service.exe" DisplayName= "noVNC Websocket Server"
21
3 .Once this is run you will be able to access the service via Control Panel > Admin Tools > Services. In here you can specify whether you want the service to run automatically and start at stop the service.
23
---------------------------
25
---------------------------
26
The file noVNCConfig.ini must be in the same directory as "noVNC Websocket Service.exe".
28
This file contains a single line which is the websockify.exe statup arguements. An example is:
29
192.168.0.1:5901 192.168.0.1:5900
31
All websockify supported arguements will work if added here.
33
---------------------------
35
---------------------------
37
You can delete the service at any time by running the commandline as admin and using this command:
38
sc delete "noVNC Websocket Server".