Skip to content

Error Failed to start workspace & built in reinstall workspace unsucesful. Easy fix included #445

@zabka

Description

@zabka

Hello,
First, huge thanks for creating and maintaining this repackage, game changer.

Got a bit addicted and took 2 weeks break. Come back, perform updates and Claude-desktop failed to launch the VM (with the infamous error message).
The built in feature to rebuild the workspace was not helping.

I did not consider that re-downloading the VM would help anyway as it was already there like few weeks ago

The --doctor pointed out some packages were not properly located (PATH issue) but most importantly the VM was reported not found.

I let Claude make you a quick summary and the fix, which is simply spawning cowor-vm-service.js manually before claude-desktop.


Root cause: cowork-vm-service.js is never auto-spawned on Linux, so /run/user/1000/cowork-vm-service.sock never exists.

Missing dependencies + Ubuntu PATH quirk

sudo apt install qemu-system-x86 socat virtiofsd
sudo ln -s /usr/libexec/virtiofsd /usr/local/bin/virtiofsd

If you clicked "Reinstall workspace", remove the blocking flag it leaves

rm ~/.config/Claude/vm_bundles/claudevm.bundle/.auto_reinstall_attempted

Auto-start the VM daemon with your session

cat > ~/.config/systemd/user/cowork-vm-service.service << 'EOF'
[Unit]
Description=Claude Desktop Cowork VM Service
After=graphical-session.target
[Service]
ExecStart=/home/YOUR_USER/.nvm/versions/node/v20.20.2/bin/node
/usr/lib/claude-desktop/node_modules/electron/dist/resources/app.asar.unpacked/cowork-vm-service.js
Restart=on-failure
RestartSec=3
[Install]
WantedBy=default.target
EOF
systemctl --user enable --now cowork-vm-service

Our 2 cents

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoworkRelated to Cowork modetriage: investigatedIssue has been triaged and investigated

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions