wget https://raw.githubusercontent.com/Microsoft/linux-vm-tools/master/ubuntu/18.04/install.sh
sudo chmod +x install.sh
sudo ./install.sh
sudo reboot
sudo ./install.sh
sudo nano /etc/xrdp/xrdp.ini
Изменить настройки
port=vsock://-1:3389
use_vsock=false
В powershell
Set-VM -VMName ubuntu -EnhancedSessionTransportType HvSocket
Видео: