Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open remote window: Error server token file not found #157

Open
hoopahmadness opened this issue Jun 21, 2024 · 1 comment
Open

Comments

@hoopahmadness
Copy link

Local client:

  • Pop!_OS 22.04
  • VSCodium v. 1.90.2

Remote Server

  • Mac OS Sonoma 14.5
  • VSCodium v. 1.90.2

For the last year or two I've been successfully accessing vscodium on the remote. However, about a month ago I had some issues on my desktop and had to do a repair install, reinstalling VSCodium but keeping all my old config. Everything works except accessing my remote. I get this terminal output when I attempt to open a remote window:

Server script already installed in /Users/steve.hooper/.vscodium-server/bin/7d98c6de73fb939f1eb4b8a500c569b858b2d297/bin/codium-server
Server script is already running /Users/steve.hooper/.vscodium-server/bin/7d98c6de73fb939f1eb4b8a500c569b858b2d297/bin/codium-server
Error server token file not found /Users/steve.hooper/.vscodium-server/.7d98c6de73fb939f1eb4b8a500c569b858b2d297.token
76b072647b23853575ada1d2: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/Users/steve.hooper/.vscodium-server/.7d98c6de73fb939f1eb4b8a500c569b858b2d297.log==
osReleaseId==unknown==
arch==x86_64==
platform==darwin==
tmpDir==/tmp==
76b072647b23853575ada1d2: end

[Error  - 13:15:57.496] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/home/steve/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:441144)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async /home/steve/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:404941

I've searched these errors online and seen various places telling me to try removing/moving .vscodium-server/ on the remote. I've also seen #148 where apparently upgrading to the newest version of codium helped. Neither have helped me. Is there something I'm missing? Why can't I create a server token file?

@hoopahmadness hoopahmadness changed the title Unable to open remote window: Unable to open remote window: Error server token file not found Jun 21, 2024
@fooryo
Copy link

fooryo commented Aug 4, 2024

My problem was (and still is !) that the ssh start script was not able to find the executable $HOME/.vscode-server/bin/<somehash>/bin/code-server on the target machine, but a codium-server was already present so i created a code-server link that points to codium-server

Both my machines are Arch derivatives.
Both my machines have installed (from the aur)

  • vscodium-bin 1.91.1.24193-1
  • vscodium-bin-features 1.82.0-4
  • vscodium-bin-marketplace 1.76.0-1

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

No branches or pull requests

2 participants