Skip to content

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

Closed

Description

@lucas-jo

Problem

When running OpenCode on remote servers (e.g., via Tailscale) or on Linux distributions with older GLIBC versions (like Ubuntu 20.04), the terminal fails to open.

Symptoms

  1. GLIBC Incompatibility: The current requires GLIBC 2.32+, causing library load failures on systems with older GLIBC versions.
  2. WebSocket Protocol Error: When accessing WebUI via HTTPS on a remote server, terminal connection fails because it attempts to connect via instead of automatically switching to .

Proposed Solution

  • Update bun-pty to 0.4.8 which has better GLIBC compatibility.
  • Automatically handle ws/wss protocol conversion for remote server connections in the terminal component.

Activity

  1. github-actions commented on Feb 4, 2026

    @github-actions
    Contributor

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions