Repository navigation
Closed
Labels
bugSomething isn't workingorca-remote-serverRemote Orca Server / orca serve / paired remote runtimeos:linuxIssues affecting Linuxuntriaged
Description
Operating system
Linux (Ubuntu 24 / Debian reported)
Orca version
Unknown (headless AppImage from releases / latest)
Details
Summary
Community reports of headless remote Orca server pairing failing in two related ways:
- After installing and starting
orca serve(systemd or foreground AppImage), no pairing code / pairing URL appears in startup output or journal logs — even when following headless-linux-server.md / remote-servers docs, which say the command prints the runtime endpoint and pairing URL. - When a pairing offer is obtained,
orca://pair?code=...does not connect.
This blocks pairing mobile/web clients to a remote Linux server.
Environment notes from reporters
- Ubuntu 24 (docs currently emphasize Ubuntu 22.04 prerequisites — unclear if 24 is unsupported or just undocumented)
- Debian (second reporter: docs had pitfalls; got past install with custom scripting; still found pairing harder than alternatives)
- Commands used (foreground, not only systemd):
# Attempt 1 — dbus errors, no pairing line
xvfb-run -a /opt/orca/orca-linux.AppImage --no-sandbox serve --port 6768 --pairing-address <addr>
# Attempt 2 — session bus starts, still no "Orca server ready" / Pairing URL
dbus-run-session xvfb-run -a /opt/orca/orca-linux.AppImage --no-sandbox serve --port 6768 --pairing-address <addr>Observed terminal output (no pairing code)
Attempt without session bus
xvfb-run -a /opt/orca/orca-linux.AppImage --no-sandbox serve --port 6768 --pairing-address <addr> repeatedly logs D-Bus parse failures and never prints Orca server ready / Pairing URL:
Attempt with dbus-run-session
Session bus activates (org.a11y.Bus) but still no pairing URL / pairing code in the captured output:
Expected behavior
- Foreground or systemd-managed
orca serveshould reliably emit something operators can copy:Orca server ready: ...Pairing URL: orca://pair?code=...- and/or web client URL when applicable
- If pairing is unavailable (
createPairingOfferreturnsavailable: false— e.g. missing websocket endpoint / E2EE key / device registry), log an explicit error reason, not silent omission. - Docs should cover Ubuntu 24 (and Debian) if supported, including any dbus/Xvfb requirements that differ from Ubuntu 22.04.
- A valid pairing URL should connect from mobile/desktop clients when the
--pairing-addressis reachable (LAN, Tailscale, or reverse-proxied endpoint).
Possible leads (not confirmed)
- Process never reaches
printServeReady(stuck earlier on headless Electron / D-Bus / display setup). - Pairing offer created but stdout lost under systemd / AppImage /
xvfb-runwrapping. createPairingOfferreturnsavailable: falsesilently whengetWebSocketEndpoint(), device registry, or E2EE public key is missing (src/main/runtime/runtime-rpc.ts+printServeReadyinsrc/main/index.ts).- Wrong or unreachable
--pairing-addressbaked into the offer →orca://pair?code=fails to connect even when printed. - Ubuntu 24 / missing packages not called out in docs.
Related
- Docs:
docs/reference/headless-linux-server.md - May be related to reverse-proxy / off-LAN access UX (filed separately for mobile custom network address + web client symptoms).
- Web client post-pair "Local PTYs are unavailable" is already tracked in Web client can't launch agents/terminals or load files for local-host workspaces on a headless
orca serve("Local PTYs unavailable" / "Couldn't determine which host owns this workspace") #9047 — may show up once pairing succeeds.
Ask for reporters / repro
- Full foreground command + complete stdout/stderr until hang or ready
journalctl -u orca-serve.service -n 200 --no-pagerif using systemd- Exact OS image (
ubuntu 24.04/ Debian version) and AppImage asset name - Whether
--pairing-addressis LAN IP, Tailscale, or public hostname - If pairing URL appears with
--serve-json/ equivalent JSON ready output
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingorca-remote-serverRemote Orca Server / orca serve / paired remote runtimeos:linuxIssues affecting Linuxuntriaged
Activity
AmethystLiang commentedon Jul 21, 2026
Related client/UI path (custom network address + web Local PTYs / console crash): #9760
AmethystLiang commentedon Jul 21, 2026
Terminal screenshots (device output only)
xvfb-run without session bus — D-Bus errors, no pairing code
dbus-run-session + xvfb-run — a11y bus up, still no pairing code