Blank in WSL2 Ubuntu Terminal/Desktop #4361

Closed
opened 2026-02-16 17:43:34 -05:00 by yindo · 4 comments
Owner

Originally created by @JingbiaoMei on GitHub (Jan 7, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

Installed the lastest version 1.1.4 via curl in WSL2.

WSL version: 2.4.11.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.7462

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble

When running opencode in terminal, only blank screen can be seen.
Similarly, when running opencode server via opencode serve --hostname 0.0.0.0, and connect with IDE, also shows blank screen.

Originally created by @JingbiaoMei on GitHub (Jan 7, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question Installed the lastest version 1.1.4 via curl in WSL2. ``` WSL version: 2.4.11.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5716 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26200.7462 Distributor ID: Ubuntu Description: Ubuntu 24.04.3 LTS Release: 24.04 Codename: noble ``` When running `opencode` in terminal, only blank screen can be seen. Similarly, when running opencode server via `opencode serve --hostname 0.0.0.0`, and connect with IDE, also shows blank screen.
yindo added the windowsopentui labels 2026-02-16 17:43:34 -05:00
yindo closed this issue 2026-02-16 17:43:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 7, 2026):

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

  • #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129)
  • #4012: Rendering problems inside pycharm on Windows (WSL/Debian)
  • #6080: OpenCode TUI Hangs on Fedora Linux (npm & bun & standalone)
  • #6119: [Bug] TUI fails to render with raw ANSI output and critical memory leak (72.5G VIRT) on startup
  • #5613: Empty screen on launch

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

@github-actions[bot] commented on GitHub (Jan 7, 2026): This issue might be a duplicate of existing issues. Please check: - #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) - #4012: Rendering problems inside pycharm on Windows (WSL/Debian) - #6080: OpenCode TUI Hangs on Fedora Linux (npm & bun & standalone) - #6119: [Bug] TUI fails to render with raw ANSI output and critical memory leak (72.5G VIRT) on startup - #5613: Empty screen on launch Feel free to ignore if none of these address your specific case.
Author
Owner

@JingbiaoMei commented on GitHub (Jan 7, 2026):

https://github.com/anomalyco/opencode/issues/5361#issuecomment-3663507450
Fixing systemd=false does not help resolve the issue

@JingbiaoMei commented on GitHub (Jan 7, 2026): https://github.com/anomalyco/opencode/issues/5361#issuecomment-3663507450 Fixing systemd=false does not help resolve the issue
Author
Owner

@JingbiaoMei commented on GitHub (Jan 9, 2026):

Updated to 1.1.8, still not working, also tried the desktop version, also blank screen.

@JingbiaoMei commented on GitHub (Jan 9, 2026): Updated to 1.1.8, still not working, also tried the desktop version, also blank screen.
Author
Owner

@JingbiaoMei commented on GitHub (Jan 9, 2026):

The error is due to bad dns, fixed by

sudo rm /etc/resolv.conf
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'

during install

@JingbiaoMei commented on GitHub (Jan 9, 2026): The error is due to bad dns, fixed by ``` sudo rm /etc/resolv.conf sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' ``` during install
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4361