Skip to content

Instantly share code, notes, and snippets.

@niratama
Last active September 18, 2021 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niratama/4343a0a7231ab307d242039529c43118 to your computer and use it in GitHub Desktop.
Save niratama/4343a0a7231ab307d242039529c43118 to your computer and use it in GitHub Desktop.
VSCode Remote SSHでRaspberry Pi 4に繋がらない件について

https://code.visualstudio.com/docs/remote/ssh-tutorial https://code.visualstudio.com/docs/remote/linux#_remote-host-container-wsl-linux-prerequisites

条件はそろってるはず

[06:25:09.565] > Server did not start successfully. Full server log at /home/kenichi/.vscode-serv
> er/.d2e414d9e4239a252d1ab117bd7067f125afd80a.log >>>
> /home/kenichi/.vscode-server/bin/d2e414d9e4239a252d1ab117bd7067f125afd80a/server
> .sh: 12: /home/kenichi/.vscode-server/bin/d2e414d9e4239a252d1ab117bd7067f125afd8
> 0a/server.sh: /home/kenichi/.vscode-server/bin/d2e414d9e4239a252d1ab117bd7067f12
> 5afd80a/node: not found
> <<< End of server log

microsoft/vscode-remote-release#3248

64bit kernelで動かしてるけどuserlandは32bitのままなのがダメらしい

/boot/config.txtarm_64bit=1をいったんコメントアウトして.vscode-server以下を作り直せばいいらしい

Ubuntu 21.04だとkernel/userlandどちらもaarch64なのでこの問題は出ない

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