Skip to content

Instantly share code, notes, and snippets.

@irizwaririz
Created March 28, 2022 14:02
Show Gist options
  • Save irizwaririz/6ac50dc20f22836a8bb48422973c8bbc to your computer and use it in GitHub Desktop.
Save irizwaririz/6ac50dc20f22836a8bb48422973c8bbc to your computer and use it in GitHub Desktop.
Batch script to instantiate Xserver
@echo off
start "" "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -multiwindow -ac
@irizwaririz
Copy link
Author

You might also encounter firewall issues when doing this with WSL2, refer to this on one way to solve the firewall issue:
https://www.youtube.com/watch?v=4SZXbl9KVsw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment