Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't launch Visual Studio Code on Ubuntu

I'm running a VM in Azure with Ubuntu 14.04. I've installed XFCE and use X2GO to remote desktop to the machine.

I've downloaded the VS Code and unzipped the files. When I run Code from a terminal I get the following error:

WouterDeKort@UbuntuDev:~/tools/web/visual-studio-code$ ./Code 
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
WouterDeKort@UbuntuDev:~/tools/web/visual-studio-code$ [ , [Error: channel closed] ]

Any idea what I'm doing wrong?

DISCLAIMER ;-) I'm a total Linux newby. I've just installed Linux for the first time today and I have no idea what I'm doing ;-)

like image 580
Wouter de Kort Avatar asked Sep 27 '22 02:09

Wouter de Kort


2 Answers

The work-a-round is in issue 3451. After running this, I was able to launch it from Debian Jessie with LXDE over X2Go.

sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/x86_64-linux-gnu/libxcb.so.1
like image 148
Cameron Taggart Avatar answered Sep 28 '22 15:09

Cameron Taggart


I have the same problem using X2GO and LXDE. Works okay (but slowly) using MobaXterm so apparently this is a problem specific to X2GO.

like image 28
GroovyDotCom Avatar answered Sep 28 '22 14:09

GroovyDotCom