unable to connect to novnc
consolecwby opened this issue · 4 comments
Trying to get your code to work on my Synology 218+ and docker. I use this container and also a copy cat docker image of yours bartleph/nukem . I can never seem to be able to connect to the novnc with any browser.
I really want my daughters to be able to play commander keen and oregon trail like thier father growing up.
This is what shows up on my docker log
| date | stream | content |
|---|---|---|
| 2020-03-23 20:00:05 | stderr | - Backgrounding (daemon) |
| 2020-03-23 20:00:05 | stderr | - No SSL/TLS support (no cert file) |
| 2020-03-23 20:00:05 | stderr | - Web server. Web root: /usr/share/novnc |
| 2020-03-23 20:00:05 | stderr | - Flash security policy server |
| 2020-03-23 20:00:05 | stderr | - Listen on :6080 |
| 2020-03-23 20:00:05 | stderr | WebSocket server settings: |
| 2020-03-23 20:00:01 | stderr | |
| 2020-03-23 20:00:01 | stderr | Log file is /root/.vnc/e3c92988be5a:1.log |
| 2020-03-23 20:00:01 | stderr | Starting applications specified in /root/.vnc/xstartup |
| 2020-03-23 20:00:01 | stderr | Creating default startup script /root/.vnc/xstartup |
| 2020-03-23 20:00:01 | stderr | |
| 2020-03-23 20:00:01 | stderr | New 'X' desktop is e3c92988be5a:1 |
| 2020-03-23 20:00:01 | stderr | |
| 2020-03-23 20:00:00 | stderr | xauth: file /root/.Xauthority does not exist |
This is the commands and responses i get from SSH
Colton@HouseNetServer:$ sudo docker pull bartleph/nukem$ sudo docker run bartleph/nukem
Using default tag: latest
latest: Pulling from bartleph/nukem
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
8c3b70e39044: Pull complete
45d437916d57: Pull complete
c002e9eec127: Pull complete
b7e31280f3da: Pull complete
Digest: sha256:a0c9d7f66ce8f72867be43b25dab09762ae88b018b7fca75592dd8dff4e04a6d
Status: Downloaded newer image for bartleph/nukem:latest
Colton@HouseNetServer:
xauth: file /root/.Xauthority does not exist
New 'X' desktop is e3c92988be5a:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/e3c92988be5a:1.log
WebSocket server settings:
- Listen on :6080
- Flash security policy server
- Web server. Web root: /usr/share/novnc
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
e3c92988be5a:1
Try a different port, like forwarding 80 to 6080.
Nice project! and I needed to get it working.. but with the following:
After starting up the webserver was running on port 80.
WebSocket server settings:
Listen on :80
And the name of the box was mydosbox (instead of dosbox), so this worked for me to get things started:
docker run -p 6080:80 mydosbox
then the url works: http://localhost:6080/vnc.html
It's going to look different in different environments.
I've used serveral different ports on different configs, mostly in Kubernetes.
Local configs