Skip to content

Let a dot connect directly to a headless Linux server as a task environment #49491

Open

Description

@zbaibg

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.

Activity

  1. added
    enhancement
    auth
    on Sep 30, 2026
  2. tarkilhk commented on Sep 30, 2026

    @tarkilhk

    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.

  3. colemannugent commented on Sep 30, 2026

    @colemannugent

    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.

  4. Solvely-Colin commented on Oct 1, 2026

    @Solvely-Colin

    Same as above would be nice.

  5. chac4l commented on Oct 1, 2026

    @chac4l

    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.

  6. AlaeddineMessadi commented on Oct 1, 2026

    @AlaeddineMessadi

    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.

  7. added
    dots
    on Oct 2, 2026
  8. thePober commented on Oct 3, 2026

    @thePober

    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.

  9. christabone commented on Oct 10, 2026

    @christabone

    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.

  10. iamtornado commented on Oct 16, 2026

    @iamtornado

    +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.

  11. cdomigan commented on Oct 21, 2026

    @cdomigan

    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...

  12. jeonghwanko commented on Oct 25, 2026

    @jeonghwanko

    @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?

  13. SongShiJi2012 commented on Oct 26, 2026

    @SongShiJi2012

    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:

    1. Show the already-paired server on the phone, with a separate option to grant a selected dot access.
    2. After explicit authorization, make the server available to that dot for inspecting the environment, starting or continuing tasks, and following up on results.
    3. 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.
    4. 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.

    Related availability report: #50095.

  14. prBigBrother commented on Oct 27, 2026

    @prBigBrother

    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.

  15. christabone commented on Oct 27, 2026

    @christabone

    @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.

  16. jeonghwanko commented on Oct 28, 2026

    @jeonghwanko

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linuxauthdotsenhancementremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions