VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxHeadless.xml@ 96388

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

doc: comment fixing

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 9.6 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxHeadless
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="man_vboxheadless" lang="en">
22 <refentryinfo>
23 <pubdate>August 2019</pubdate>
24 <title>VBoxHeadless</title>
25 </refentryinfo>
26
27 <refmeta>
28 <refentrytitle>VBoxHeadless</refentrytitle>
29 <manvolnum>1</manvolnum>
30 </refmeta>
31
32 <refnamediv>
33 <refname>VBoxHeadless</refname>
34 <refpurpose>&product-name; remote desktop server</refpurpose>
35 <refclass>Oracle VM VirtualBox</refclass>
36 </refnamediv>
37
38 <refsynopsisdiv>
39 <cmdsynopsis id="synopsis-vboxmanage-vboxheadless">
40 <command>VBoxHeadless</command>
41 <arg>--startvm=<group>
42 <arg choice="plain"><replaceable>uuid</replaceable></arg>
43 <arg choice="plain"><replaceable>vmname</replaceable></arg>
44 </group></arg>
45 <arg>--vrde=<group choice="plain">
46 <arg choice="plain">on</arg>
47 <arg choice="plain">off</arg>
48 <arg choice="plain">config</arg>
49 </group></arg>
50 <arg>--vrdeproperty=<replaceable>prop-name</replaceable>=[<replaceable>prop-value</replaceable>]</arg>
51 <arg>--settingspw=[<replaceable>password</replaceable>]</arg>
52 <arg>--settingspwfile=<replaceable>password-file</replaceable></arg>
53 <arg>--start-paused=<replaceable>vmname</replaceable></arg>
54 <arg>--capture</arg>
55 <arg>--width=<replaceable>width</replaceable></arg>
56 <arg>--height=<replaceable>height</replaceable></arg>
57 <arg>--bitrate=<replaceable>bit-rate</replaceable></arg>
58 <arg>--filename=<replaceable>filename</replaceable></arg>
59 </cmdsynopsis>
60 </refsynopsisdiv>
61
62 <refsect1>
63 <title>Description</title>
64 <para>
65 The <command>VBoxHeadless</command> command is an alternate front
66 end that enables you to remotely manage virtual machines (VMs).
67 The front end is a CLI rather than the VirtualBox Manager
68 graphical user interface (GUI).
69 </para>
70 <para>
71 For information about using this command, see
72 <xref linkend="vboxheadless" />.
73 </para>
74 <refsect2 id="vboxmanage-vboxheadless-command-options">
75 <title>Command Options</title>
76 <variablelist>
77 <varlistentry>
78 <term><option>--startvm=<replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></option></term>
79 <listitem><para>
80 Specifies the Universally Unique Identifier (UUID) or name
81 of the VM to start.
82 </para><para>
83 Use the <command>VBoxManage list vms</command> command to
84 obtain VM information.
85 </para><para>
86 The short versions of this option are <option>-s</option>
87 and <option>-startvm</option>.
88 </para></listitem>
89 </varlistentry>
90 <varlistentry>
91 <term><option>--vrde=on | off | config</option></term>
92 <listitem><para>
93 Specifies how to use the VRDP server. The default value is
94 <literal>config</literal>. Valid values are as follows:
95 </para><itemizedlist>
96 <listitem><para>
97 <literal>on</literal> enables the VRDP server.
98 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=on</screen></listitem>
99 <listitem><para>
100 <literal>off</literal> disables the VRDP server.
101 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=off</screen></listitem>
102 <listitem><para>
103 <literal>config</literal> enables the VRDP server
104 depending on the VM configuration.
105 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=config</screen></listitem>
106 </itemizedlist><para>
107 The short version of this option is <option>-v</option>.
108 </para></listitem>
109 </varlistentry>
110 <varlistentry>
111 <term><option>--vrdeproperty=<replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></option></term>
112 <listitem><para>
113 Specifies a value for one of the following properties:
114 </para><itemizedlist>
115 <listitem><para>
116 The <literal>TCP/Ports</literal> property value is a
117 comma-separated list of ports to which the VRDE server
118 can bind. Use a hyphen (<literal>-</literal>) between
119 two port numbers to specify a range of ports.
120 </para></listitem>
121 <listitem><para>
122 The <literal>TCP/Address</literal> property value is
123 the interface IP address to which to bind the VRDE
124 server.
125 </para></listitem>
126 </itemizedlist></listitem>
127 </varlistentry>
128 <varlistentry>
129 <term><option>--settingspw=[<replaceable>password</replaceable>]</option></term>
130 <listitem><para>
131 Specifies a settings password to access encrypted
132 settings. If you do not specify the password on the
133 command line, <command>VBoxHeadless</command> prompts you
134 for the password.
135 </para><remark>
136 This design does not conform to Oracle's security
137 guidelines. You should not be able to specify a password
138 on the command line because the password can be seen in a
139 process listing.
140 </remark></listitem>
141 </varlistentry>
142 <varlistentry>
143 <term><option>--settingspwfile=<replaceable>password-file</replaceable></option></term>
144 <listitem><para>
145 Specifies the file that contains the settings password.
146 </para></listitem>
147 </varlistentry>
148 <varlistentry>
149 <term><option>--start-paused=<replaceable>vmname</replaceable></option></term>
150 <listitem><para>
151 Starts the specified VM in the paused state.
152 </para></listitem>
153 </varlistentry>
154 <varlistentry>
155 <term><option>--capture</option></term>
156 <listitem><para>
157 Records the VM screen output to a file. In addition to
158 this option, you must use the <option>--filename</option>
159 option to specify the name of the file.
160 </para></listitem>
161 </varlistentry>
162 <varlistentry>
163 <term><option>--width=<replaceable>width</replaceable></option></term>
164 <listitem><para>
165 Specifies the frame width of the recording in pixels. This
166 option is associated with the <option>--capture</option>
167 option.
168 </para></listitem>
169 </varlistentry>
170 <varlistentry>
171 <term><option>--height=<replaceable>height</replaceable></option></term>
172 <listitem><para>
173 Specifies the frame height of the recording in pixels.
174 This option is associated with the
175 <option>--capture</option> option.
176 </para></listitem>
177 </varlistentry>
178 <varlistentry>
179 <term><option>--bitrate=<replaceable>bit-rate</replaceable></option></term>
180 <listitem><para>
181 Specifies the bit rate of the recording in kilobits per
182 second. This option is associated with the
183 <option>--capture</option> option.
184 </para></listitem>
185 </varlistentry>
186 <varlistentry>
187 <term><option>--filename=<replaceable>filename</replaceable></option></term>
188 <listitem><para>
189 Specifies the name of the file in which to store the
190 recording. The codec used is based on the file extension
191 that you choose. You must specify this option if you use
192 the <option>--capture</option> option.
193 </para><remark>
194 Where can we get information about the file extensions
195 that are supported?
196 </remark></listitem>
197 </varlistentry>
198 </variablelist>
199 </refsect2>
200 </refsect1>
201
202 <refsect1>
203 <title>Examples</title>
204 <remark role="help-scope" condition="GLOBAL"/>
205 <para>
206 The following command starts the <literal>ol7u4</literal> VM:
207 </para>
208<screen>$ VBoxHeadless --startvm "ol7u4"</screen>
209 <para>
210 The following command starts the <literal>ol7u6</literal> VM in
211 the Paused state.
212 </para>
213<screen>$ VBoxHeadless --startvm "ol7u6" --start-paused</screen>
214 <para>
215 The following command starts the <literal>ol7u6</literal> VM and
216 records the session. The recording is saved to the
217 <filename>ol7u6-recording</filename> WebM file.
218 </para>
219<screen>$ VBoxHeadless --startvm "ol7u6" --capture --filename ol7u6-recording.webm</screen>
220 </refsect1>
221
222 <refsect1>
223 <title>See Also</title>
224 <para>
225 <xref linkend="vboxmanage-list" />,
226 <xref linkend="vboxmanage-startvm" />
227 </para>
228 </refsect1>
229</refentry>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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