---
title: "Kasm Workspaces on a GPU server: install and GPU sessions · CloudSat"
description: "Install Kasm Workspaces 1.19 on your own server, then give browser desktops an NVIDIA GPU: container toolkit, agent checks, sharing rules and sizing."
url: https://cloudsat.io/learn/kasm-workspaces-setup-and-gpu-sessions
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Remote access](https://cloudsat.io/learn/topic/remote-access)

# Kasm Workspaces on a GPU server: install and GPU sessions

Install Kasm Workspaces 1.19 on your own server, then give browser desktops an NVIDIA GPU: container toolkit, agent checks, sharing rules and sizing.

CloudSat team November 18, 2026 7 min read

Kasm Workspaces turns Docker containers into desktops, browsers and single apps that open in a browser tab. Nothing needs installing on the user's device, and every session starts from a clean image. Put it on a server with an NVIDIA card and those sessions can run CUDA code and draw 3D graphics on real hardware. This guide installs Kasm 1.19 on one server, connects the GPU, and sizes the machine so sessions actually start.

## What runs where

A single-server install puts everything on one host, as Docker containers:

| Part | Job |
| --- | --- |
| Web application and proxy | The login page, the admin console and the session streams, all on HTTPS port 443 |
| Manager and database | Users, groups, workspace definitions, session records |
| Agent | Starts and stops session containers and reports the host's CPU, memory and GPUs |
| Session containers | One per running workspace, streamed to the browser by KasmVNC |

Sessions are disposable by default. When one is deleted, its container and files go with it, so anything users must keep belongs in a persistent profile or a mapped volume, configured per workspace.

## Plan the server

### Operating system

Kasm 1.19 supports Ubuntu 22.04 and 24.04, Debian 11 to 13, Red Hat Enterprise Linux 8 to 10, AlmaLinux and Rocky Linux 8 and 9, and Oracle Linux 8 and 9. Ubuntu 26.04 is not on the list yet, so use 24.04, which is also the release Kasm's GPU instructions are written for. Kasm advises a virtual machine or bare metal, not LXC or WSL.

Give Kasm a machine of its own. Its installer sets up Docker 28.5.2 or later with Compose 2.40.2 or later, and it stops if it finds an older Docker it does not support.

### Memory, cores and disk

The services need at least 2 cores, 4 GB of memory and 75 GB of SSD storage. Each session then reserves what its workspace asks for: 2,768 MB and 2 cores for the default workspaces. If the agent cannot find that much free, the session does not start. With default settings and no overrides, the arithmetic looks like this:

| Sessions at once | Cores | Memory |
| --- | --- | --- |
| 1 | 4 | about 6.8 GB |
| 3 | 8 | about 12.3 GB |
| 5 | 12 | about 17.8 GB |

Kasm also recommends swap, even on hosts with plenty of memory, for the stability of sessions. The installer offers to create it, or you can pass a size in megabytes.

### License

The Community Edition is free for individuals, non-profit organizations and non-commercial use, with up to 5 concurrent sessions. Commercial use needs a paid license from Kasm Technologies. Check the edition comparison on Kasm's site before you plan around a specific feature.

## Install Kasm 1.19

Download the release to `/tmp`, verify it, and run the installer:

```bash
cd /tmp \
&& curl --fail-early \
  -fO https://kasm-static-content.s3.amazonaws.com/kasm_release_1.19.0-latest.tar.gz \
  -fO https://kasm-static-content.s3.amazonaws.com/kasm_release_1.19.0-latest.tar.gz.sha256sum \
&& sha256sum --check *.sha256sum \
&& tar -xf kasm_release_1.19.0-latest.tar.gz \
&& sudo bash kasm_release/install.sh --swap-size 8192
```

From 1.19 on, the default install uses rolling workspace images that keep receiving security fixes. If you prefer to update on your own schedule, download `kasm_release_1.19.0.tar.gz` instead and add `--use-static-images`.

At the end, the installer prints random passwords for two accounts, `admin@kasm.local` and `user@kasm.local`. Copy them, then sign in at `https://<server address>`. Expect a certificate warning until you install your own certificate; the installer accepts one with `--ssl-public-cert` and `--ssl-private-key`. If something fails, the installer leaves a `kasm_install_<timestamp>.log` file in the directory you ran it from.

## Add the GPU

### Drivers first, once

Kasm's GPU support goes through the NVIDIA Container Toolkit, so the host needs a working NVIDIA driver and the toolkit. Check the driver before you install anything:

```bash
nvidia-smi
```

If that prints your card and a driver version, keep that driver. Kasm's own guide warns that installing NVIDIA drivers by several methods can leave a system unable to boot, so do not run a second driver installer on a server that came with drivers. CloudSat's [GPU servers](https://cloudsat.io/gpu-servers) are one example: they pass a whole RTX PRO 6000 Blackwell, RTX 5090, RTX 4090 or A100 to a server you control as root, with drivers and CUDA already installed, so you start at the toolkit.

### The container toolkit

On Ubuntu 24.04, add NVIDIA's repository, install the toolkit, and register it with Docker:

```bash
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey \
  | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list \
  | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' \
  | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt update
sudo apt install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
```

Prove that a container can see the card before involving Kasm:

```bash
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
```

### Check the agent, then the workspace

In the Kasm admin console, open the **Agents** view under **Admin**. A single-server install shows one agent, and it should report one or more GPUs. If it shows zero, recheck the toolkit step and the Docker restart.

GPUs then work like CPU cores. Edit a workspace and set its **NVIDIA CUDA GPU count** to 1: every session of that workspace now reserves one GPU. To confirm CUDA inside a session, Kasm suggests its PyTorch workspace: open a terminal there, start `python`, run `import torch` and check that `torch.cuda.is_available()` returns `True`.

Graphics acceleration is configured separately from CUDA and needs workspace images from 1.19.0 onward. NVIDIA cards do not support DRI3, the method KasmVNC uses natively, so Kasm offers EGL through VirtualGL or Vulkan through Zink on them. A third option, Mesa, means the llvmpipe software renderer, and Kasm tries the methods in the order the admin sets. Only one GPU can be passed to a container for graphics; multi-GPU containers are for compute only.

Two limits are worth knowing before you promise smooth 3D to anyone. KasmVNC's hardware video encoding uses VAAPI and does not use NVENC, so on a server with NVIDIA cards only, budget CPU cores for encoding the stream. And data center cards such as the A100 are built for compute, so pair them with CUDA workspaces and choose a graphics-class card for 3D desktops.

## Sharing one GPU between users

By default, an agent with one GPU runs one GPU session at a time. Kasm can override the agent's GPU count so several containers share the card, for example reporting 4 GPUs to allow 4 sessions. Kasm's own documentation warns that container-level GPU sharing among tenants lacks a well-established security model, and it treats NVIDIA's Multi-Instance GPU (MIG) as the single secure method for splitting a card between users; Kasm supports MIG from version 1.19. MIG needs a card that supports it, such as the A100. For people who do not trust each other, use MIG or separate GPUs.

## Lock it down

- **Passwords.** Change both default accounts' passwords right after the first sign-in, and turn on two-factor sign-in if your edition offers it.
- **Certificate.** Point a domain at the server and install a trusted certificate before inviting anyone.
- **Ports.** Only 443 needs to be reachable. Kasm's RDP gateway uses 3389, but only if you use that feature; keep it closed otherwise.
- **Policies.** Decide per group whether clipboard, file transfer and audio are allowed, since a browser session can still move data both ways.
- **Updates.** Rolling images keep sessions patched. With static images, plan upgrades with `upgrade.sh` from each new release.

## On the user's side

Kasm supports Chrome and Edge 92 or later, Firefox 95 or later and Safari 15.4 or later. Clipboard sync without the control panel works only in Chrome and other Chromium-based browsers, and audio does not play in mobile browsers. Pick the server region closest to your users: every keystroke and frame crosses that distance. For a CPU-only start, the [Kasm Workspaces app](https://cloudsat.io/apps/deploy-kasm-workspaces) deploys the same platform on Ubuntu 24.04 in one step.

## FAQ

### Is Kasm Workspaces free?

The Community Edition is, for individuals, non-profit organizations and non-commercial use, with up to 5 concurrent sessions. A company using it for its business needs a paid license.

### Why does a session fail with no resources available?

The agent lacks the free cores, memory or GPU that the workspace reserves. Lower the workspace's requirements, end idle sessions, or move to a larger server.

### Can I run a Windows desktop in Kasm?

Kasm's own workspaces are Linux containers. It can also broker remote connections to machines you run elsewhere, such as Windows servers over RDP; check Kasm's edition comparison for what your license includes.

### Do I need a GPU at all?

No. Browsers, office tools and most Linux desktops run fine with software rendering. A GPU earns its cost for CUDA work, 3D applications and video tools.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in Remote access](https://cloudsat.io/learn/topic/remote-access)

- [Install a GUI on Ubuntu Server, AlmaLinux or Rocky Linux](https://cloudsat.io/learn/install-a-desktop-on-a-linux-server): Remote access Install a GUI on Ubuntu Server, AlmaLinux or Rocky Linux 8 min read
- [PCoIP explained: how the protocol works and compares to RDP](https://cloudsat.io/learn/pcoip-explained-and-how-it-compares-to-rdp): Remote access PCoIP explained: how the protocol works and compares to RDP 7 min read
- [End-user computing (EUC) explained: stack, risks, controls](https://cloudsat.io/learn/end-user-computing-explained): Remote access End-user computing (EUC) explained: stack, risks, controls 7 min read
- [HP Anyware is winding down: remote workstation options](https://cloudsat.io/learn/hp-anyware-end-of-life-remote-workstation-options): Remote access HP Anyware is winding down: remote workstation options 6 min read
