You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop crashes when opening project after attach to remote server #6835
When using OpenCode Desktop (beta) to attach to a remote opencode serve instance over a private network (Tailscale), the Desktop app crashes with an UnknownError: No such file or directory after clicking/selecting the project directory in the UI.
The remote server is running correctly, and the project directory does exist on the remote server.
The same remote server works reliably when accessed via OpenCode CLI, both locally on the server and from a local machine using opencode attach.
This strongly suggests the issue is specific to OpenCode Desktop (beta), rather than the server, network, or project setup.
Plugins
No response
OpenCode version
No response
Steps to reproduce
On a remote Linux server (EC2, Ubuntu), start opencode server from a valid project directory:
cd
opencode serve --hostname --port
On local machine, open OpenCode Desktop (beta).
Attach to the remote server using:
http://:
In the Desktop UI, click/select the project directory shown in the interface.
The app immediately throws an error and becomes unstable.
The three related issues suggested by the action bot are all related to the TUI client.
In my case, the issue is triggered exclusively in the OpenCode Desktop app.
I confirmed that the same remote server and project directory work correctly when accessed via the OpenCode CLI.
This makes me believe the issue is Desktop-specific rather than a duplicate of the existing TUI-related issues.
Desktop app just fundamentally doesn't work with remote servers at this point? Am I understanding this right -- i have not been able to get it to function anyway.
Activity
github-actions commentedon Jan 4, 2026
This issue might be a duplicate of existing issues. Please check:
opencode attach: File path duplicates client's relative directory, causing ENOENT #4967:opencode attach: File path duplicates client's relative directory, causing ENOENT - This involves similar path resolution errors when attaching to remote serversFeel free to ignore if none of these address your specific case.
HoYiShui commentedon Jan 5, 2026
The three related issues suggested by the action bot are all related to the TUI client.
In my case, the issue is triggered exclusively in the OpenCode Desktop app.
I confirmed that the same remote server and project directory work correctly when accessed via the OpenCode CLI.
This makes me believe the issue is Desktop-specific rather than a duplicate of the existing TUI-related issues.
remixer-dec commentedon Feb 17, 2026
And there is no way to select a remote directory in the desktop app, it always suggests to open local resources
The only available workspace is
/KyleGobel commentedon Mar 15, 2026
Desktop app just fundamentally doesn't work with remote servers at this point? Am I understanding this right -- i have not been able to get it to function anyway.
If someone has a workaround i'd take that too
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.