KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

what's the control key used to leave KVM ?

6 replies [Last post]
sw2wolf
Offline
Joined: Mar 18 2009
Points: 29

I use kvm to run Windows XP in daemon mode. And i use rdesktop to connect KVM.
The host OS is archlinux in which i can use ALT+TAB to switch application. However, when entering KVM, the ALT+TAB will be captured by XP so that i cannot go back to archlinux using ALT+TAB.

Without mouse how can i switch back to host using just keyboard ?

Sincerely!

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 458
Re: control keys

Ctrl + Alt should do it.

sw2wolf
Offline
Joined: Mar 18 2009
Points: 29
Ctrl + Alt is still captured

Ctrl + Alt is still captured by XP. Using Ctrl + Alt cannot go back Host OS.

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 458
Re: Ctrl + Alt keys

Are you running KVM by command line? If so you might want to try the parameters "-k en-us" if you aren't already. Ctrl-Alt should definitely bring you out of the guest into your host.

Anonymous
$/usr/local/bin/qemu-system-x

$/usr/local/bin/qemu-system-x86_64 -M pc -m 256 -soundhw es1370 -hda /media/E/winxp.img -hdb /dev/sda7 -net nic,model=virtio -net user -localtime -vnc 127.0.0.1:0 -daemonize -redir tcp:3389::3389

$rdesktop localhost:3389 -u sw2wolf -p 123 -g 1440x880 -D -r sound:remote

After going home, i will test "-k en-us", but i feel Ctrl-Alt should still be captured by Windows XP.

I have tested -K option of rdesktop but it caused the "Alt-Tab" key cannot be used in Windows XP.

Sincerely!

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 458
Re: control keys

You're right. Kept missing that we're talking about rdesktop. Alt+tab only applies to SDL and virt-manager client. I'm investigating as I'd like to find out as well.

sw2wolf
Offline
Joined: Mar 18 2009
Points: 29
/usr/local/bin/qemu-system-x8

/usr/local/bin/qemu-system-x86_64 -m 256 -soundhw es1370 -hda /media/E/winxp.img -hdb /dev/sda7 -localtime -net nic -net user -nographic -daemonize -redir tcp:3389::3389 -boot c -k en-us &

-k en-us doesnot work as what i guessed! Up to now i have to use mouse to leave Guest OS(Windows XP) by clicking anywhere on Host desktop.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.