Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCODE does not work for me on Linux

Just learned about VSCODE, excited to try it. I downloaded, unzipped and ran the executable. I get:

$ Code
[2183:0429/201254:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: .bashrc: No such file or directory
^C

At that point no window appears, nothing happens, and all I can do it ^C out of it. I can't see anything in the instructions that I'm supposed to do besides run it. Anyone else have this problem?

[Arch Linux 4.0.1]

like image 340
jtgd Avatar asked May 01 '26 11:05

jtgd


1 Answers

For Arch Linux a package is available in the AUR. https://aur.archlinux.org/packages/visual-studio-code/.

This AUR package has

alsa-lib
cairo
fontconfig
gcc-libs
gconf
gtk2
libxtst
nss
python

as its dependencies. The installation of those dependencies from your package manager should fix the problem. I tried to replicate the error by removing the packages but i had no success.

I get the first part of the error message as well. It seems it can be ignored since the editor starts as expected.

[7190:0501/233446:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
like image 78
Bernd Avatar answered May 04 '26 02:05

Bernd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!