Comments (8)
Unfortunately I have to confirm this problem with the G3 containers and the Container Station on QNAP NAS devices.
I don't want to speculate about the reason until I do more testing.
As a way around you can use my older G2 or G1 images. They do work also on QNAP NAS devices.
This is the simple Container Station application I've used for testing:
### app name: app-qnap-test
version: "3"
services:
firefox-g3:
image: accetto/ubuntu-vnc-xfce-firefox-g3:latest
ports:
- "35940:5901"
- "35941:6901"
firefox-g2:
image: accetto/xubuntu-vnc-novnc-firefox:latest
ports:
- "35942:5901"
- "35943:6901"
firefox-g1:
image: accetto/ubuntu-vnc-xfce-firefox-plus:latest
ports:
- "35944:5901"
- "35945:6901"
You can connect to the containers using your web browser like this:
http://<your-nas-ip>:35941
http://<your-nas-ip>:35943
http://<your-nas-ip>:35945
The first container will show only a black-screen, but the other two should work.
from ubuntu-vnc-xfce-g3.
FYI: Test 1
Increasing shared memory like this didn't help.
version: "3"
services:
firefox-g3:
image: accetto/ubuntu-vnc-xfce-firefox-g3:latest
ports:
- "35940:5901"
- "35941:6901"
shm_size: "256m"
from ubuntu-vnc-xfce-g3.
FYI: Test 2
Making the container privileged did help, so it seems to be related to the permissions on QNAP.
The following G3 container should work:
version: "3"
services:
firefox-g3:
image: accetto/ubuntu-vnc-xfce-firefox-g3:latest
ports:
- "35940:5901"
- "35941:6901"
shm_size: "256m"
privileged: true
from ubuntu-vnc-xfce-g3.
FYI: Test 3
Pre-creating the network manually didn't help.
The following G3 container will not work:
version: "3"
networks:
my_test:
external: true
name: my_test
services:
firefox-g3:
image: accetto/ubuntu-vnc-xfce-firefox-g3:latest
ports:
- "35940:5901"
- "35941:6901"
networks:
- my_test
from ubuntu-vnc-xfce-g3.
Sorry for mingling (I'm less than beginner) but I solved this by recreating the container and make it run in "privileged mode".
This way no dark screen.
from ubuntu-vnc-xfce-g3.
Not at all, you're welcome. :)
Yes, the priveleged mode helps (see the 'Test 2' above).
Also the G1 and G2 images work.
I hope to spare some time to come to this problem.
from ubuntu-vnc-xfce-g3.
I can confirm the black screen on my normal ubuntu cloud server (not a qnap)
22.04 --> black screen
20.04 --> works
docker run -d \
--restart=always \
--name testvnc \
--network=nginx-proxy \
-e VNC_PW=!mypassword! \
accetto/ubuntu-vnc-xfce-firefox-g3:22.04 --verbose
from ubuntu-vnc-xfce-g3.
Hello @KlausGlueckert ,
thank you for your feedback. Which cloud service do you use?
I assume, that the startup script is not allowed to change the permissions of the system files /etc/passwd
and /etc/passwd /etc/group
on the first start. Cloud environments often restrict such activities.
However, it could be also some other reason. I'm thinking about re-designing the startup sequence sometimes in the future.
Have you checked also the older issues? Maybe you could find a hint.
Regards,
accetto
from ubuntu-vnc-xfce-g3.
Related Issues (20)
- sudo / root problem HOT 22
- Image doesn't quit after program returns 0 HOT 3
- home directory not writable HOT 4
- Clipboard Sync HOT 1
- Limiting VNC to localhost HOT 2
- Unsure about the expected sequence at startup HOT 3
- PulseAudio and noVNC HOT 4
- VNC Recording HOT 1
- Blank screen HOT 18
- no window borders, no controls after container stop - start HOT 6
- Can't seem to run `builder.sh` script following documentation in README HOT 10
- approach to binding a directory (from host machine) to containers `$HOME` directory HOT 5
- How/where do I add docker build args? HOT 9
- is it possiable to adding locales HOT 2
- Feature request: arm containers HOT 5
- Overriding HEADLESS_USER_NAME doesn't seem to work HOT 2
- Container exiting when extending image with packages which modify /etc/group HOT 3
- How to Change Language to other(exp. japanese) HOT 1
- [SOLVED] unusable - multiple bugs and issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-vnc-xfce-g3.