You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let a dot connect directly to a headless Linux server as a task environment #49491
LinuxauthIssues related to authentication and accountsdotsIssues involving setting up ChatGPT dots or managing their ongoing work.enhancementNew feature or requestremote
I run research and development workloads on a headless Linux server. I would like to sign in to my ChatGPT account from the server using a CLI or device-code flow, explicitly authorize my dot to use that server, and have it appear as a selectable task environment. This should not require a graphical desktop, a second computer running the ChatGPT/Codex desktop app, or pairing the server through that app.
Once authorized, my dot should be able to start and continue Work/Codex tasks on the server from chat or voice, access project files, and run shell commands under the server's existing permissions. Please provide clear online status, per-task approvals, and a way to revoke access.
This would let my dot work directly where my computational chemistry projects and tools already live.
Reacted by Kendon Bell, RA, Yongqi Zhuo, Coleman Nugent, Cam, Filippo Baroni, Neuw15611cbox, i2ki, loveoverflowcom, Macinfo75017 and 17 more
I have the same use case, with an existing Codex remote-control setup already working on always-on Linux servers. I can use those servers from my phone and the Windows Codex desktop app, but they do not appear among the computers available to my dot. Only my connected Windows desktop appears. Updating the desktop app to app26.928.21956 did not change that.
I would like my dot to start and continue tasks directly on those Linux servers while my laptop is off.
The computers and apps documentation distinguishes a Codex remote-control/Work Sync connection from permission for a dot to use a computer. I couldn't find headless Linux enrollment or authorization steps for that second part.
Is there a supported way to authorize an existing Linux Codex remote-control server as a dot execution target today? If so, could you document the setup and any prerequisites? If this isn't available yet, please consider this additional support for the feature request.
I'm reporting the missing setup path and target availability, rather than assuming this is a confirmed bug.
Reacted by Kendon Bell, Coleman Nugent, KDLN, loveoverflowcom, Chris Domigan, schugazi and 0xUser0
We use a Linux Codex Remote for development in a privileged environment. It would be useful for dots to delegate tasks directly to that Remote, without needing a separate desktop or laptop to stay online.
I need this too: a dot accessing an authorized Linux server while my desktop is offline.
In two cloud runtimes tested, /proc/net/route contained only its header. TCP connections to my SSH endpoint and an independent public HTTPS endpoint failed immediately with “OSError: [Errno 101] Network is unreachable”. SSH from my desktop to the server worked.
Is there a supported way to authorize a headless server directly for a dot? If not, please support this workflow and document the requirements. These observations apply to the tested runtimes; they do not establish a general restriction across all cloud environments.
I can reproduce a related gap on a headless Ubuntu 24.04.4 server running Codex CLI 0.159.2, with ChatGPT macOS app 26.928.31416 (build 12553).
After codex remote-control start and pairing through Settings → Connections → Control other devices → Add, the server appears as Connected. It is absent from my dot's Computers list, so there is no Allow access option; the dot only sees my Mac.
Is a CLI-paired Linux host currently eligible for dot task execution? If so, what separate authorization step is required? I'd like the dot to run tasks on the server while my Mac is offline.
I want my dot to start and continue Codex tasks directly on my existing headless Linux VPS, using the Codex runtime and project files already there.
The VPS does not appear in my dot's available computers, and I cannot find a way to authorize it for dot access. Hosted Codex Cloud works for me, but I want to use my own server without keeping a separate Mac or desktop app online.
Please add a direct CLI/device-code enrollment flow with an explicit grant to the dot, connection status, and a way to revoke access.
I managed to get this working on a headless Ubuntu 24.04 server using the official ChatGPT Linux app inside an Xpra session. Sharing in case it helps anyone else experiment—this is a workaround, and I’d still really appreciate proper headless support.
Xpra runs the app on a virtual display and exposes its window through a browser. I accessed that over an SSH tunnel, opened the dot’s Computers → Allow access option in the Linux app, and connected the server.
We verified that the dot could create a file on the server, then access it again after closing the browser and SSH tunnel. The ChatGPT app stays running on the server, so the viewing computer isn’t needed for ongoing access.
A few details from the setup:
Ubuntu 24.04 x64
ChatGPT Linux app 26.1007.21434
Xpra 6.5.4 with its HTML5 client, using Xvfb
ChatGPT launched with --ozone-platform=x11 --disable-gpu
Xpra bound to localhost, accessed through SSH
We’ve since put it under a systemd user service with linger and automatic restart. Process restart recovery worked, although we haven’t tested a full server reboot yet.
This still requires keeping the GUI app running, and it isn’t particularly lightweight. We’ve only tested local shell/file access—not Linux desktop automation—and I don’t know how reliably it will hold up across updates or sign-in expiry.
Definitely a bit of a hack, but it let me try the dot against the machine where I actually work. A supported CLI/headless connection would be much nicer.
+1 for direct headless Linux support. I would like my dot to dispatch and continue Codex tasks on an always-on Linux host, using its existing projects and tools, without a desktop app or another computer acting as a relay. A supported CLI enrollment flow with explicit authorization and revocation would make this practical.
Latest Codex desktop update now shows my remote dev machine as a connected Device for my Dot. But my Dot doesn't seem to think it can use it directly yet...
@christabone, thanks for sharing your Xpra setup and what you tested.
I'm looking into a character-creation workflow where a Dot keeps generated files and the user's selected versions in a persistent workspace without needing a separate PC running continuously. Your process-restart test is helpful since this work may span several sessions. I haven't tried your setup myself yet, and I noticed the full server reboot was still untested.
Since then, were you able to access the same project files after a full server reboot, and did the Dot's authorization persist or need to be granted again?
Adding a home-server and iPhone use case for this feature request.
I have Codex installed on an Ubuntu home server and have already paired it with the ChatGPT app on my iPhone. From the phone, I can see that the server is online and open its project conversations. However, the server is absent from my dot's Computers list, so I cannot select it as a target for my dot's tasks.
Please provide a mobile authorization flow for an existing CLI-paired Linux host:
Show the already-paired server on the phone, with a separate option to grant a selected dot access.
After explicit authorization, make the server available to that dot for inspecting the environment, starting or continuing tasks, and following up on results.
Clearly distinguish Codex connected from dot authorized, and explain any missing authorization step or eligibility requirement so users do not repeatedly re-pair the same server.
Keep per-host permissions, applicable sandbox and approval checks, connection status, and revocation controls.
The server should be usable while it remains online with the required CLI service running, without keeping a separate Windows or Mac desktop app open as a relay. This would be useful for always-on home servers, NAS devices, and other headless Linux machines.
I understand that Codex pairing and dot-specific authorization are separate permissions. This is a request for a supported, discoverable way to grant the latter from the phone. Exact client/runtime versions have not been captured for this report, and I have not established whether the current limitation is a missing feature, an eligibility restriction, or a setup issue.
I set up a headless Debian 13 x86_64 server with Codex CLI 0.164.0 and verified that a remote task runs successfully after disabling the graphical session. I also described the setup in this comment on the headless remote-host issue.
The full setup:
Signed in to the CLI with the existing ChatGPT account and ran codex app-server daemon bootstrap --remote-control.
Added a user systemd service to start the managed daemon on boot, and enabled user lingering with loginctl enable-linger.
Added a separate user systemd service for codex exec-server --remote ... --environment-id ..., reusing the remote URL and environment ID of the executor that the desktop app had already started. The service uses the existing ChatGPT authentication; no credentials were copied into the unit.
Disabled the display manager and xrdp and set multi-user.target as the default. The desktop packages remain installed.
After reboot, both services started automatically, the graphical session stayed off, and the Codex processes had established network connections. I also verified that a remote task runs successfully against this setup.
The remaining limitation is that I reused an environment created by the desktop app. I do not know whether its registration remains valid long term or how to create and pair the same environment entirely from the CLI. A documented, first-class headless setup and pairing flow for connecting a dot directly to a Linux server would be useful.
@jeonghwanko Yes, it survives a restart now. The setup is similar to @prBigBrother's in the comment above: the ChatGPT app runs under a systemd user service, linger is enabled, and the service restarts automatically. After a restart it comes back up without anyone needing to be logged in, and the dot can still reach the same project files on the server. The dot's authorization also carries over, so I didn't need to grant access again.
The same caveats as before still apply. It's still a workaround that keeps the GUI app running under Xpra, and I don't know how well it will hold up across app updates or when the sign-in expires.
@christabone Thanks for confirming—that answers my main question. It’s helpful to know that your setup preserves both access to the same project files and Dot authorization after a server restart, without anyone needing to log in. That sounds promising for the persistent character-creation workspace I’m exploring. I haven’t tested it myself yet, and I’ll keep the Xpra requirement and the remaining uncertainty around app updates and sign-in expiry in mind.
LinuxauthIssues related to authentication and accountsdotsIssues involving setting up ChatGPT dots or managing their ongoing work.enhancementNew feature or requestremote
Activity
tarkilhk commentedon Sep 30, 2026
I have the same use case, with an existing Codex remote-control setup already working on always-on Linux servers. I can use those servers from my phone and the Windows Codex desktop app, but they do not appear among the computers available to my dot. Only my connected Windows desktop appears. Updating the desktop app to app26.928.21956 did not change that.
I would like my dot to start and continue tasks directly on those Linux servers while my laptop is off.
The computers and apps documentation distinguishes a Codex remote-control/Work Sync connection from permission for a dot to use a computer. I couldn't find headless Linux enrollment or authorization steps for that second part.
Is there a supported way to authorize an existing Linux Codex remote-control server as a dot execution target today? If so, could you document the setup and any prerequisites? If this isn't available yet, please consider this additional support for the feature request.
I'm reporting the missing setup path and target availability, rather than assuming this is a confirmed bug.
colemannugent commentedon Sep 30, 2026
We use a Linux Codex Remote for development in a privileged environment. It would be useful for dots to delegate tasks directly to that Remote, without needing a separate desktop or laptop to stay online.
Solvely-Colin commentedon Oct 1, 2026
Same as above would be nice.
chac4l commentedon Oct 1, 2026
I need this too: a dot accessing an authorized Linux server while my desktop is offline.
In two cloud runtimes tested, /proc/net/route contained only its header. TCP connections to my SSH endpoint and an independent public HTTPS endpoint failed immediately with “OSError: [Errno 101] Network is unreachable”. SSH from my desktop to the server worked.
Is there a supported way to authorize a headless server directly for a dot? If not, please support this workflow and document the requirements. These observations apply to the tested runtimes; they do not establish a general restriction across all cloud environments.
AlaeddineMessadi commentedon Oct 1, 2026
I can reproduce a related gap on a headless Ubuntu 24.04.4 server running Codex CLI 0.159.2, with ChatGPT macOS app 26.928.31416 (build 12553).
After
codex remote-control startand pairing through Settings → Connections → Control other devices → Add, the server appears as Connected. It is absent from my dot's Computers list, so there is no Allow access option; the dot only sees my Mac.Is a CLI-paired Linux host currently eligible for dot task execution? If so, what separate authorization step is required? I'd like the dot to run tasks on the server while my Mac is offline.
thePober commentedon Oct 3, 2026
I want my dot to start and continue Codex tasks directly on my existing headless Linux VPS, using the Codex runtime and project files already there.
The VPS does not appear in my dot's available computers, and I cannot find a way to authorize it for dot access. Hosted Codex Cloud works for me, but I want to use my own server without keeping a separate Mac or desktop app online.
Please add a direct CLI/device-code enrollment flow with an explicit grant to the dot, connection status, and a way to revoke access.
christabone commentedon Oct 10, 2026
I managed to get this working on a headless Ubuntu 24.04 server using the official ChatGPT Linux app inside an Xpra session. Sharing in case it helps anyone else experiment—this is a workaround, and I’d still really appreciate proper headless support.
Xpra runs the app on a virtual display and exposes its window through a browser. I accessed that over an SSH tunnel, opened the dot’s Computers → Allow access option in the Linux app, and connected the server.
We verified that the dot could create a file on the server, then access it again after closing the browser and SSH tunnel. The ChatGPT app stays running on the server, so the viewing computer isn’t needed for ongoing access.
A few details from the setup:
--ozone-platform=x11 --disable-gpuWe’ve since put it under a systemd user service with linger and automatic restart. Process restart recovery worked, although we haven’t tested a full server reboot yet.
This still requires keeping the GUI app running, and it isn’t particularly lightweight. We’ve only tested local shell/file access—not Linux desktop automation—and I don’t know how reliably it will hold up across updates or sign-in expiry.
Definitely a bit of a hack, but it let me try the dot against the machine where I actually work. A supported CLI/headless connection would be much nicer.
iamtornado commentedon Oct 16, 2026
+1 for direct headless Linux support. I would like my dot to dispatch and continue Codex tasks on an always-on Linux host, using its existing projects and tools, without a desktop app or another computer acting as a relay. A supported CLI enrollment flow with explicit authorization and revocation would make this practical.
cdomigan commentedon Oct 21, 2026
Latest Codex desktop update now shows my remote dev machine as a connected Device for my Dot. But my Dot doesn't seem to think it can use it directly yet...
jeonghwanko commentedon Oct 25, 2026
@christabone, thanks for sharing your Xpra setup and what you tested.
I'm looking into a character-creation workflow where a Dot keeps generated files and the user's selected versions in a persistent workspace without needing a separate PC running continuously. Your process-restart test is helpful since this work may span several sessions. I haven't tried your setup myself yet, and I noticed the full server reboot was still untested.
Since then, were you able to access the same project files after a full server reboot, and did the Dot's authorization persist or need to be granted again?
SongShiJi2012 commentedon Oct 26, 2026
Adding a home-server and iPhone use case for this feature request.
I have Codex installed on an Ubuntu home server and have already paired it with the ChatGPT app on my iPhone. From the phone, I can see that the server is online and open its project conversations. However, the server is absent from my dot's Computers list, so I cannot select it as a target for my dot's tasks.
Please provide a mobile authorization flow for an existing CLI-paired Linux host:
The server should be usable while it remains online with the required CLI service running, without keeping a separate Windows or Mac desktop app open as a relay. This would be useful for always-on home servers, NAS devices, and other headless Linux machines.
I understand that Codex pairing and dot-specific authorization are separate permissions. This is a request for a supported, discoverable way to grant the latter from the phone. Exact client/runtime versions have not been captured for this report, and I have not established whether the current limitation is a missing feature, an eligibility restriction, or a setup issue.
Related availability report: #50095.
prBigBrother commentedon Oct 27, 2026
I set up a headless Debian 13 x86_64 server with Codex CLI 0.164.0 and verified that a remote task runs successfully after disabling the graphical session. I also described the setup in this comment on the headless remote-host issue.
The full setup:
codex app-server daemon bootstrap --remote-control.loginctl enable-linger.codex exec-server --remote ... --environment-id ..., reusing the remote URL and environment ID of the executor that the desktop app had already started. The service uses the existing ChatGPT authentication; no credentials were copied into the unit.multi-user.targetas the default. The desktop packages remain installed.After reboot, both services started automatically, the graphical session stayed off, and the Codex processes had established network connections. I also verified that a remote task runs successfully against this setup.
The remaining limitation is that I reused an environment created by the desktop app. I do not know whether its registration remains valid long term or how to create and pair the same environment entirely from the CLI. A documented, first-class headless setup and pairing flow for connecting a dot directly to a Linux server would be useful.
christabone commentedon Oct 27, 2026
@jeonghwanko Yes, it survives a restart now. The setup is similar to @prBigBrother's in the comment above: the ChatGPT app runs under a systemd user service, linger is enabled, and the service restarts automatically. After a restart it comes back up without anyone needing to be logged in, and the dot can still reach the same project files on the server. The dot's authorization also carries over, so I didn't need to grant access again.
The same caveats as before still apply. It's still a workaround that keeps the GUI app running under Xpra, and I don't know how well it will hold up across app updates or when the sign-in expires.
jeonghwanko commentedon Oct 28, 2026
@christabone Thanks for confirming—that answers my main question. It’s helpful to know that your setup preserves both access to the same project files and Dot authorization after a server restart, without anyone needing to log in. That sounds promising for the persistent character-creation workspace I’m exploring. I haven’t tested it myself yet, and I’ll keep the Xpra requirement and the remaining uncertainty around app updates and sign-in expiry in mind.