theasp / docker-novnc Goto Github PK
View Code? Open in Web Editor NEWnoVNC Display Container for Docker
License: MIT License
noVNC Display Container for Docker
License: MIT License
Hi,
How can I set password while accessing the novnc through browser? Right not directly clicking connect works.
Also, I'm trying to set this up on heroku.
Hi, first i have to mention that I am a docker starter.
I tried to run firefox that runs in a different container.
But I always receive the following error message:
Unable to init server: Broadway display type not supported: novnc:0.0
Error: cannot open display: novnc:0.0
Start Failed: Failed to initialize graphics environment
java.awt.AWTError: Can't connect to X11 window server using 'novnc:0.0' as the value of the DISPLAY variable.
I am using the example docker compose. Any ideas?
If I set
network_mode: host
in docker-compose file, the http://localhost:8080/vnc.html does not work anymore
here is my setup
version: '2'
services:
ide:
image: psharkey/intellij:latest
network_mode: host
environment:
- DISPLAY=novnc:0.0
depends_on:
- novnc
novnc:
image: theasp/novnc:latest
network_mode: host
environment:
# Adjust to your screen size
- DISPLAY_WIDTH=1600
- DISPLAY_HEIGHT=968
- RUN_XTERM=no
There isn't a NoVNC container image published to Docker Hub that supports arm64 (e.g., new Macs or Raspberry Pis). (The treehouse/novnc
image is completely, and honestly quite impressively, broken.)
I was able to build yours and run it just fine on a Raspberry Pi 4. It would be great if you could publish the images for multiple platforms so it doesn't have to be rebuilt.
You would need to tweak your CircleCI config to use docker buildx build
, something like this:
docker buildx build --platform linux/amd64,linux/arm64 --push -t theasp/novnc:latest -f Dockerfile .
The downside is that you have to build and push in a single step. And you probably need to figure out how to configure qemu-user-static
and binfmt_msc
-- not sure how easy that is to do on CircleCI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.