gpt4 book ai didi

linux - Linux Xwindow 转发上的 Visual Studio Code

转载 作者:IT王子 更新时间:2023-10-29 01:03:23 26 4
gpt4 key购买 nike

我的配置如下:

操作系统:

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

我不得不跳很多圈才能得到 visual studio code安装。最后,我设法做到了。当我运行时

codecode .

它立即返回到命令行,没有错误。

然后我跑了

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 forwaring 适用于其他程序,例如 ImageMagick、QtCreator。等

最佳答案

Xming 没有 vs code 需要的特性。已安装 VcXsrv现在它按预期工作。

关于linux - Linux Xwindow 转发上的 Visual Studio Code,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39695166/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com