"code ." not opening vscode on centos 7 on virtualbox

Viewed 32

I installed vscode through various means. It's under my /etc/yum.repos.d. Whenever I run it, though, nothing opens.

I tried code --verbose and I got

[24395:0905/184637.258019:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[24395:0905/184637.258063:ERROR:env.cc(226)] The platform failed to initialize.  Exiting.

I'm not sure what to do anymore. I keep looking stuff up but nothing seems to work.

I have Centos 7 Minimal iso if that's relevant.

0 Answers
Related