Repository navigation
Description
Environment
- Orca v1.4.158, headless
orca serveon Ubuntu 24.04 (x86_64) VPS - Desktop (macOS) + mobile clients pair to the runtime over Tailscale
- 4 Claude subscription accounts (Pro/Max/Team)
Summary
On a headless orca serve runtime, the multi-account features that work locally are both broken:
- Switching accounts has no effect on runtime sessions. Selecting a different account in Orca's native account panel/status-bar switcher does not change which account new Claude session tabs use — they stay pinned to one account. (Same behavior as [Bug]: Claude account switching does not work in Remote SSH projects #8795, but for
orca serve, not just Remote SSH projects.) - Usage bars never populate. The status-bar / Accounts-pane usage bars stay empty for the accounts on the runtime.
Steps to reproduce
- Run
orca serveon a Linux VPS; pair a desktop + mobile client to it. - Register/observe multiple Claude accounts.
- In Orca's account panel, select Account B; open a new Claude tab → it still runs as the previously-pinned account, not B.
- Repeat with any account — the selection never applies. Usage bars remain empty for all of them.
What I found (root cause, from inspecting the runtime)
- Orca injects a per-session
CLAUDE_CONFIG_DIRwhen it spawns Claude; on the headless runtime this stays pinned to one account regardless of the panel selection, so the switcher is a no-op for session tabs. - Managed-account credentials placed under
~/.config/orca/claude-accounts/<uuid>/auth/.credentials.jsonon Linux are not kept/trusted — managed-auth housekeeping removes manually-seeded credentials, so a "registered" account has no usable token. claudeAccounts:addis registered only onipcMain(in-process renderer↔main) — there is no CLI or remote-RPC path to add an account. The remote/mobile RPC surface (ACCOUNT_METHODS) exposes onlylist / selectClaude / remove / subscribe(no add/create), and the web client'sadd()is a no-op stub. So an account cannot be authenticated/registered on a headless box at all, and the GUI login flow can't run there or be triggered remotely.- As a result the account switcher lists accounts that can't be applied, and the usage poller (keyed to
activeClaudeManagedAccountId) has no valid managed account to read → empty bars.
Workaround (only for hand-launched claude, not Orca's session tabs)
Swapping the default ~/.claude profile out-of-band (copying a per-account .credentials.json into ~/.claude) does correctly change which account a manually launched claude in a terminal uses — but Orca's own managed "Claude" tabs override CLAUDE_CONFIG_DIR, so this does not reach them. There is currently no working way to switch the account for Orca-managed sessions on a headless runtime.
Impact
Anyone running Orca on a VPS via orca serve with more than one Claude account cannot switch accounts or see usage from Orca's UI — the core multi-account workflow the desktop app supports locally is unavailable on the remote runtime.
Request
First-class multi-account support on headless/remote runtimes: a way to add/authenticate and manage Claude accounts via CLI or remote RPC on an orca serve box, and have the account switcher + usage bars apply to runtime sessions the same as local.
Related
- [Bug]: Claude account switching does not work in Remote SSH projects #8795 — Claude account switching not applied in Remote SSH projects (same switching root cause, different mode)
- [Feature] Managed Codex account switching for SSH remote worktrees #4387 — Managed Codex account switching for SSH remote worktrees
Activity
Boujji commentedon Oct 15, 2026
Additional reproduction from Orca Web connected to a Linux server, accessed in Brave on Windows (2026-10-15).
Claude and Codex are installed on the server and agent sessions run successfully. Settings reports the application version only as "web"; the exact server release was not captured.
Observed usage problem
Expected: persist the setting and scan logs on the runtime host, or clearly mark these controls unsupported in Web instead of silently doing nothing.
Related platform mismatch
orca.cmd claude-teamson Linux and failed withorca.cmd: command not found. Overriding the command toorca-ide claude-teamsallowed it to start.Investigation note — hypothesis, not a confirmed full trace: the served web bundle has a generic proxy fallback returning empty/undefined results for unimplemented API calls. This may explain the analytics controls. Please verify the usage API/RPC wiring and host-platform selection. Related tracking: #25727 and #15798.
No private host addresses, credentials, repository contents, or session transcripts are included.
tobolik commentedon Oct 19, 2026
A data point on the "Provider Accounts says it is showing Windows accounts" part of this report. I traced it in Orca 1.4.197 (read-only look at the web bundle, no clicking):
activeRuntimeEnvironmentIdisnull(web-DpDmUAlt.js:1:86512), kept only inlocalStoragekeyorca.web.settings.v1. Withnullthe accounts pane takes the "local" branch (store-SIobwFJw.js:1:14663).navigator.userAgent.includes("Windows") ? "Windows" : "This device"(Settings-CUICBFux.js:1:56801). So the label describes the browser's machine, not the server.claudeAccounts/codexAccountsAPI is a stub (web-DpDmUAlt.js:1:73132,:1:158101):listandaddreturn{accounts: [], activeAccountId: null}. Add Account therefore appears to work and ends in the toast "Claude account updated. System default -> System default" without doing anything.null, so only the accounts pane is inconsistent.Workaround that works in the code path I read: Settings > Remote Orca Servers > Advanced > Active Server, pick the paired server. The pane then reads "Showing accounts managed by " and lists the server's real accounts via
accounts.subscribe. I did not click through this, it is from reading the code. After switching, the "Local desktop" choice is disabled for the web client, so there is no way back in the UI short of clearing thelocalStorageentry.Suggestion: in the web client, treat a paired server as the account scope when no explicit preference is set, or at least do not render the stub list and the success toast.
AmoabaKelvin commentedon Nov 17, 2026
This is fixed on main and shipped in v1.4.261: The account switcher follows the workspace's host (#27687), Add Account works on a paired server (#31461), and headless hosts refresh usage while a client is watching (#37633).
Please update to the latest Orca and try again. If you still see it, comment here and we'll reopen.