我的配置如下:
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/"
视觉工作室代码1.5.3
Xming 6.9.0.31
我必须跳很多圈才能得到视觉工作室代码 http://code.visualstudio.com/docs/setup/linux安装。最后,我成功做到了。
当我跑步时
code
or code .
它立即返回到命令行,没有错误。
然后我跑了
code --verbose
我收到以下消息。
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 }
此外,安装 Node.js 也没有帮助。 Xwindow 转发适用于其他程序,例如 ImageMagick、QtCreator。 ETC。