Linux Codex CLI remote-control registers successfully but ChatGPT Android fails with "Remote-control pairing session not found"
What version of Codex CLI is running?
0.142.5
What subscription do you have?
Pro
Which model were you using?
_No response_
What platform is your computer?
Ubuntu
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
In doctor no issue reported. See the output in the message description.
What issue are you seeing?
Title
Linux Codex CLI remote-control registers successfully but ChatGPT Android fails with "Remote-control pairing session not found"
Environment
OS: Ubuntu 24.04 LTS
Codex CLI: 0.142.5
ChatGPT Android app (latest available)
Same ChatGPT account on CLI and mobile
Login method: ChatGPT authentication
Summary
The Linux Codex CLI appears to register successfully for remote control, but the ChatGPT Android application cannot pair with it.
The mobile flow ends with:
Remote-control pairing session not found. Check the pairing code and try again.
What works
Remote control daemon:
codex remote-control start --json
returns (abridged):
{
"mode": "daemon",
"status": "connected",
"serverName": "development",
"environmentId": "env_..."
}
The daemon is running:
codex app-server daemon version
returns running status.
Remote control has been enabled:
codex app-server daemon enable-remote-control
Doctor output:
WebSocket connected
HTTP 101 Switching Protocols
Background app-server running
18 OK
0 warnings
0 failures
Linux checks:
cat /proc/sys/kernel/unprivileged_userns_clone
returns
1
Bubblewrap:
bwrap 0.9.0
installed in
/usr/bin/bwrap
Codex installation:
~/.codex/packages/standalone/...
(not Snap, not Flatpak)
Mobile flow
In ChatGPT Android:
- Remote Access
- Manual Pairing
- Device authorization page opens
- Account authorization succeeds
- Phone authorization succeeds
- Final error:
Remote-control pairing session not found.
Expected
The Linux CLI should either:
generate a pairing session / pairing code,
expose a QR code,
or automatically appear as a remote host in ChatGPT Mobile.
Actual
The daemon reports:
connected
websocket connected
environment registered
but the mobile application cannot find the pairing session.
Additional observations
It looks like the Linux CLI successfully registers an environment but never exposes a pairing session consumable by ChatGPT Mobile.
Is Linux remote pairing currently supported, or is an additional pairing command required?
---
What steps can reproduce the bug?
Try connecting from mobile to the cli. Try starting the cli in remote mode and try finding it's connection in the cloud by remote connecting in android chatgpt app
What is the expected behavior?
In the app you will receive: the remote control pairing session not found.
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗