Kali Linux in your browser on Railway
Short answer: deploy a Kali Linux template on Railway and open it from a browser. Tracklayer offers two: a KDE Plasma desktop with Kali’s top 10 tools, and a lighter command-line terminal. Both sit behind a generated password and keep your files on a volume. Use them only for authorised testing: systems you own or have written permission to test.
Deploy Kali Linux KDE desktop on RailwayAuthorised use only
Kali’s tools can scan, brute-force and exploit systems. Both templates say the same thing: use them only against systems you own or have written permission to test.
Railway’s Fair Use Policy and Terms of Service apply to everything that runs inside. Scanning or attacking third-party networks from Railway can get your account suspended. The Fair Use Policy also rules out cryptocurrency mining, torrenting, reselling compute, running proxies or anonymization services, and abusive bots or scrapers, so do not run those from a Kali box either.
When a browser Kali machine helps
- Security training, CTFs and lab work against targets you are allowed to test.
- Working from a Chromebook or a managed work laptop where you cannot install a VM.
- Running long scans against your own systems from a cloud IP instead of your home connection.
- Opening untrusted links or files in a cloud browser instead of on your own computer.
Which Linux desktop templates people deploy
| 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.
Desktop or terminal
| Kali KDE desktop | Kali web terminal | |
|---|---|---|
| What you open | A KDE Plasma desktop in a browser tab | A shell in a browser tab, running in tmux |
| Tools | kali-tools-top10 (Metasploit, Burp Suite, nmap, sqlmap, Hydra, John the Ripper, Wireshark, Aircrack-ng, NetExec, Responder), plus gobuster, ffuf, dirb, whatweb, searchsploit and the Kali wordlists |
nmap, sqlmap, ffuf, gobuster, feroxbuster, nuclei, hydra, john, netexec, impacket, searchsploit and others |
| Measured memory | About 0.75 GB with a 1 GB limit, one session, no apps open | About 0.15 GB idle, 0.17 GB during an nmap -sV scan |
| Login user | kali (or CUSTOM_USER) |
kali (the USERNAME variable) |
| Volume | /config |
/home |
| Add more packages | APT_PACKAGES variable |
KALI_EXTRA_PACKAGES variable |
Memory figures are measurements stated in each template’s README, taken on Railway.
Deploy the Kali desktop, step by step
- Deploy the template. It creates one Desktop service and a volume at
/config. There is no database and no API key to supply. - Wait for the first build. It downloads about 1.7 GB of Kali packages, so allow about 10 minutes.
- Find the password. Open the service, then the Variables tab. The password is the generated
PASSWORDvalue. - Open the public URL. Your browser asks for a login: user
kali(or yourCUSTOM_USER) andPASSWORD. 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.
- Keep your packages. Packages installed with
sudo apt installreset on redeploy. List them inAPT_PACKAGES, or in~/.config/railway-desktop/packages, and they are reinstalled after each start.
For the terminal, open the public URL, log in as kali with the generated PASSWORD, and you land in a tmux session named main. Close the tab and reopen the URL to resume. To add tools such as metasploit-framework, set KALI_EXTRA_PACKAGES and redeploy.
Costs
Railway bills usage, so cost follows the RAM and CPU the service uses. The READMEs do not state a monthly price, and this guide does not estimate one.
- Plan. The desktop runs on Trial and up. Free’s 0.5 GB is too small for KDE. Burp Suite, Metasploit and Firefox with several tabs need Hobby and 2 GB or more.
- CPU. The desktop is drawn and video-encoded on the CPU. A busy screen costs more, and lowering the frame rate in the side menu or setting
SELKIES_FRAMERATEsaves CPU. - Image size. Extra packages make the terminal image bigger and the build slower. Metasploit adds about 1.9 GB and
kali-linux-headlessabout 4 GB, and heavy tools need more RAM than the shell alone.
Limits
- No GPU. 3D apps, games and video editing are slow on the desktop; office work, browsing and development tools run well.
- No Docker inside either service, because Railway runs no privileged containers.
- Raw-socket tools (
nmap -sS, packet capture, Wi-Fi tools) may not work.nmap -sTand HTTP-level tools do. - Running processes restart on every redeploy. tmux sessions survive disconnects, not restarts.
- Both are single-user machines on one volume: run one replica and scale vertically. For a team, deploy one per person.
Security
- Neither service runs without a login. Only a hash of the password is stored.
- The desktop’s Linux user has passwordless sudo, so anyone with the password controls the container.
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.
Licence notes
The desktop builds on GPL-3.0 linuxserver.io images with Selkies (MPL-2.0) as the streaming server. The terminal uses ttyd (MIT), nginx and tmux. Kali packages keep their own licences, listed in each template’s NOTICE.md. These are community templates, not affiliated with OffSec, linuxserver.io, the Selkies project or Railway.
Other options
See the Linux desktop ranking for other desktops, or the Linux desktop guide for XFCE, LXQt and KDE on Ubuntu, Debian and Alpine. More guides are listed at /guides/.
FAQ
Is it allowed to scan other people's systems from Railway?
No. Use Kali's tools only against systems you own or have written permission to test. Railway's Fair Use Policy and Terms of Service apply to everything that runs in the desktop or terminal, and scanning or attacking third-party networks from Railway can get your account suspended.
Which one should I choose, the desktop or the terminal?
Choose the KDE desktop if you want graphical tools such as Burp Suite, Wireshark or Firefox. Choose the web terminal if you work on the command line: it is much lighter, with about 0.15 GB of RAM idle measured, and it runs in tmux so long scans survive a closed tab.
Does nmap work on Railway?
Partly. Railway containers have no raw-socket access, so SYN scans (-sS), UDP scans, OS detection (-O), masscan and packet capture do not work. TCP connect scans (-sT) and HTTP-level tools do. The terminal template sets nmap up for connect scans, including nmap -sV -sC.
What is kept when the service redeploys?
The desktop keeps everything in /config, and the terminal keeps everything under /home/kali. Packages installed with sudo apt install reset on redeploy. On the desktop, list them in APT_PACKAGES. On the terminal, use KALI_EXTRA_PACKAGES, which bakes them into the image.
Are there licence restrictions?
The desktop builds on GPL-3.0 linuxserver.io images with Selkies (MPL-2.0), and the Kali packages keep their own licences. Kali Linux is a trademark of OffSec Services Limited. These are community templates, not affiliated with OffSec, linuxserver.io, the Selkies project or Railway.