Skip to content

[FEAT] KasmVNC file manager not working in lscr.io/linuxserver/chromium:kasm image #65

@Derekcde

Description

@Derekcde

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Hello LinuxServer.io team 👋

I’m using the lscr.io/linuxserver/chromium:kasm image (latest) to run Chromium through KasmVNC.
Chromium itself works fine, but the built-in file manager (accessible via the “File Manager” icon in the KasmVNC interface) hangs indefinitely on loading.

When checking the browser console, several errors appear:

GET https://[server]/public/js/pcm-player.js 404 (Not Found)
GET https://[server]/files/socket.io/socket.io.js 404 (Not Found)
Refused to execute script ... because its MIME type ('text/html') is not executable
filebrowser.js:5 Uncaught ReferenceError: io is not defined
filebrowser.js:160 Uncaught TypeError: Cannot read properties of undefined (reading 'emit')

These indicate that:

the required JS files (socket.io.js and pcm-player.js) are missing from the image;

the KasmVNC server is running, but the kasm_agent process seems absent;

as a result, the file sharing feature is broken.

Steps to reproduce

Deploy the container with this configuration:

image: lscr.io/linuxserver/chromium:kasm
environment:

  • PUID=1000
  • PGID=1000
  • TZ=Europe/Paris
  • FILE_MANAGER_PATH=/files
    volumes:
  • /path/config:/config
  • /path/files:/files

Open the Chromium web interface (KasmVNC).

Click on “File Manager”.

The spinner keeps loading, and the above console errors appear.

Thanks.

Reason for change

The file manager should display the contents of /files and allow uploading/downloading files — similar to official KasmVNC base images (kasmweb/core-*) ?.

Proposed code change

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions