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!
Ctrl + Alt should do it.
Ctrl + Alt is still captured by XP. Using Ctrl + Alt cannot go back Host OS.
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.
$/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!
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.
/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