VirtualBox

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

Last change on this file since 98108 was 98103, checked in by vboxsync, 2 years ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 9.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxHeadless
4-->
5<!--
6 Copyright (C) 2006-2023 Oracle and/or its affiliates.
7
8 This file is part of VirtualBox base platform packages, as
9 available from https://www.virtualbox.org.
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License
13 as published by the Free Software Foundation, in version 3 of the
14 License.
15
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <https://www.gnu.org/licenses>.
23
24 SPDX-License-Identifier: GPL-3.0-only
25-->
26<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
27 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
28<!ENTITY % all.entities SYSTEM "all-entities.ent">
29%all.entities;
30]>
31<refentry id="man_vboxheadless" lang="en">
32 <refentryinfo>
33 <pubdate>August 2019</pubdate>
34 <title>VBoxHeadless</title>
35 </refentryinfo>
36
37 <refmeta>
38 <refentrytitle>VBoxHeadless</refentrytitle>
39 <manvolnum>1</manvolnum>
40 </refmeta>
41
42 <refnamediv>
43 <refname>VBoxHeadless</refname>
44 <refpurpose>&product-name; remote desktop server</refpurpose>
45 <refclass>Oracle VM VirtualBox</refclass>
46 </refnamediv>
47
48 <refsynopsisdiv>
49 <cmdsynopsis id="synopsis-vboxmanage-vboxheadless">
50 <command>VBoxHeadless</command>
51 <arg>--startvm=<group>
52 <arg choice="plain"><replaceable>uuid</replaceable></arg>
53 <arg choice="plain"><replaceable>vmname</replaceable></arg>
54 </group></arg>
55 <arg>--vrde=<group choice="plain">
56 <arg choice="plain">on</arg>
57 <arg choice="plain">off</arg>
58 <arg choice="plain">config</arg>
59 </group></arg>
60 <arg>--vrdeproperty=<replaceable>prop-name</replaceable>=[<replaceable>prop-value</replaceable>]</arg>
61 <arg>--settingspw=[<replaceable>password</replaceable>]</arg>
62 <arg>--settingspwfile=<replaceable>password-file</replaceable></arg>
63 <arg>--start-paused=<replaceable>vmname</replaceable></arg>
64 <arg>--capture</arg>
65 <arg>--width=<replaceable>width</replaceable></arg>
66 <arg>--height=<replaceable>height</replaceable></arg>
67 <arg>--bitrate=<replaceable>bit-rate</replaceable></arg>
68 <arg>--filename=<replaceable>filename</replaceable></arg>
69 </cmdsynopsis>
70 </refsynopsisdiv>
71
72 <refsect1>
73 <title>Description</title>
74 <para>
75 The <command>VBoxHeadless</command> command is an alternate front
76 end that enables you to remotely manage virtual machines (VMs).
77 The front end is a CLI rather than the VirtualBox Manager
78 graphical user interface (GUI).
79 </para>
80 <para>
81 For information about using this command, see
82 <xref linkend="vboxheadless" />.
83 </para>
84 <refsect2 id="vboxmanage-vboxheadless-command-options">
85 <title>Command Options</title>
86 <variablelist>
87 <varlistentry>
88 <term><option>--startvm=<replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></option></term>
89 <listitem><para>
90 Specifies the Universally Unique Identifier (UUID) or name
91 of the VM to start.
92 </para><para>
93 Use the <command>VBoxManage list vms</command> command to
94 obtain VM information.
95 </para><para>
96 The short versions of this option are <option>-s</option>
97 and <option>-startvm</option>.
98 </para></listitem>
99 </varlistentry>
100 <varlistentry>
101 <term><option>--vrde=on | off | config</option></term>
102 <listitem><para>
103 Specifies how to use the VRDP server. The default value is
104 <literal>config</literal>. Valid values are as follows:
105 </para><itemizedlist>
106 <listitem><para>
107 <literal>on</literal> enables the VRDP server.
108 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=on</screen></listitem>
109 <listitem><para>
110 <literal>off</literal> disables the VRDP server.
111 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=off</screen></listitem>
112 <listitem><para>
113 <literal>config</literal> enables the VRDP server
114 depending on the VM configuration.
115 </para><screen>VBoxHeadless --startvm=<replaceable>vmname</replaceable> --vrde=config</screen></listitem>
116 </itemizedlist><para>
117 The short version of this option is <option>-v</option>.
118 </para></listitem>
119 </varlistentry>
120 <varlistentry>
121 <term><option>--vrdeproperty=<replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></option></term>
122 <listitem><para>
123 Specifies a value for one of the following properties:
124 </para><itemizedlist>
125 <listitem><para>
126 The <literal>TCP/Ports</literal> property value is a
127 comma-separated list of ports to which the VRDE server
128 can bind. Use a hyphen (<literal>-</literal>) between
129 two port numbers to specify a range of ports.
130 </para></listitem>
131 <listitem><para>
132 The <literal>TCP/Address</literal> property value is
133 the interface IP address to which to bind the VRDE
134 server.
135 </para></listitem>
136 </itemizedlist></listitem>
137 </varlistentry>
138 <varlistentry>
139 <term><option>--settingspw=[<replaceable>password</replaceable>]</option></term>
140 <listitem><para>
141 Specifies a settings password to access encrypted
142 settings. If you do not specify the password on the
143 command line, <command>VBoxHeadless</command> prompts you
144 for the password.
145 </para><remark>
146 This design does not conform to Oracle's security
147 guidelines. You should not be able to specify a password
148 on the command line because the password can be seen in a
149 process listing.
150 </remark></listitem>
151 </varlistentry>
152 <varlistentry>
153 <term><option>--settingspwfile=<replaceable>password-file</replaceable></option></term>
154 <listitem><para>
155 Specifies the file that contains the settings password.
156 </para></listitem>
157 </varlistentry>
158 <varlistentry>
159 <term><option>--start-paused=<replaceable>vmname</replaceable></option></term>
160 <listitem><para>
161 Starts the specified VM in the paused state.
162 </para></listitem>
163 </varlistentry>
164 <varlistentry>
165 <term><option>--capture</option></term>
166 <listitem><para>
167 Records the VM screen output to a file. In addition to
168 this option, you must use the <option>--filename</option>
169 option to specify the name of the file.
170 </para></listitem>
171 </varlistentry>
172 <varlistentry>
173 <term><option>--width=<replaceable>width</replaceable></option></term>
174 <listitem><para>
175 Specifies the frame width of the recording in pixels. This
176 option is associated with the <option>--capture</option>
177 option.
178 </para></listitem>
179 </varlistentry>
180 <varlistentry>
181 <term><option>--height=<replaceable>height</replaceable></option></term>
182 <listitem><para>
183 Specifies the frame height of the recording in pixels.
184 This option is associated with the
185 <option>--capture</option> option.
186 </para></listitem>
187 </varlistentry>
188 <varlistentry>
189 <term><option>--bitrate=<replaceable>bit-rate</replaceable></option></term>
190 <listitem><para>
191 Specifies the bit rate of the recording in kilobits per
192 second. This option is associated with the
193 <option>--capture</option> option.
194 </para></listitem>
195 </varlistentry>
196 <varlistentry>
197 <term><option>--filename=<replaceable>filename</replaceable></option></term>
198 <listitem><para>
199 Specifies the name of the file in which to store the
200 recording. The codec used is based on the file extension
201 that you choose. You must specify this option if you use
202 the <option>--capture</option> option.
203 </para><remark>
204 Where can we get information about the file extensions
205 that are supported?
206 </remark></listitem>
207 </varlistentry>
208 </variablelist>
209 </refsect2>
210 </refsect1>
211
212 <refsect1>
213 <title>Examples</title>
214 <remark role="help-scope" condition="GLOBAL"/>
215 <para>
216 The following command starts the <literal>ol7u4</literal> VM:
217 </para>
218<screen>$ VBoxHeadless --startvm "ol7u4"</screen>
219 <para>
220 The following command starts the <literal>ol7u6</literal> VM in
221 the Paused state.
222 </para>
223<screen>$ VBoxHeadless --startvm "ol7u6" --start-paused</screen>
224 <para>
225 The following command starts the <literal>ol7u6</literal> VM and
226 records the session. The recording is saved to the
227 <filename>ol7u6-recording</filename> WebM file.
228 </para>
229<screen>$ VBoxHeadless --startvm "ol7u6" --capture --filename ol7u6-recording.webm</screen>
230 </refsect1>
231
232 <refsect1>
233 <title>See Also</title>
234 <para>
235 <xref linkend="vboxmanage-list" />,
236 <xref linkend="vboxmanage-startvm" />
237 </para>
238 </refsect1>
239</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