Results 1 to 5 of 5

Thread: Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

  1. #1
    Join Date
    Jun 2023
    Beans
    2

    Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

    Recently installed Ubuntu v 23.04 via Hyper V on Windows 11 64bit. The installation goes smoothly, and the guest is restarted. Once restarted, I am able to login. Once logged in, the mouse stops working. Looking at the lower right hand corner of the 'RDP' window, I noticed it says 'Mouse Not Captured'. Doing my research, I have seen people disable 'Enhanced Session Mode' - Didn't work, Run sudo apt upgrade - After all upgrades completed, mouse still doesn't work, Open VMConnect with the attempt to save my settings in the 'Options' area - Options are not available, so this doesn't work, Attempting to update the kernel via the text area - Appears to work, but the mouse is still not being captured. I use a Logitech MX Master 3S wireless mouse connected via Bolt receiver (No firmware updates are available).

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

    << This should be moved to the Virtualization Section >>

    Let me boot as Windows > Hyper-V and look at this... Be right back.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

    It is not an Ubuntu 23.04 thing, it's actually a Hyper-V / RDP thing...

    Yes. On some VM's in Hyper-V, when viewing the VM with RDP, which the Hyper-V VM viewer uses that protocol when on a Windows OS, it sometimes get an error where it pops up a dialog box saying that it couldn't capture the mouse... This is a problem with Hyper-V's RDP enchanced session and what used to be referred to as their VM Guest integration services.

    Basically, you either disable the enhanced session for the VM, or if you need to use the enhanced abilities given by the 'enhanced session', you physically pass-through the USB mouse as a shared, local (remote to the VM Guest) device in the RDP Session...

    Do you need instructions to do either of those?

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  4. #4
    Join Date
    Jun 2023
    Beans
    2

    Re: Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

    Hi -

    I ended up removing version 23.04 and installing version 22.02 LTS instead. This seems to have fixed my mouse issue. Just a side note, before I rolled back, I tried to get the mouse to work with disabling Enhanced Session as well as enabling Enhanced Session. Both times I still experienced the same issue.

  5. #5
    Join Date
    May 2021
    Beans
    7

    Re: Windows 11 Hyper V Installation (Ubuntu 23.04) - Mouse Not Captured

    I found this page which shows how a 23.04 server can easily be turned into a "desktop" version. I just tried it on Windows Server 2019 HyperV, and I can confirm that it is working.

    Code:
    sudo apt -y install ubuntu-desktop
    
    sudo apt -y install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
    I say "desktop" as it's not 100% identical to the real desktop version - but at least it's running.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •