~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to third_party/websockify/Windows/Windows Service Readme.txt

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-----------------------------------
 
2
Windows noVNC Websockify Service
 
3
----------------------------------- 
 
4
 
 
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.
 
6
 
 
7
To download the precompiled executables please grab the zip in the downloads section of websockify project:
 
8
https://github.com/kanaka/websockify
 
9
 
 
10
---------------------------
 
11
Installation
 
12
---------------------------
 
13
 
 
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
 
16
 
 
17
2.To add this service to a Windows PC you need to run the commandline as administrator and then run this line:
 
18
 
 
19
sc create "noVNC Websocket Server" binPath= "PATH TO noVNC eg C:\noVNC\utils\Windows\Websocket Service.exe" DisplayName= "noVNC Websocket Server"
 
20
 
 
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.
 
22
 
 
23
---------------------------
 
24
Configuration
 
25
---------------------------
 
26
The file noVNCConfig.ini must be in the same directory as "noVNC Websocket Service.exe".
 
27
 
 
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
 
30
 
 
31
All websockify supported arguements will work if added here.
 
32
 
 
33
---------------------------
 
34
Deletion
 
35
---------------------------
 
36
 
 
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".
 
39