# The screen

Every machine can run a screen: an Ubuntu desktop with Chrome, drawn by the machine (no GPU). Your
AI uses it, and you watch it live in the dashboard.

## Turn it on, open it

- "Turn on the screen of first-box" starts the screen. Your AI can also open a page in its Chrome,
  for example "Turn on the screen of first-box and open github.com".
- "Open the screen for first-box" (or "show") opens the screen page in your browser.
- In the dashboard, click the screen picture on a machine's card, or **Open screen** when it is
  off. On the machine's page, **Open desktop** does the same.

Your AI drives the screen's Chrome itself. Under the screen, the page suggests prompts to try, such
as "Install VS Code on first-box".

## Watch

The page is for watching: you see what your AI does on the screen, and a stray click or key
doesn't reach it. When your AI needs you there (a login, a captcha), it asks: **Take control** in
its notice lets you use the mouse and keyboard, and **Done** hands the screen back. On a phone, tap
to click and choose **Keyboard** to type; turn the phone sideways for a bigger screen.

While you have control, copy and paste work between your computer and the screen: text you copy on
the screen lands in your computer's clipboard, and the paste shortcut (Ctrl+V, Ctrl+Shift+V in a
terminal) pastes your computer's clipboard there. On a Mac, Cmd+C, Cmd+X and Cmd+V do the same. The
first paste may ask you to let the page read your clipboard.

## Good to know

- The first time, the machine downloads and installs the desktop. This takes about a minute and
  needs internet access on the machine. Later starts take a few seconds.
- The screen keeps running with all its windows when you leave the page. **Close desktop** (or
  your AI) stops it and the programs on it; your files stay. Stopping the machine ends it too.
- It needs about 2 GB of memory. On a smaller machine the page says so and offers **Resize VPS**.
- Only the machine's creator, a team owner, or a member given access to it
  (`lt vps access grant`) can open its screen, because clicks and keys act inside the machine.
- Browsing and editors work well; video and 3D are choppy.

## Agents inside the machine

Claude Code, Codex or another agent running inside the machine uses the screen with the
`lt-screen` command:

- `lt-screen start` opens the desktop and marks it as used by the agent. The mark ends with
  `lt-screen stop`, with **Close desktop**, or after 15 minutes without the agent using it
  while nobody watches. Only `lt-screen stop` with nobody watching and **Close desktop** end
  the desktop; when the mark just runs out, the desktop and its programs keep running.
- `eval "$(lt-screen env)"` gives a shell the desktop's display, so programs it starts
  appear on the desktop.
- `lt-screen ask "Log in to GitHub, then press Done"` asks you for help: it waits until you
  answer Done or Cancel (30 minutes by default, `--timeout` to change it). The question also
  goes to `lt view` on your laptop and, if you set up phone notifications, to your phone as
  "Claude needs you on the screen" without the question's text.
- While an agent uses the desktop, the dashboard shows **Claude is using the screen** (or
  Codex, or An agent) on the VPS and in the VPS list. **Watch** opens the desktop
  view-only: you see what the agent does, and a stray click or key doesn't reach it.
- When the agent asks for help, the VPS shows **Claude needs you** with the question and
  **Done** and **Cancel**. **Open screen** (or **Take control** on the desktop page) turns on
  the mouse and keyboard; do what it asks, then press **Done**. The agent continues, and the desktop goes back to view-only.
- The desktop needs about 2 GB of memory. On a smaller VPS, `lt-screen start` says so and
  names the resize command, for example `lt vps resize my-vps --memory-gib 2`; the
  dashboard's desktop page shows the same message.
- `lt vps screen my-vps` prints the desktop page's address and opens it in your browser.