anomalyco / anomalyco/opencode

[Linux] Desktop app fails to start due to incorrect chrome-sandbox permissions

Open
#41,022 0 comments 0 reactions 1 assignee View on GitHub

@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
  1. Install OpenCode from the .deb package.
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.