Repository navigation
Description
Problem or use case
Provide a supported way to run the Orca runtime and orca CLI on a headless Linux server (no display, no GPU, no desktop) — without the Electron GUI.
This is the missing server-side counterpart to the existing "Remote Orca Servers" (BETA) feature. That feature already ships the client side: switching the active runtime from "Local desktop" to a paired remote runtime, saving servers (Add Server), and sharing revocable access grants.
But today the only thing a client can point at is another desktop instance with a GUI. There is no way to run that remote runtime headless on a server. Completing this makes "Remote Orca Servers" actually useful — you can run the runtime on a VPS / build box / container and pair into it.
The runtime is bundled inside the Electron desktop app. orca serve and the orca CLI therefore inherit Electron's hard dependency on a display server, which makes them unusable on a bare server.
Common scenarios where you want the runtime on the server, not driven from workstation, like Always-on orchestration — run orca automations / the coordinator loop 24/7 on a VPS, independent of any desktop being open.
Proposed solution
Make orca serve deliver on what the help text already promises — a runtime that runs headless with no display dependency:
-
Headless runtime / entrypoint — orca serve --headless (or a dedicated orca-server binary) that boots with no Electron window dependency and no xvfb. Ideally the runtime is factored out of the renderer so it can run on Node alone.
-
Standalone CLI install — a way to install just the orca CLI on a host without the desktop app, pointed at a runtime via pairing code / environment (the flags already exist).
-
Pairing into headless — a headless runtime can issue a pairing grant that a desktop client adds via Remote Orca Servers → Add Server and selects as its Active Server. This completes the existing BETA feature.
Alternatives or additional context
Thanks for the awesome project! 🙌
Activity
AmethystLiang commentedon Jul 22, 2026
Status check (2026-07-22): partially achieved, not fully done
This issue is still open. The practical server path works; the ideal Electron-free runtime does not.
Acceptance criteria
orca serveorca-server(or equivalent) install without desktop appWhat is already shipped
There is a supported headless Linux server path documented in
docs/reference/headless-linux-server.md:orca serve(optionally with--port,--pairing-address,--json)DISPLAYis unset (Xvfb must be installed first)Follow-on work has landed on that path, including:
orca serveon LinuxWhat is still missing (the ideal form from this issue)
This issue also asks for:
That is tracked by #6844 —
feat(server): headless, Electron-free @stablyai/orca-server— which is still open (not merged).@stablyai/orca-serveris not published on npm.Shipped
orca servestill goes through the Electron AppImage + Xvfb stack. The docs explicitly note that the AppImage still needs Electron’s runtime libraries.Bottom line
orca serve+ pairing (with Xvfb).So this issue is partially delivered, not done. Closing would be premature until #6844 (or equivalent) ships the Electron-free path, unless we deliberately re-scope this issue to the AppImage + Xvfb solution.
AmethystLiang commentedon Aug 3, 2026
Still working on this
nwparker commentedon Oct 22, 2026
Implemented by the managed Orca server (orcad) path in #24863. Adding an SSH host now installs Orca’s pinned Node runtime, server and target-side CLI without installing the desktop/Electron runtime on that host. The server serves the normal runtime RPC and pairing contract; Linux/Windows
orca servealso selects orcad by default.Verified the current plain-Node entrypoint, bundled CLI launcher, remote installer and pairing/readiness coverage. This supplies the dedicated server equivalent requested here, including the two requirements still missing in the July status comment. The older open npm-package proposal #6844 is a different packaging route. Closing as completed.
#24863