accetto / ubuntu-vnc-xfce-firefox Goto Github PK
View Code? Open in Web Editor NEWRetired and merged into 'accetto/ubuntu-vnc-xfce' (Generation 1).
License: Apache License 2.0
Retired and merged into 'accetto/ubuntu-vnc-xfce' (Generation 1).
License: Apache License 2.0
Creating containers like
docker run --rm -d -P --user 2017:2000 accetto/ubuntu-vnc-xfce-firefox-default
or
docker run --rm -it -P --user 2017:2000 accetto/ubuntu-vnc-xfce-firefox-default bash
causes no errors, but non-default panel and desktop icons are not visible nor functional.
The docker image works great, but it would be even better if it can run HW accelerated WebGL content or native apps (OpenGL) , like blender, etc.
FYI: https://medium.com/@pigiuz/hw-accelerated-gui-apps-on-docker-7fd424fe813e
hello , recently , I need to change vnc_passwd of my container , but i'dont know how to do this , I am trying to chang this passwd by using " -e VNC_PW=******* " but it not works .
Unfortunatelly it has been found, that Firefox 77.0.1 in the containers from the release 20.06 scrambles web pages. Therefore I'll remove all the related images and come with at least some way arround as quickly as possible. Sorry for the inconvenience.
I need to use multiple containers with host networking but I am facing two issues:
ubuntu-vnc-xcfe
repo in order to bind the vncserver on the VNC_PORT:diff --git a/src/startup/vnc_startup.sh b/src/startup/vnc_startup.sh
index c5e334b..9d33602 100644
--- a/src/startup/vnc_startup.sh
+++ b/src/startup/vnc_startup.sh
@@ -104,7 +104,7 @@ vncserver -kill ${DISPLAY} &> "${STARTUPDIR}"/vnc_startup.log \
echo "... VNC params: VNC_COL_DEPTH=${VNC_COL_DEPTH}, VNC_RESOLUTION=${VNC_RESOLUTION}"
echo "... VNC params: VNC_BLACKLIST_TIMEOUT=${VNC_BLACKLIST_TIMEOUT}, VNC_BLACKLIST_THRESHOLD=${VNC_BLACKLIST_THRESHOLD}"
-vncserver ${DISPLAY} -depth ${VNC_COL_DEPTH} -geometry ${VNC_RESOLUTION} \
+vncserver ${DISPLAY} -rfbport ${VNC_PORT} -depth ${VNC_COL_DEPTH} -geometry ${VNC_RESOLUTION} \
-BlacklistTimeout ${VNC_BLACKLIST_TIMEOUT} \
-BlacklistThreshold ${VNC_BLACKLIST_THRESHOLD} &> "${STARTUPDIR}"/no_vnc_startup.log
accetto/ubuntu-vnc-xfce
and accetto/ubuntu-vnc-xfce-firefox
and successfully start the first container as follows:$ docker run -ti --rm --network host -e VNC_PORT=7901 -e NO_VNC_PORT=8901 accetto/ubuntu-vnc-xfce
USER_ID: 1000, GROUP_ID: 1000
nss_wrapper location: /usr/lib/libnss_wrapper.so
Starting noVNC
Starting VNC server ...
... remove old VNC locks to be a reattachable container
... VNC params: VNC_COL_DEPTH=24, VNC_RESOLUTION=1360x768
... VNC params: VNC_BLACKLIST_TIMEOUT=0, VNC_BLACKLIST_THRESHOLD=20
... VNC server started on display :1
Connect via VNC viewer with 127.0.1.1:7901
Connect via noVNC with http://127.0.1.1:8901
but the 2nd one fails as follows:
$ docker run -ti --rm --network host -e VNC_PORT=7902 -e NO_VNC_PORT=8902 accetto/ubuntu-vnc-xfce
USER_ID: 1000, GROUP_ID: 1000
nss_wrapper location: /usr/lib/libnss_wrapper.so
Starting noVNC
Starting VNC server ...
... remove old VNC locks to be a reattachable container
... VNC params: VNC_COL_DEPTH=24, VNC_RESOLUTION=1360x768
... VNC params: VNC_BLACKLIST_TIMEOUT=0, VNC_BLACKLIST_THRESHOLD=20
~/tmp$ echo $?
255
If I stop the first container and then run the second command it works fine. I cannot see any port clashing and I am running out of ideas. Can you please advise on this issue ?
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.