Topic Contributors
creator avatar  
mreschke
Matthew Reschke
Site Developer
Created: Feb 11th, 2009
Updated: Nov 27th, 2010
File
Download Selected (zip)
Download Selected (tar.gz)
Edit
Select All
Select None
View
Detail
Detail Preview
Icons
Preview
Show Hidden
Hide Hidden
Full Manager
Reset Defaults
Open In New Tab
Open In New Window
List Archive Contents
Download File
Open
Download Folder (as .zip)
Virtualbox in Linux
Post # 131 permalink Topic #131 by mreschke on 2009-02-11 11:47:06 (viewed 872 times)
Table of Contents

See Headless Virtualbox

When you get say, Windows XP setup in your VirtualBox virtual machine, you can easily forward ports \
from the Host OS, to the Guest OS. An example, I want to use the windows Remote Desktop to remote into \
my virtual XP installation. I open port 3389 on my router to point to my ubuntu desktop, then I forward \
that port into my guest OS.

List vms: VBoxManage list vms
List Extra Data (port forwards): VBoxManage getextradata xpserver enumerate

To forward to a machine
http://ubuntuforums.org/showthread.php?t=433359&page=37

Code Snippet
VBoxManage setextradata "NameOfTheVirtualMachine" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/Protocol" TCP
VBoxManage setextradata "NameOfTheVirtualMachine" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/GuestPort" 3389
VBoxManage setextradata "NameOfTheVirtualMachine" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/HostPort" 3389

Lots of CLI options
The VBoxManage Command has lots of options
Like to start a vm from the CLI (though still pops up the window)

Code Snippet
$ VBoxManage -startvm "Windows XP"

Try this
http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-2.0-on-a-headless-ubuntu-8.04-server

Multi Monitor
http://forum.virtualbox.org/viewtopic.php?f=1&t=17524