Fixed an issue with installing where websockify.js isnt a binary Removing websockify.js from bin section allows it to install properly. Log Below: npm ERR! Error: ENOENT, chmod '/opt/nodevnc/node_modules/websockify/websockify.js' npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com> npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node_modules/websockify/" npm ERR! cwd /opt/nodevnc npm ERR! node -v v0.10.21 npm ERR! npm -v 1.3.11 npm ERR! path /opt/nodevnc/node_modules/websockify/websockify.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /opt/nodevnc/npm-debug.log npm ERR! not ok code 0 |
||
|---|---|---|
| .. | ||
| js | ||
| Makefile | ||
| README.md | ||
| launch.sh | ||
| project.clj | ||
| websocket.c | ||
| websocket.h | ||
| websocket.rb | ||
| websockify.c | ||
| websockify.clj | ||
| websockify.rb | ||
| wswrap | ||
README.md
This directory contain alternate implementations of WebSockets-to-TCP-Socket proxies (for noVNC).
websockify.c (C)
Description
This is a C version of the original websockify. It is more limited in functionality than the original.
websockify.js
Description
This is a Node.JS (server-side event driven Javascript) implementation of websockify.
kumina.c (C)
Description
The upstream source of the kumina proxy is here.
This article describes the kumina proxy.
kumina is an application that is run from inetd, which allows noVNC to connect to an unmodified VNC server. Furthermore, it makes use of the recently added support in noVNC for file names. The file name is used to denote the port number. Say, you connect to:
ws://host:41337/25900
The kumina proxy opens a connection to:
vnc://host:25900/
The address to which kumina connects, is the same as the address to which the client connected (using getsockname()).
Configuration
kumina can be enabled by adding the following line to inetd.conf:
41337 stream tcp nowait nobody /usr/sbin/kumina kumina 25900 25909
The two parameters of kumina denote the minimum and the maximum allowed port numbers. This allows a single kumina instance to multiplex connections to multiple VNC servers.