-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
remoteissues related to the remote functionalityissues related to the remote functionalityremote-sshissues related to the ssh remote functionalityissues related to the ssh remote functionality
Milestone
Description
I wanted to try the remote ssh in Theia, as introduced by this:
#12618
But, it does not see to work (for me). I am on a Linux machine, trying to connect to the same machine. I tried the same (user) account and a different account, did not notice any difference.
What I did:
- the following checked-out commit 764d9baf205eab01b1262db2c5821816f446aeeb for me:
$ git clone https://github.com/eclipse-theia/theia-blueprint$ cd theia-blueprint- //since the blueprint does not seem to include the remote plugin, I added it:
- apply patch:
diff --git a/applications/electron/package.json b/applications/electron/package.json
index 8e19bfe..9f8b6f2 100644
--- a/applications/electron/package.json
+++ b/applications/electron/package.json
@@ -74,6 +74,7 @@
"@theia/preferences": "1.43.0",
"@theia/process": "1.43.0",
"@theia/property-view": "1.43.0",
+ "@theia/remote": "1.43.0",
"@theia/secondary-window": "1.43.0",
"@theia/scm": "1.43.0",
"@theia/search-in-workspace": "1.43.0",
$ yarn && yarn build && yarn download:plugins && yarn electron package$ ./applications/electron/dist/TheiaBlueprint.AppImage- clicked in the left bottom corner, selected "Connet to Host", typed
ide@localhost. I have a key without a passphrase (specifically for this experiment), that can login to the account without password. - Theia connects, and starts to download of Node.js and the backend.
- it then fails with:
Could not open SSH connection to remote. Could not start remote system: node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module '/home/ide/.blueprint-electron-app-1.43.0-remote/lib/backend/main.js' �[90m at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)�[39m �[90m at Module._load (node:internal/modules/cjs/loader:922:27)�[39m �[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)�[39m �[90m at node:internal/main/run_main_module:23:47�[39m { code: �[32m'MODULE_NOT_FOUND'�[39m, requireStack: [] } Node.js v18.17.0
If I look at the content of .blueprint-electron-app-1.43.0-remote/lib/backend:
$ cd ~/.blueprint-electron-app-1.43.0-remote/lib
$ find .
.
./build
./build/Release
./build/Release/spawn-helper
./backend
./backend/native
./backend/native/pty.node
./backend/native/nsfw.node
./backend/native/drivelist.node
./backend/native/findGitRepos.node
./backend/native/sshcrypto.node
./backend/native/cpufeatures.node
./backend/native/rg
./backend/native/keytar.node
This seem probably wrong - some things are probably missing.
I think my glibc is new enough:
$ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.4) 2.35
...
Metadata
Metadata
Assignees
Labels
remoteissues related to the remote functionalityissues related to the remote functionalityremote-sshissues related to the ssh remote functionalityissues related to the ssh remote functionality