kasmtech / KasmVNC

Modern VNC Server and client, web based and secure
GNU General Public License v2.0
3.06k stars 292 forks source link

session freeze #278

Open tomaszduda23 opened 2 days ago

tomaszduda23 commented 2 days ago

Describe the bug KasmVNC session freeze. Xvnc needs to be restarted to recover. There is endless log from daemon. It occurs randomly, every several minutes.

 2024-09-21 08:25:16,802 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,802 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch
 2024-09-21 08:25:16,803 [PRIO] VNCServerST: Failed to set watch

System Description Provide the output of

RETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
Linux brown 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

KasmVNC Details Provide the filename of the package you installed KasmVNC with. The filename includes important details like the OS, architecture, and commit sha.

Provide the output of this command.

Xvnc KasmVNC 1.2.0 - built Sep  9 2024 16:43:23
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

To Reproduce There is not clear reproduction steps. It occurs randomly after a few minutes with following config.

---
services:
  webtop:
    image: lscr.io/linuxserver/webtop:ubuntu-xfce
    container_name: webtop
    hostname: test
    cap_add:
      - SYS_ADMIN
      - SYS_PTRACE
    security_opt:
      - apparmor:unconfined
      - seccomp:unconfined
    devices:
      - /dev/fuse:/dev/fuse
    environment:
      - PUID=1000
      - PGID=1000
      - DOCKER_MODS=linuxserver/mods:universal-package-install
      - INSTALL_PACKAGES=libfuse2|git|gdb
    volumes:
      - /webtop:/config
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped

Expected behavior work :)

Browser If this is a problem with the KasmVNC client, provide details about the browser you are accessing KasmVNC from.

mmcclaskey commented 8 hours ago

The version output from Xvnc shows KasmVNC 1.2, are you able to try the latest version and duplicate the issue?