Did anybody find a way to make Enhanced session work in Hyper-V (Windows 10) with an Lubuntu 18.04 LTS guest?
After creating a new VM with a fresh Lubuntu 'minimal' installation, the Basic session works fine. To get support for resizing, and shared folders and clipboard I tried enabling Enhanced session by running the
install.sh from linux-vm-tools.
However, this doesn't work as the script assumes a GNOME desktop. Has anybody been able to modify this to work with Lubuntu and LXDE? It would be very useful for single-purpose VMs, where a GNOME desktop and applications are overkill.
I've naively tried patching the
install.sh as follows, based on the environment of a running Lubuntu. But as it doesn't work, there must be some other Ubuntu-specific detail in the script that doesn't apply to Lubuntu. Anybody made it work?
61,62c61,64 < export GNOME_SHELL_SESSION_MODE=ubuntu < export XDG_CURRENT_DESKTOP=ubuntu:GNOME --- > export XDG_CURRENT_DESKTOP=LXDE > export XDG_SESSION_DESKTOP=Lubuntu > export DESKTOP_SESSION=Lubuntu > export GDMSESSION=Lubuntu