Bash Windows 10でターミネータを開くことができません。

Bash Windows 10でターミネータを開くことができません。

Windows 10のbashでターミネータを開くと、このエラーが発生します。

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set 

ベストアンサー1

同じ問題に直面したとき、次の手順を実行しました。

  1. Windows用VcXsrvをインストールして実行します。
  2. Windowsでは、bashを開いて実行してください。echo "export DISPLAY=:0" >> $HOME/.bashrc
  3. .bashrc追加実行のためのファイルの変更source $HOME/.bashrc
  4. その後は実行terminator -uして使用できます。

おすすめ記事