Tiryoh / docker-ros2-desktop-vnc

🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS 2
https://memoteki.net/archives/2955
Apache License 2.0
408 stars 82 forks source link

Browser does not work #65

Closed jmguerreroh closed 1 year ago

jmguerreroh commented 2 years ago

In humble and rolling versions:

Google chrome browser does not work. The icon appears but it is not installed. You should install it downloading using wget and after use option --no-sandbox. Could it be fixed? Maybe installing Firefox correctly, it seems to be installed but it doesn't work either.

Thank you!

Tiryoh commented 2 years ago

It seems like working on Ubuntu 20.04.4 + Docker version 20.10.17, build 100c701

Could you tell me how to reproduce it?

Screenshot from 2022-09-20 20-51-40

jmguerreroh commented 2 years ago

My machine: Description: Ubuntu 22.04.1 LTS Docker version 20.10.18, build b40c2f6

I tried different TAGs: humble-amd64, rolling-amd64, and humble-20220911T0542 running as: "docker run -p 6080:80 tiryoh/ros2-desktop-vnc:TAG" and I have the same problem in all versions.

Am I doing something wrong?

Tiryoh commented 2 years ago

--security-opt seccomp=unconfined flag is required to launch humble and rolling image. See https://github.com/Tiryoh/docker-ros2-desktop-vnc/pull/56.

I guess starting the container with the following command may fix the problem.

docker run -p 6080:80 --shm-size=512m --security-opt seccomp=unconfined tiryoh/ros2-desktop-vnc:humble-amd64
jmguerreroh commented 1 year ago

--security-opt seccomp=unconfined flag is required to launch humble and rolling image. See #56.

I guess starting the container with the following command may fix the problem.

docker run -p 6080:80 --shm-size=512m --security-opt seccomp=unconfined tiryoh/ros2-desktop-vnc:humble-amd64

Thank you! It works like a charm.