Skip to content

fix(terminal): support remote server connections and fix GLIBC compatibility - #11906

Merged
adamdotdevin merged 2 commits into
anomalyco:devfrom
lucas-jo:fix/terminal-remote-connection-and-glibc
Feb 4, 2026
Merged

adamdotdevin merged 2 commits into
anomalyco:devfrom
lucas-jo:fix/terminal-remote-connection-and-glibc

Conversation

@lucas-jo

@lucas-jo lucas-jo commented Feb 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #12070

Summary

This PR fixes two critical issues that prevent the terminal from working when OpenCode is hosted on a remote server or older Linux distributions.

Changes

  1. Updated bun-pty to 0.4.8: Version 0.4.4 required GLIBC 2.32+, which caused library load failures on older systems like Ubuntu 20.04 (DGX servers, etc.). 0.4.8 is compatible with older GLIBC versions.
  2. WebSocket Protocol Handling: Fixed a bug where the terminal would fail to connect because it didn't convert http/https to ws/wss when establishing WebSocket connections to remote servers.
  3. JSX Configuration: Added JSX runtime settings to bunfig.toml to ensure proper SolidJS rendering when running from source.

Verified on a remote DGX server with Ubuntu 20.04.

@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@lucas-jo
lucas-jo force-pushed the fix/terminal-remote-connection-and-glibc branch from 2af868c to c4bdafc Compare February 3, 2026 06:36
Comment thread packages/opencode/bunfig.toml Resolved
@adamdotdevin
adamdotdevin merged commit 8918754 into anomalyco:dev Feb 4, 2026
5 checks passed
mvclaudianobj pushed a commit to mvclaudianobj/markscode that referenced this pull request Feb 4, 2026
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 4, 2026
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 4, 2026
Colin4k1024 pushed a commit to Colin4k1024/opencode that referenced this pull request Feb 10, 2026
schneiderlo pushed a commit to schneiderlo/opencode that referenced this pull request Feb 17, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal fails on remote servers and older Linux distributions (GLIBC incompatibility)

2 participants