Troubleshoot workspaces that crash after launch in Kasm
Overview
A workspace can fail to load when its container crashes shortly after launch. Users see the launch begin and then return to the user dashboard without an active session. Administrators see error logs that report the container is restarting or to wait until the container is running. This guide enables container logging so you can capture the container output and diagnose the root cause.
Prerequisites
- Administrator access to the Kasm Workspaces UI.
- Permission to edit the Group Settings for the affected group.
Enable container logging
Container logging redirects all logs generated by the workspace container to Kasm Workspaces. The redirected logs reveal why the container exits after launch.
-
Set
enable_container_loggingtoTruein the Group Settings. -
Launch a workspace.
-
View the container logs in the Kasm UI. Filter the
Hostfield by the workspaceSession ID.
This group setting logs the container sessions for every session started by users in that group. The high volume of log messages can degrade performance.