Linux desktop in your browser on Railway: which to pick
Short answer: deploy a webtop-style template on Railway. It runs one service that streams a full Linux desktop to your browser over HTTPS, protects it with a password and keeps your home directory on a volume. For most people, Ubuntu 26.04 with XFCE is a reasonable first pick; choose LXQt for the smallest memory footprint, KDE Plasma for the KDE toolset, Alpine for a musl-based system, or Kali for authorised security testing.
Deploy Ubuntu XFCE desktop on RailwayWhen a browser desktop is useful
A browser desktop gives you a Linux machine you can open from any device, including a managed work laptop where you cannot install software. People use it for:
- an always-on Linux box for development, scripts and long-running GUI tools,
- opening untrusted links or files in a cloud browser instead of on their own computer,
- training sessions, demos and support work that need a ready Linux environment.
It is a single-user desktop, not a replacement for a workstation with a GPU. Railway has no GPUs, so the screen is drawn and video-encoded on the CPU. Office work, browsing and development tools run well; 3D apps, games and video editing will be slow.
Which Linux desktop templates people deploy on Railway
| Template | Creator | Deployments | Services |
|---|---|---|---|
| Bytebot | Bytebot | 3,440 | 4 |
| Microsoft Edge | Two Workspaces | 631 | 1 |
| Debian | darseen | 450 | 1 |
| Ubuntu | Xav's Projects | 207 | 1 |
| Microsoft Edge | Rakit | 153 | 1 |
| Ubuntu | darseen | 150 | 1 |
| Linux Desktop | Debian KDE Plasma in the Cloud | Two Workspaces | 140 | 1 |
| Linux Desktop | Ubuntu LXQt in the Cloud | Two Workspaces | 137 | 1 |
Railway marketplace data as of 2026-11-19. Full ranking: Best Linux desktop-in-the-browser templates on Railway.
Which one to pick
All six Tracklayer templates below use the same design: the linuxserver.io webtop approach (Kali is built on the same base image), Selkies streaming over one WebSocket, an nginx login and a /config volume. They differ in the desktop, the distribution and the memory they need. Memory figures are measurements stated in each template’s README, taken on Railway with one browser session connected and no apps open, unless noted.
| Template | Desktop | Distro | Measured memory | Good for |
|---|---|---|---|---|
| Ubuntu 26.04 XFCE | XFCE | Ubuntu 26.04 LTS | About 0.3 GB at idle, before a browser connects | A familiar everyday Linux desktop |
| Debian 13 XFCE | XFCE 4.20 | Debian 13 | Not stated; README suggests 2 GB is comfortable with a browser open | Apps installed with apt or proot-apps, such as GIMP or LibreOffice |
| Ubuntu 26.04 LXQt | LXQt | Ubuntu 26.04 LTS | About 0.35 to 0.45 GB | A low-cost always-on box for a terminal, files and a browser |
| Debian 13 KDE Plasma | KDE Plasma | Debian 13 | About 0.55 GB | Qt and KDE development, testing apps on Debian |
| Alpine 3.24 KDE Plasma | KDE Plasma | Alpine 3.24 | 0.55 to 0.8 GB | Testing apps on a small, musl-based system |
| Kali Linux KDE | KDE Plasma | Kali (kali-rolling) | About 0.75 GB with a 1 GB limit | Authorised security testing with Kali’s top 10 tools |
Every README says Free’s 0.5 GB is too small for a session, and that Chromium or Firefox with several tabs needs Hobby and 2 GB or more. If you only want a terminal and not a desktop, see the Linux desktop ranking and the cloud dev box templates.
Deploy the Ubuntu XFCE desktop, step by step
These steps use Tracklayer’s Ubuntu 26.04 XFCE template, pinned to linuxserver.io webtop release ubuntu-xfce-76362218-ls10. The other five templates follow the same flow with a different default user name.
- Deploy the template. It creates one Desktop service and a volume mounted at
/config. There is no database and no API key to supply. - Wait for the deploy to turn healthy. The first build pulls a 1.2 GB image, so allow a few minutes.
- Find your password. Open the Desktop service, then the Variables tab. The password is the generated
PASSWORDvalue. - Open the public URL. Your browser asks for a login: user
ubuntu(or yourCUSTOM_USER) and thePASSWORDvalue. IfPASSWORDis empty or shorter than 8 characters, the login is locked with a random password and the deploy log says so. Use 12 or more characters. - Use the desktop. It resizes to your browser window. The Selkies side menu has a clipboard box, file upload and download, audio, keyboard and display settings. Browsers only play audio after you click in the page once.
- Keep your files and apps. Install apps with
proot-apps install {app}so they live in your home directory. Forsudo apt installpackages, list them in theAPT_PACKAGESvariable so they are reinstalled after each restart.
Costs
Railway bills usage, so the cost follows the RAM and CPU the desktop uses. The READMEs do not state a monthly price, and this guide does not estimate one. What drives it:
- Memory. A bare desktop is light, and Chromium with several tabs is not. Size the service from the measurements in the table, then add room for your apps.
- CPU. A busy screen costs CPU because the video stream is encoded on the CPU. Lowering the frame rate in the side menu, or setting
SELKIES_FRAMERATE, saves CPU. - Uptime. An always-on desktop is billed while it runs.
Security and limits
- The desktop never runs without a login, and requests from other websites are refused.
- The Linux user has passwordless sudo, so anyone with the password controls the whole container. Setting
HARDEN_DESKTOP=truedisables sudo, terminals and the open-with tools for a locked-down desktop. - Browsers keep basic-auth logins until they close. Use a private window on shared computers.
- Run one replica and scale it vertically. To upgrade, change the
FROMline in the template’s Dockerfile to a newer release tag and redeploy; the home directory is kept. - There is no WebRTC or UDP, so the stream uses the WebSocket. Railway’s app sleeping stops the desktop session.
- Use the desktop for your own work. Railway’s Fair Use Policy forbids cryptocurrency mining, torrenting, reselling compute, operating proxies or anonymization services, and abusive bots or scrapers.
- Kali’s tools can scan and exploit systems. Use them only against systems you own or have written permission to test. Scanning third-party networks from Railway can get your account suspended, and raw-socket tools such as
nmap -sSmay not work in Railway’s containers.
Licence notes
These are community templates built on the GPL-3.0 linuxserver.io webtop images, with Selkies (MPL-2.0) as the streaming server. Each template’s NOTICE.md lists the components. They are not affiliated with linuxserver.io, the Selkies project, the distribution publishers or Railway.
Other options
Compare all six in the table above, or browse the full Linux desktop ranking. For a terminal-first environment, see cloud dev boxes. More guides are listed at /guides/.
FAQ
Which Linux desktop template should I start with?
If you have no strong preference, start with Ubuntu 26.04 XFCE: it is a familiar distribution, a light desktop, and it comes with Chromium, a file manager, a terminal and an editor. Pick LXQt if memory is the main constraint, KDE Plasma if you want its tools, Alpine if you need musl, and Kali only for authorised security testing.
How much memory does a browser Linux desktop need on Railway?
The template READMEs report measurements for a connected session with no apps open: about 0.35 to 0.45 GB for LXQt, about 0.55 GB for Debian KDE, 0.55 to 0.8 GB for Alpine KDE and about 0.75 GB for Kali KDE. Ubuntu XFCE was measured at about 0.3 GB before a browser connects. Chromium with several tabs needs Hobby and 2 GB or more.
Are my files kept when the desktop redeploys?
Everything in the home directory (/config) is on a Railway volume: documents, desktop settings, browser profile and apps installed with proot-apps. Packages installed with sudo apt reset on redeploy unless you list them in the APT_PACKAGES variable. Running apps restart on every redeploy.
Can I run Docker, games or crypto miners on it?
No Docker inside the desktop, because Railway runs no privileged containers. There is no GPU, so 3D apps, games and video editing are slow. Railway's Fair Use Policy forbids cryptocurrency mining, torrenting, reselling compute, running proxies and abusive bots, so do not run those from the desktop.