-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode not starting unless --no-sandbox provided in certain cases #81056
Comments
(Experimental duplicate detection) |
No such a problem with the stable version v1.38.1. after some investigation, it seems the problem has nothing to do with the error message (which was warning and I also have it when I launch the stable version of vscode), it must be caused by something else! |
That's the build based off commit bdd1971. The insider build now uses electron 6.0.9 which may cause the problem. |
@sweettyler does it work if you start with |
Yes, it works with --no-sandbox. And the messages are: |
@sweettyler what kind of setup is this? Does Linux run in a VM? Or Container? Or is this literally a normal installation on disk? Anything special about user permissions? Related/duplicate: #80975 |
@bpasero My Linux is managed by "HP Remote Graphics Session Manager", so it is in a VM actually. I don't think there is anything special because both the stable version (v1.38.1) and the insider version of "code-insider-1568277818.tar.gz" work in the same environment. |
here are some more message with --verbose: |
Using "code - insiders.exe" --verbose --performance: |
@sweettyler @MarlonRodriguez can you CD into the VSCode installation folder and run this command and print the output:
|
Also can you please let me know how you installed VSCode to begin with? Did you use a zip archive? |
Known workarounds on the user side:
Known solutions on the code side:
|
We are thinking of hardcoding |
Landed via #81096 The only remaining issue will be if you run the executable directly, but that is not intended anyway. |
@bpasero "ls -al chrome-sandbox" gives: I installed vscode from the downloaded zip package ("code-insider-1568700490.tar.gz") Sorry for the late reply. |
@sweettyler if you run our binary directly from the command line, you will have to manually add " |
downloaded & installed the latest insider version "code-insider-1568700490.tar.gz" and found it crashed at launch with error message:
../code-insiders: /lib64/libdbus-1.so.3: no version information available (required by ../code-insiders)
my system: CentOS Linux release 7.4.1708 (Core)
it worked last Friday with the version "code-insider-1568277818.tar.gz"
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: