linuxserver / docker-baseimage-kasmvnc

Base Images for remote web based Linux desktops using KasmVNC for many popular distros.
GNU General Public License v3.0
297 stars 52 forks source link

[BUG] Chrome in Webtop crashes when launching Youtube #11

Closed ne0YT closed 1 year ago

ne0YT commented 1 year ago

Is there an existing issue for this?

Current Behavior

Whe I open the webbrowser installed and go to google it runs perfectly fine, but as soon as I try to load a webpage like youtube. the browser force-closes itself.

Expected Behavior

I can use the webbrowser in the remote session just fine.

Steps To Reproduce

just run docker compose up -d with the config I posted down below

Environment

- OS: Ubuntu 22.04
- How docker service was installed:
Docker version 24.0.5, build ced0996

Docker creation

version: "2.1"
services:
  webtop:
    image: lscr.io/linuxserver/webtop:latest
    container_name: webtop
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SUBFOLDER=/ #optional
      - TITLE=Test Desktop Webapps #optional
    volumes:
      - /path/to/data:/config
     # - /var/run/docker.sock:/var/run/docker.sock #optional
    ports:
      - 3000:3000
      - 3001:3001
    # shm_size: "1gb" #optional
    restart: unless-stopped

Container logs

docker compose logs
webtop  | [migrations] started
webtop  | [migrations] no migrations found
webtop  | ───────────────────────────────────────
webtop  | 
webtop  | 
webtop  |       ██╗     ███████╗██╗ ██████╗ 
webtop  |       ██║     ██╔════╝██║██╔═══██╗
webtop  |       ██║     ███████╗██║██║   ██║
webtop  |       ██║     ╚════██║██║██║   ██║
webtop  |       ███████╗███████║██║╚██████╔╝
webtop  |       ╚══════╝╚══════╝╚═╝ ╚═════╝ 
webtop  | 
webtop  | 
webtop  |    Brought to you by linuxserver.io
webtop  | ───────────────────────────────────────
webtop  | 
webtop  | 
webtop  | To support LSIO projects visit:
webtop  | https://www.linuxserver.io/donate/
webtop  | 
webtop  | 
webtop  | ───────────────────────────────────────
webtop  | GID/UID
webtop  | ───────────────────────────────────────
webtop  | 
webtop  | 
webtop  | User UID:    1000
webtop  | User GID:    1000
webtop  | ───────────────────────────────────────
webtop  | 
webtop  | 
webtop  | ..+..................+....+..+......+...+......+....+..+.......+...............+...+...+.....+.........+.......+........+..........+.....+..........+...+...+..+..........+.....+....+........+.+......+...+...+..+.+......+...+..+.........+......+...+.+...........+.........+.+.........+..+++++++++++++++++++++++++++++++++++++++*.......+.......+.........+..+.........+.........+++++++++++++++++++++++++++++++++++++++*.+............+..+.........+..........+......+...+.....+.+..+.............+..+....+...+...+........+.+.....+.+.........+...+...............+................................+...+.+.........+...+..+.+.........+...+........+.+......+.....+.........+.........+..........+..+..........+..+...+.......+..+...+......+.+...+.....+.+.........+...+..+.......+.....+.........+............+...+......+....+.....................+.....+...+...+..........+.....+...+.+...+..+....+..............+.+.....+.+...+...+.....+.............+..+.......+...+...+....................+.+...+...+..+...+...+......+.+...+......+......+........+.........+.......+.....+......+.........+.....................+.......+........+.......+......+...........+...+......+....+...+...............+...+.....+......+..........+.....+................+..+.+......+...+...+........+......+.........+.......+.....+..........+............+.................+..........+...........+...+.+...+.....+...............+......+....+..+..........+.....++++++
webtop  | ..+..+...+...............+...+....+++++++++++++++++++++++++++++++++++++++*......+...+.....................+.......+...+...........+...+++++++++++++++++++++++++++++++++++++++*........+....+........+.+...........+...+............+..........+..............+...............+....+...+..+..........+........+...+..........+..+...+......+.+...+............+........+.+...+.....++++++
webtop  | -----
webtop  | [custom-init] No custom files found, skipping...
webtop  | _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
webtop  | 
webtop  | 
webtop  | Xvnc KasmVNC 1.1.0 - built Aug 12 2023 18:41:58
webtop  | Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
webtop  | See http://kasmweb.com for information on KasmVNC.
webtop  | Underlying X server release 12014000, The X.Org Foundation
webtop  | 
webtop  | 
webtop  | [ls.io-init] done.
webtop  |  2023-08-18 19:26:02,918 [INFO] websocket 0: got client connection from 127.0.0.1
webtop  |  2023-08-18 19:26:02,932 [PRIO] Connections: accepted: @10.10.23.196_1692386762.918929::websocket
webtop  |  2023-08-18 19:27:09,363 [PRIO] Connections: closed: @10.10.23.196_1692386762.918929::websocket (Clean disconnection)
webtop  |  2023-08-18 19:27:11,706 [INFO] websocket 1: got client connection from 127.0.0.1
webtop  |  2023-08-18 19:27:11,720 [PRIO] Connections: accepted: @10.10.23.196_1692386831.706608::websocket
github-actions[bot] commented 1 year 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 1 year ago

You need to increase your SHM this is noted in our chromium image: https://github.com/linuxserver/docker-chromium#parameters