docker-baseimage-kasmvnc icon indicating copy to clipboard operation
docker-baseimage-kasmvnc copied to clipboard

[BUG] kasmvnc.yaml.lsio is not getting applied

Open ne0YT opened this issue 1 year ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

kasmvnc.yaml.lsio

this file is replacing the kasmvnc.yaml - file, but configuration set there is not getting applied.

Expected Behavior

stuff i configure inside this file needs to be applied.

Steps To Reproduce

  1. modify kasmvnc.yaml.lsio
  2. check inside th erunnign container if the ocnfig applied correctly
  3. nothing happens

Environment

- OS: ubuntu server 22.04
- How docker service was installed: using apt from download.docker.com

Docker creation

# KASM Configuration
RUN cp /usr/local/etc/kasmvnc/kasmvnc.yaml.lsio /usr/local/etc/kasmvnc/kasmvnc.yaml.lsio.backup && \
    cat >> /usr/local/etc/kasmvnc/kasmvnc.yaml.lsio <<'EOT'
user_session:
  session_type: exclusive
  new_session_disconnects_existing_exclusive_session: true

encoding:
  max_frame_rate: 60
  full_frame_updates: none
  rect_encoding_mode:
    min_quality: 7
    max_quality: 8
    consider_lossless_quality: 10
    rectangle_compress_threads: auto

  video_encoding_mode:
    jpeg_quality: -1
    webp_quality: -1
    max_resolution:
      width: 1920
      height: 1080
    enter_video_encoding_mode:
      time_threshold: 5
      area_threshold: 45%
    exit_video_encoding_mode:
      time_threshold: 3
    logging:
      level: off
    scaling_algorithm: progressive_bilinear
EOT

Container logs

migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
  _____ __ __ _____ _____ _____ _____ 
 |     |  |  |   __|_   _|     |     |
 |   --|  |  |__   | | | |  |  | | | |
 |_____|_____|_____| |_| |_____|_|_|_|
       _____ __ __ _ __    ____  
      | __  |  |  | |  |  |    \ 
      | __ -|  |  | |  |__|  |  |
      |_____|_____|_|_____|____/ 

  Based on images from linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

.....+..+.+.....+....+.....+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+.+.....+..........+...+......+..+...+.......+....................+...+.+...............+........+.+...........+...+.+..+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...............+..+.+...+..+.......+..+...+..........+......+.........+.....+......................+........+.+..........................+.+...+............+.....+.......+......+.....+.+...+...+.....+...+.+...+...........+..........+..+...+....+.....+.......+.........+..............+.+..+....+...............+...............+......+..+.......+......+.....+............+.......+...+..+.+.....+.........+........................+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+............+...+...+....+...+...+............+..+......+.......+..+....+.....+.......+.....+...+..........+.....+.+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+...+.........+.+............+.....+.......+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.3 - built Nov  2 2024 19:03:27
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

[ls.io-init] done.
19
Obt-Message: Xinerama extension is not present on the server
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
 2024-11-08 00:49:59,256 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-11-08 00:49:59,268 [PRIO] Connections: accepted: @myipishere_1731023399.257008::websocket
 2024-11-08 00:56:19,968 [PRIO] Connections: closed: @myipishere_1731023399.257008::websocket (Clean disconnection)
 2024-11-08 01:02:46,909 [INFO] websocket 1: got client connection from 127.0.0.1
 2024-11-08 01:02:46,920 [PRIO] Connections: accepted: @myipishere_1731024166.910261::websocket

ne0YT avatar Nov 08 '24 00:11 ne0YT

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Dec 08 '24 17:12 LinuxServer-CI

keeping it from closing

ne0YT avatar Dec 08 '24 18:12 ne0YT

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Jan 08 '25 17:01 LinuxServer-CI

issue is still persisting.

ne0YT avatar Jan 23 '25 13:01 ne0YT

@thelamer hey there.. I tried another time but it's just not applying. the settigns are correct as they work witha seperate non-docker setup of kasm.

ne0YT avatar Feb 19 '25 09:02 ne0YT

I was looking at the S6 overlay because I was trying to turn off rescaling. Xvnc is getting called which I'm not sure observe the /etc/kasmvnc/kasmvnc.yaml file. I am going to remake my container and test.

Check xvnc on the kasmvnc docs to see if your issue can be resolved by that.

T2theV avatar Feb 20 '25 21:02 T2theV

https://github.com/linuxserver/docker-steamos/pull/24#issue-2868045801

This is a PR that does what you're asking. It's not for base image though.

T2theV avatar Mar 04 '25 16:03 T2theV

@T2theV but I don't just want one modification. I want to use multiple configurations inside kasmvnc.yaml.lsio

ne0YT avatar Mar 04 '25 16:03 ne0YT

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Apr 03 '25 17:04 LinuxServer-CI

This issue is locked due to inactivity

LinuxServer-CI avatar Jul 03 '25 17:07 LinuxServer-CI