Closed TheGiolly closed 2 years ago
Hello,
I was not able to reproduce the issue (s. the screenshot). Have you tried it under Linux or Windows?
I would say, that the problem is the following part of your command: -p 5901:5901 -p 6901:6901
.
Bind to some other ports on your host, for example with the parameter -P
, like
docker run --name=ubuntu -P accetto/ubuntu-vnc-xfce-chromium-g3
Then your container will use the next free TCP ports on your host. You can find out which ones with the command
docker ps
.
Also make sure, that you have enough shared memory in the container. This Readme describes that at least 256MB is needed for Firefox. Maybe it's similar also for Chrome. This WIki page describes how to check it.
Please let me know, if it helped.
Regards, accetto
Ran into the same issue. The port mapping isn't the cause but the shared memory. Default shm_size
is only 64MB, add the --shm-size
param with a larger value fixes the problem, e.g. docker run -it--name=ubuntu -p 5901:5901 -p 6901:6901 --shm-size 1g accetto/ubuntu-vnc-xfce-chromium-g3
.
Hello, first of all thanks for the beautiful container!
I'm facing a problem with Chromium: it gives me
Aw, Snap! Error code: SIGTRAP
when I try to browse any website. Using noVNC full, container created withdocker create --name=ubuntu -p 5901:5901 -p 6901:6901 accetto/ubuntu-vnc-xfce-chromium-g3
.