Search for Ubuntu in the Microsoft Store (I only tested this system. If someone likes to toss, they can also try other systems, such as SUSE and Debian). The process of installing Ubuntu in the application page is very simple, just like installing software.
Search for Ubuntu in Cortana in the lower left corner, and click to enter. The interface you see is just like our terminal interface in Ubuntu. Test the LS command in this window, and it is correct.
Windows 10 Linux subsystem graphical interface
Update
sudo apt-get update
Install xorg
sudo apt-get install xorg
Install xfce4
sudo apt-get install xfce4
Installing xrdp
sudo apt-get install xrdp
Configuring xrdp
sudo sed -i ‘s/port=3389/port=3390/g’ /etc/xrdp/ xrdp.ini
Above is the configuration port
Write xfce4 session to xsession
sudo echo xfce4-session >~/.xsession
Restart xrdp service
sudo service xrdp restart
If there is a firewall, just allow it.
Search for remote desktop connection in Cortana, click enter, input local IP: port, and subsystem user name (in step 2, before the @ symbol in the terminal window)
Graphical interface of Linux subsystem under Windows 10
graphical interface of Linux subsystem under Windows 10
login is successful, and the graphical interface of Ubuntu is displayed.
Graphical interface of Linux subsystem under Windows 10
Xrdp should be started in the terminal before each remote connection, and the window cannot be closed.