View previous topic :: View next topic |
Author |
Message |
friesia Apprentice
Joined: 23 Mar 2007 Posts: 202
|
Posted: Sun Dec 22, 2013 9:24 pm Post subject: Mouse not moving in QEMU guest |
|
|
I have a problem moving the mouse in a guest QEMU machine.
The pointer is not grabbed by Guest OS (Linux), however it does react to
pressing right mouse button (popup menu appears).
Keyboard works well.
This is how I launch it:
Code: | qemu-kvm \
-cpu kvm64 \
-drive file=bluecrimson.raw,cache=none,if=virtio \
-net nic,model=virtio \
-net user,net=192.168.5.0/24 \
-m 2048M \
-vga std \
-monitor stdio \
-usbdevice mouse \
-name "bluecrimson (Chakra)" \
-boot d \
-cdrom ~/optic/UNIX/chakra-2013.09-fritz-x86_64.iso
|
The ISO used here is Chakra Linux distro live CD.
On the host I run app-emulation/qemu 1.6.1 in KDE 4.12 environment.
I also tried without "-usbdevice mouse".
Any ideas how to make the mouse pointer move?
I see both the host and guest pointers, but guest pointer won't move and clicking left button does nothing. |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Mon Dec 23, 2013 1:31 am Post subject: |
|
|
It's the key combination Ctrl+Alt who change mouse and keyboard grab by the host or the guest. When it's the guest who grab, there is a message in the title bar who explain how to return the control to the host.
Have you try without the -monitor option? You can try other live cd/dvd/usb in case the one you use cause the issue? _________________ Paul |
|
Back to top |
|
|
friesia Apprentice
Joined: 23 Mar 2007 Posts: 202
|
Posted: Mon Dec 23, 2013 7:09 am Post subject: |
|
|
When I boot Ubuntu live CD, initially there's no mouse pointer in guest.
If I click on the window, the pointer appears in the middle of the guest, but does not move. Nothing happens to host's pointer, it moves as before.
Ctrl-Alt does not do anything.
Yes, I tried without -monitor and with 2 Chakra images and 1 Ubuntu image. |
|
Back to top |
|
|
logistiker n00b
Joined: 16 Jun 2008 Posts: 41
|
Posted: Thu Apr 03, 2014 7:29 pm Post subject: |
|
|
ctrl+alt used to work but for some reason they decided to change it to ctrl+alt+g in newer versions of qemu. Personally I liked ctrl+alt better. |
|
Back to top |
|
|
|