前提・実現したいこと
Ubuntu server 20.04.3をラズベリーパイで動作させとりあえずVScodeを用いた快適な環境構築をしたいです.
発生している問題・エラーメッセージ
VisualStudioCode のRemote-SSHを利用しUbuntu上のファイルにアクセスしたいのですが,何度やってもエラーが出ます.長くなってしまい,申し訳ありません.
[15:25:21.700] Log Level: 2 [15:25:21.722] remote-ssh@0.66.0 [15:25:21.723] win32 x64 [15:25:21.740] SSH Resolver called for "ssh-remote+robot", attempt 1 [15:25:21.741] "remote.SSH.useLocalServer": false [15:25:21.743] "remote.SSH.showLoginTerminal": false [15:25:21.744] "remote.SSH.remotePlatform": {} [15:25:21.744] "remote.SSH.path": undefined [15:25:21.745] "remote.SSH.configFile": undefined [15:25:21.745] "remote.SSH.useFlock": true [15:25:21.746] "remote.SSH.lockfilesInTmp": false [15:25:21.747] "remote.SSH.localServerDownload": auto [15:25:21.748] "remote.SSH.remoteServerListenOnSocket": false [15:25:21.749] "remote.SSH.showLoginTerminal": false [15:25:21.750] "remote.SSH.defaultExtensions": [] [15:25:21.751] "remote.SSH.loglevel": 2 [15:25:21.753] SSH Resolver called for host: robot [15:25:21.754] Setting up SSH remote "robot" [15:25:21.825] Using commit id "b3318bc0524af3d74034b8bb8a64df0ccf35549a" and quality "stable" for server [15:25:21.840] Install and start server if needed [15:25:23.350] Checking ssh with "ssh -V" [15:25:23.420] > OpenSSH_for_Window [15:25:23.421] > s_8.1p1, LibreSSL 3.0.2 [15:25:23.438] Running script with connection command: ssh -T -D 55347 robot bash [15:25:23.453] Terminal shell path: C:\WINDOWS\System32\cmd.exe [15:25:24.080] > ]0;C:\WINDOWS\System32\cmd.exe [15:25:24.082] Got some output, clearing connection timeout [15:25:24.361] > user@192.168.137.100's password: [15:25:24.363] Showing password prompt [15:25:27.763] Got password response [15:25:27.764] "install" wrote data to terminal: "**************" [15:25:27.784] > [15:25:32.434] > 6aefac75963f: running [15:25:32.607] > Acquiring lock on /home/user/.vscode-server/bin/b3318bc0524af3d74034b8bb8a64df0cc > f35549a/vscode-remote-lock.tat.b3318bc0524af3d74034b8bb8a64df0ccf35549a [15:25:32.619] > Installing to /home/user/.vscode-server/bin/b3318bc0524af3d74034b8bb8a64df0ccf355 > 49a... > 6aefac75963f%%1%% > Downloading with wget [15:26:28.268] > Download complete [15:26:28.283] > 6aefac75963f%%2%% > tar --version: > tar (GNU tar) 1.30 > Copyright (C) 2017 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by John Gilmore and Jay Fenlason. [15:26:39.504] > Checking /home/user/.vscode-server/.b3318bc0524af3d74034b8bb8a64df0ccf35549a.log > and /home/user/.vscode-server/.b3318bc0524af3d74034b8bb8a64df0ccf35549a.pid for a > running server [15:26:39.595] > Starting server with command... /home/user/.vscode-server/bin/b3318bc0524af3d7403 > 4b8bb8a64df0ccf35549a/server.sh --start-server --host=127.0.0.1 --enable-remote- > auto-shutdown --port=0 &> "/home/user/.vscode-server/.b3318bc0524af3d74034b8bb8 > a64df0ccf35549a.log" < /dev/null > printenv: > SHELL=/bin/bash > PWD=/home/user > LOGNAME=user > XDG_SESSION_TYPE=tty > MOTD_SHOWN=pam > HOME=/home/user > LANG=C.UTF-8 [15:26:39.596] > > VSCODE_AGENT_FOLDER=/home/user/.vscode-server > SSH_CONNECTION=192.168.137.1 55349 192.168.137.100 22 > XDG_SESSION_CLASS=user > USER=user > SHLVL=0 > XDG_SESSION_ID=8 > XDG_RUNTIME_DIR=/run/user/1001 > SSH_CLIENT=192.168.137.1 55349 22 > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > :/usr/local/games:/snap/bin > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus > OLDPWD=/home/user/.vscode-server/bin/b3318bc0524af3d74034b8bb8a64df0ccf35549a > _=/usr/bin/printenv [15:26:39.619] > rm: cannot remove '/home/user/.vscode-server/.b3318bc0524af3d74034b8bb8a64df0ccf3 > 5549a.token': No such file or directory [15:26:39.633] > [15:26:43.275] > Spawned remote server: 3342 [15:26:43.354] > Waiting for server log... -省略- [15:26:43.570] > Waiting for server log... > Waiting for server log... [15:26:43.590] > [15:26:43.609] > Waiting for server log... -省略- [15:26:48.907] > Waiting for server log... > Waiting for server log... [15:26:48.913] > > Waiting for server log... [15:26:48.925] > Waiting for server log... -省略- [15:26:48.977] > Waiting for server log... [15:26:50.851] > > * > * Reminder: You may only use this software with Visual Studio family products, > * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057) > * > [15:26:50.871] > > Server did not start successfully. Full server log at /home/user/.vscode-server/. > b3318bc0524af3d74034b8bb8a64df0ccf35549a.log >>> [15:26:50.891] > > /home/user/.vscode-server/bin/b3318bc0524af3d74034b8bb8a64df0ccf35549a/node: erro > r while loading shared libraries: libatomic.so.1: cannot open shared object file > : No such file or directory > <<< End of server log > 6aefac75963f: start [15:26:50.894] > > exitCode==32== > listeningOn==== > osReleaseId==ubuntu== > arch==armv7l== > tmpDir==/run/user/1001== > platform==linux== > unpackResult==success== > didLocalDownload==0== [15:26:50.898] > > downloadTime==55652== > installTime==11168== > extInstallTime==== > serverStartTime==11268== > 6aefac75963f: end [15:26:50.899] Received install output: exitCode==32== listeningOn==== osReleaseId==ubuntu== arch==armv7l== tmpDir==/run/user/1001== platform==linux== unpackResult==success== didLocalDownload==0== downloadTime==55652== installTime==11168== extInstallTime==== serverStartTime==11268== [15:26:50.904] Resolver error: Error: The VS Code Server failed to start at Function.ServerInstallError (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:429127) at u (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:423450) at Object.t.handleInstallOutput (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:427869) at Object.t.tryInstall (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:521609) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:485262 at async Object.t.withShowDetailsEvent (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:488612) at async Object.t.resolve (c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:486341) at async c:\Users\user.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.0\out\extension.js:1:559963 [15:26:50.909] > [15:26:50.925] ------ [15:26:52.344] "install" terminal command done [15:26:52.348] Install terminal quit with output:
試したこと
/home/user/.vscode-serverを削除しようと思い
ユーザーでログイン>sudo suでrootにスイッチ>tree
を実行したところ.vscode-serverはありませんでした.
一度rootのsshを許可し,rootから接続を試みましたが同じエラーでした.
ping google.comは応答しました.
teratermではssh接続できます.
補足情報(FW/ツールのバージョンなど)
ネットワークはノートパソコンのホットスポットを利用しています.
ユーザー名のところはuserに変更しました.
linuxやCUIはまだまだ不慣れでよくわからないことが多いですが,やさしく教えていただけると幸いです.
あなたの回答
tips
プレビュー