mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-06 12:29:38 +00:00
Merge branch 'master' of github.com:kanaka/noVNC.wiki
Conflicts: ProjectsCompanies-using-noVNC.md
27
Compiling-Websockify-to-Windows-Executable.md
Normal file
27
Compiling-Websockify-to-Windows-Executable.md
Normal file
@@ -0,0 +1,27 @@
|
||||
This quick guide provides instructions on how to compile websockify as a Windows application which does not require Python and associated modules to be installed to run. I found this is quite useful as we wished to deploy noVNC to a large number of PC's. To spread the load of running websocket servers we identified running the websocket server on the same PC as the VNC would provide better performance.
|
||||
|
||||
On the PC you are using to compile websockify.
|
||||
|
||||
1. Download and install Python 2.7 ([python.org](python.org)).
|
||||
|
||||
2. Download and install Numpy module for Python 2.7 ([http://numpy.scipy.org/](http://numpy.scipy.org/)).
|
||||
|
||||
3. Download and install py2exe ([http://www.py2exe.org](http://www.py2exe.org)).
|
||||
|
||||
4. Download noVNC and extract to folder. Navigate to noVNC root folder/utils/.
|
||||
|
||||
5. Create a new file: setup.py
|
||||
|
||||
6. Add the following to setup.py:
|
||||
|
||||
>from distutils.core import setup
|
||||
>import py2exe
|
||||
|
||||
>setup(console=['websockify'])
|
||||
|
||||
7. Compile websockify including numpy using following command in command prompt (navigate to noVNC utils folder first).
|
||||
> C:\Python27\python.exe setup.py py2exe --includes numpy
|
||||
|
||||
8. In the utils folder you will now have a new folder 'dist' which contains the compiled exe which you can run exactly as you would run the websockify eg.:
|
||||
|
||||
> websockify.exe 172.16.0.1:5901 172.16.0.5900
|
||||
@@ -39,6 +39,8 @@ please [drop me a note](https://github.com/inbox/new/kanaka).
|
||||
* [SlapOS](http://www.slapos.org):
|
||||
Used for VNC access to IaaS system platform [ViFiB](http://www.vifib.net) (pre-release). Github [project repository](http://github.com/SlapOS/slapos).
|
||||
|
||||
* [Intel MeshCentral](https://meshcentral.com): Remote monitoring and management web site. [Blog post](http://software.intel.com/en-us/blogs/2011/10/13/meshcentralcom-all-javascript-vnc-support/) about integration of noVNC.
|
||||
|
||||
* [Amahi](http://www.amahi.org):
|
||||
Available as an application for Amahi Home Server.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user