claude-code - 💡(How to fix) Fix [BUG] Claude hangs with no output on Linux Mint despite all-green

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Code Example

## Debug Log (~/.claude/debug/latest)
2026-05-29T12:39:09.331Z [DEBUG] [claudeai-mcp] Fetched 3 servers
<-- ~29 seconds of complete silence here, process hangs -->
2026-05-29T12:39:38.869Z [DEBUG] Broken symlink or missing file encountered for 
    settings.json at path: /etc/claude-code/managed-settings.json
(the 12:39:38 lines only appear when `timeout` kills the process)

Full startup completes (CA certs, MCP config load, atomic write of .claude.json, 
"Fetched 3 servers") then hangs with no further log output until killed.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Bug Description

On Linux Mint, interactive claude hangs indefinitely at startup. The process does NOT exit — it stays alive and unresponsive until manually killed (Ctrl+C). The TUI never renders. claude doctor reports everything OK, including active Max subscription auth.

The debug log shows startup proceeds normally up to fetching MCP servers, then goes completely silent for ~29 seconds until the process is killed by timeout. The hang is immediately after the "[claudeai-mcp] Fetched 3 servers" line.

What Should Happen?

Environment

  • OS: Linux Mint (x64)

  • Claude Code version: 2.1.156 (native installer, ~/.local/bin/claude)

  • Platform reported by doctor: linux-x64

  • Subscription: Max (doctor shows: ✓ claude.ai OAuth token present, ✓ claude.ai subscriber auth active, ✓ Organization UUID resolved)

  • 3 remote MCP connectors enabled on the account: Google Calendar, Gmail, Google Drive

  • Working directory IS a git repository

What I've Tried (none fixed it)

  • Reinstalled via native installer (fixed an earlier npm bug that symlinked to claude.exe — a Windows binary — on Linux; worth a separate report)
  • Verified network: curl -I https://api.anthropic.com/v1/mcp_servers returns 405 instantly (server reachable, not a network hang)
  • claude --strict-mcp-config --mcp-config '{"mcpServers":{}}' → still hangs at the same point
  • CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 claude → still hangs
  • Tried TERM=xterm, different terminal → still hangs
  • claude doctor is fully green, no ✗

Error Messages/Logs

## Debug Log (~/.claude/debug/latest)
2026-05-29T12:39:09.331Z [DEBUG] [claudeai-mcp] Fetched 3 servers
<-- ~29 seconds of complete silence here, process hangs -->
2026-05-29T12:39:38.869Z [DEBUG] Broken symlink or missing file encountered for 
    settings.json at path: /etc/claude-code/managed-settings.json
(the 12:39:38 lines only appear when `timeout` kills the process)

Full startup completes (CA certs, MCP config load, atomic write of .claude.json, 
"Fetched 3 servers") then hangs with no further log output until killed.

Steps to Reproduce

  1. cd into a git repository
  2. Run claude
  3. Terminal hangs indefinitely, no TUI, no output, must Ctrl+C

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude Code version: 2.1.156 (native installer, ~/.local/bin/claude)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude hangs with no output on Linux Mint despite all-green