Support headless remote Linux hosts for Codex mobile without requiring the desktop app to stay online
Summary
Codex mobile is very useful as a control layer, but it is currently limited when the active Codex environment depends on a personal desktop machine staying online. Many development workflows run primarily on always-on Linux servers accessed through SSH, while the desktop app is only a local access point.
It would be valuable to support a headless or remote-host mode where Codex mobile can connect to an always-on Linux host directly, without requiring the Windows desktop app to remain powered on, awake, and running.
This is related to #23082, but this request is specifically about not requiring a desktop host to remain online once the real working environment is an always-on remote Linux host.
Problem
For users whose projects live on remote Linux servers, the desktop machine is not always the most reliable host for long-running Codex work. A personal workstation may be shut down, asleep, restarted, or unavailable, while the actual development servers remain online continuously.
This creates friction in workflows such as:
- Starting a long-running Codex task on a remote server.
- Leaving the desktop machine.
- Continuing approvals, follow-ups, checks, and reviews from mobile.
- Keeping the task alive even if the local desktop is turned off.
Today, if the desktop app is the required bridge, the user may need to keep a personal machine running only so an existing Codex conversation can continue.
Feature request
Add support for Codex mobile to connect to an always-on remote Linux host, ideally through a secure headless Codex host, daemon, or remote-host registration flow.
Suggested design
- Allow a Linux server to be registered as a Codex host.
- Let the ChatGPT mobile app show registered hosts independently from desktop app availability.
- Allow users to start, resume, monitor, and approve Codex work from mobile on that remote host.
- Keep credentials, files, shell access, and project context on the remote host.
- Clearly show the active host, project path, and permission boundary before every command approval.
- Support long-running tasks even when the desktop app is offline.
- Optionally allow a desktop app to remain a convenience UI, but not the only bridge.
Security and UX safeguards
- Mobile should act as a secure control and approval layer, not as a place where SSH keys or tokens are copied.
- Every approval should clearly identify the remote host and project context.
- Host status should be explicit: online, offline, disconnected, waiting for approval, or task running.
- Admins should be able to revoke mobile access to a host.
- Sensitive hostnames, usernames, IPs, and paths should not be required in the UI or issue reports.
Expected benefit
This would make Codex mobile much more useful for developers, DevOps users, infrastructure teams, and anyone whose real work happens on remote Linux environments rather than on a personal desktop machine.
Suggested labels, if available: enhancement, mobile, remote, ssh, headless, linux
Redaction check
This request intentionally uses only generic examples. It does not include real hostnames, IP addresses, usernames, private repository names, internal project names, credentials, or environment-specific paths.
12 Comments
When I saw Codex in the Android app this is what I thought I'd be able to do: command a headless Linux box to do my coding from my phone. I'm surprised that's not the default.
Yeah I also think this would be the best use case for Codex Mobile.
When my Desktop is running why would I use my phone? I can just use the Desktop.
Codex on my phone makes sense when I'm on the move and need to fix something on my server. I'm surprised the most obvious use case is not implemented.
@Scindix I came here to say the exact thing. Thank you!
I think yes, that is required, this thing is possible in claude
Exactly, or at least let the CLI connect with channels like telegram so we can use it in a headless VPS.
I can use Claude code 24/7 with telegram and a vps.
My use case is an always-on Ubuntu server as the real Codex host, monitored and controlled from the ChatGPT iPhone app. I want a cron/systemd or Codex automation wakeup to resume or append to a selected existing Codex thread, without requiring a macOS/Windows desktop app to remain awake as the bridge.
I have the same need. My main development environment is an always-on Linux devbox, and requiring a Mac or Windows machine to remain awake just to act as a bridge makes mobile Codex much less useful.
Direct Android-to-Linux support would be a major improvement for this workflow. Is this on the roadmap, and is there any ETA?
Came to say exactly this. I want the mobile app to directly access my remote Linux server. Requiring a mac bridge feels unnecessary
That's really the single feature that keeps me from using ChatGPT more over Claude - I often work on the go and over unstable internet connection and it really frustrates me
Need this in my life. Currently using terminus mobile with codex CLI but it has limitations
This already seems largely supported on the iOS app with ssh connections based off what I see today. The main missing feature is the ability to have some sort of scheduled tasks/re-prompts. The osx desktop app currently supports schedule tasks, however direct ssh to linux over the phone does not seem to.
is this implemented yet