azurelinux
azurelinux copied to clipboard
[Feature Request] Support of Hyper-V enhanced session mode to allow copy/paste and text selection with mouse via Hyper-V Virtual Machine Connection
Is there packages to install to support mouse integration to select text and copy/paste integration when accessing Mariner 2.0 via Hyper-V Virtual Machine Connection ?
You need the Hyper-V Mouse interactivity driver installed in the kernel. It's possible to enable it by modifying the currently running kernel config file and doing a reboot. But this really should be enabled in the WSL2 kernel, which Mariner uses, with a few extra configurations. I personally enable this option myself when building a new kernel from WSL2 kernel repo.
I would like to configure a decent text mode console access to Mariner 2.0 though Hyper-V Virtual Machine Connection.
I have currently the following loaded modules :

Copy/Paste : Not working Scrolling : Not working Mouse support : Not working Text selection : Not working Hyper-V Enhanced session mode : Not working
I was also facing issue with copy/pasting with virt-manager. I found a work around with serial console.
Serial console can be enabled as mentioned in link
systemctl enable [email protected]
Post that if you are using kvm then using virsh command serial console can be accessed via terminal.
To start virtual machine with console
virsh start --console name_of_virtual_machine
To connect to already started virtual machine
virsh console name_of_virtual_machine
Another way would be to enable ssh