TODO: write up some ansible to automate this stuff
pro-tips:
make sure to create a gen 2 hyper-v virtual machine (vsock functionality is not available to gen 1 VMs)
make sure to update the /etc/xrdp/xrdp.ini with:
port=vsock://-1:3389
use_vsock=false
don't install lastpass in chrome inside of ubuntu using enhanced session -- the plugin has a security feature that prevents (RDP/enhanced session) typing. To resolve this, I had to uninstall the lastpass plugin from chrome, and reboot the VM in order to type into any application running in the VM again.
https://medium.com/@labappengineering/ubuntu-20-04-on-hyper-v-8888fe3ced64