linuxserver / docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
GNU General Public License v3.0
1.77k stars 175 forks source link

[BUG] Google Chrome not possible to start #179

Closed christianmerges closed 10 months ago

christianmerges commented 11 months ago

Is there an existing issue for this?

Current Behavior

I am not able to start chrome. There is a problem with the sandbox: NaCl helper process running without a sandbox! Most likely you need to configure your SUID sandbox correctly

but even with --no-sandbox, chrome is not starting.

Expected Behavior

Chrome should start inside the webtop container

Steps To Reproduce

sudo -s apt update && sudo apt install -y wget wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list apt update apt -y install google-chrome-stable

Environment

Linux cpu1 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

CPU architecture

x86-64

Docker creation

The webtop container has the following config:

  webtop:
    image: lscr.io/linuxserver/webtop:ubuntu-xfce
    security_opt:
      - seccomp:unconfined #optional
    environment:
      PUID: 1000
      PGID: 1000
      TZ: Europe/Berlin
      NVIDIA_VISIBLE_DEVICES: all
      NVIDIA_DRIVER_CAPABILITIES: all
    volumes:
      - /mnt/docker/webtop/config:/config
      - /mnt/docker/webtop/custom-cont-init.d:/custom-cont-init.d
      - /tmp:/tmp
      - /tmp:/config/.cache
    shm_size: "1gb" #optional

Container logs

the log is empty
github-actions[bot] commented 11 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

thelamer commented 10 months ago

I cannot replicate this, I would start by removing Nvidia and volume stuff. Nvidia GPUs are not supported for GLX stuff, though they would work for backend cuda workloads. https://github.com/linuxserver/docker-baseimage-kasmvnc#dri3-gpu-acceleration

chrome-ubuntu-webtop