26

How to make VM in VirtualBox start headless by default? Not to press SHIFT every time to start headless...

dukasvili
  • 533
  • 1
  • 6
  • 18

2 Answers2

39

execute command

VBoxManage modifyvm "vmname" --defaultfrontend headless

refer: GUI Always Start Headless

mosquito chen
  • 506
  • 5
  • 3
10

Commenting on a relic but I think it's worth mentioning that you can set the default for all VMs to start headless by setting the global configuration via:

VBoxManage setproperty defaultfrontend headless
MMM
  • 2,652
  • 5
  • 25
  • 43
rnreekez
  • 101
  • 1
  • 2
  • 1
    thanks for that. Note that it is VBoxManage with a capital B, but I can't edit the answer because it's only 1 character difference. – Wadih M. Jun 24 '21 at 02:13