Codex remote control: from your phone, on Mac, Windows or Linux
Codex remote control: OpenAI's phone pairing for Mac and Windows, why it fails on Linux and some Windows PCs, and Codex from your phone on any OS with Caprock.
Codex remote control is OpenAI's Codex Remote: pair the ChatGPT app on your phone with the ChatGPT desktop app on a Mac or Windows PC, then start, steer and approve Codex work from the phone. OpenAI documents no Linux host. To drive the Codex CLI from a phone on any of the three systems, Caprock pairs the phone by QR code, and it reaches the computer from anywhere through an end-to-end encrypted relay.
How Codex remote control works
Codex keeps running on your computer; the phone is a window into it. From OpenAI's remote connections page, read 20 October 2026:
- The host does the work. Files, shell commands, MCP servers, skills and credentials come from the connected computer. The phone sends prompts, approvals and follow-ups.
- Through OpenAI. "A secure relay layer keeps trusted machines reachable across your authorized ChatGPT devices without exposing them directly to the public internet."
- Same account. The host's desktop app and the phone are signed in to the same ChatGPT account and workspace.
- The host stays awake. "If that computer sleeps, loses network access, or closes the app, remote access stops." A Mac laptop stays reachable with the lid open on power, or closed with an external display attached.
It launched for the Mac on 14 May 2026, added Windows hosts on 29 May, and reached general availability on 25 June, when pairing became one QR code per phone and host.
Set up Codex Remote on a Mac or Windows PC
| Step | Where | Do |
|---|---|---|
| 1 | the computer | ChatGPT desktop app → Settings → Connections → Control this Mac or PC → Set up or Add; approve remote access |
| 2 | the phone | scan the QR code; it opens the ChatGPT app |
| 3 | the phone | confirm the same account and workspace, and any MFA, SSO or passkey step |
| 4 | the phone | open Codex (Remote in older versions) and pick the computer |
What you can do from the Codex mobile app
There is no separate Codex app for phones: Codex lives in the ChatGPT app for iOS and Android, under Codex (Remote in older versions). From it you can:
- Start or continue chats in the host's projects, or a Cloud task in an environment.
- Steer — send follow-ups and answer questions while it works.
- Approve commands and other actions before Codex runs them.
- Review responses, diffs, test results, terminal output and screenshots.
- Get notified when a task finishes or needs you, and switch between hosts.
On a Windows host, keep the session unlocked: Computer Use runs in the foreground there.
Which plans include it
OpenAI's pricing page lists Mobile remote control on Plus, Pro, Business and Enterprise, and not on an API key; the Free and Go plans have no column in that table. In a ChatGPT workspace, an admin may have to turn Remote Control on first.
Codex remote control on Linux
OpenAI's docs name Mac and Windows hosts, and the Linux desktop app, in preview, does not mention remote access. The iOS app's changelog does mention Linux — attachments on connected hosts "including Windows and Linux" on 1 September 2026, a fix for pairing failures and "SSH connection issues on Mac and Linux" on 23 September — but no doc describes setting up a Linux host. Users report what that means:
- The QR code is there, pairing fails. On the Linux preview, Settings → Connections → Control this PC shows a QR code, and the phone ends with "Pairing Failed" — on Fedora on 18 August 2026 and on Ubuntu 24.04 on 21 August, in a forum request for Linux support.
- No date. OpenAI Support replied on 8 September 2026: "Remote is currently documented for Mac and Windows hosts … We don't have a timeline to share." The thread is closed.
- The CLI's own command. Codex CLI has
codex remote-control, marked "[experimental]" in its source, which starts Codex's app-server daemon with remote control on;codex remote-control pairprints a short-lived pairing code. OpenAI's CLI reference describes it for managed clients and SSH workflows, not as phone setup. - Open issues on Linux CLI hosts. #31183 (opened 5 July 2026): a headless Linux CLI could not be paired again after the move to QR pairing; the
paircommand has appeared since, and the issue is still open. #40026 (21 August): an Android phone connects to a Linux CLI host and drops after a fraction of a second.
Codex Remote not working on Windows
Open on openai/codex on 20 October 2026:
- "Unable to enable remote control" after pressing Allow, with no QR code — #31387, opened 7 July 2026 on the Microsoft Store build and reproduced on 26.721; #43459 reports the same on 26.901 in September.
- A Business account fails, a personal one works on the same Windows PC — #42575, opened 3 September 2026.
- Android stuck on "Waiting for desktop…" with a Windows host — #22733, opened 15 May 2026, reproduced again in August.
Before filing your own: both apps updated, the same account and workspace on both, the host awake (and unlocked, for Computer Use), and in a workspace, Remote Control turned on by the admin. A connection unused since 8 June 2026 has to be paired again. In #42575, two users on Business accounts got past the error by turning on multi-factor authentication, on 9 and 18 September 2026; two Mac users wrote on 13 and 15 October that it did not help them.
Codex on your phone with Caprock, on any OS
OpenAI's remote is a phone for the one app it pairs with. Caprock is a free, open-source desktop app for macOS, Windows and Linux that records every agent on the machine and starts the codex CLI you installed in a terminal tab, on your own sign-in. On a phone it is the same app in the browser, on Wi‑Fi or mobile data, through a relay that carries only end-to-end ciphertext; no account.
| Step | Where | Do |
|---|---|---|
| 1 | the computer | Settings → Use on your phone; leave It can control sessions ticked |
| 2 | the computer | press Connect a phone; a QR code appears |
| 3 | the phone | point the camera at the QR code and open the link; it pairs by itself |
From then on the phone can:
- Start Codex with + Start work on the full dashboard, or a new session in any folder under your home directory: pick Codex, a model from Codex's own list and a permission mode, which becomes Codex's own flags (below).
- Chat with it. The session opens on its chat, with Codex's replies. Type in the field and press Send.
- Answer its menus with the keys bar: Esc, Tab, ↑, ↓, Enter and Ctrl+C, the keys you would press at the computer.
- Attach a photo, commit and push from the Changes tab, or stop the session.
| Mode | --sandbox | --ask-for-approval |
|---|---|---|
| Accept edits | workspace-write | on-request |
| Plan | read-only | on-request |
| Bypass | off | off |
--dangerously-bypass-approvals-and-sandbox.A phone paired with It can control sessions unticked only reads until you press Allow control beside it, and the daemon checks that on every request. Run on 9 October 2026 on a preview daemon built from Caprock's source, from a phone paired over the network address, with a stand-in for codex that prints the bytes it receives:
| Phone | Asked to | Answer |
|---|---|---|
| view-only | start Codex | 403, "this device can read Caprock, not control it" |
| view-only | make itself a controller | 403 |
| controller | start Codex in /usr | 403, "a phone starts sessions in folders under your home directory" |
| controller | start Codex in a project under home | 200, Codex started |
| controller | type "hi from phone" and Enter | 204; Codex received the bytes, Enter as 0d |
| control taken away | type again | 403 |
Answer Codex's approval prompts from the phone
Codex asks before a command in its own terminal menu: "1. Yes, proceed (y)", then a "don't ask again" option for commands that start the same way (p), then "No, and tell Codex what to do differently (esc)". On the phone:
- Approve: open the Terminal tab to see the menu, move with ↑ or ↓ and press Enter.
- Decline: press Esc, then type what Codex should do instead.
Caprock reads Claude Code's prompts from its hooks and draws Yes and No buttons for them. Codex reports no approval Caprock can read, so a Codex prompt has no buttons and sends no Telegram alert.
What Caprock does not do for Codex
- It does not drive OpenAI's app. It starts the Codex CLI. A chat you run in the ChatGPT desktop app shows up in Caprock with its cost, but you cannot type into it from Caprock.
- Only sessions it started. A Codex session you started in your own terminal is read, never typed into.
- No phone app. The phone uses its browser, which can be added to the home screen.
- A held message can meet a menu. A message sent while offline waits and goes when the phone reconnects. In a session's chat it joins the queue and goes in when the turn ends; on the Terminal tab it stays a draft only while a prompt Caprock can see is waiting, and Caprock cannot see Codex's prompts, so check the Terminal tab before you resend.
- Run end to end on macOS. Starting and typing into Codex is verified on macOS. On Windows and Linux it builds and its tests pass in CI, but it has not been run against a real Codex there.
Which to use
- Codex Remote — your host is a Mac or a Windows PC that pairs, you use the ChatGPT desktop app, and you want OpenAI's own screens and push notifications from anywhere.
- Caprock — your host is Linux, Windows pairing fails, you run the Codex CLI rather than the app, or you want Codex and Claude Code side by side on the phone with no account. For Claude Code the same pairing is covered in Claude Code on your phone, and Anthropic's own version in Claude Code Remote Control.
Caprock is free and open source: every agent on your machine, whether or not it started them, with who is waiting on you, how close each subscription is to its limit and what each pull request cost; nothing leaves your machine but the ciphertext a paired phone reads. Install Caprock.
Questions people ask
- Does Codex have remote control?
- Yes. OpenAI's Codex Remote pairs the ChatGPT mobile app with the ChatGPT desktop app on a Mac or Windows PC by QR code; from the phone you start chats, steer them and approve commands. It reached general availability on 25 June 2026.
- Is there a Codex mobile app?
- Not a separate one. Codex lives in the ChatGPT app for iOS and Android: open Codex (Remote in older versions) to work on Cloud or on a connected computer.
- Does Codex Remote work on Linux?
- Not officially. OpenAI's docs list Mac and Windows hosts; users of the Linux desktop preview report Pairing Failed, and OpenAI Support said on 8 September 2026 it had no timeline. Codex CLI has an experimental codex remote-control command that some run on Linux, with open issues.
- Why can't I enable Codex Remote Control on Windows?
- Issues #31387 and #43459 on openai/codex report "Unable to enable remote control" after Allow on some Windows builds, and #42575 a failure on Business accounts that a personal account on the same PC does not hit. All three were open on 20 October 2026.
- Which plans include Codex mobile remote control?
- OpenAI's pricing lists Mobile remote control on Plus, Pro, Business and Enterprise, and not on an API key. A workspace admin may have to enable it.
- Can I control Codex CLI from my phone?
- OpenAI's phone setup starts from the desktop app, not the CLI; Codex CLI has an experimental codex remote-control command, with open issues on Linux. Caprock starts the Codex CLI in a terminal tab and lets a paired phone type into it, answer its menus and stop it, from anywhere through an end-to-end encrypted relay, on macOS, Windows or Linux.
Sources
- OpenAI docs — Codex on mobile, read 20 October 2026 (learn.chatgpt.com/docs/remote and developers.openai.com/codex/remote redirect here)
- OpenAI docs — Remote connections: supported hosts, setup, what you can do, the relay, keeping the host awake, read 20 October 2026
- OpenAI docs — Pricing: the Mobile remote control row by plan, read 20 October 2026
- OpenAI docs — Changelog: Work with Codex from anywhere (14 May 2026), mobile access on Windows (29 May), Codex Remote general availability (25 June), ChatGPT for iOS 1.2026.237 (1 September) and 1.2026.258 (23 September), read 20 October 2026
- OpenAI docs — ChatGPT desktop app for Linux (preview), read 20 October 2026
- OpenAI docs — Codex CLI commands: codex remote-control, read 20 October 2026
- Codex CLI source — the remote-control subcommand, marked experimental (codex-rs/cli/src/main.rs), read 20 October 2026
- Codex CLI source — the approval menu: Yes, proceed (y), don't ask again (p), No (esc) (codex-rs/tui/src/bottom_pane/approval_overlay.rs and its approval_modal_exec snapshot), read 20 October 2026
- OpenAI Developer Community — Feature request: Add Codex Remote support for Linux, 18 August 2026; OpenAI Support's reply of 8 September 2026; closed
- openai/codex issue #31387 — Windows Codex Desktop cannot enable Remote Control, opened 7 July 2026, open on 20 October 2026
- openai/codex issue #43459 — Windows Desktop 26.901: Remote Control enablement fails after Allow, opened 7 September 2026, open on 20 October 2026
- openai/codex issue #42575 — enrollment fails for ChatGPT Business accounts on Windows, opened 3 September 2026, open on 20 October 2026
- openai/codex issue #22733 — Android to Windows stuck on Waiting for desktop, opened 15 May 2026, open on 20 October 2026
- openai/codex issue #31183 — headless Linux CLI remote-control has no supported re-pair path, opened 5 July 2026, open on 20 October 2026
- openai/codex issue #40026 — Linux CLI host: Android disconnects after initialize, opened 21 August 2026, open on 20 October 2026
- Caprock source — what a paired phone may read, and what one you let control sessions may do (internal/api/lanauth.go)
- Caprock source — a phone starts sessions only in folders under your home (internal/api/controller.go)
- Caprock source — how a Codex session is started, and its permission flags (internal/agents/argv.go)
- Caprock source — permission prompt buttons come from Claude Code's PermissionRequest hook (internal/agents/permission.go)
- Caprock README — From anywhere, through an encrypted relay: what the relay sees, running your own
- Caprock docs — Use Caprock on your phone: Connect a phone, working from the phone (docs/app.md)
- Caprock README — OpenCode, Codex and DeepSeek Harness: what is verified on which system; phone alerts cover Claude Code
- Caprock changelog — 0.116.0, the encrypted relay; 0.117.0, one way to pair, from anywhere; 0.133.0, Connect a phone
Try it
The record of every coding agent you run, the sessions it did not start included. Free, open source; nothing leaves your machine.
Notarized by Apple. One file for Apple silicon and Intel, macOS 13 or later.
Or run it yourself:
Paste in Terminal: it installs Caprock and opens it.Or with Homebrew: brew install --cask dspv/tap/caprock-app