Terminal freezes on /remote-control opt out in linux

Resolved 💬 1 comment Opened Apr 27, 2026 by mudscode Closed May 29, 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?

The /remote-control command on Linux causes the terminal to freeze. While it enables successfully, attempting to opt out results in the process hanging indefinitely, leaving the terminal unresponsive.

What Should Happen?

It shouldn't freeze. It gets stuck when i try this command.

Error Messages/Logs

❯ /remote-control                                                                                                                                                                     
  ⎿  Remote Control connecting…                                                                                                                                                       
                                                                                                                                                                                      
  /remote-control is active · Code in CLI or at https://claude.ai/code/session_01DbqtJXvEnBMCpTNAyaBSjK                                                                               
                                                                                                                                                                                      
❯ /remote-control                                                                                                                                                                     
                                                                                                                                                                                      
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  Remote Control                                                                                                                                                                      
                                                                                                                                                                                  
  This session is available via Remote Control at https://claude.ai/code/session_01DbqtJXvEnBMCpTNAyaBSjK.                                  
                                                                                                                                                                          
    Disconnect this session                                                                                                                 
    Show QR code                                                                            
  ❯ Continue

  Enter to select · Esc to continue

Steps to Reproduce

Activate remote control.
Deactivate it by using the same /remote-control once again, there you have it.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.119

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗