Waiting for desktop despite Codex App being authorized
Open 💬 27 comments Opened May 14, 2026 by idSynth
What version of the Codex App are you using (From “About Codex” dialog)?
26.506.31421
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I open the Codex app on Windows, latest version available at the moment. And open ChatGPT mobile app on my iPhone, when I open the Codex tab in the app I only see "Waiting for desktop... Follow the instructions in the desktop app to get connected.". But at the same time, no instructions appear in the Windows app and it doesn't get detected.
What steps can reproduce the bug?
- Open Codex app on Windows
- Open ChatGPT mobile app on iPhone
- Enter Codex tab in the ChatGPT
- Can't progress further, only see "Waiting for desktop... Follow the instructions in the desktop app to get connected."
What is the expected behavior?
_No response_
Additional information
_No response_
27 Comments
I see exactly the same Issue on Android.
I managed to connect, had to update my CLI using latest install.ps1 script from Releases, then I still couldn't use the Codex app, had to open command prompt and use 'codex remote-control' command.
Only then it finally paired, but now I have another issue, where I just can't send the prompts in chat.
No errors are shown, I just type a prompt, then press send and it erases the prompt without sending it
I was able to authenticate by using the CLI, but then it won't reconnect unless I manually run the 'codex remote-control' command.
Same issue on Android.
Adding a related datapoint: I hit the same visible
Waiting for desktopsymptom on macOS + Android/iOS, but in this case the localremote-controldaemon was running and the real blocker was network/proxy propagation. The daemon was trying to connect directly to the backend and stayed inSYN_SENT; startingcodex remote-controlwith explicitHTTP_PROXY/HTTPS_PROXY/ALL_PROXYmade the backend immediately show the Mac asonline: true.I opened the focused report with diagnostics/workaround here: #22851
Same issue on iOS despite reinstalling both iOS and Mac apps several times and logging in and out.
Same behavior for me. After investigating, I see "Support for connecting your phone to the Codex app on Windows is coming soon." -- https://openai.com/index/work-with-codex-from-anywhere/
codex remote-control needed to be run from my CLI for my ChatGPT app to authorize my phone.
I have the same issue, it just gets stuck, nothing appears on Desktop app. Using Windwos version and android phone app.
I have same issue and I’m not able to resolve it. Restarted desktop app
The same issue. Same case - IPhone app and Windows app.
Same issue on windows and iOS. Anyone know the cli command to force it?
I was able to get a Windows Desktop -> Codex Mobile connection working locally after patching the public app-server feature gating path.
Branch with the patch:
https://github.com/cobycloud/codex/tree/eeedx-windows-remote-control-desktop-config
What I changed:
remote_connectionsto the public feature registry incodex-rs/features.remote_connectionsto app-server runtime feature enablement support.[features].remote_connections = trueis a recognized config key.config/readexposes both:features.remote_connections = truefeatures.remote_control = trueWhy this matters for the
Waiting for desktopissue:codex://settings/connectionsroute exists.remote_controlwas known to app-server, butremote_connectionswas not accepted as a supported runtime feature enablement in the public app-server path.config/readto publish the expected feature state, and in my local Windows setup this was enough to get the Windows desktop visible/connectable from Codex Mobile.Validation run locally:
cargo fmt -p codex-app-server -p codex-featurescargo test -p codex-featurescargo test -p codex-app-server experimental_feature_enablement_setgit diff --check upstream/codex/linux-desktop-launch..HEADImportant scope note:
This patch fixes the public app-server/config feature enablement gap. There may still be Desktop/Electron-specific work needed upstream for the fully supported Windows path, especially around:
remote_control,remote_control_connections_state,Given the repository contribution policy says external PRs are by invitation only, I am not opening an unsolicited upstream PR. If a maintainer wants it, I can open this branch as a focused PR for the public app-server prerequisite.
<img width="1080" height="2460" alt="Image" src="https://github.com/user-attachments/assets/c206d194-940e-4821-9ff1-0353e73f167f" />
This is excellent, thanks a lot for this! I've successfully managed to get Codex to fix itself by linking it your repo and it compiled a brand new codex.exe and autonomously replaced it and after a quick app restart mobile remote control was working flawlessly! That was one of the most meta sessions I've had with Codex so far, so it was quite fun to try.
@VykosX
How long did your codex work on it? Mine is running over an hour now and has some timeout issues while building. Could you generate a prompt from your session/chat so others can compile this patch too? I really appreciate any help you can provide.
+1
51m 55s, but what took a long time (about 40 of those minutes) was recompiling codex from the source, which will vary based on your hardware.
Here's the full exchange:
Steered conversation
---
This is the part that took 40+ minutes on my laptop, rebuilding Codex from source.
---
I looked into extracting an xdelta for you from the patched codex executable but Codex had to pack it with UPX and pad about 50mb of it with zeros to keep it the exact same file as size as the original so it wouldn't be overwritten which made extracting a simple delta very awkward. You're better off recompiling from source as I did or waiting for the official fix.
From iPhone ChatGPT codex menu it used to do prompts for codex Web/Cloud without need for connection to desktop codex app. How can this behavior be re-enabled?
+1
This thread has multiple different failures that collapse into the same mobile message: "Waiting for desktop".
That state should probably be split into more actionable cases:
Right now users are trying CLI commands, desktop updates, app reinstalls, proxy fixes, and source patches because the UI does not say which layer is missing. Even a read-only diagnostic panel showing host id, platform support, daemon status, relay registration, and last backend heartbeat would make this much less opaque.
Receiving this for WIndows + iOS. Commenting to follow
I know right! The meta! Glad it worked for you too.
I tried to keep my patch thin enough to expose my windows desktop to my mobile. I saw a sidebar item appearing on macos users screenshot, but never saw that here, despite achieving the remote control.
There's definitely intermitterent connectivity issues, weird parsing errors, room for improvement, but i believe they want external contribs to come in piecemeal anyways.
Adding one more concrete root cause for the same visible
Waiting for desktop...symptom.In my case this was macOS Codex Desktop + iOS ChatGPT, and the phone kept waiting even after scanning the QR code and tapping Connect. The desktop setup screen looked normal.
The useful diagnostic was the remote-control daemon stderr log:
The daemon was running and could reach the backend, but enrollment was being rejected:
So the mobile app was not the actual blocker. The desktop host was never fully enrolled with the remote-control backend because the ChatGPT account needed MFA.
What fixed it:
Waiting for desktopscreen on mobile and scan/connect again.After that, the flow advanced to the expected connected/settings screen.
For anyone debugging this locally,
codex remote-control start --jsoncan also help distinguish cases. Before the MFA fix I saw the desktop daemon stuck in aconnecting/ timed-out state even though the process existed. The key clue was the daemon log's explicitMulti-factor authentication requiredbackend response.This is probably worth surfacing directly in the UI because
Waiting for desktopcurrently hides several different failure modes: unsupported platform, daemon not running, proxy/backend reachability, stale enrollment, and MFA-required enrollment rejection.Adding another confirmed Windows + iPhone repro.
Environment:
Local diagnostics:
codex login statusreports:Logged in using ChatGPTcodex doctorreports auth/network healthy with 0 failuresSet up Codex mobileoption, no QR code, and no approval promptcodex remote-control start --jsonreturns:Error: codex app-server daemon lifecycle is only supported on Unix platformswinget upgrade --name Codexreports no available upgrade from configured sourcesExpected:
The iPhone app should detect the signed-in Windows Codex host, or the Windows desktop app / mobile app should clearly state that this build cannot currently act as a mobile remote-control host.
This is not a login issue from the desktop side; local ChatGPT auth is already configured and healthy.
Adding a related Windows + iOS datapoint. In my case mobile remote control had worked before, but got stuck after the desktop-side paired phone entry was accidentally removed.
Current state:
Setup failed / Couldn't finish secure setup. Try again.So this may be another path into the same "Waiting for desktop" / no recoverable mobile pairing state: the desktop no longer recognizes the phone, but the mobile/account side still has a stale old host and there is no obvious way to forget it from iOS.
I put a focused patch for one Windows-side part of this here:
What it fixes:
The Windows desktop/mobile path depends on the app-server reporting that remote connections are available.
remote_controlwas already known, butremote_connectionswas not accepted through the public feature/config enablement path. That means a Windows install could be signed in and locally configured, but the desktop app still would not expose the expected Connections/mobile state.This patch adds
remote_connectionsto:[features].remote_connections = trueconfig/readexposes the flagIn my Windows + Android test, exposing that feature path was enough to make the missing Connections/mobile setup path appear, and then the phone could pair with the desktop.
What it does not fix:
This is not the whole Windows remote-control story.
codex remote-control startcan still fail on Windows withcodex app-server daemon lifecycle is only supported on Unix platforms, so there is likely a separate follow-up needed for the Windows daemon/startup path. It also does not cover other causes of the sameWaiting for desktopmessage, like MFA-required enrollment, proxy/backend reachability, or stale mobile host state.So the patch is best viewed as a small prerequisite fix: make the app-server/config layer able to advertise
remote_connectionscorrectly, then fix the remaining Windows lifecycle/UI pieces on top of that.