Sample Header Ad - 728x90

Can't open VS Code on Kali Linux as super user or root

2 votes
1 answer
4765 views
I installed VS Code on Kali Linux and when I tried opening it with the code command, this message would appear: > You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please specify an alternate user data directory using the --user-data-dir argument. I tried this command: sudo code --user-data-dir="~/.vscode-root" but that did not work either.
Asked by Aarzoo Mohammad (31 rep)
Jul 11, 2021, 04:54 PM
Last activity: Apr 6, 2024, 01:01 AM