Skip to content

Windows

For more information on WSL: https://docs.microsoft.com/en-us/windows/wsl

  1. Set up WSL2 using the following instructions (Ubuntu 18.04 recommended): https://docs.microsoft.com/en-us/windows/wsl/install-win10

    Proceed until a Ubuntu bash shell is available from the Windows host. Run the remaining commands in the bash shell.

  2. Install the LXDE desktop in WSL:

    Terminal window
    sudo apt-get install lxde
  3. Reboot.

  4. Install XRDP in WSL:

    Terminal window
    sudo apt-get install xrdp
  5. Open /etc/xrdp/xrdp.ini. Change port=3389 to port=3390 and save.

  6. Run:

    Terminal window
    echo startlxde > ~/.xsession
  1. Start the xrdp server:

    Terminal window
    sudo service xrdp start
  2. Open Microsoft Remote Desktop Connection in the Windows host.

  3. Connect to localhost:3390.

  4. In the next login page, leave Session as Xorg. Enter your WSL username and password and click OK.

  5. This should open an LXDE Linux desktop environment. Follow the Linux guide from here on.