Virtual Desktops (Linux)
A Linux virtual desktop (VDI) is a containerized graphical desktop you reach from your browser. No local VNC or RDP client is required. The desktop is served over HTTPS on container port 3001, and Trailer wires up a URL for it automatically when you create a workspace.
Linux VDI images build on the linuxserver/webtop base image. You choose a base operating system and a desktop environment, and Trailer resolves the matching webtop tag.
Creating a Linux virtual desktop
Section titled âCreating a Linux virtual desktopâA virtual desktop is delivered through the normal image then workspace flow.
- Create an image (see Create Image) and enable the VDI Desktop service.
- Pick a base operating system and a desktop environment.
- Optionally set the keyboard layout and system language.
- Optionally add VDI apps to pre-install (see below).
- Build the image.
- Create a workspace from the built image (see Create Workspace).
When the VDI Desktop service is enabled, the server sets the image base to lscr.io/linuxserver/webtop:<os>-<de>, for example lscr.io/linuxserver/webtop:ubuntu-xfce. It also creates a default in-image user named trailer (UID/GID 10001).
Operating systems and desktop environments
Section titled âOperating systems and desktop environmentsâThe base operating system determines which desktop environments are available. Trailer validates the combination server-side and rejects unsupported pairs.
| Operating system | Desktop environments |
|---|---|
| Ubuntu (default) | i3, KDE, MATE, Xfce |
| Alpine | i3, KDE, MATE, Xfce |
| Arch | i3, KDE, MATE, Xfce |
| Debian | i3, KDE, MATE, Xfce |
| Fedora | i3, KDE, MATE, Xfce |
| Enterprise Linux | i3, MATE, Xfce |
The default selection is Ubuntu with the Xfce desktop. Enterprise Linux has no KDE option.
You can also set:
- Keyboard layout (for example English US, German, French). This sets
XKB_DEFAULT_LAYOUTin the image. - System language (for example
en_US.UTF-8). This setsLC_ALLin the image.
Accessing the desktop
Section titled âAccessing the desktopâWhen you create a workspace from a VDI image, the create form is pre-filled with VDI-aware defaults. You can override any of them before saving.
- A workspace URL with subdomain
desktopon port3001, served over TLS. This is the browser entry point to the desktop. - Hardware acceleration is turned on.
- The container init step is turned off (the webtop base supplies its own init).
- A
TITLEenvironment variable set to the workspace name. This sets the browser tab title.
After the workspace is running, open the desktop URL to load the graphical session in your browser.
VDI apps
Section titled âVDI appsâVDI apps are graphical applications baked into the image at build time. They are installed as portable, self-contained application bundles and are Linux-only.
Available apps include Firefox, Chrome, Chromium, Brave, VS Code, VSCodium, IntelliJ IDEA, PyCharm, GIMP, Inkscape, Krita, Blender, LibreOffice, Audacity, VLC, Obsidian, Joplin, Spotify, Telegram, FileZilla, GitHub Desktop, and Beekeeper Studio.
Selected apps are installed into the image during the build and appear in the desktopâs application menu. Each app you add increases image build time and size.
Related pages
Section titled âRelated pagesâ- Create Image - Image creation interface
- Image Details - Individual image view
- Create Workspace - Workspace creation interface
- Workspace Details - Workspace management