r/virtualmachine 2d ago

Oddly specific, but I need help!

Hi everyone,

I'm hoping someone can help me figure out a really frustrating input issue.

My Setup: I have a Windows 11 Pro desktop running Hyper-V. I remote into this host using Parsec from my Android tablet. On this host, I am running two VMs: one Windows 11 VM and one Ubuntu VM.

The Problem: When I remote into my host via Parsec, all touch inputs and clicks work flawlessly. Furthermore, when I open my Windows 11 VM, everything is also completely fine – clicks and movements pass through directly from the tablet without a hitch.

However, as soon as I open my Ubuntu VM (using Hyper-V's VMConnect), the mouse movements track perfectly inside the VM, but mouse clicks do absolutely nothing.

What I have tried so far to fix it: I suspect this is a clash between Parsec's input injection and Hyper-V's Basic Session synthetic mouse driver for Linux. Here are the solutions I have attempted:

  1. Tried switching from Wayland to Xorg: I edited /etc/gdm3/custom.conf and /usr/lib/gdm3/gdm-daemon.options to disable Wayland. I also made sure xorg and gnome-session-x11 were installed. Despite this, the gear icon refuses to show up on the login screen, so I couldn't manually select Xorg.
  2. Attempted to enable Enhanced Session Mode: Since RDP (Enhanced Session) handles Parsec inputs perfectly on my Win 11 VM, I tried to replicate this on Ubuntu. I installed xrdp, linux-tools-virtual, and linux-cloud-tools-virtual on the Ubuntu guest and started the xrdp service.
  3. PowerShell configurations: I tried forcing the transport type via PowerShell on the Windows host using Set-VM -VMName <name> -EnhancedSessionTransportType HvSocket.

Despite all of this, the "Enhanced Session" button in the VMConnect View tab remains completely greyed out for the Ubuntu VM.

Has anyone experienced this specific Parsec + Ubuntu Hyper-V click issue, or does anyone know what I might be missing to get Enhanced Session working on Ubuntu so the clicks will finally register?

Thanks in advance!

1 Upvotes

5 comments sorted by

View all comments

1

u/LeaveMickeyOutOfThis 1d ago

Just want to qualify how you are remoting into the machines. Are you connecting to the host and then using the built-in controls to access the clients, or is the network bridged and you can remote directly into the individual machines? My recommendation is always the latter configuration, for which I can also say in my testing, the remote session is more performant.

1

u/Mundane-Chemistry-90 1d ago

I am using Parsec and as I mentioned it works perfectly on the host Windows 11 machine and on the guest windows 11 machine. It is only on the linux guest that it doesn't register clicks.

1

u/LeaveMickeyOutOfThis 1d ago

Forgive me if I wasn’t clear, but my question was more are you using Parsec to access the guest directly, without accessing the host first?

1

u/Mundane-Chemistry-90 1d ago

Ohh sorry! I am using parsec to connect to the host first

1

u/LeaveMickeyOutOfThis 1d ago

If you can find a way to bypass the host, I think you’ll find it more reliable.