Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

VirtualBox has a window showing the display of the guest OS. I am connecting to VirtualBox with Remote Desktop, so I don't need VirtualBox to show that window in the host OS.

Of course, I can minimize it, but is there a way to tell VirtualBox not to display that window?

share|improve this question
add comment

3 Answers 3

up vote 18 down vote accepted

First, make sure that the Virtual Box binaries are in your path. This is done by default on Linux, but in Windows, you might have to manually add the installation directory's bin folder to your path.

Then, you need to know either your Guest OS name or UUID number. You can find both of these by typing

VBoxManage list vms

into a terminal. From there, simply type

VBoxHeadless -s <Guest-OS-Name>

or

VBoxHeadless -s <UUID>

This launches the VM without attaching its display to a window. Now all you have to do is set this command as a boot-time service that runs in the background, and you'll be set.

share|improve this answer
2  
Is there a way to add this as a parameter (or something) to the machines settings? –  MrGlass Aug 15 '12 at 16:30
add comment

Old question, but an update is in order:

As of VirtualBox 4.2, you can start a headless machine from the GUI by holding shift while you click the "Start" button.

Horribly unintuitive, but that, and other new features, are outlined in an Oracle blog post.

share|improve this answer
2  
Awesome, great tip! –  Sam Apr 25 '13 at 20:10
    
thanks that helped. –  Hemant Jan 6 at 8:40
    
How to open the window after I start a headless machine ? –  wener Apr 10 at 1:21
add comment

You can tell VirtualBox to start the VM in headless mode, not using the gui start button - but its the same.

VBoxManage startvm <guest-os-name> --type headless
share|improve this answer
    
That works excellent for windows. –  antitoxic Apr 3 '13 at 19:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.