Joachim Breitner

Ctrl-Alt-F1 in VirtualBox

Published 2009-07-13 in sections English, Digital World.

If you have a Linux VirtualBox guest accessed from a Linux machine, e.g. via rdesktop, then you cannot just press Ctrl-Alt-F1 to switch to the first virtual console, as your real computer will act on it. Instead, you can use

VBoxManage controlvm VBoxMachineName keyboardputscancode 1D 38 3B 9D B8 CB 

to simulate a Ctrl-Alt-F1 keypress. For the other F-keys, you need to increase the third and last number, e.g.

VBoxManage controlvm VBoxMachineName keyboardputscancode 1D 38 3D 9D B8 CD

for Ctrl-Alt-F2.

Comments

You can press: RightCtrl + F1 and do the same as Ctrl + Alt + F1 out of the box
#1 mariodebian (Homepage) am 2009-07-13
Does that work also when using rdesktop?
#2 Joachim Breitner (Homepage) am 2009-07-13

Have something to say? You can post a comment by sending an e-Mail to me at <mail@joachim-breitner.de>, and I will include it here.