Windows
WSL (with Ubuntu + LXDE)
Section titled “WSL (with Ubuntu + LXDE)”For more information on WSL: https://docs.microsoft.com/en-us/windows/wsl
Setting up
Section titled “Setting up”-
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.
-
Install the LXDE desktop in WSL:
Terminal window sudo apt-get install lxde -
Reboot.
-
Install XRDP in WSL:
Terminal window sudo apt-get install xrdp -
Open
/etc/xrdp/xrdp.ini. Changeport=3389toport=3390and save. -
Run:
Terminal window echo startlxde > ~/.xsession
Running
Section titled “Running”-
Start the xrdp server:
Terminal window sudo service xrdp start -
Open Microsoft Remote Desktop Connection in the Windows host.
-
Connect to
localhost:3390. -
In the next login page, leave Session as
Xorg. Enter your WSL username and password and click OK. -
This should open an LXDE Linux desktop environment. Follow the Linux guide from here on.