Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse not moving in QEMU guest
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
friesia
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 202

PostPosted: Sun Dec 22, 2013 9:24 pm    Post subject: Mouse not moving in QEMU guest Reply with quote

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
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Mon Dec 23, 2013 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
friesia
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 202

PostPosted: Mon Dec 23, 2013 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
logistiker
n00b
n00b


Joined: 16 Jun 2008
Posts: 41

PostPosted: Thu Apr 03, 2014 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum