novnc package is missing important scripts, present in the source package

Asked by Simon Bazley on 2015-09-03

All the documentation I've found online, regarding getting novnc to work, under ubuntu (including /usr/share/doc/novnc/README.md.gz ) refers to a script utils/launch.sh to start up the novnc service. This is not present in either the novnc package or the python-novnc package, both of which are built from the novnc source.

I would suggest that utils/launch.sh should be part of the novnc package, with the following changes (to use the websockify package rather than the scripts in the originial src):-

30a31,32
> #WEBSOCKIFY=${HERE}/websockify
> WEBSOCKIFY=websockify
105c107
< ${HERE}/websockify --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
---
> ${WEBSOCKIFY} --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &

Otherwise the documentation for novnc need updating to explain how to manually launch websockify rather than using the launch.sh script

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu novnc Edit question
Assignee:
No assignee Edit question
Last query:
2015-09-03
Last reply:
2015-09-03

I suggest you report a bug.

Can you help with this problem?

Provide an answer of your own, or ask Simon Bazley for more information if necessary.

To post a message you must log in.