jeanp413 / open-remote-ssh

VSCode Remote Development: Open any folder on a remote machine using SSH.
MIT License
309 stars 43 forks source link

Prevent log file not found error before any outputs #168

Open Bubba8291 opened 3 months ago

Bubba8291 commented 3 months ago

Kept getting this error no matter what, even running the script locally. Error server log file not found /root/.vscodium-server/.21b1e2955ddda36eeba3a94e643128e465285b93.log

Added one line to fix.

GitMensch commented 1 month ago

The server logfile needs to be created from the started server - and if it isn't there, then the connection does not have the info on the ports used... so if I'm not wrong then before this adjustment you got a clear error message (may should include the "did the server started correctly" note from the other condition though) and afterwards you have no error message but not a working connection - do you?

The main question is: why did the server process started does not create a log file (or how is that named, if different)?