Skip to content

[Feature]: First-class headless server mode + connect to multiple remotes without restarting #4501

Closed as duplicate

Description

@Inlustra

Problem or use case

I run Orca's runtime on an always-on server and drive it from a Mac and from mobile. For context, my setup is a custom Docker image that runs the Electron app headless under Xvfb. It works, but it's clearly off the beaten path. Two gaps make the always-on-server workflow harder than it should be:

  1. Headless server. I'm carrying the whole Electron/Chromium/Xvfb stack on a headless box just to get the runtime. Is a true server-only runtime (no Electron/display dependency) possible or planned?
  2. Multiple remotes on desktop. On the Mac app, moving between my local sessions and my server's sessions triggers a full app restart/switch-over to repoint the host. The mobile app already handles remotes fluidly, and I'd love the desktop app to do the same.

Proposed solution

  1. A documented headless/server-only mode (e.g. an orca serve that doesn't require Electron or a virtual display) for running the runtime on a server.
  2. Desktop support for multiple simultaneous remote connections: list/switch hosts in-app without a restart, matching the mobile experience.

Alternatives or additional context

Today I use the browser web UI as a workaround for reaching the server's sessions (which hits a terminal-reconnect bug I'm filing separately). Native multi-remote on desktop, and an official headless runtime, would remove the need for that workaround entirely.

Activity

  1. Inlustra commented on Jun 2, 2026

    @Inlustra
    Author

    Related: #2471 (self-hosted relay server for mobile/desktop connections across networks). That request is about the connectivity layer (relay so clients don't need the same LAN/tailnet); this one is complementary: a true headless/server-only runtime (no Electron/display) plus desktop being able to hold/switch multiple remotes without a full app restart (mobile already does this).

  2. added
    size/xl
    on Jun 9, 2026
  3. added
    enhancement
    on Jun 25, 2026
  4. davidfiala commented on Jun 26, 2026

    @davidfiala

    Recommendation here would be that a headless mode be a stripped down distributable that runs purely on top of nodejs. No electron, chromium, or X11/GUI dependencies.

  5. added theissue type on Jul 12, 2026
  6. nwparker commented on Jul 13, 2026

    @nwparker
    Contributor

    Quick status on this — part of it has landed:

    • Multiple remotes without restarting is done. Remote hosts are first-class now (Make remote hosts first class: concurrent multi-host workbench #5071): you can add and work across several remote hosts concurrently in the same workbench, no relaunch needed.
    • Headless server mode partially exists via orca serve — a windowless runtime that even auto-manages a virtual display on Linux, so you don't have to wire up your own Xvfb. It's still Electron-based under the hood rather than a fully Electron-free/no-display server, which is the remaining gap.

    So the multi-remote half is shipped; the true headless (no-Electron) runtime is the open piece.

  7. PannenetsF commented on Jul 22, 2026

    @PannenetsF
    Contributor

    Is there any timeline / roadmap for this? A few threads seem to be converging on it and I'd love to know how they're sequenced:

    Once an Electron-free server exists, an official Docker image + compose for the runtime would make the always-on-server workflow first-class: upgrades become compose pull && up -d, state is a single named volume, and you can declare the server next to its storage backends / reverse proxy / VPN sidecar on one network instead of hand-wiring the host. Is server-side container packaging something you'd want tracked under this issue, or separately?

    Mostly trying to gauge whether this is scheduled or still exploratory — thanks!

    BTW, any sense of when #6844 itself is likely to merge? It looks like the unblock for most of the above.

  8. added
    orca-remote-server
    on Jul 22, 2026
  9. as-cto commented on Jul 26, 2026

    @as-cto

    Adding a concrete use case for this, since I hit exactly the limitation described here today.

    I run 10+ strictly separated client projects, each with different collaborators. The setup I want is one Orca server per project (isolated container, own volume, own domain) and one web client that everyone opens, where each person connects to the runtime they've been given a pairing link for.

    The good news is that this almost works already: the web client is a static SPA that keeps its connection state in browser localStorage, so a single static deployment can serve many people connecting to different runtimes. Nothing about it requires per-user server state.

    Two things stand between that and a usable team setup:

    1. The web client is only served by a runtime, so it's implicitly 1 client ↔ 1 server. Publishing out/web as a standalone artifact (npm package or small Docker image) would make the multi-remote pattern deployable today.
    2. Cross-origin WebSocket is unverified. If the client is served from orca.example.com and dials wss://project-a.example.com, an Origin check on the runtime would reject it. Confirming this is allowed — or adding an allowlist option — is the blocker for anyone trying it.

    I've written up the full picture, including the containerisation problems I hit getting orca serve running headless, in #10687.

  10. nwparker commented on Aug 23, 2026

    @nwparker
    Contributor

    Closing as a duplicate of #4280.
    Disagree? Please respond! I will re-visit this ticket in 5 days. If you respond, I will re-open it 🙏.

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

Metadata

Metadata

Assignees

Labels

enhancementorca-remote-serversize/xl

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions