nleblanc88 Posted March 4, 2015 Share Posted March 4, 2015 I'm running Windows 8 in a VM, but it's displaying two cursors when accessing the VM from VNC. Has anyone run into this problem before? XML posted below. Note: I'm very new to KVM for virtualization, so I'm sure I'm doing something wrong, I just don't know what. <domain type='kvm'> <name>Windows8</name> <uuid>cc411d70-4463-4db7-bf36-d364c0cdaa8f</uuid> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>2</vcpu> <os> <type arch='x86_64' machine='pc-q35-2.2'>hvm</type> <loader type='rom'>/usr/share/qemu/bios-256k.bin</loader> <boot dev='cdrom'/> </os> <features> <acpi/> <apic eoi='on'/> <pae/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='2' threads='2'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='yes'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Apps/VirtualMachines/Windows8/Windows8.img'/> <target dev='hda' bus='ide'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Apps/en-gb_windows_8.1_with_update_x64_dvd_6051481.iso'/> <target dev='hdc' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> <controller type='ide' index='0'/> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='bridge'> <mac address='a0:14:35:01:97:35'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5901' autoport='no' websocket='-1' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </memballoon> </devices> </domain> Thank you for your help. Quote Link to comment
CHBMB Posted March 4, 2015 Share Posted March 4, 2015 Yeah it's your local and your remote cursor... If I'm doing any prolonged work with a VM then I get a dedicated client app, as you're using Windows RDP would be the easiest. RDP = Remote Desktop Protocol. Quote Link to comment
dmacias Posted March 4, 2015 Share Posted March 4, 2015 I'm running Windows 8 in a VM, but it's displaying two cursors when accessing the VM from VNC. Has anyone run into this problem before? XML posted below. Note: I'm very new to KVM for virtualization, so I'm sure I'm doing something wrong, I just don't know what. <domain type='kvm'> <name>Windows8</name> <uuid>cc411d70-4463-4db7-bf36-d364c0cdaa8f</uuid> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>2</vcpu> <os> <type arch='x86_64' machine='pc-q35-2.2'>hvm</type> <loader type='rom'>/usr/share/qemu/bios-256k.bin</loader> <boot dev='cdrom'/> </os> <features> <acpi/> <apic eoi='on'/> <pae/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='2' threads='2'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='yes'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Apps/VirtualMachines/Windows8/Windows8.img'/> <target dev='hda' bus='ide'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Apps/en-gb_windows_8.1_with_update_x64_dvd_6051481.iso'/> <target dev='hdc' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> <controller type='ide' index='0'/> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='bridge'> <mac address='a0:14:35:01:97:35'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5901' autoport='no' websocket='-1' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </memballoon> </devices> </domain> Thank you for your help. Add this to your xml and the cursor will track better. <input type='tablet' bus='usb'/> Quote Link to comment
nleblanc88 Posted March 4, 2015 Author Share Posted March 4, 2015 Thank you both. @CHBMB I was going to use RDP, but was having trouble setting it up due to the double cursor problem. @dmacias I'll give this a shot tonight, then set up RDP once I'm able for a better experience. Quote Link to comment
jonp Posted March 4, 2015 Share Posted March 4, 2015 Thank you both. @CHBMB I was going to use RDP, but was having trouble setting it up due to the double cursor problem. @dmacias I'll give this a shot tonight, then set up RDP once I'm able for a better experience. dmacias' solution is the right one. There are two cursor modes when accessing a VM: absolute and relative. Absolute movement is what you want, as it locks the cursor in the VNC session to your cursor on the local desktop / laptop you're using for management (or tablet for that matter). Relative is for...well...I honestly don't know it's intended use. It seems like there really isn't a situation in which it makes sense to use it, but I'm sure I just haven't come across it yet. Anyway, what dmacias has suggested will put you in absolute mode and solve your "double cursor" problem. Quote Link to comment
tucansam Posted May 18, 2018 Share Posted May 18, 2018 To awaken an old thread..... My xml file already has "<input type='tablet' bus='usb'/>" but I a getting the relative cursor, and cannot change it. Quote Link to comment
BobPhoenix Posted May 19, 2018 Share Posted May 19, 2018 May not help but try setting scaling on the VNC window to "Local Scaling" if it is currently set at NONE or "Remote Resizing". Quote Link to comment
TRusselo Posted May 15, 2023 Share Posted May 15, 2023 I had to edit my xml from ``` <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> ``` to ``` <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> ``` fixed for me Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.