From 260c110104097f97b4cf84c7bac25e04b5b365d4 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:22:23 -0700 Subject: [PATCH 01/10] Created Compiling Websockify to Windows Executable (textile) --- ...g-Websockify-to-Windows-Executable.textile | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Compiling-Websockify-to-Windows-Executable.textile diff --git a/Compiling-Websockify-to-Windows-Executable.textile b/Compiling-Websockify-to-Windows-Executable.textile new file mode 100644 index 0000000..84dc0f6 --- /dev/null +++ b/Compiling-Websockify-to-Windows-Executable.textile @@ -0,0 +1,25 @@ +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 From f6f643b5eba3ce40ffb08c7b3de5e7b4f80fe623 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:22:57 -0700 Subject: [PATCH 02/10] Updated Compiling Websockify to Windows Executable (textile => markdown) --- ...table.textile => Compiling-Websockify-to-Windows-Executable.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Compiling-Websockify-to-Windows-Executable.textile => Compiling-Websockify-to-Windows-Executable.md (100%) diff --git a/Compiling-Websockify-to-Windows-Executable.textile b/Compiling-Websockify-to-Windows-Executable.md similarity index 100% rename from Compiling-Websockify-to-Windows-Executable.textile rename to Compiling-Websockify-to-Windows-Executable.md From 55fed76f2409b1e909f2bb752f65085e82bc9968 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:23:10 -0700 Subject: [PATCH 03/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index 84dc0f6..b41354b 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -1,6 +1,7 @@ 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/)). From 77005c89087f8ec662cb663cb2f970bf408c99e1 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:23:39 -0700 Subject: [PATCH 04/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index b41354b..a51dad1 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -13,10 +13,11 @@ On the PC you are using to compile websockify. 5. Create a new file: setup.py 6. Add the following to setup.py: -from distutils.core import setup + +{from distutils.core import setup import py2exe -setup(console=['websockify']) +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 From 10daa752bd0027bfc65786fe42b69f600bf75ff1 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:24:01 -0700 Subject: [PATCH 05/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index a51dad1..aa1e1fb 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -14,10 +14,10 @@ On the PC you are using to compile websockify. 6. Add the following to setup.py: -{from distutils.core import setup +from distutils.core import setup import py2exe -setup(console=['websockify'])} +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 From 8e76a0db05066537b7939bf023a3bb5161120209 Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:24:28 -0700 Subject: [PATCH 06/10] Updated Compiling Websockify to Windows Executable (markdown) From f6ed54ae6a63d05f15308b85d3c3e706749e29cd Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:24:50 -0700 Subject: [PATCH 07/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index aa1e1fb..414b14e 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -24,4 +24,4 @@ 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 +> websockify.exe 172.16.0.1:5901 172.16.0.5900 From 568f3ced0bb3008af045e174da998bb891f3816a Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:25:11 -0700 Subject: [PATCH 08/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index 414b14e..1605842 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -14,10 +14,10 @@ On the PC you are using to compile websockify. 6. Add the following to setup.py: -from distutils.core import setup -import py2exe +>from distutils.core import setup +>import py2exe -setup(console=['websockify']) +>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 From 47445696a037415786cb6381db9604c690d5b6ef Mon Sep 17 00:00:00 2001 From: snorkeyg Date: Tue, 4 Oct 2011 17:25:54 -0700 Subject: [PATCH 09/10] Updated Compiling Websockify to Windows Executable (markdown) --- Compiling-Websockify-to-Windows-Executable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiling-Websockify-to-Windows-Executable.md b/Compiling-Websockify-to-Windows-Executable.md index 1605842..3fd72b8 100644 --- a/Compiling-Websockify-to-Windows-Executable.md +++ b/Compiling-Websockify-to-Windows-Executable.md @@ -20,7 +20,7 @@ On the PC you are using to compile websockify. >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 +> 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.: From e4fea63d53dc00a1b88453e20849ffd426be0788 Mon Sep 17 00:00:00 2001 From: kanaka Date: Fri, 14 Oct 2011 11:28:50 -0700 Subject: [PATCH 10/10] Add Intel MeshCentral --- ProjectsCompanies-using-noVNC.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ProjectsCompanies-using-noVNC.md b/ProjectsCompanies-using-noVNC.md index cc5eb8a..9ddc78d 100644 --- a/ProjectsCompanies-using-noVNC.md +++ b/ProjectsCompanies-using-noVNC.md @@ -39,6 +39,7 @@ 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. ## Projects/Companies using parts of noVNC