I’m working on migrating my VMs in any form possible (e.g. converting / recreating) them on Hyper-V from VMware, and I’ve encountered a snag with the Enhanced Session with Ubuntu 24.10, and I’m out of my depth here.
Essentially, the guides you can find online to have an enhanced session will require you to use X11 (xrdp), which causes problems with some software (issue below). Has anyone found a way to force Hyper-V to detect the Gnome Remote Desktop RDP service? and/or to force it to use the “Enhanced Session” mode?
Issue I’m finding: When in X11, Android Studio (based on JetBrains) does not start as it requires sudo to use KVM for the emulator, yet even if I grant the user privileges to the KVM group, the emulator does not work without sudo. Rather than spending time troubleshooting X11, I am looking to use Wayland for RDP.
EDIT: Been testing a couple of things, not working yet, but at least I get Hyper-V to acknowledge that there is something for an Enhanced Session.
sudo apt install socat
sudo grdctl --system rdp set-port 3390
sudo systemctl daemon-reload
socat VSOCK-LISTEN:3389,reuseaddr,fork tcp:localhost:3390
EDIT 2: This now may be an issue with the authentication itself - Previously there were Connection reset by peer
errors if you had a username and passport to open the RDP session, but without no username or password there are no error messages - however nothing happens.