Skip to content

Commit

Permalink
VcXsrvに接続できない問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
chupaaaaaaan committed Jul 13, 2022
1 parent 53ba54e commit 92211a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsl2_setup.org
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export DISPLAY=\$(ip r s | grep -oP '(?<=default via\s)\d+(\.\d+){3}'):0.0
command tasklist.exe > /dev/null && tasklist.exe | grep -q 'vcxsrv.exe' ||
(
cd '/mnt/c/Program Files/VcXsrv'
./vcxsrv.exe :0 -multiwindow -clipboard -noprimary -wgl > /dev/null 2>&1 &
./vcxsrv.exe :0 -multiwindow -clipboard -noprimary -wgl -ac > /dev/null 2>&1 &

if uname -v | grep -v -q 'Microsoft'; then
# When using xhost
Expand Down

0 comments on commit 92211a0

Please sign in to comment.