Mouse Pointer in VM Does Not Align With Real Mouse Pointer While Using VNC Console in XenApp and XenDesktop 7.x

Mouse Pointer in VM Does Not Align With Real Mouse Pointer While Using VNC Console in XenApp and XenDesktop 7.x

book

Article ID: CTX230727

calendar_today

Updated On:

Description

While using VNC console in XenApp and XenDesktop 7.x to access a VM, the mouse pointer in the VM does not align with the real mouse pointer.

User-added image

Resolution

Enable the USB controller emulation feature for existing host connections:

  1. Open Citrix Studio and select the hosting node
    rtaImage.png

  2. Edit the required hosting connection and add “DisablePerformanceOptimizations=true” in connection options.
    User-added image

This affects only the new VMs created on that hosting connection; the existing VMs are not affected. To re-enable the USB controller emulation feature for existing VMs follow the below steps:

  1. Login to the XenServer host console and find the corresponding VMs UUID using “xe vm-list” command.

  2. Include  usb=true and usb_tablet=true to platform parameter of that VM. Example:

    xe vm-param-set uuid=fdea6fd5-0ac8-146f-2075-d01a5dc6b938 platform:usb=true
    xe vm-param-set uuid=fdea6fd5-0ac8-146f-2075-d01a5dc6b938 platform:usb_tablet=true
  3. Reboot the VM.


Problem Cause

This problem is due to USB controller emulation being disabled by default in XenApp and XenDesktop 7.x and later. As a consequence, the VM falls back to use the PS2 mouse hardware which causes the mouse position to drift from the real mouse pointer as it is moved.

Issue/Introduction

While using VNC console in XenApp and XenDesktop 7.x to access a VM, the mouse pointer in the VM does not align with the real mouse pointer.