OpenCode desktop unable to run in Bazzite Linux using AppImage and RPM #3913

Closed
opened 2026-02-16 17:41:55 -05:00 by yindo · 2 comments
Owner

Originally created by @reilly3000 on GitHub (Dec 27, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Description

Hi, just wanted to report that I haven't been able to try OpenCode Desktop yet as I can't get it running on my desktop which uses Bazzite linux. First I tried running with the AppImage. since its an immutable OS its easiest that way.

me@bazzite:~/Desktop$ ./opencode-desktop-linux-amd64.AppImage 
fusermount3: mount failed: Operation not permitted
opencode-desktop-linux-amd64.AppImage: failed to utilize FUSE during startup!
100%
"Wayland session detected; forcing X11 backend to avoid compositor protocol errors. Set OC_ALLOW_WAYLAND=1 to keep native Wayland."
No such key “accent-color”
  󱋩  bazzite-nvidia-open:stable                                             
                
error: Script not found "serve"
Gtk-Message: 10:18:41.527: Failed to load module "colorreload-gtk-module"
Received Exit
Server not running
me@bazzite:~/Desktop$ export OC_ALLOW_WAYLAND=1 && ./opencode-desktop-linux-amd64.AppImage 
fusermount3: mount failed: Operation not permitted
opencode-desktop-linux-amd64.AppImage: failed to utilize FUSE during startup!
100%
"Wayland session detected; respecting OC_ALLOW_WAYLAND=1"
Gtk-Message: 10:19:11.856: Failed to load module "colorreload-gtk-module"
No such key “accent-color”
  󱋩  bazzite-nvidia-open:stable                                             
                                
error: Script not found "serve"
Received Exit
Server not running

Odd. So I tried running the RPM instead. This is trickier to install using traditional methods, but I extracted the bins from the rpm to ~/Desktop and was able to run them directly.

me@bazzite:~/Desktop$ ./OpenCode 
"Wayland session detected; respecting OC_ALLOW_WAYLAND=1"
  󱋩  bazzite-nvidia-open:stable                                             
 
opencode server listening on http://127.0.0.1:33473
Server ready after 766.322086ms
Gdk-Message: 10:21:52.866: Error 71 (Protocol error) dispatching to Wayland display.
me@bazzite:~/Desktop$ ERROR: WebKit encountered an internal error. This is a WebKit bug.
/builddir/build/BUILD/webkitgtk-2.50.3-build/webkitgtk-2.50.3/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(618) : void WebKit::WebLoaderStrategy::internallyFailedLoadTimerFired()
^C

When I run the app I get a brief window, then a 6-10 second wait, then a dialog box to Copy Logs and Exit or Exit. I try to copy logs but the clipboard is always empty.

Image

OpenCode version

1.0.203

Steps to reproduce

  1. run bazzite-nvidia-open:stable
  2. run OpenCode via ui rpm
  3. run ./OpenCode via cli

Screenshot and/or share link

Image

Operating System

No response

Terminal

ptyxis

Originally created by @reilly3000 on GitHub (Dec 27, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Description Hi, just wanted to report that I haven't been able to try OpenCode Desktop yet as I can't get it running on my desktop which uses Bazzite linux. First I tried running with the AppImage. since its an immutable OS its easiest that way. ``` me@bazzite:~/Desktop$ ./opencode-desktop-linux-amd64.AppImage fusermount3: mount failed: Operation not permitted opencode-desktop-linux-amd64.AppImage: failed to utilize FUSE during startup! 100% "Wayland session detected; forcing X11 backend to avoid compositor protocol errors. Set OC_ALLOW_WAYLAND=1 to keep native Wayland." No such key “accent-color” 󱋩 bazzite-nvidia-open:stable error: Script not found "serve" Gtk-Message: 10:18:41.527: Failed to load module "colorreload-gtk-module" Received Exit Server not running me@bazzite:~/Desktop$ export OC_ALLOW_WAYLAND=1 && ./opencode-desktop-linux-amd64.AppImage fusermount3: mount failed: Operation not permitted opencode-desktop-linux-amd64.AppImage: failed to utilize FUSE during startup! 100% "Wayland session detected; respecting OC_ALLOW_WAYLAND=1" Gtk-Message: 10:19:11.856: Failed to load module "colorreload-gtk-module" No such key “accent-color” 󱋩 bazzite-nvidia-open:stable error: Script not found "serve" Received Exit Server not running ``` Odd. So I tried running the RPM instead. This is trickier to install using traditional methods, but I extracted the bins from the rpm to ~/Desktop and was able to run them directly. ``` me@bazzite:~/Desktop$ ./OpenCode "Wayland session detected; respecting OC_ALLOW_WAYLAND=1" 󱋩 bazzite-nvidia-open:stable opencode server listening on http://127.0.0.1:33473 Server ready after 766.322086ms Gdk-Message: 10:21:52.866: Error 71 (Protocol error) dispatching to Wayland display. me@bazzite:~/Desktop$ ERROR: WebKit encountered an internal error. This is a WebKit bug. /builddir/build/BUILD/webkitgtk-2.50.3-build/webkitgtk-2.50.3/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(618) : void WebKit::WebLoaderStrategy::internallyFailedLoadTimerFired() ^C ``` When I run the app I get a brief window, then a 6-10 second wait, then a dialog box to Copy Logs and Exit or Exit. I try to copy logs but the clipboard is always empty. <img width="659" height="188" alt="Image" src="https://github.com/user-attachments/assets/a8460ce5-ef13-4587-9cd0-d37dcd664246" /> ### OpenCode version 1.0.203 ### Steps to reproduce 1. run bazzite-nvidia-open:stable 2. run OpenCode via ui rpm 3. run ./OpenCode via cli ### Screenshot and/or share link <img width="659" height="188" alt="Image" src="https://github.com/user-attachments/assets/a8460ce5-ef13-4587-9cd0-d37dcd664246" /> ### Operating System _No response_ ### Terminal ptyxis
yindo added the bugweb labels 2026-02-16 17:41:55 -05:00
yindo closed this issue 2026-02-16 17:41:55 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 27, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #6168: Open code Amd64 Linux appimage fails to launch - Reports similar AppImage startup failures with "error: Script not found 'serve'" on Gentoo Linux
  • #5461: [Desktp/experimental] Fedora 42 crash to desktop - Reports GTK initialization failures on Fedora 42 with similar Linux/Wayland issues
  • #5683: Blank screen on opencode desktop on Linux(Ubuntu) - Reports blank screen issues on Ubuntu 24.04

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 27, 2025): This issue might be a duplicate of existing issues. Please check: - #6168: Open code Amd64 Linux appimage fails to launch - Reports similar AppImage startup failures with "error: Script not found 'serve'" on Gentoo Linux - #5461: [Desktp/experimental] Fedora 42 crash to desktop - Reports GTK initialization failures on Fedora 42 with similar Linux/Wayland issues - #5683: Blank screen on opencode desktop on Linux(Ubuntu) - Reports blank screen issues on Ubuntu 24.04 Feel free to ignore if none of these address your specific case.
Author
Owner

@Brendonovich commented on GitHub (Jan 6, 2026):

Will be tracking the Script not found "serve" error in #6168

@Brendonovich commented on GitHub (Jan 6, 2026): Will be tracking the `Script not found "serve"` error in #6168
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3913