やりたいこと
WSLのセットアップ
shellはfishを利用している。
sudo apt-get install x11-apps
Windowsの設定
Xmingが有名だがアプリケーションごとにタスクバー上のアイコンが分かれないのであんまり好きじゃない。
VcXsrvを入れる
https://sourceforge.net/projects/vcxsrv/
サーバー側設定
CentOS 7で行った。
> cat /etc/ssh/ssh_config | grep X11 # ForwardX11 no # If this option is set to yes then remote X11 clients will have full access # to the original X11 display. As virtually no X11 client supports the untrusted ForwardX11Trusted yes
試してはないが
XForwarding yes
や
ssh -Yで接続すればできるかもしれない。。?
qiita.com