I've downloaded websockify, but now I don't know how to run it.
Asked
Active
Viewed 3,330 times
-1
-
2this isn't a programming question really, better suited for either superuser or serverfault – Epicblood Jun 01 '15 at 22:11
-
@Rui Fonseca, please accept the answer below. People put time and effort into helping. Proper courtesy is to acknowledge their help. – Chris Jul 30 '16 at 21:14
-
@Rui Fonseca, I upvoted your question because indeed, the README doesn't make any mention of this. I lurked around google for a while before I found how to run it. – vincent Oct 20 '19 at 02:00
1 Answers
8
To show usage information:
./run --help
To listen on port 6080 (WebSocket) and forward to localhost port 5900 (TCP):
./run 6080 :5900
To enable the embedded static file webserver and forward to a remote server:
./run --web /path/to/novnc 6080 remote_hostname:5900

kanaka
- 70,845
- 23
- 144
- 140