-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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-linux-x64-stable.zip doesn't run as root #5679
Comments
@ctaggart haven't seen this before. I'm curious who owns files/folders, what the permissions are on them and whether they actually exist. Can you pass along the output of these commands? whoami
ls -la ~ | grep .config
ls -la ~/.config | grep Code
ls -la ~/.config/Code |
@Tyriar here is the output:
|
Weird, I would expect it to work provided the user has |
It appears to be an issue when running as root. The GUI came up when I ran as a user. |
@Tyriar In the April Iteration Plan I noticed:
I was hoping that this would allow me to launch VSCode as root. I downloaded the insiders build and tried launching it, but it doesn't launch and I don't get any output:
I noticed that a
Should it be possible to launch VSCode as root? |
I am experiencing a similar issue, just the opposite...I can run:
but I cannot simply run from any user,
...but as I said, If I use sudo and specify a non-root user it works. |
I'm curious on what you guys think the best way to handle this is. I spend most of my time in Ubuntu so running as root is not usually a thing I'm allowed to do ( Here's the current situation:
It's a very bare-bones support situation at the moment, plus it focuses around running as sudo instead of root, which I don't think Any input from the community would be greatly appreciated 😃 |
I created this issue originally when making some docker images with VSCode on it. My solution was simply to create a https://github.com/ctaggart/dotnet-vscode/blob/master/root/install-user.sh |
Going to reopen, I'd eventually like to get it working as expected for root user, sudo and regular users. |
Closing since there are no plans to fix this any time soon and there is a workaround in #5679 (comment) |
latest stable Linux 64: VSCode-linux-x64-stable.zip
downloaded from:
Ubuntu 14.04
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: