VirtualBox

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

最後變更 在這個檔案從96300是 96300,由 vboxsync 提交於 3 年 前

doc: comment fixing

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

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