code-server: Coder/code-server conflicts with the startup command of visual studio code server[Bug]:
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser:Chrome
- Local OS:Windows
- Remote OS:Ubuntu
- Remote Architecture:amd64
code-server --version:4.4.0
Steps to Reproduce
1To install the coder/code-server (or visual studio code server) 2.run “code-server” then you will see the estimated results 3.instal the visual studio code server (or coder/code-server) 4. run “code-server” then you will find that the results are different from the original ones
Expected
This will start code server before installation
Actual
After installing visual studio code server, the startup command of visual studio code server overwrites the original startup command. However, the original code server startup sh file can still be found by searching
Logs
No has log
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
The code server file of visual studio code server is located in /usr/local/bin/, and this file may be a binary file
At present, visual studio code server is still under internal test, so few people may have this bug before it is officially launched. I want to know if code server has any startup commands other than code server?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (11 by maintainers)
OK, I just started it successfully😂
Yes, I have only recently obtained the qualification for internal testing
No.
/usr/local/binsimply takes precedence over/usr/bin.[Using
wget -O- https://aka.ms/install-vscode-server/setup.sh | sh] Visual Studio Code Server installs at/usr/local/bin.[Using
dpkg -i code-server_4.6.0_amd64.deb] coder/code-server installs at/usr/bin.ℹ️ I do not see any files getting overwritten.
But trying to start coder/code-server by executing
code-serverfrom within Visual Studio Code Server’s integrated Terminal or vice versa will fail, because thePATHgets overwritten.I advise against installing Visual Studio Code Server and coder/code-server on the same machine.
Maybe, I use SSH to control my server. I haven’t used other terminal software, and my server is an ordinary Ubuntu system (but I started the jupyterlab terminal mentioned by benz0li according to the link he gave, but the server was started incorrectly 🤔)。 I mean the conflict of startup commands. When I run code server, the server starts visual studio code server instead of code server. Visual studio code server replaces the startup command of code server during installation
@2659170494 Or any regular Terminal [other than code-server Terminal]?
_Originally posted by @code-asher in https://github.com/coder/code-server/issues/5360#issuecomment-1191866815_
@jsjoeio I think @2659170494 is talking about https://github.com/coder/code-server/issues/5417#issuecomment-1210203300, i.e. executing
code-serverin code-server Terminal not being the same as executingcode-serverin a [regular] JupyterLab Terminal (e.g. https://demo.jupyter.b-data.ch).