[BUG] Desktop WSL session: NO_INSTALL_RESULT because installer writes remote server binary as root without exec bit

Open 💬 0 comments Opened Jul 15, 2026 by alex-europa

Bug

Starting the first WSL session from Claude Code Desktop fails with:

Couldn't install the Claude CLI on the remote: the installer produced no result [NO_INSTALL_RESULT]

Root cause (verified on the affected machine): the remote-server installer writes the binary into the user's home directory as root and without the executable bit, then (presumably) verifies it as the normal distro user, which can neither execute nor chmod a root-owned file — so the install is reported as having produced no result even though the download itself succeeded and the binary is intact.

State left behind by the failed install

$ ls -laR ~/.claude/remote/srv/
/home/<user>/.claude/remote/srv/5db5e4a12f88487e47c2c48259b69a2d630bb3f7:
total 6200
drwx------ 2 <user> <user>    4096 Jul 15 12:03 .
drwxr-xr-x 3 <user> <user>    4096 Jul 15 12:00 ..
-rw-r--r-- 1 root   root   6336664 Jul 15 12:03 server    <-- root-owned, not executable

Everything else under ~/.claude/remote/ is owned by the normal distro user; only the server file itself is root:root with mode 644.

The binary is complete and valid — after fixing ownership/permissions it runs fine:

$ file server
server: ELF 64-bit LSB executable, x86-64, statically linked, Go BuildID=..., stripped
$ ./server --version
claude-ssh 5db5e4a12f88487e47c2c48259b69a2d630bb3f7 (built 2026-07-06T20:46:38Z)

(The hash matches the srv/ directory name, so it's the exact version the app intended to install.)

Workaround

# from PowerShell
wsl -d Ubuntu -u root -- bash -c 'chown -R <user>:<user> /home/<user>/.claude/remote && chmod u+x /home/<user>/.claude/remote/srv/*/server'

then retry creating the WSL session. (Presumably wsl --shutdown + rm -rf ~/.claude/remote + retry would also work, at the cost of re-downloading — untested since the chown fix sufficed.)

Suggested fixes

  • Run the installer step as the same user the server will run/verify as, or chown/chmod +x after writing.
  • Have the verification step surface the actual failure (EACCES/permission denied on exec) instead of the generic NO_INSTALL_RESULT, which points users at downloads/networking rather than permissions.

Environment

  • Windows 11 Pro 10.0.26200, WSL 2, Ubuntu 26.04 LTS (fresh wsl --install, default user created during distro setup)
  • First-ever WSL session attempt for this distro from Claude Code Desktop; workspace is a repo inside the distro filesystem (/home/<user>/path/to/workspace/repo)
  • Network to downloads.claude.ai unblocked; ~950 GB free disk

View original on GitHub ↗