Remote control sessions from VPS don't persist in desktop app history

Resolved 💬 3 comments Opened Apr 10, 2026 by aaronwright23 Closed Apr 14, 2026

Description

Remote control sessions bridged from a VPS (Hetzner, Ubuntu 24.04) do not persist in the Mac desktop app's session history after disconnecting. Sessions from a local machine (Dell) persist correctly.

Steps to Reproduce

  1. Set up Claude Code on a remote VPS (Ubuntu 24.04, running as a non-root claude user)
  2. Start a session: claude --remote-control-session-name-prefix VPS --dangerously-skip-permissions
  3. From the Mac desktop app, connect via /remote-control VPS
  4. Session appears in the left sidebar while connected — works fine
  5. Interact normally, then disconnect / close the session
  6. Session disappears from the "All projects" sidebar history — no way to access it again from the Mac app

Expected Behavior

Bridged remote control sessions should persist in the Mac app's session history after disconnecting, same as sessions from other remote machines.

Actual Behavior

  • VPS remote sessions: Visible while live, disappear from sidebar history after disconnect
  • Local machine (Dell) remote sessions: Persist in history permanently (correct behavior)

Both use the same Mac desktop app and the same account.

Environment

  • Client: Claude Code Mac desktop app, Max plan
  • Server: Hetzner CX33, Ubuntu 24.04, Claude Code 2.1.100
  • Server user: claude (non-root, UID 1000)
  • Auth: OAuth
  • Launch command: claude --remote-control-session-name-prefix VPS --dangerously-skip-permissions

Workaround

Currently saving full session transcripts to the git repo manually as a workaround.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗