Responsive image
Date 2020-03-22 19:50

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, preferably a Debian-based distribution such as Ubuntu.

  1. Install VcXsrv Windows X Server, https://sourceforge.net/projects/vcxsrv/
  2. Enable WSL
    1. To enable WSL, Open a Powershell as Administrator
    2. Run Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    3. Reboot
  3. Install WSL on OLDER Versions of Windows
    1. Open up a "Command Prompt" on Windows.
    2. Run lxrun /install /y
  4. Install WSL on NEWER Versions of Windows (where lxrun isn't available)
    1. Open up a "PowerShell" on Windows as the user you want to use WSL as.
    2. Run Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing
    3. Run Rename-Item .\Ubuntu.appx .\Ubuntu.zip
    4. Run Expand-Archive .\Ubuntu.zip .\Ubuntu
    5. Run .\ubuntu2004.exe
  5. Launch "Command Prompt"
  6. Type bash and hit Enter.
  7. Run sudo apt-get -y install xfce4-terminal
    1. Wait until completed.
  8. Run sudo apt-get -y remove snapd
  9. Run sudo apt-get update
  10. Run sudo apt-get -y upgrade
  11. Create a Shortcut that launches the following command: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -Command "iex \"Ubuntu -c 'SHELL=/bin/bash DISPLAY=:0 xfce4-terminal'\" "
  12. 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.
  13. Launch the shortcut you just created.
  14. ???
  15. PROFIT

Comments

comments powered by Disqus

where randomness meets the internet


~ About me ~
just a human doing random things
~ Follow me ~
~ GitHub Recent Activity ~

Status updating...

@myano on GitHub