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
[Feature]: First-class headless server mode + connect to multiple remotes without restarting #4501
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:
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?
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
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.
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.
Reacted by Leafy Residency, shekohex, Léo Chéron, David, Alexander Adam and Konstantin
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).
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.
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.
On the ops side, I've been documenting the current AppImage deployment (docs/reference/headless-linux-server.md) and just added an upgrade/rollback SOP (docs(headless-server): add upgrade SOP for orca serve on Linux #9575). It works, but it confirms the "off the beaten path" pain you describe: manual upgrades (no headless auto-update), host FUSE/Xvfb deps, state split across two userData dirs, and no version command.
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.
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:
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.
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.
Activity
Inlustra commentedon Jun 2, 2026
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).
davidfiala commentedon Jun 26, 2026
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.
nwparker commentedon Jul 13, 2026
Quick status on this — part of it has landed:
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.
PannenetsF commentedon Jul 22, 2026
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:
@stablyai/orca-server, the Electron-free Node server) looks like the core of the "true server-only runtime, no Electron/Xvfb" ask in this issue.docs/reference/headless-linux-server.md) and just added an upgrade/rollback SOP (docs(headless-server): add upgrade SOP for orca serve on Linux #9575). It works, but it confirms the "off the beaten path" pain you describe: manual upgrades (no headless auto-update), host FUSE/Xvfb deps, state split across two userData dirs, and no version command.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.
as-cto commentedon Jul 26, 2026
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:
out/webas a standalone artifact (npm package or small Docker image) would make the multi-remote pattern deployable today.orca.example.comand dialswss://project-a.example.com, anOrigincheck 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 serverunning headless, in #10687.nwparker commentedon Aug 23, 2026
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 🙏.