← 返回命令列表

Linux command

vboxmanage-startvm 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Start VM with GUI

vboxmanage startvm [vmname]

Start headless

vboxmanage startvm [vmname] --type headless

Start with separate

vboxmanage startvm [vmname] --type separate

Start VM by UUID

vboxmanage startvm [670e746d-abea-4ba6-ad02-2a3b043810a5]

Set environment variable

vboxmanage startvm [vmname] --putenv "[DISPLAY=:0.0]"

说明

vboxmanage startvm starts a virtual machine that is currently in the Powered Off or Saved state. The VM can be specified by name or UUID. Supports GUI mode (default), headless (no window), and separate (detachable GUI). Use headless for server VMs.

参数

--type _type_
Frontend type: gui (default, shows window), headless (no window, remote display only), separate (detachable UI).
--putenv _name_=_value_
Set an environment variable for the VM process.

FAQ

What is the vboxmanage-startvm command used for?

vboxmanage startvm starts a virtual machine that is currently in the Powered Off or Saved state. The VM can be specified by name or UUID. Supports GUI mode (default), headless (no window), and separate (detachable GUI). Use headless for server VMs.

How do I run a basic vboxmanage-startvm example?

Run `vboxmanage startvm [vmname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --type _type_ do in vboxmanage-startvm?

Frontend type: gui (default, shows window), headless (no window, remote display only), separate (detachable UI).