Go to file
Adam Seering e0256136ba
Merge pull request #11 from cspotcode/patch-1
Simpler LINUXTMP compatible with non-/mnt roots
2019-09-21 19:57:47 -04:00
LICENSE Initial commit 2016-08-01 21:06:51 -04:00
README.md Update README.md 2016-08-03 02:29:31 -04:00
wsl_gui_autoinstall.bat Simpler LINUXTMP compatible with non-/mnt roots 2019-09-21 19:19:58 -04:00

README.md

wsl_gui_autoinstall.bat

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

To run:

  • Download "wsl_gui_autoinstall.bat"
  • Some browsers will save it as "wsl_gui_autoinstall.bat.txt". If this happens, rename it to remove the ".txt" suffix.
  • Double-click on the downloaded file to run it
  • Follow the on-screen instructions
  • Run Bash as "bash --login" (the default bash doesn't use this flag). Or, run "export DISPLAY=:0" inside each bash window that needs to support graphical output.

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.