2020-06-11から1日間の記事一覧
PowerShell (管理者)で以下のコマンドを実行 $ip = (Get-NetIPAddress -PrefixOrigin Dhcp).IPAddress $wip = $ip.Trim() + ":0.0" wsl -- echo -e -n "\nexport DISPLAY=$wip\n" `>`> ~/.bashrc echo "$ip" > "C:\Program Files (x86)\Xming\X0.hosts"
PowerShell (管理者)で以下のコマンドを実行 $ip = (Get-NetIPAddress -PrefixOrigin Dhcp).IPAddress $wip = $ip.Trim() + ":0.0" wsl -- echo -e -n "\nexport DISPLAY=$wip\n" `>`> ~/.bashrc echo "$ip" > "C:\Program Files (x86)\Xming\X0.hosts"