Skip to content

Instantly share code, notes, and snippets.

@myano
Last active Feb 20, 2020
Embed
What would you like to do?

These steps assume you have already gone through the steps of enabling the Linux Subsystem for Windows 10 and that you have installed a distribution, prferrably a Debian-based distribution such as Ubuntu.

  1. Install VcXsrv Windows X Server, https://sourceforge.net/projects/vcxsrv/
  2. Install WSL
    1. To install WSL, Open a Powershell as Administrator
    2. Run Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    3. Reboot
  3. Open up a "Command Prompt" on Windows.
  4. Run lxrun /install /y
  5. Reboot
  6. Launch "Command Prompt"
  7. Type bash and hit Enter.
  8. Run sudo apt-get -y install xfce4-terminal
    1. Wait until completed.
  9. Run sudo apt-get -y remove snapd
  10. Run sudo apt-get update
  11. Run sudo apt-get -y upgrade
  12. Create a Shortcut that launches the following command: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -Command "iex \"Ubuntu -c 'SHELL=/bin/zsh DISPLAY=:0 xfce4-terminal'\" "
  13. Launch VcXsrv.
    1. When prompted for "Select display settings", select Multiple Windows.
    2. Select "Display Number" as -1.
    3. Click Next.
    4. Select "Start no client" and then click Next.
    5. On the page for "Extra Settings," make sure the following are checked:
      1. "Clipboard"
      2. "Primary Selection"
      3. "Native opengl"
    6. Leave "Disable access control" unchecked.
    7. Click Next.
    8. On the "Configuration complete" page, you may choose to save it or just click Next.
  14. Launch the shortcut you just created.
  15. ???
  16. PROFIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment