0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LXD&X2GOでVSCODE

Last updated at Posted at 2018-09-24

#開発環境はLXDの上に置きたい
 Microsoftも最近はオープンソース界隈に魂を売って地獄の業火を弱めた結果か、VSCODEは使いやすくなった。しかしVSCODEをX2GOを介してLXD上で動かすとうまく動かなかった。
 しかし、この投稿の通りにやったらうまく行った。
https://github.com/Microsoft/vscode/issues/3451#issuecomment-227197582

cp /usr/lib/x86_64-linux-gnu/libxcb.so.1 ~/lib
sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' ~/lib/libxcb.so.1```
 これを一回すると、以下のコードでVSCODEが起動できる。
``LD_LIBRARY_PATH=$HOME/lib code``
 どうやら、libxcbというのが起動しない原因のようで、sedコマンドでこのファイルを編集するようだ。テキストファイルではないと思うのだがどうなっているのだろう......
 全体で共有されているやつを編集すると他のアプリケーションが死ぬ(自分の場合firefoxが死んだ)のでコピーしてそいつを編集し、vscode起動時にそれを使うように指定するようだ。
 起動コマンドをスクリプトファイルにしてデスクトップにおいたのでこれで使えそう。
0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?