aseering / wsl_gui_autoinstall

Automatically install X Windows and PulseAudio within a WSL (Bash on Windows on Linux) environment
MIT License
84 stars 26 forks source link

wsl_gui_autoinstall.bat

Automatically install X Windows and PulseAudio within a WSL (Bash on Windows on Linux) environment

To run:

If the script opens in a text editor rather than running, it probably needs to be renamed. Note that Windows hides the last file extension by default in many configurations. It may be easy to do this using the "move" command at a Windows Command Prompt.

This script has only been lightly tested. You will probably need to debug it on your own system. Please read through the script and make sure you understand what it is doing before using it.

Thanks to @therealkenc, @fpqc, and many others on the BashOnWindows bug-tracker for figuring out many of the individual steps in these scripts. Most of them are also explained in more detail here.