Running VirtualBox as service

You can run your VirtualBox virtual machine as a service and use a Terminal Services client to connect to it remotely.

First, make it have a real IP and accept remote connections as described here.

Then go to the text console (e.g. pressing CTRL+ALT+F1) , log in with the respective username and run Virtual Box “headless” like this:

VBoxVRDP -startvm "MS Windows XP" &

where the last part is the actual name of your virtual machine (just look it up beforehand in the VirtualBox GUI).

Then type

exit

and you will log out of the shell while the virtual machine will continue to run in the background, available for connection using a Remote Desktop software.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s