← All posts

Machines

Remote desktop on your server, from your phone's browser

Open a machine's screen in your phone's browser with a terminal window ready, turn the phone sideways for 1280×720, and never open a port. What it is good for and where it falls short.

Pocket5 min read

Most of what you do on a server from a phone is text: a terminal, a log, a chat with a coding agent. Sometimes text is not enough. A page renders wrong. A tool only has a graphical setup. You want to see what a browser on the server sees. For those moments, Pocket opens the machine's screen in your phone's browser.

Pocket is mostly known for bots that answer calls on your own SIM, with no telephony provider and no new number. The same app also runs machines, and this is one of the tools that come with them.

What it is

Remote desktop is a button on a running machine's page in the app. Tap it and the machine's screen opens in your phone's browser, with a terminal window ready. (Machines set up before the terminal shipped open a Chromium window instead.) It is a plain Linux desktop with a light window manager, drawn at 1280×720.

  1. Open Machines and pick the machine. It must be running; start it first if it is suspended.
  2. Tap Remote desktop. If the machine just booted, give its agent a minute.
  3. The desktop opens in your browser. Turn the phone sideways for the full 1280×720 screen.

No public IP, no open port

The machine has no public IP, and nothing on it listens to the internet. When you tap the button, Pocket signs a short-lived ticket and asks the machine's agent to start the desktop and dial out to Pocket's relay. The desktop's own port only listens on the machine itself. Your browser and the machine meet at the relay, which checks the ticket, so only you can open it.

The desktop processes only run when a session asks for one. When nobody is looking, they cost the machine nothing.

When it is useful

  • Seeing a web app as a browser draws it. Start your dev server in the terminal window, open a browser on the machine, and check the page that only listens on localhost. On machines Pocket creates, Chromium is installed.
  • A setup step that needs a window. Some tools have a graphical installer or a first-run dialog with no command-line option.
  • Signing in to something from the server's side. A web console that should see the server's address, not your phone's.
  • A quick look when the terminal isn't enough. Several terminals side by side, a file manager you start yourself, a program that draws a window.

For plain shell work, the Terminal is better. Open it on the same machine; tap + for another shell, up to three per machine, and the ⋯ menu closes, clears, reconnects or saves a transcript. For a web app you want to check often, the machine's preview URLs for dev servers are quicker than a desktop. Terminal and remote desktop.

An example: checking a page a bot just changed

Say a coding agent on the machine has just changed a page's layout, and you are away from your desk. The diff reads fine on the phone, but you want to see it. Open the machine, tap Remote desktop, and turn the phone sideways. In the terminal window, start the dev server the way you would at your desk. Then start a browser on the machine and open the local address the server printed. You see the page exactly as a desktop browser on that machine draws it, at 1280×720, which is close to a small laptop screen. If something is off, go back to the conversation and tell the agent what you saw.

Nothing about this needed the dev server to be reachable from the internet. The browser runs on the same machine as the server, and only the picture of the screen comes to your phone.

Where it falls short

A 1280×720 desktop on a phone screen is a tool for a few clicks and a look, not for a day of work. Be honest with yourself about what you are opening it for.

  • It is small. Even sideways, text is tiny. Zoom in the browser for detail.
  • It is a picture of a screen. It is not as smooth as a local app, and it carries no sound.
  • It needs a running machine. A suspended machine has to start first, and a fresh boot needs a minute before the agent answers.
  • It can come up black. After a resume, wait a few seconds and reload the page. If it stays black, open a new desktop link from the machine screen.

Which machines have it

Pocket machines come three ways: Pocket cloud (Pro and Team, billed by the hour at Google's price plus 30% while running), your own server over SSH (free on every plan), or machines Pocket creates in your own cloud account (your cloud bills you). Machines Pocket creates come with the desktop packages installed, so the desktop starts in seconds. Machines covers the three, and when you need a machine covers whether you need one at all.

A machine with nothing running suspends after the idle time you choose, and resume takes seconds. If you are about to open the desktop on a sleeping machine, start it from the same screen first.

The rest of the machine, from the same phone

  • Coding agents that work in your repositories, with diffs reviewed hunk by hunk on the phone and pull requests opened and merged from the app.
  • Your own Claude Code sessions, continued from the phone under your own login, free. Continue your Claude Code sessions from your phone.
  • Calls on your machine, when a team needs more lines than Pocket's shared engine gives. Calls on your machine.

If you have a server already, connecting it takes one installer and no open ports: run AI agents on your own server over SSH.

Machines

Try it on your own number

Thirty minutes of agent time free, no card.

Keep reading