[PSA] LookingGlass with clipboard support and Libvirt without QXL

Hello LookingGlass users!

As of commit 4f8fa6e it’s now possible to have clipboard support in looking glass!

However, you may have noticed that your mouse is no longer moving properly after installing spice guest agent tools in your guest.

The problem lies with the QXL device being also present in your virtual machine (because libvirt adds it by default if you are using spice)

To fix this, we have to explicitly tell libvirt not to add a QXL device when starting the virtual machine, as disabling the QXL driver does not work reliably and may re-enable itself after several reboots.

All you have to do to remove the QXL device is replace your current video tag with this:

    <video>
      <model type='none'/>
    </video>

It’s located under: domain/devices

I hope this saves you some trouble, it took several days to figure this out myself!

4 Likes

@gnif something for the change log?

Awesome! thanks for that tidbit!

@Dynamic_Gravity , 100% it should be documented as part of the libvirt setup process. I don’t think the change log would be appropriate as it’s libvirt specific.