VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-startvm.xml@ 94660

Last change on this file since 94660 was 94660, checked in by vboxsync, 3 years ago

doc/manual,Main,Frontends: API changes in preparation for full VM encryption, guarded by VBOX_WITH_FULL_VM_ENCRYPTION (disabled by default) and returning a not supported error for now, bugref:9955

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage startvm
4
5 Copyright (C) 2006-2020 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>$Date: 2022-04-21 08:38:34 +0000 (Thu, 21 Apr 2022) $</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>&product-name;</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" rep="repeat">
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 <arg choice="plain">--password <replaceable>file</replaceable></arg>
53 <arg choice="plain">--password-id <replaceable>password identifier</replaceable></arg>
54 </cmdsynopsis>
55 </refsynopsisdiv>
56
57 <refsect1>
58 <title>Description</title>
59 <para>
60 The <command>VBoxManage startvm</command> command starts an
61 &product-name; virtual machine (VM) that is in the Powered Off or
62 Saved state.
63 </para>
64 <variablelist>
65 <varlistentry>
66 <term><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></term>
67 <listitem><para>
68 Specifies the name or Universally Unique Identifier (UUID)
69 of the VM.
70 </para></listitem>
71 </varlistentry>
72 <varlistentry>
73 <term><option>--putenv=<replaceable>name</replaceable>=<replaceable>value</replaceable></option></term>
74 <listitem><para>
75 Assigns a value to an environment variable as a name-value
76 pair. For example, VBOX_DISABLE_HOST_DISK_CACHE=1.
77 </para><para>
78 The short form of this option is <option>-E</option>.
79 </para></listitem>
80 </varlistentry>
81 <varlistentry>
82 <term><option>--type=gui | headless | sdl | separate</option></term>
83 <listitem><para>
84 Specifies the frontend used to start the VM.
85 </para><para>
86 You can use the <command>VBoxManage setproperty</command>
87 command to set a global default value for the frontend.
88 Alternatively, you can use the <command>VBoxManage
89 modifyvm</command> command to specify a default frontend
90 value for a specific VM. If neither a global or per-VM
91 default value is set and you do not specify the
92 <option>--type</option> option, then the VM opens in a
93 window on the host desktop.
94 </para><para>
95 The <option>--type</option> option accepts the following
96 values:
97 </para><variablelist>
98 <varlistentry>
99 <term><literal>gui</literal></term>
100 <listitem><para>
101 Starts a VM in a graphical user interface (GUI)
102 window. This is the default.
103 </para></listitem>
104 </varlistentry>
105 <varlistentry>
106 <term><literal>headless</literal></term>
107 <listitem><para>
108 Starts a VM for remote display only.
109 </para></listitem>
110 </varlistentry>
111 <varlistentry>
112 <term><literal>sdl</literal></term>
113 <listitem><para>
114 Starts a VM using the VBoxSDL frontend.
115 </para></listitem>
116 </varlistentry>
117 <varlistentry>
118 <term><literal>separate</literal></term>
119 <listitem><para>
120 Starts a VM with a detachable user interface (UI),
121 which means that the VM runs headless with the UI in a
122 separate process.
123 </para><para>
124 This is an experimental feature that lacks certain
125 functionality, such as 3D acceleration.
126 </para></listitem>
127 </varlistentry>
128 </variablelist></listitem>
129 </varlistentry>
130 <varlistentry>
131 <term><option>--password</option></term>
132 <listitem>
133 <para>
134 Use the <option>--password</option> to supply the encryption
135 password. Either specify the absolute pathname of a password file
136 on the host operating system, or <literal>-</literal> to prompt
137 you for the password on the command line.
138 </para>
139 </listitem>
140 </varlistentry>
141 <varlistentry>
142 <term><option>--password-id</option></term>
143 <listitem>
144 <para>
145 Use the <option>--password-id</option> option to specify the
146 id the password is supplied for.
147 </para>
148 </listitem>
149 </varlistentry>
150 </variablelist>
151 <note>
152 <para>
153 If a VM fails to start with a particular frontend and the error
154 information is inconclusive, consider starting the VM directly
155 by running the frontend. This workaround might provide
156 additional error information.
157 </para>
158 </note>
159 </refsect1>
160
161 <refsect1>
162 <title>Examples</title>
163 <remark role="help-scope" condition="GLOBAL" />
164 <para>
165 The following command starts the <literal>ol7u6</literal> VM:
166 </para>
167<screen>$ VBoxManage startvm ol7u6</screen>
168 <para>
169 The following command starts the
170 <literal>ol7u6-mininstall</literal> VM in headless mode.
171 </para>
172<screen>$ VBoxManage startvm ol7u6-mininstall --type headless</screen>
173 </refsect1>
174
175 <refsect1>
176 <title>See Also</title>
177 <para>
178<!--<xref linkend="vboxmanage-vboxheadless" />-->
179 <xref linkend="vboxheadless" />,
180 <xref linkend="vboxmanage-setproperty" />,
181 <xref linkend="vboxmanage-modifyvm" />.
182 </para>
183 </refsect1>
184</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette