anomalyco / anomalyco/opencode
[Linux] Desktop app fails to start due to incorrect chrome-sandbox permissions
Open
@Hona is already working on this.
Since Aug 7, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
OpenCode Desktop cannot start after installing the .deb package on Ubuntu.
Running:
ai.opencode.desktop
returns:
The SUID sandbox helper binary was found, but is not configured correctly.
You need to make sure that chrome-sandbox is owned by root and has mode 4755.
The issue is fixed by manually changing the permissions:
sudo chown root:root /home/maxh/ssd1/system_opt/OpenCode/chrome-sandbox
sudo chmod 4755 /home/maxh/ssd1/system_opt/OpenCode/chrome-sandbox
It seems the .deb installation does not preserve or set the required SUID permission for Electron's chrome-sandbox.
Environment:
- OS: Ubuntu 24.04.4 LTS (noble)
- OpenCode version: 1.18.15
- Package: opencode amd64 (.deb)
- Architecture: x86_64
Plugins
No response
OpenCode version
1.18.15
Steps to reproduce
- Install OpenCode from the
.debpackage. - Lauch the desktop app with GUI (return nothing) / Lauch the desktop app with
ai.opencode.desktop(see Descriptions)
Screenshot and/or share link
No response
Operating System
24.04.4 LTS
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.