Giter Site home page Giter Site logo

[way around] no screen/black screen after login - no logs (docker image on qnap NAS - container station) about ubuntu-vnc-xfce-g3 HOT 8 CLOSED

accetto avatar accetto commented on July 30, 2024
[way around] no screen/black screen after login - no logs (docker image on qnap NAS - container station)

from ubuntu-vnc-xfce-g3.

Comments (8)

accetto avatar accetto commented on July 30, 2024 1

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.

accetto avatar accetto commented on July 30, 2024

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.

accetto avatar accetto commented on July 30, 2024

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.

accetto avatar accetto commented on July 30, 2024

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.

senza-lattosio avatar senza-lattosio commented on July 30, 2024

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.

immagine

from ubuntu-vnc-xfce-g3.

accetto avatar accetto commented on July 30, 2024

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.

KlausGlueckert avatar KlausGlueckert commented on July 30, 2024

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.

accetto avatar accetto commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.