1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage startvm
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2019 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
16 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
17 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
18 | %all.entities;
|
---|
19 | ]>
|
---|
20 | <refentry id="vboxmanage-startvm" lang="en">
|
---|
21 | <refentryinfo>
|
---|
22 | <pubdate>August 2019</pubdate>
|
---|
23 | <title>VBoxManage startvm</title>
|
---|
24 | </refentryinfo>
|
---|
25 |
|
---|
26 | <refmeta>
|
---|
27 | <refentrytitle>VBoxManage-startvm</refentrytitle>
|
---|
28 | <manvolnum>1</manvolnum>
|
---|
29 | </refmeta>
|
---|
30 |
|
---|
31 | <refnamediv>
|
---|
32 | <refname>VBoxManage-startvm</refname>
|
---|
33 | <refpurpose>start a virtual machine</refpurpose>
|
---|
34 | <refclass>Oracle VM VirtualBox</refclass>
|
---|
35 | </refnamediv>
|
---|
36 |
|
---|
37 | <refsynopsisdiv>
|
---|
38 | <cmdsynopsis id="synopsis-vboxmanage-startvm">
|
---|
39 | <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
40 | <command>VBoxManage startvm</command>
|
---|
41 | <group choice="req">
|
---|
42 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
43 | <arg choice="plain"><replaceable>vmname</replaceable></arg>
|
---|
44 | </group>
|
---|
45 | <arg>--putenv=<replaceable>name</replaceable>[=<replaceable>value</replaceable>]</arg>
|
---|
46 | <arg>--type=<group>
|
---|
47 | <arg choice="plain">gui</arg>
|
---|
48 | <arg choice="plain">headless</arg>
|
---|
49 | <arg choice="plain">sdl</arg>
|
---|
50 | <arg choice="plain">separate</arg>
|
---|
51 | </group></arg>
|
---|
52 | </cmdsynopsis>
|
---|
53 | </refsynopsisdiv>
|
---|
54 |
|
---|
55 | <refsect1>
|
---|
56 | <title>Description</title>
|
---|
57 | <para>
|
---|
58 | The <command>VBoxManage startvm</command> command starts an
|
---|
59 | &product-name; virtual machine (VM) that is in the Powered Off or
|
---|
60 | Saved state.
|
---|
61 | </para>
|
---|
62 | <variablelist>
|
---|
63 | <varlistentry>
|
---|
64 | <term><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></term>
|
---|
65 | <listitem><para>
|
---|
66 | Specifies the name or Universally Unique Identifier (UUID)
|
---|
67 | of the VM.
|
---|
68 | </para></listitem>
|
---|
69 | </varlistentry>
|
---|
70 | <varlistentry>
|
---|
71 | <term><option>--putenv=<replaceable>name</replaceable>=<replaceable>value</replaceable></option></term>
|
---|
72 | <listitem><para>
|
---|
73 | Assigns a value to an environment variable as a name-value
|
---|
74 | pair. For example, VBOX_DISABLE_HOST_DISK_CACHE=1.
|
---|
75 | </para><para>
|
---|
76 | The short form of this option is <option>-E</option>.
|
---|
77 | </para></listitem>
|
---|
78 | </varlistentry>
|
---|
79 | <varlistentry>
|
---|
80 | <term><option>--type=gui | headless | sdl | separate</option></term>
|
---|
81 | <listitem><para>
|
---|
82 | Specifies the frontend used to start the VM.
|
---|
83 | </para><para>
|
---|
84 | You can use the <command>VBoxManage setproperty</command>
|
---|
85 | command to set a global default value for the frontend.
|
---|
86 | Alternatively, you can use the <command>VBoxManage
|
---|
87 | modifyvm</command> command to specify a default frontend
|
---|
88 | value for a specific VM. If neither a global or per-VM
|
---|
89 | default value is set and you do not specify the
|
---|
90 | <option>--type</option> option, then the VM opens in a
|
---|
91 | window on the host desktop.
|
---|
92 | </para><para>
|
---|
93 | The <option>--type</option> option accepts the following
|
---|
94 | values:
|
---|
95 | </para><variablelist>
|
---|
96 | <varlistentry>
|
---|
97 | <term><literal>gui</literal></term>
|
---|
98 | <listitem><para>
|
---|
99 | Starts a VM in a graphical user interface (GUI)
|
---|
100 | window. This is the default.
|
---|
101 | </para></listitem>
|
---|
102 | </varlistentry>
|
---|
103 | <varlistentry>
|
---|
104 | <term><literal>headless</literal></term>
|
---|
105 | <listitem><para>
|
---|
106 | Starts a VM for remote display only.
|
---|
107 | </para></listitem>
|
---|
108 | </varlistentry>
|
---|
109 | <varlistentry>
|
---|
110 | <term><literal>sdl</literal></term>
|
---|
111 | <listitem><para>
|
---|
112 | Starts a VM using the VBoxSDL frontend.
|
---|
113 | </para></listitem>
|
---|
114 | </varlistentry>
|
---|
115 | <varlistentry>
|
---|
116 | <term><literal>separate</literal></term>
|
---|
117 | <listitem><para>
|
---|
118 | Starts a VM with a detachable user interface (UI),
|
---|
119 | which means that the VM runs headless with the UI in a
|
---|
120 | separate process.
|
---|
121 | </para><para>
|
---|
122 | This is an experimental feature that lacks certain
|
---|
123 | functionality, such as 3D acceleration.
|
---|
124 | </para></listitem>
|
---|
125 | </varlistentry>
|
---|
126 | </variablelist></listitem>
|
---|
127 | </varlistentry>
|
---|
128 | </variablelist>
|
---|
129 | <note>
|
---|
130 | <para>
|
---|
131 | If a VM fails to start with a particular frontend and the error
|
---|
132 | information is inconclusive, consider starting the VM directly
|
---|
133 | by running the frontend. This workaround might provide
|
---|
134 | additional error information.
|
---|
135 | </para>
|
---|
136 | </note>
|
---|
137 | </refsect1>
|
---|
138 |
|
---|
139 | <refsect1>
|
---|
140 | <title>Examples</title>
|
---|
141 | <remark role="help-scope" condition="GLOBAL" />
|
---|
142 | <para>
|
---|
143 | The following command starts the <literal>ol7u6</literal> VM:
|
---|
144 | </para>
|
---|
145 | <screen>$ VBoxManage startvm ol7u6</screen>
|
---|
146 | <para>
|
---|
147 | The following command starts the
|
---|
148 | <literal>ol7u6-mininstall</literal> VM in headless mode.
|
---|
149 | </para>
|
---|
150 | <screen>$ VBoxManage startvm ol7u6-mininstall --type headless</screen>
|
---|
151 | </refsect1>
|
---|
152 |
|
---|
153 | <refsect1>
|
---|
154 | <title>See Also</title>
|
---|
155 | <para>
|
---|
156 | <!--<xref linkend="vboxmanage-vboxheadless" />-->
|
---|
157 | <xref linkend="vboxheadless" />,
|
---|
158 | <xref linkend="vboxmanage-setproperty" />,
|
---|
159 | <xref linkend="vboxmanage-modifyvm" />.
|
---|
160 | </para>
|
---|
161 | </refsect1>
|
---|
162 | </refentry>
|
---|