Ubuntu on Railway
Ubuntu 26.04 LTS as a browser desktop, web terminal or SSH dev box, with a persistent volume on Railway.
Ubuntu is a widely used Linux distribution from Canonical, with long-term-support releases that receive security updates for years. On Railway it works as a remote workspace: a graphical desktop in a browser tab, a shell in a browser tab, or an always-on box you reach over SSH.
People use these to get a Linux environment that is available from any device, to keep long-running agents and builds going after a laptop is closed, or to try software without touching their own machine. These are containers rather than virtual machines, so there is no systemd and no Docker inside.
Ubuntu is free software made of packages that each carry their own licence.
What Ubuntu can do
- XFCE or LXQt desktop streamed to the browser
- Web terminal with persistent tmux sessions
- SSH access with Claude Code, Codex CLI, Gemini CLI and OpenCode preinstalled
- Generated login passwords
- Home directory on a persistent volume
- Git, Python, Node.js and common CLI tools
What people use it for
- A Linux desktop reachable from any browser
- A cloud dev box for AI coding agents
- A quick shell for scripts, builds and testing
- Trying Linux software without installing it locally
Videos
Running Ubuntu on Railway
Four Railway templates deploy Ubuntu 26.04 LTS in different forms. Two stream a desktop, XFCE or LXQt, through the linuxserver.io webtop image. One is a web terminal with ttyd behind an nginx login, and one is an SSH and browser-terminal dev box with AI coding CLIs. Each is a single service with a generated password and a volume for the home directory. Cost follows memory and CPU, and Chromium on the desktops adds the most; desktop sessions need Hobby or more for comfortable browsing.
Ubuntu templates on Railway
Tracklayer templates are listed first. Other Ubuntu templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about Ubuntu
Which Ubuntu template should I start with?
Use the web terminal for a light shell that runs on any plan, the dev box if you want SSH plus Claude Code, Codex, Gemini CLI and OpenCode, and the XFCE or LXQt desktop if you need a graphical session with a browser.
What persists across redeploys?
The home directory on the volume: files, settings and logins. Packages installed with sudo apt install reset on redeploy unless you list them in the template's package variable, and running processes do not survive restarts.
Is it a full Linux machine?
No, it is a container. There is no systemd, no Docker inside, and the desktops have no GPU, so 3D apps and video editing are slow.
How do I log in?
Each template generates a password, shown on the service's Variables tab. The desktops and web terminal use a browser login; the dev box also accepts SSH through a TCP proxy.
Are there usage limits?
Railway's Fair Use Policy applies to everything that runs on these services. AI tool usage on the dev box is billed by the respective vendor.
Guides
Similar apps
Tracklayer maintains the templates marked as such; Ubuntu is a trademark of its owners and this site is not affiliated with them.