Skip to content

Added novnc proxy#7

Open
nassir90 wants to merge 27 commits intomasterfrom
chinaza/run-sim-in-vnc-server
Open

Added novnc proxy#7
nassir90 wants to merge 27 commits intomasterfrom
chinaza/run-sim-in-vnc-server

Conversation

@nassir90
Copy link
Copy Markdown
Contributor

@nassir90 nassir90 commented Aug 6, 2022

Currently, after building the docker container, you have to:

Install Xming if you're using linux.

Install rocker if your using macos or windows.

The guides for these two processes are non trivial for newcomers. Also, some people have trouble running rocker on M1 macbooks. It would be much better to have the docker container run an internal vnc server and an novnc http server so that after building the docker container, the next step will simply be to navigate to the local website where the vnc server is being hosted.

This will greatly simplify the onboarding process and reduce the amount of guides we have to maintain for different platforms.

@nassir90
Copy link
Copy Markdown
Contributor Author

nassir90 commented Aug 6, 2022

This doesn't work on docker for M1 macbooks due to issues emulating x86/64 on arm. Distributing the sources and building them within the Dockerfile will probably solve this problem.

@nassir90
Copy link
Copy Markdown
Contributor Author

The VNC connection dies due to stack smashing after a few minutes when using the novnc proxy. Apparently the -noxrecord parameter fixes things. It may also be due to the fact that numpy isn't currently installed. It gives a warning about that. Perhaps it's using more bloated alternative and causing a stack overflow.

@nassir90
Copy link
Copy Markdown
Contributor Author

Also the VSCode guide will either have to become CLI oriented OR be updated to work with docker compose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants