Codex remote control lets another signed-in device reach the Codex running on your computer. In the Codex CLI it is the experimental codex remote-control command (with start, stop and pair) and the /rc slash command in the terminal UI, both of which manage remote control for Codex's local background server. The fully documented way to control Codex from a phone is different: you set it up in the ChatGPT desktop app on a Mac or Windows computer, scan a QR code, and use Codex in the ChatGPT mobile app. If you work in the terminal CLI, on Linux, or on a server, a hook-based tool such as Notifier for Codex is a simpler way to answer Codex from your phone today.
01The CLI command: codex remote-control
OpenAI's command reference lists codex remote-control with the maturity Experimental and describes it as running or managing remote control for the local app-server, or creating a short-lived pairing code.
codex remote-controlStarts remote control through the managed background server when eligible, falling back to the foregroundcodex remote-control --no-daemonRuns it in the foreground explicitly. Only for the bare command, not with start, stop or paircodex remote-control startStarts the local app-server daemon with remote control enabledcodex remote-control stopStops itcodex remote-control pairOnce the daemon is running, prints a short-lived manual pairing codeAdd --json to any of them for machine-readable output. For pair, the JSON includes pairingCode, manualPairingCode, environmentId and expiresAt.
The reference says managed remote-control clients and SSH remote workflows use these commands, and that they aren't a replacement for codex app-server --listen if you're building your own client.
02The /rc slash command
Inside an interactive codex session, /rc (also accepted as /remote) opens a Remote control menu. In the Codex source (slash_command.rs) its description is "manage remote control for the local background server". The menu lets you enable or disable remote control and choose Add device, which shows a pairing code to enter on your other device. A few things the source makes clear:
- It needs Codex's local background server. If that isn't running,
/rcsays so./daemonmanages the background server. - You must be signed in with ChatGPT. An API key sign-in can't manage remote control.
- The setting applies to local sessions; cloud sessions are unaffected.
- An administrator's managed requirements can disable it.
/rc isn't in OpenAI's published slash command list yet, which fits its experimental status. Expect it to change.
03What OpenAI documents for phones
OpenAI's remote connections guide describes Codex on mobile like this:
- Hosts are computers running the ChatGPT desktop app on macOS or Windows. Linux isn't listed.
- You control a host from ChatGPT on iOS or Android.
- Setup starts in the desktop app (Settings > Connections > Control this Mac or PC), which shows a QR code for your phone. The guide says you can't set it up from the Codex CLI or IDE extension.
- From the phone you can start or continue chats, answer questions, approve commands, review diffs and get notified when Codex needs you.
- The host must stay awake, online and signed in to the same account and workspace. In a ChatGPT workspace, an admin may need to enable Remote Control access.
The desktop app can also open projects on an SSH host, so a Linux server can be reached that way, through a Mac or Windows machine running the app.
So codex remote-control pair produces a code, but OpenAI's mobile guide doesn't describe pairing a phone straight to a CLI-only host. Treat that path as experimental. One open bug report (openai/codex#60348) describes manual pairing from the ChatGPT Android app to a headless Linux machine running the CLI failing after the browser sign-in step, even though the host created the code and was connected. It's a single report and may be fixed, but it shows the path isn't settled.
04Where Notifier for Codex fits
Notifier for Codex takes a different approach. It doesn't remote-control Codex; it uses Codex's hooks, which fire at the moments a person is needed: a turn ending, an approval about to be asked, or a question. Its free codex-notifier tool for Mac, Windows and Linux installs those hooks, and its iPhone and Android app lets you approve or reject a command or patch, answer a question, and send the next instruction when Codex finishes.
codex remote-control / /rcNotifier for Codexcodex CLI in your terminalNo, uses the desktop appYesYesIf you already use the ChatGPT desktop app on a Mac or PC, OpenAI's remote control is the richer option: you can start new work and browse the project from your phone. If you live in the terminal CLI, run Codex on Linux or a server, or only need to keep a running session moving, the hook route works without a desktop app. Notifier for Codex is independent and not affiliated with OpenAI. Connecting your phone covers setup, and using Codex from your phone compares every option.
05FAQ
Is codex remote-control stable?
No. OpenAI's command reference marks it Experimental, and /rc isn't in the published slash command list. Commands and behaviour may change between releases.
How do I get a Codex pairing code from the CLI?
Start the daemon with codex remote-control start, then run codex remote-control pair. In a session, /rc and Add device shows one too. Codes are short-lived.
Can I control Codex on Linux from the ChatGPT app?
OpenAI documents Mac and Windows hosts running the ChatGPT desktop app, which can also open projects on an SSH host such as a Linux server. Pairing a phone directly to a Linux CLI host isn't documented, and there is an open bug report about it failing.
Do I need remote control just to approve commands from my phone?
No. A hook-based tool such as Notifier for Codex sends approvals to your phone and returns your answer to the Codex CLI without remote control. See approving Codex commands from your phone.