Visual Studio Code for Linux Xwindow forwarding

My configuration is as follows:

OS:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Visual Studio Code 1.5.3

Xming 6.9.0.31

I had to jump quite a few hoops to set the studio's visual code . In the end, I managed to do it. When i started

code or code .

It immediately returns to the command line without errors.

Then i ran

code --verbose

I get the following messages.

OpenGL Warning:
XComposite not found or old version (0.0), no VisibilityTracking
{ [Error: ENOENT: no such file or directory, open '/home/vagrant/.config/Code/storage.json']
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/vagrant/.config/Code/storage.json' }
(5:08:07 AM) ### VSCode main.js ###
(5:08:07 AM) /usr/share/code/resources/app { _: [],
  paths: [],
  performance: false,
  verbose: true,
  debugPluginHost: undefined,
  debugBrkPluginHost: undefined,
  logExtensionHostCommunication: false,
  'new-window': false,
  'reuse-window': false,
  goto: false,
  diff: false,
  extensionHomePath: undefined,
  extensionDevelopmentPath: undefined,
  extensionTestsPath: undefined,
  'disable-extensions': false,
  locale: undefined,
  wait: false }

Also, installing node.js did not help. Xwindow forwaring works great for other programs such as ImageMagick, QtCreator. and etc.

+4
source share
3 answers

Xming , vs code. VcXsrv, .

+7

Visual Studio Code 1.10.1 Xming 7.7.0.15.

+1

XMing works for me! All defaults have not changed anything except to enable X11 forwarding to PuTTy.

Please note, however, in order to get the latest versions of XMing, you must donate to the author’s site , which will send you your credentials to access 7.x installs.

0
source

Source: https://habr.com/ru/post/1655789/


All Articles