[BUG] Only one user can run Claude Code at a time on multi-user Linux server (native version)

Resolved 💬 4 comments Opened Jan 27, 2026 by joseespana Closed Mar 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

On a multi-user Linux server, only one user can run Claude Code at a time. Other users get stuck on "thinking" and Claude never responds.

Environment:

  • Linux server with multiple user accounts
  • Each user has their own Claude account (different clients/projects)
  • High RAM and CPU resources available

Issue:

  • Before the latest update, multiple users could run Claude Code simultaneously without issues
  • After updating, only ONE user can actively use Claude Code at a time
  • Other users see Claude "thinking" indefinitely - it never completes

Workaround found:

  • The npm version (npm install -g @anthropic-ai/claude-code) works correctly with multiple concurrent users
  • Only the native Linux version has this issue

Steps to reproduce:

  1. Install native Claude Code on a Linux server
  2. Have User A start a Claude session
  3. Have User B (different Linux user, different Claude account) try to start a Claude session
  4. User B gets stuck in terminal

Expected behavior:
Multiple users should be able to run independent Claude Code sessions simultaneously, as it worked before the update.

What Should Happen?

Multiple users should be able to run independent Claude Code sessions simultaneously, as it worked before the update.

Error Messages/Logs

No error messages, no output at all. Claude completely freezes.

When User A is already using Claude on the server:
- User B runs `claude` in terminal
- The CLI appears to start
- User B types a message and presses Enter
- Nothing happens - no "thinking" indicator, no spinner, no response
- Terminal just sits there frozen, doing nothing
- No timeout, no error - complete silence
- Have to Ctrl+C to exit

Works fine when only one user is running Claude at a time.
The npm version (@anthropic-ai/claude-code) does NOT have this issue - multiple users work simultaneously.

Steps to Reproduce

  1. Install native Claude Code on a Linux server
  2. Have User A start a Claude session
  3. Have User B (different Linux user, different Claude account) try to start a Claude session
  4. User B gets stuck on "thinking" forever

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.19

Claude Code Version

2.1.20

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

In all terminals connectd by ssh or in the intellij remote development

View original on GitHub ↗

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