Using a Linux computer with no monitor from your phone
My Jetson sits on a shelf with no monitor, and the spare monitor is in a cupboard. Carrying one to the other got old in about a week, so Nightdesk for Linux gives the computer a screen of its own and puts it on my phone.
Linux with GNOME 42 or later: Ubuntu 22.04 and newer, and NVIDIA Jetson boards on JetPack 6. It runs on 64-bit ARM, x86-64 and 32-bit ARM. Raspberry Pi OS and desktops other than GNOME, like KDE and Xfce, aren’t supported yet. On the other end, an Android phone or tablet (Android 12 or later), or a Mac.
You don’t need a monitor, a dummy display plug or an open port.
At its keyboard, or over SSH from anywhere. Log in as the person whose desktop you want to use, not as root.
Run the install command
Run it as yourself, not with sudo. It checks what the computer has and offers to add the few system packages Nightdesk needs (GNOME’s screen sharing and a video encoder); that part asks for your password. Nightdesk itself goes in your home folder. You can read the script first.
It starts on every boot
Nightdesk runs now and after every restart, and shows your desktop on a virtual screen, so nothing has to be plugged in.
Scan the code it prints
The installer ends with a QR code and an 8-character code, right in your SSH window. In Nightdesk on your phone, tap Add a computer › Scan its code. You’re linked, and it stays in your list.
To pair another phone later, this opens pairing for 15 minutes and prints a new code:
$~/.local/bin/nightdesk-hostpair
03From anywhere
From anywhere, with no open ports
The QR code also pairs through Nightdesk’s relay, so a cloud machine with a closed security group works the same way as the box under your desk. The computer only ever connects out. Everything is end-to-end encrypted with a key made when you pair, and the relay can’t read what it carries.
A Linux desktop on an Android tablet, with Claude Code asking a question in the terminal and its answers as keys.
04Good to know
What works on Linux, and what doesn’t yet.
Coding agents
When Claude Code, Codex, Gemini CLI or Aider runs in the terminal in front (GNOME Terminal, Console, kitty, Alacritty, WezTerm, tmux included), your phone shows its keys and offers the terminal view, the same as on a Mac. Agent keys and the terminal view: on Android now, coming to iPhone and iPad.
The rest
Files go both ways, copied text goes both ways, and the computer’s sound can play on your phone. The Apps and Windows lists and live stats work as on a Mac, with Ctrl in place of ⌘.
Speed
Nightdesk sends the picture as video. Most small boards have no video encoder Nightdesk can use yet, so the processor does that work. A screen where nothing moves sends nothing.
Not there yet
Several displays at once, the sharper zoomed-in picture, pictures of windows in the Windows list, and images through the clipboard. Fingerprint unlock and the phone-shaped screens are for Macs.
From a Mac
Nightdesk for Mac can open the same desktop in a window. That part is paid on the Mac you view from: 14 days free, then $4.99 a month or $57 once, on up to 3 computers. The Linux computer stays free. How it works.
05Other ways
Other ways to reach a headless box.
If you only need a shell, SSH is the right tool and you don’t need any of this. GNOME has its own remote desktop, and VNC servers work too. On a home network with an RDP or VNC app they’re fine, though with no monitor attached they can take some setting up, and from outside you need a VPN or an open port.
Nightdesk is for when you want the desktop itself on your phone, from anywhere, without opening ports. I built this part for the Jetson on my shelf, and the same install works on a server in a closet or a machine in the cloud.
What it looks like on an ordinary day
See a Jetson’s desktop without plugging in a monitor
Saturday, 11 p.m.Kenji, robotics hobbyist
Kenji’s rover runs on a Jetson in the garage. Every time he wanted to see its camera viewer, he carried out a monitor and a keyboard, through the rain.
The Jetson has no screen, and the garage has no desk.
How
He installs Nightdesk for Linux over SSH. It runs the Jetson’s GNOME desktop on a screen of its own: no monitor, no dummy plug.
From the kitchen he opens that desktop on his phone and watches the camera viewer.
Live stats show the processor, the GPU and the temperatures while the detector runs.
The monitor stays in the cupboard, and Kenji stays dry.
$ curl -fsSL nightdesk.codedrealities.com/linux/install.sh | sh
…
Pairing code 7KQ4-M2XD
Reach a cloud server’s desktop without opening a port
Tuesday, 4:10 p.m.Bob, DevOps engineer
Bob runs an Ubuntu VM on AWS for a vendor tool that only has a graphical interface. Its security group allows no inbound traffic, on purpose.
VNC would mean opening a port or building a tunnel, and he wants neither.
How
In a shell on the VM, the way he always gets one, he pastes one command. Nightdesk for Linux installs, gives the VM a screen of its own and prints a QR code.
He scans it with Nightdesk on his phone. The phone pairs through the encrypted relay; the VM only ever connects out.
From then on, that desktop is one tap away, wherever Bob is.
No port opened, no VPN, no change to the security group.
$ nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csvutilization.gpu, temperature.gpu98 %, 71$ tail -n 2 train.logstep 41200 loss 1.284 lr 2.0e-5step 41300 loss 1.279 lr 2.0e-5
Check an overnight training run from the gym
6:30 a.m.Grace, ML researcher
Grace’s fine-tune runs overnight on the GPU tower in her spare room. Between sets at the gym, she wants to know how the night went.
Is the loss still falling, or did it crash at three? She’d rather not go home to find out.
How
She links to the tower over mobile data. Nightdesk goes through the relay by itself.
TensorBoard is open on its desktop, and she pinches in on the curve. A terminal with nvidia-smi shows the GPU; live stats show the processor, memory and temperatures.
Loss still falling, GPU at 98%. She finishes her workout.
Which account has room, when each one resets, and an alert when one runs out.
Try it on your own computer.
The Mac and Linux apps are free. On Android, everything is on for 3 days from your first link, with no card and no account, and after that it’s $4.99 a month or $57 once (US prices; Google Play shows yours). Nightdesk for iPhone and iPad is coming to the App Store.