accetto / ubuntu-vnc-xfce-g3

Headless Ubuntu/Xfce containers with VNC/noVNC (G3v6).
MIT License
214 stars 62 forks source link

[SOLVED] unusable - multiple bugs and issues #53

Closed KlausGlueckert closed 10 months ago

KlausGlueckert commented 10 months ago

./builder.sh latest-firefox build fails due to

docker run -d -p 5901:5901 -p 6901:6901 --rm accetto/ubuntu-vnc-xfce-firefox-g3:22.04 fails:

accetto commented 10 months ago

You're too fast with your conclusions. Causes of all you problems can be tracked down to your environment and your current level of knowledge.

  1. It's not unusual, that the file settings need some adjustments after cloning from the GitHub repository. Please make all the files in the folder ./docker/hooks/ executable. Actually, the file env.rc doesn't need it, but you can include it too. Do the same for all the *.sh files.

  2. The message REPO_OWNER_NAME: Need repo owner name means that at least the environment variable REPO_OWNER_NAME needs to be set. It's all described in the readme files and the Wiki.

  3. I do not recommend to bind the ports 5901 and 6901 to the same ports of the host computer. Use some other free ports from the higher range or leave the binding options out and Docker will find some free ports automatically.

You can find all the answers in the readme files, the Wiki and the User Guide.

accetto commented 10 months ago

Hello @KlausGlueckert,

I've just experienced a little schock, because I've got exactly the messages, you've described above, on one of my machines.

It wanted to build containers using ci-builder.sh on a Windows 10 system and I've opened the project in WSL2 (Ubuntu 22-04 LTS).

However, after checking-out the commit labeled v23.08 and then the latest commit labeled v23.08.1 again, everything worked fine.

So it seems to be related to the latest Docker Desktop updates, maybe.

I never had something like that before.

Regards, accetto

P.S.

The same trick didn't work in the sibling project headless-drawing and I had to fix the permissions of the file docker/hooks/secrets.rc manually, because it was 000!

Something between the Windows, WSL, Docker Desktop and the heavens, I guess . :)