VirtualBox

source: vbox/trunk/doc/manual/en_US/user_Introduction.xml@ 61526

Last change on this file since 61526 was 61526, checked in by vboxsync, 9 years ago

doc/manual: updated a few more constraints

  • Property svn:mergeinfo set to (toggle deleted branches)
    /branches/VBox-4.0/doc/manual/en_US/user_Introduction.xml71214
    /branches/VBox-4.2/doc/manual/en_US/user_Introduction.xml91503-91504,​91506-91508,​91510,​91514-91515,​91521
    /branches/VBox-4.3/doc/manual/en_US/user_Introduction.xml91223
    /branches/VBox-4.3/trunk/doc/manual/en_US/user_Introduction.xml91223
    /branches/VBox-5.0/doc/manual/en_US/user_Introduction.xml104445
    /branches/dsen/gui/doc/manual/en_US/user_Introduction.xml79076-79078,​79089,​79109-79110,​79112-79113,​79127-79130,​79134,​79141,​79151,​79155,​79157-79159,​79193,​79197
    /branches/dsen/gui2/doc/manual/en_US/user_Introduction.xml79224,​79228,​79233,​79235,​79258,​79262-79263,​79273,​79341,​79345,​79354,​79357,​79387-79388,​79559-79569,​79572-79573,​79578,​79581-79582,​79590-79591,​79598-79599,​79602-79603,​79605-79606,​79632,​79635,​79637,​79644
    /branches/dsen/gui3/doc/manual/en_US/user_Introduction.xml79645-79692
File size: 86.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4<chapter id="Introduction">
5 <title>First steps</title>
6
7 <para>Welcome to @VBOX_PRODUCT@!</para>
8
9 <para>VirtualBox is a cross-platform virtualization application. What does
10 that mean? For one thing, it installs on your existing Intel or AMD-based
11 computers, whether they are running Windows, Mac, Linux or Solaris operating
12 systems. Secondly, it extends the capabilities of your existing computer so
13 that it can run multiple operating systems (inside multiple virtual
14 machines) at the same time. So, for example, you can run Windows and Linux
15 on your Mac, run Windows Server 2008 on your Linux server, run Linux on your
16 Windows PC, and so on, all alongside your existing applications. You can
17 install and run as many virtual machines as you like -- the only practical
18 limits are disk space and memory.</para>
19
20 <para>VirtualBox is deceptively simple yet also very powerful. It can run
21 everywhere from small embedded systems or desktop class machines all the way
22 up to datacenter deployments and even Cloud environments.</para>
23
24 <para>The following screenshot shows you how VirtualBox, installed on a Mac
25 computer, is running Windows 8 in a virtual machine window:</para>
26
27 <para><mediaobject>
28 <imageobject>
29 <imagedata align="center" fileref="images/vm-vista-running.png"
30 width="14cm" />
31 </imageobject>
32 </mediaobject></para>
33
34 <para>In this User Manual, we'll begin simply with a quick introduction to
35 virtualization and how to get your first virtual machine running with the
36 easy-to-use VirtualBox graphical user interface. Subsequent chapters will go
37 into much more detail covering more powerful tools and features, but
38 fortunately, it is not necessary to read the entire User Manual before you
39 can use VirtualBox.</para>
40
41 <para>You can find a summary of VirtualBox's capabilities in <xref
42 linkend="features-overview" />. For existing VirtualBox users who just want
43 to see what's new in this release, there is a detailed list in <xref
44 linkend="ChangeLog" />.</para>
45
46 <sect1>
47 <title>Why is virtualization useful?</title>
48
49 <para>The techniques and features that VirtualBox provides are useful for
50 several scenarios:</para>
51
52 <itemizedlist>
53 <listitem>
54 <para><emphasis role="bold">Running multiple operating systems
55 simultaneously.</emphasis> VirtualBox allows you to run more than one
56 operating system at a time. This way, you can run software written for
57 one operating system on another (for example, Windows software on
58 Linux or a Mac) without having to reboot to use it. Since you can
59 configure what kinds of "virtual" hardware should be presented to each
60 such operating system, you can install an old operating system such as
61 DOS or OS/2 even if your real computer's hardware is no longer
62 supported by that operating system.</para>
63 </listitem>
64
65 <listitem>
66 <para><emphasis role="bold">Easier software installations.</emphasis>
67 Software vendors can use virtual machines to ship entire software
68 configurations. For example, installing a complete mail server
69 solution on a real machine can be a tedious task. With VirtualBox,
70 such a complex setup (then often called an "appliance") can be packed
71 into a virtual machine. Installing and running a mail server becomes
72 as easy as importing such an appliance into VirtualBox.</para>
73 </listitem>
74
75 <listitem>
76 <para><emphasis role="bold">Testing and disaster recovery.</emphasis>
77 Once installed, a virtual machine and its virtual hard disks can be
78 considered a "container" that can be arbitrarily frozen, woken up,
79 copied, backed up, and transported between hosts.</para>
80
81 <para>On top of that, with the use of another VirtualBox feature
82 called "snapshots", one can save a particular state of a virtual
83 machine and revert back to that state, if necessary. This way, one can
84 freely experiment with a computing environment. If something goes
85 wrong (e.g. after installing misbehaving software or infecting the
86 guest with a virus), one can easily switch back to a previous snapshot
87 and avoid the need of frequent backups and restores.</para>
88
89 <para>Any number of snapshots can be created, allowing you to travel
90 back and forward in virtual machine time. You can delete snapshots
91 while a VM is running to reclaim disk space.</para>
92 </listitem>
93
94 <listitem>
95 <para><emphasis role="bold">Infrastructure consolidation.</emphasis>
96 Virtualization can significantly reduce hardware and electricity
97 costs. Most of the time, computers today only use a fraction of their
98 potential power and run with low average system loads. A lot of
99 hardware resources as well as electricity is thereby wasted. So,
100 instead of running many such physical computers that are only
101 partially used, one can pack many virtual machines onto a few powerful
102 hosts and balance the loads between them.</para>
103 </listitem>
104 </itemizedlist>
105 </sect1>
106
107 <sect1 id="virtintro">
108 <title>Some terminology</title>
109
110 <para>When dealing with virtualization (and also for understanding the
111 following chapters of this documentation), it helps to acquaint oneself
112 with a bit of crucial terminology, especially the following terms:</para>
113
114 <glosslist>
115 <glossentry>
116 <glossterm>Host operating system (host OS).</glossterm>
117
118 <glossdef>
119 <para>This is the operating system of the physical computer on which
120 VirtualBox was installed. There are versions of VirtualBox for
121 Windows, Mac OS X, Linux and Solaris hosts; for details, please see
122 <xref linkend="hostossupport" />.</para>
123
124 <para>Most of the time, this User Manual discusses all VirtualBox
125 versions together. There may be platform-specific differences which
126 we will point out where appropriate.</para>
127 </glossdef>
128 </glossentry>
129
130 <glossentry>
131 <glossterm>Guest operating system (guest OS).</glossterm>
132
133 <glossdef>
134 <para>This is the operating system that is running inside the
135 virtual machine. Theoretically, VirtualBox can run any x86 operating
136 system (DOS, Windows, OS/2, FreeBSD, OpenBSD), but to achieve
137 near-native performance of the guest code on your machine, we had to
138 go through a lot of optimizations that are specific to certain
139 operating systems. So while your favorite operating system
140 <emphasis>may</emphasis> run as a guest, we officially support and
141 optimize for a select few (which, however, include the most common
142 ones).</para>
143
144 <para>See <xref linkend="guestossupport" /> for details.</para>
145 </glossdef>
146 </glossentry>
147
148 <glossentry>
149 <glossterm>Virtual machine (VM).</glossterm>
150
151 <glossdef>
152 <para>This is the special environment that VirtualBox creates for
153 your guest operating system while it is running. In other words, you
154 run your guest operating system "in" a VM. Normally, a VM will be
155 shown as a window on your computer's desktop, but depending on which
156 of the various frontends of VirtualBox you use, it can be displayed
157 in full screen mode or remotely on another computer.</para>
158
159 <para>In a more abstract way, internally, VirtualBox thinks of a VM
160 as a set of parameters that determine its behavior. They include
161 hardware settings (how much memory the VM should have, what hard
162 disks VirtualBox should virtualize through which container files,
163 what CDs are mounted etc.) as well as state information (whether the
164 VM is currently running, saved, its snapshots etc.). These settings
165 are mirrored in the VirtualBox Manager window as well as the
166 <computeroutput>VBoxManage</computeroutput> command line program;
167 see <xref linkend="vboxmanage" />. In other words, a VM is also what
168 you can see in its settings dialog.</para>
169 </glossdef>
170 </glossentry>
171
172 <glossentry>
173 <glossterm>Guest Additions.</glossterm>
174
175 <glossdef>
176 <para>This refers to special software packages which are shipped
177 with VirtualBox but designed to be installed
178 <emphasis>inside</emphasis> a VM to improve performance of the guest
179 OS and to add extra features. This is described in detail in <xref
180 linkend="guestadditions" />.</para>
181 </glossdef>
182 </glossentry>
183 </glosslist>
184 </sect1>
185
186 <sect1 id="features-overview">
187 <title>Features overview</title>
188
189 <para>Here's a brief outline of VirtualBox's main features:</para>
190
191 <itemizedlist>
192 <listitem>
193 <para><emphasis role="bold">Portability.</emphasis> VirtualBox runs on
194 a large number of 32-bit and 64-bit host operating systems (again, see
195 <xref linkend="hostossupport" /> for details).</para>
196
197 <para>VirtualBox is a so-called "hosted" hypervisor (sometimes
198 referred to as a "type 2" hypervisor). Whereas a "bare-metal" or "type
199 1" hypervisor would run directly on the hardware, VirtualBox requires
200 an existing operating system to be installed. It can thus run
201 alongside existing applications on that host.</para>
202
203 <para>To a very large degree, VirtualBox is functionally identical on
204 all of the host platforms, and the same file and image formats are
205 used. This allows you to run virtual machines created on one host on
206 another host with a different host operating system; for example, you
207 can create a virtual machine on Windows and then run it under
208 Linux.</para>
209
210 <para>In addition, virtual machines can easily be imported and
211 exported using the Open Virtualization Format (OVF, see <xref
212 linkend="ovf" />), an industry standard created for this purpose. You
213 can even import OVFs that were created with a different virtualization
214 software.</para>
215 </listitem>
216
217 <listitem>
218 <para><emphasis role="bold">No hardware virtualization
219 required.</emphasis> For many scenarios, VirtualBox does not require
220 the processor features built into newer hardware like Intel VT-x or
221 AMD-V. As opposed to many other virtualization solutions, you can
222 therefore use VirtualBox even on older hardware where these features
223 are not present. The technical details are explained in <xref
224 linkend="hwvirt" />.</para>
225 </listitem>
226
227 <listitem>
228 <para><emphasis role="bold">Guest Additions: shared folders, seamless
229 windows, 3D virtualization.</emphasis> The VirtualBox Guest Additions
230 are software packages which can be installed
231 <emphasis>inside</emphasis> of supported guest systems to improve
232 their performance and to provide additional integration and
233 communication with the host system. After installing the Guest
234 Additions, a virtual machine will support automatic adjustment of
235 video resolutions, seamless windows, accelerated 3D graphics and more.
236 The Guest Additions are described in detail in <xref
237 linkend="guestadditions" />.</para>
238
239 <para>In particular, Guest Additions provide for "shared folders",
240 which let you access files from the host system from within a guest
241 machine. Shared folders are described in <xref
242 linkend="sharedfolders" />.</para>
243 </listitem>
244
245 <listitem>
246 <para><emphasis role="bold">Great hardware support.</emphasis> Among
247 others, VirtualBox supports:</para>
248
249 <itemizedlist>
250 <listitem>
251 <para><emphasis role="bold">Guest multiprocessing
252 (SMP).</emphasis> VirtualBox can present up to 32 virtual CPUs to
253 each virtual machine, irrespective of how many CPU cores are
254 physically present on your host.</para>
255 </listitem>
256
257 <listitem>
258 <para><emphasis role="bold">USB device support.</emphasis>
259 VirtualBox implements a virtual USB controller and allows you to
260 connect arbitrary USB devices to your virtual machines without
261 having to install device-specific drivers on the host. USB support
262 is not limited to certain device categories. For details, see
263 <xref linkend="settings-usb" />.</para>
264 </listitem>
265
266 <listitem>
267 <para><emphasis role="bold">Hardware compatibility.</emphasis>
268 VirtualBox virtualizes a vast array of virtual devices, among them
269 many devices that are typically provided by other virtualization
270 platforms. That includes IDE, SCSI and SATA hard disk controllers,
271 several virtual network cards and sound cards, virtual serial and
272 parallel ports and an Input/Output Advanced Programmable Interrupt
273 Controller (I/O APIC), which is found in many modern PC systems.
274 This eases cloning of PC images from real machines and importing
275 of third-party virtual machines into VirtualBox.</para>
276 </listitem>
277
278 <listitem>
279 <para><emphasis role="bold">Full ACPI support.</emphasis> The
280 Advanced Configuration and Power Interface (ACPI) is fully
281 supported by VirtualBox. This eases cloning of PC images from real
282 machines or third-party virtual machines into VirtualBox. With its
283 unique <emphasis role="bold">ACPI power status support,</emphasis>
284 VirtualBox can even report to ACPI-aware guest operating systems
285 the power status of the host. For mobile systems running on
286 battery, the guest can thus enable energy saving and notify the
287 user of the remaining power (e.g. in full screen modes).</para>
288 </listitem>
289
290 <listitem>
291 <para><emphasis role="bold">Multiscreen resolutions.</emphasis>
292 VirtualBox virtual machines support screen resolutions many times
293 that of a physical screen, allowing them to be spread over a large
294 number of screens attached to the host system.</para>
295 </listitem>
296
297 <listitem>
298 <para><emphasis role="bold">Built-in iSCSI support.</emphasis>
299 This unique feature allows you to connect a virtual machine
300 directly to an iSCSI storage server without going through the host
301 system. The VM accesses the iSCSI target directly without the
302 extra overhead that is required for virtualizing hard disks in
303 container files. For details, see <xref
304 linkend="storage-iscsi" />.</para>
305 </listitem>
306
307 <listitem>
308 <para><emphasis role="bold">PXE Network boot.</emphasis> The
309 integrated virtual network cards of VirtualBox fully support
310 remote booting via the Preboot Execution Environment (PXE).</para>
311 </listitem>
312 </itemizedlist>
313 </listitem>
314
315 <listitem>
316 <para><emphasis role="bold">Multigeneration branched
317 snapshots.</emphasis> VirtualBox can save arbitrary snapshots of the
318 state of the virtual machine. You can go back in time and revert the
319 virtual machine to any such snapshot and start an alternative VM
320 configuration from there, effectively creating a whole snapshot tree.
321 For details, see <xref linkend="snapshots" />. You can create and
322 delete snapshots while the virtual machine is running.</para>
323 </listitem>
324
325 <listitem>
326 <para><emphasis role="bold">VM groups.</emphasis> VirtualBox provides a
327 groups feature that enables the user to organize and control virtual machines
328 collectively, as well as individually. In addition to basic groups, it
329 is also possible for any VM to be in more than one group, and for
330 groups to be nested in a hierarchy -- i.e. groups of groups. In
331 general, the operations that can be performed on groups are the same as
332 those that can be applied to individual VMs i.e. Start, Pause, Reset,
333 Close (Save state, Send Shutdown, Poweroff), Discard Saved State, Show
334 in fileSystem, Sort.</para>
335 </listitem>
336
337 <listitem>
338 <para><emphasis role="bold">Clean architecture; unprecedented
339 modularity.</emphasis> VirtualBox has an extremely modular design with
340 well-defined internal programming interfaces and a clean separation of
341 client and server code. This makes it easy to control it from several
342 interfaces at once: for example, you can start a VM simply by clicking
343 on a button in the VirtualBox graphical user interface and then
344 control that machine from the command line, or even remotely. See
345 <xref linkend="frontends" /> for details.</para>
346
347 <para>Due to its modular architecture, VirtualBox can also expose its
348 full functionality and configurability through a comprehensive
349 <emphasis role="bold">software development kit (SDK),</emphasis> which
350 allows for integrating every aspect of VirtualBox with other software
351 systems. Please see <xref linkend="VirtualBoxAPI" /> for
352 details.</para>
353 </listitem>
354
355 <listitem>
356 <para><emphasis role="bold">Remote machine display.</emphasis> The
357 VirtualBox Remote Desktop Extension (VRDE) allows for high-performance
358 remote access to any running virtual machine. This extension supports
359 the Remote Desktop Protocol (RDP) originally built into Microsoft
360 Windows, with special additions for full client USB support.</para>
361
362 <para>The VRDE does not rely on the RDP server that is built into
363 Microsoft Windows; instead, it is plugged directly into the
364 virtualization layer. As a result, it works with guest operating
365 systems other than Windows (even in text mode) and does not require
366 application support in the virtual machine either. The VRDE is
367 described in detail in <xref linkend="vrde" />.</para>
368
369 <para>On top of this special capacity, VirtualBox offers you more
370 unique features:<itemizedlist>
371 <listitem>
372 <para><emphasis role="bold">Extensible RDP
373 authentication.</emphasis> VirtualBox already supports Winlogon
374 on Windows and PAM on Linux for RDP authentication. In addition,
375 it includes an easy-to-use SDK which allows you to create
376 arbitrary interfaces for other methods of authentication; see
377 <xref linkend="vbox-auth" /> for details.</para>
378 </listitem>
379
380 <listitem>
381 <para><emphasis role="bold">USB over RDP.</emphasis> Via RDP
382 virtual channel support, VirtualBox also allows you to connect
383 arbitrary USB devices locally to a virtual machine which is
384 running remotely on a VirtualBox RDP server; see <xref
385 linkend="usb-over-rdp" /> for details.</para>
386 </listitem>
387 </itemizedlist></para>
388 </listitem>
389 </itemizedlist>
390 </sect1>
391
392 <sect1 id="hostossupport">
393 <title>Supported host operating systems</title>
394
395 <para>Currently, VirtualBox runs on the following host operating
396 systems:</para>
397
398 <itemizedlist>
399 <listitem>
400 <para><emphasis role="bold">Windows</emphasis> hosts:<itemizedlist>
401 <listitem>
402 <para>Windows Vista SP1 and later (32-bit and 64-bit<footnote>
403 <para>Support for 64-bit Windows was added with VirtualBox
404 1.5.</para>
405 </footnote>).</para>
406 </listitem>
407
408 <listitem>
409 <para>Windows Server 2008 (64-bit)</para>
410 </listitem>
411
412 <listitem>
413 <para>Windows Server 2008 R2 (64-bit)</para>
414 </listitem>
415
416 <listitem>
417 <para>Windows 7 (32-bit and 64-bit)</para>
418 </listitem>
419
420 <listitem>
421 <para>Windows 8 (32-bit and 64-bit)</para>
422 </listitem>
423
424 <listitem>
425 <para>Windows 8.1 (32-bit and 64-bit)</para>
426 </listitem>
427
428 <listitem>
429 <para>Windows 10 RTM build 10240 (32-bit and 64-bit)</para>
430 </listitem>
431
432 <listitem>
433 <para>Windows Server 2012 (64-bit)</para>
434 </listitem>
435
436 <listitem>
437 <para>Windows Server 2012 R2 (64-bit)</para>
438 </listitem>
439
440 </itemizedlist></para>
441 </listitem>
442
443 <listitem>
444 <para><emphasis role="bold">Mac OS X</emphasis> hosts (64-bit):<footnote>
445 <para>Preliminary Mac OS X support (beta stage) was added with
446 VirtualBox 1.4, full support with 1.6. Mac OS X 10.4 (Tiger)
447 support was removed with VirtualBox 3.1. Support for Mac OS X 10.7 (Lion)
448 and earlier was removed with VirtualBox 5.0. Support for Mac OS X 10.8
449 (Mountain Lion) was removed with VirtualBox 5.1.</para>
450 </footnote></para>
451
452 <itemizedlist>
453
454 <listitem>
455 <para>10.9 (Mavericks)</para>
456 </listitem>
457
458 <listitem>
459 <para>10.10 (Yosemite)</para>
460 </listitem>
461
462 <listitem>
463 <para>10.11 (El Capitan)</para>
464 </listitem>
465
466 </itemizedlist>
467
468 <para>Intel hardware is required; please see <xref
469 linkend="KnownIssues" /> also.</para>
470 </listitem>
471
472 <listitem>
473 <para><emphasis role="bold">Linux</emphasis> hosts (32-bit and
474 64-bit<footnote>
475 <para>Support for 64-bit Linux was added with VirtualBox
476 1.4.</para>
477 </footnote>). Among others, this includes:<itemizedlist>
478 <listitem>
479 <para>Ubuntu 10.04 to 16.04</para>
480 </listitem>
481
482 <listitem>
483 <para>Debian GNU/Linux 6.0 ("Squeeze") and 8.0 ("Jessie")</para>
484 </listitem>
485
486 <listitem>
487 <para>Oracle Enterprise Linux 5, Oracle Linux 6 and 7</para>
488 </listitem>
489
490 <listitem>
491 <para>Redhat Enterprise Linux 5, 6 and 7</para>
492 </listitem>
493
494 <listitem>
495 <para>Fedora Core / Fedora 6 to 24</para>
496 </listitem>
497
498 <listitem>
499 <para>Gentoo Linux</para>
500 </listitem>
501
502 <listitem>
503 <para>openSUSE 11.4 to 13.2</para>
504 </listitem>
505
506 </itemizedlist></para>
507
508 <para>It should be possible to use VirtualBox on most systems based on
509 Linux kernel 2.6 or 3.x using either the VirtualBox installer or by doing a
510 manual installation; see <xref linkend="install-linux-host" />. However,
511 the formally tested and supported Linux distributions are those for
512 which we offer a dedicated package.</para>
513
514 <para>Note that starting with VirtualBox 2.1, Linux 2.4-based host
515 operating systems are no longer supported.</para>
516 </listitem>
517
518 <listitem>
519 <para><emphasis role="bold">Solaris</emphasis> hosts (64-bit only) are
520 supported with the restrictions listed in <xref
521 linkend="KnownIssues" />:<itemizedlist>
522 <listitem>
523 <para>Solaris 11</para>
524 </listitem>
525
526 <listitem>
527 <para>Solaris 10 (U10 and higher)</para>
528 </listitem>
529 </itemizedlist></para>
530 </listitem>
531 </itemizedlist>
532 <para>Note that the above list is informal. Oracle support for customers
533 who have a support contract is limited to a subset of the listed host
534 operating systems. Also, any feature which is marked as <emphasis
535 role="bold">experimental</emphasis> is not supported. Feedback and
536 suggestions about such features are welcome.</para>
537 </sect1>
538
539 <sect1 id="intro-installing">
540 <title>Installing VirtualBox and extension packs</title>
541
542 <para>VirtualBox comes in many different packages, and installation
543 depends on your host operating system. If you have installed software
544 before, installation should be straightforward: on each host platform,
545 VirtualBox uses the installation method that is most common and easy to
546 use. If you run into trouble or have special requirements, please refer to
547 <xref linkend="installation" /> for details about the various installation
548 methods.</para>
549
550 <para>Starting with version 4.0, VirtualBox is split into several
551 components.<orderedlist>
552 <listitem>
553 <para>The base package consists of all open-source components and is
554 licensed under the GNU General Public License V2.</para>
555 </listitem>
556
557 <listitem>
558 <para>Additional extension packs can be downloaded which extend the
559 functionality of the VirtualBox base package. Currently, Oracle
560 provides the one extension pack, which can be found at <ulink
561 url="http://www.virtualbox.org">http://www.virtualbox.org</ulink>
562 and provides the following added functionality:<orderedlist>
563 <listitem>
564 <para>The virtual USB 2.0 (EHCI) device; see <xref
565 linkend="settings-usb" />.</para>
566 </listitem>
567
568 <listitem>
569 <para>The virtual USB 3.0 (xHCI) device; see <xref
570 linkend="settings-usb" />.</para>
571 </listitem>
572
573 <listitem>
574 <para>VirtualBox Remote Desktop Protocol (VRDP) support; see
575 <xref linkend="vrde" />.</para>
576 </listitem>
577
578 <listitem>
579 <para>Host webcam passthrough; see chapter <xref
580 linkend="webcam-passthrough" />.</para>
581 </listitem>
582
583 <listitem>
584 <para>Intel PXE boot ROM.</para>
585 </listitem>
586
587 <listitem>
588 <para>Experimental support for PCI passthrough on Linux hosts;
589 see <xref linkend="pcipassthrough" />.</para>
590 </listitem>
591
592 <listitem>
593 <para>Disk image encryption with AES algorithm;
594 see <xref linkend="diskencryption" />.</para>
595 </listitem>
596 </orderedlist></para>
597
598 <para>VirtualBox extension packages have a
599 <computeroutput>.vbox-extpack</computeroutput> file name extension.
600 To install an extension, simply double-click on the package file
601 and a Network Operations Manager window will appear, guiding you
602 through the required steps.</para>
603
604 <para>To view the extension packs that are currently installed,
605 please start the VirtualBox Manager (see the next section). From the
606 "File" menu, please select "Preferences". In the window that shows
607 up, go to the "Extensions" category which shows you the extensions
608 which are currently installed and allows you to remove a package or
609 add a new one.</para>
610
611 <para>Alternatively you can use VBoxManage on the command line: see
612 <xref linkend="vboxmanage-extpack" /> for details.</para>
613 </listitem>
614 </orderedlist></para>
615 </sect1>
616
617 <sect1>
618 <title>Starting VirtualBox</title>
619
620 <para>After installation, you can start VirtualBox as
621 follows:<itemizedlist>
622 <listitem>
623 <para>On a Windows host, in the standard "Programs" menu, click on
624 the item in the "VirtualBox" group. On Vista or Windows 7, you can
625 also type "VirtualBox" in the search box of the "Start" menu.</para>
626 </listitem>
627
628 <listitem>
629 <para>On a Mac OS X host, in the Finder, double-click on the
630 "VirtualBox" item in the "Applications" folder. (You may want to
631 drag this item onto your Dock.)</para>
632 </listitem>
633
634 <listitem>
635 <para>On a Linux or Solaris host, depending on your desktop
636 environment, a "VirtualBox" item may have been placed in either the
637 "System" or "System Tools" group of your "Applications" menu.
638 Alternatively, you can type
639 <computeroutput>VirtualBox</computeroutput> in a terminal.</para>
640 </listitem>
641 </itemizedlist></para>
642
643 <para>When you start VirtualBox for the first time, a window like the
644 following should come up:</para>
645
646 <para><mediaobject>
647 <imageobject>
648 <imagedata align="center" fileref="images/virtualbox-main-empty.png"
649 width="10cm" />
650 </imageobject>
651 </mediaobject>This window is called the <emphasis
652 role="bold">"VirtualBox Manager".</emphasis> On the left, you can see a
653 pane that will later list all your virtual machines. Since you have not
654 created any, the list is empty. A row of buttons above it allows you to
655 create new VMs and work on existing VMs, once you have some. The pane on
656 the right displays the properties of the virtual machine currently
657 selected, if any. Again, since you don't have any machines yet, the pane
658 displays a welcome message.</para>
659
660 <para>To give you an idea what VirtualBox might look like later, after you
661 have created many machines, here's another example:</para>
662
663 <para><mediaobject>
664 <imageobject>
665 <imagedata align="center" fileref="images/virtualbox-main.png"
666 width="10cm" />
667 </imageobject>
668 </mediaobject></para>
669 </sect1>
670
671 <sect1 id="gui-createvm">
672 <title>Creating your first virtual machine</title>
673
674 <para>Click on the "New" button at the top of the VirtualBox Manager
675 window. A wizard will pop up to guide you through setting up a new virtual
676 machine (VM):</para>
677
678 <para><mediaobject>
679 <imageobject>
680 <imagedata align="center" fileref="images/create-vm-1.png"
681 width="10cm" />
682 </imageobject>
683 </mediaobject>On the following pages, the wizard will ask you for the
684 bare minimum of information that is needed to create a VM, in
685 particular:<orderedlist>
686 <listitem>
687 <para>The <emphasis role="bold">VM name</emphasis> will later be
688 shown in the VM list of the VirtualBox Manager window, and it will
689 be used for the VM's files on disk. Even though any name could be
690 used, keep in mind that once you have created a few VMs, you will
691 appreciate if you have given your VMs rather informative names; "My
692 VM" would thus be less useful than "Windows XP SP2 with
693 OpenOffice".</para>
694 </listitem>
695
696 <listitem>
697 <para>For <emphasis role="bold">"Operating System Type",</emphasis>
698 select the operating system that you want to install later. The
699 supported operating systems are grouped; if you want to install
700 something very unusual that is not listed, select "Other". Depending
701 on your selection, VirtualBox will enable or disable certain VM
702 settings that your guest operating system may require. This is
703 particularly important for 64-bit guests (see <xref
704 linkend="intro-64bitguests" />). It is therefore recommended to
705 always set it to the correct value.</para>
706 </listitem>
707
708 <listitem>
709 <para>On the next page, select the <emphasis role="bold">memory
710 (RAM)</emphasis> that VirtualBox should allocate every time the
711 virtual machine is started. The amount of memory given here will be
712 taken away from your host machine and presented to the guest
713 operating system, which will report this size as the (virtual)
714 computer's installed RAM.</para>
715
716 <para><note>
717 <para>Choose this setting carefully! The memory you give to the
718 VM will not be available to your host OS while the VM is
719 running, so do not specify more than you can spare. For example,
720 if your host machine has 1 GB of RAM and you enter 512 MB as the
721 amount of RAM for a particular virtual machine, while that VM is
722 running, you will only have 512 MB left for all the other
723 software on your host. If you run two VMs at the same time, even
724 more memory will be allocated for the second VM (which may not
725 even be able to start if that memory is not available). On the
726 other hand, you should specify as much as your guest OS (and
727 your applications) will require to run properly.</para>
728 </note></para>
729
730 <para>A Windows XP guest will require at least a few hundred MB RAM
731 to run properly, and Windows Vista will even refuse to install with
732 less than 512 MB. Of course, if you want to run graphics-intensive
733 applications in your VM, you may require even more RAM.</para>
734
735 <para>So, as a rule of thumb, if you have 1 GB of RAM or more in
736 your host computer, it is usually safe to allocate 512 MB to each
737 VM. But, in any case, make sure you always have at least 256 to 512
738 MB of RAM left on your host operating system. Otherwise you may
739 cause your host OS to excessively swap out memory to your hard disk,
740 effectively bringing your host system to a standstill.</para>
741
742 <para>As with the other settings, you can change this setting later,
743 after you have created the VM.</para>
744 </listitem>
745
746 <listitem>
747 <para>Next, you must specify a <emphasis role="bold">virtual hard
748 disk</emphasis> for your VM.</para>
749
750 <para>There are many and potentially complicated ways in which
751 VirtualBox can provide hard disk space to a VM (see <xref
752 linkend="storage" /> for details), but the most common way is to use
753 a large image file on your "real" hard disk, whose contents
754 VirtualBox presents to your VM as if it were a complete hard disk.
755 This file represents an entire hard disk then, so you can even copy
756 it to another host and use it with another VirtualBox
757 installation.</para>
758
759 <para>The wizard shows you the following window:</para>
760
761 <para><mediaobject>
762 <imageobject>
763 <imagedata align="center" fileref="images/create-vm-2.png"
764 width="10cm" />
765 </imageobject>
766 </mediaobject></para>
767
768 <para>Here you have the following options:</para>
769
770 <para><itemizedlist>
771 <listitem>
772 <para>To create a new, empty virtual hard disk, press the
773 <emphasis role="bold">"New"</emphasis> button.</para>
774 </listitem>
775
776 <listitem>
777 <para>You can pick an <emphasis
778 role="bold">existing</emphasis> disk image file.</para>
779
780 <para>The <emphasis role="bold">drop-down list</emphasis>
781 presented in the window contains all disk images which are
782 currently remembered by VirtualBox, probably because they are
783 currently attached to a virtual machine (or have been in the
784 past).</para>
785
786 <para>Alternatively, you can click on the small <emphasis
787 role="bold">folder button</emphasis> next to the drop-down
788 list to bring up a standard file dialog, which allows you to
789 pick any disk image file on your host disk.</para>
790 </listitem>
791 </itemizedlist>Most probably, if you are using VirtualBox for the
792 first time, you will want to create a new disk image. Hence, press
793 the "New" button.</para>
794
795 <para>This brings up another window, the <emphasis
796 role="bold">"Create New Virtual Disk Wizard",</emphasis> which helps
797 you create a new disk image file in the new virtual machine's
798 folder.</para>
799
800 <para>VirtualBox supports two types of image files:<itemizedlist>
801 <listitem>
802 <para>A <emphasis role="bold">dynamically allocated
803 file</emphasis> will only grow in size when the guest actually
804 stores data on its virtual hard disk. It will therefore
805 initially be small on the host hard drive and only later grow
806 to the size specified as it is filled with data.</para>
807 </listitem>
808
809 <listitem>
810 <para>A <emphasis role="bold">fixed-size file</emphasis> will
811 immediately occupy the file specified, even if only a fraction
812 of the virtual hard disk space is actually in use. While
813 occupying much more space, a fixed-size file incurs less
814 overhead and is therefore slightly faster than a dynamically
815 allocated file.</para>
816 </listitem>
817 </itemizedlist></para>
818
819 <para>For details about the differences, please refer to <xref
820 linkend="vdidetails" />.</para>
821
822 <para>To prevent your physical hard disk from running full,
823 VirtualBox limits the size of the image file. Still, it needs to be
824 large enough to hold the contents of your operating system and the
825 applications you want to install -- for a modern Windows or Linux
826 guest, you will probably need several gigabytes for any serious
827 use. The limit of the image file size can be changed later (see <xref
828 linkend="vboxmanage-modifyvdi"/> for details).</para>
829
830 <mediaobject>
831 <imageobject>
832 <imagedata align="center" fileref="images/create-vdi-1.png"
833 width="10cm" />
834 </imageobject>
835 </mediaobject>
836
837 <para>After having selected or created your image file, again press
838 <emphasis role="bold">"Next"</emphasis> to go to the next
839 page.</para>
840 </listitem>
841
842 <listitem>
843 <para>After clicking on <emphasis role="bold">"Finish"</emphasis>,
844 your new virtual machine will be created. You will then see it in
845 the list on the left side of the Manager window, with the name you
846 entered initially.</para>
847 </listitem>
848 </orderedlist></para>
849
850 <note><para>After becoming familiar with the use of wizards, consider using
851 the Expert Mode available in some wizards. Where available, this is
852 selectable using a button, and speeds up user processes using
853 wizards.</para></note>
854 </sect1>
855
856 <sect1>
857 <title>Running your virtual machine</title>
858
859 <para>To start a virtual machine, you have several options:<itemizedlist>
860 <listitem>
861 <para>Double-click on its entry in the list within the Manager
862 window or</para>
863 </listitem>
864
865 <listitem>
866 <para>select its entry in the list in the Manager window it and
867 press the "Start" button at the top or</para>
868 </listitem>
869
870 <listitem>
871 <para>for virtual machines created with VirtualBox 4.0 or later,
872 navigate to the "VirtualBox VMs" folder in your system user's home
873 directory, find the subdirectory of the machine you want to start
874 and double-click on the machine settings file (with a
875 <computeroutput>.vbox</computeroutput> file extension).</para>
876 </listitem>
877 </itemizedlist></para>
878
879 <para>This opens up a new window, and the virtual machine which you
880 selected will boot up. Everything which would normally be seen on the
881 virtual system's monitor is shown in the window, as can be seen with the
882 image in <xref linkend="virtintro" />.</para>
883
884 <para>In general, you can use the virtual machine much like you would use
885 a real computer. There are couple of points worth mentioning
886 however.</para>
887
888 <sect2>
889 <title>Starting a new VM for the first time</title>
890
891 <para>When a VM gets started for the first time, another wizard -- the
892 <emphasis role="bold">"First Start Wizard"</emphasis> -- will pop up to
893 help you select an <emphasis role="bold">installation medium</emphasis>.
894 Since the VM is created empty, it would otherwise behave just like a
895 real computer with no operating system installed: it will do nothing and
896 display an error message that no bootable operating system was
897 found.</para>
898
899 <para>For this reason, the wizard helps you select a medium to install
900 an operating system from.</para>
901
902 <itemizedlist>
903 <listitem>
904 <para>If you have physical CD or DVD media from which you want to
905 install your guest operating system (e.g. in the case of a Windows
906 installation CD or DVD), put the media into your host's CD or DVD
907 drive.</para>
908
909 <para>Then, in the wizard's drop-down list of installation media,
910 select <emphasis role="bold">"Host drive"</emphasis> with the
911 correct drive letter (or, in the case of a Linux host, device file).
912 This will allow your VM to access the media in your host drive, and
913 you can proceed to install from there.</para>
914 </listitem>
915
916 <listitem>
917 <para>If you have downloaded installation media from the Internet in
918 the form of an ISO image file (most probably in the case of a Linux
919 distribution), you would normally burn this file to an empty CD or
920 DVD and proceed as just described. With VirtualBox however, you can
921 skip this step and mount the ISO file directly. VirtualBox will then
922 present this file as a CD or DVD-ROM drive to the virtual machine,
923 much like it does with virtual hard disk images.</para>
924
925 <para>For this case, the wizard's drop-down list contains a list of
926 installation media that were previously used with VirtualBox.</para>
927
928 <para>If your medium is not in the list (especially if you are using
929 VirtualBox for the first time), select the small folder icon next to
930 the drop-down list to bring up a standard file dialog, with which
931 you can pick the image file on your host disks.</para>
932 </listitem>
933 </itemizedlist>
934
935 <para>In both cases, after making the choices in the wizard, you will be
936 able to install your operating system.</para>
937 </sect2>
938
939 <sect2 id="keyb_mouse_normal">
940 <title>Capturing and releasing keyboard and mouse</title>
941
942 <para>As of version 3.2, VirtualBox provides a virtual USB tablet device
943 to new virtual machines through which mouse events are communicated to
944 the guest operating system. As a result, if you are running a modern
945 guest operating system that can handle such devices, mouse support may
946 work out of the box without the mouse being "captured" as described
947 below; see <xref linkend="settings-motherboard" /> for more
948 information.</para>
949
950 <para>Otherwise, if the virtual machine only sees standard PS/2 mouse
951 and keyboard devices, since the operating system in the virtual machine
952 does not "know" that it is not running on a real computer, it expects to
953 have exclusive control over your keyboard and mouse. This is, however,
954 not the case since, unless you are running the VM in full screen mode,
955 your VM needs to share keyboard and mouse with other applications and
956 possibly other VMs on your host.</para>
957
958 <para>As a result, initially after installing a guest operating system
959 and before you install the Guest Additions (we will explain this in a
960 minute), only one of the two -- your VM or the rest of your computer --
961 can "own" the keyboard and the mouse. You will see a
962 <emphasis>second</emphasis> mouse pointer which will always be confined
963 to the limits of the VM window. Basically, you activate the VM by
964 clicking inside it.</para>
965
966 <para>To return ownership of keyboard and mouse to your host operating
967 system, VirtualBox reserves a special key on your keyboard for itself:
968 the <emphasis role="bold">"host key".</emphasis> By default, this is the
969 <emphasis>right Control key</emphasis> on your keyboard; on a Mac host,
970 the default host key is the left Command key. You can change this
971 default in the VirtualBox Global Settings, see <xref
972 linkend="globalsettings" />. In any case, the current
973 setting for the host key is always displayed <emphasis>at the bottom
974 right of your VM window,</emphasis> should you have forgotten about
975 it:</para>
976
977 <para><mediaobject>
978 <imageobject>
979 <imagedata align="center" fileref="images/vm-hostkey.png"
980 width="7cm" />
981 </imageobject>
982 </mediaobject>In detail, all this translates into the
983 following:</para>
984
985 <para><itemizedlist>
986 <listitem>
987 <para>Your <emphasis role="bold">keyboard</emphasis> is owned by
988 the VM if the VM window on your host desktop has the keyboard
989 focus (and then, if you have many windows open in your guest
990 operating system as well, the window that has the focus in your
991 VM). This means that if you want to type within your VM, click on
992 the title bar of your VM window first.</para>
993
994 <para>To release keyboard ownership, press the Host key (as
995 explained above, typically the right Control key).</para>
996
997 <para>Note that while the VM owns the keyboard, some key sequences
998 (like Alt-Tab for example) will no longer be seen by the host, but
999 will go to the guest instead. After you press the host key to
1000 re-enable the host keyboard, all key presses will go through the
1001 host again, so that sequences like Alt-Tab will no longer reach
1002 the guest. For technical reasons it may not be possible for the
1003 VM to get all keyboard input even when it does own the keyboard.
1004 Examples of this are the Ctrl-Alt-Del sequence on Windows hosts
1005 or single keys grabbed by other applications on X11 hosts like
1006 the GNOME desktop's "Control key highlights mouse pointer"
1007 functionality.</para>
1008 </listitem>
1009
1010 <listitem>
1011 <para>Your <emphasis role="bold">mouse</emphasis> is owned by the
1012 VM only after you have clicked in the VM window. The host mouse
1013 pointer will disappear, and your mouse will drive the guest's
1014 pointer instead of your normal mouse pointer.</para>
1015
1016 <para>Note that mouse ownership is independent of that of the
1017 keyboard: even after you have clicked on a titlebar to be able to
1018 type into the VM window, your mouse is not necessarily owned by
1019 the VM yet.</para>
1020
1021 <para>To release ownership of your mouse by the VM, also press the
1022 Host key.</para>
1023 </listitem>
1024 </itemizedlist></para>
1025
1026 <para>As this behavior can be inconvenient, VirtualBox provides a set of
1027 tools and device drivers for guest systems called the "VirtualBox Guest
1028 Additions" which make VM keyboard and mouse operation a lot more
1029 seamless. Most importantly, the Additions will get rid of the second
1030 "guest" mouse pointer and make your host mouse pointer work directly in
1031 the guest.</para>
1032
1033 <para>This will be described later in <xref
1034 linkend="guestadditions" />.</para>
1035 </sect2>
1036
1037 <sect2 id="specialcharacters">
1038 <title>Typing special characters</title>
1039
1040 <para>Operating systems expect certain key combinations to initiate
1041 certain procedures. Some of these key combinations may be difficult to
1042 enter into a virtual machine, as there are three candidates as to who
1043 receives keyboard input: the host operating system, VirtualBox, or the
1044 guest operating system. Who of these three receives keypresses depends
1045 on a number of factors, including the key itself.</para>
1046
1047 <itemizedlist>
1048 <listitem>
1049 <para>Host operating systems reserve certain key combinations for
1050 themselves. For example, it is impossible to enter the <emphasis
1051 role="bold">Ctrl+Alt+Delete</emphasis> combination if you want to
1052 reboot the guest operating system in your virtual machine, because
1053 this key combination is usually hard-wired into the host OS (both
1054 Windows and Linux intercept this), and pressing this key combination
1055 will therefore reboot your <emphasis>host</emphasis>.</para>
1056
1057 <para>Also, on Linux and Solaris hosts, which use the X Window
1058 System, the key combination <emphasis
1059 role="bold">Ctrl+Alt+Backspace</emphasis> normally resets the X
1060 server (to restart the entire graphical user interface in case it
1061 got stuck). As the X server intercepts this combination, pressing it
1062 will usually restart your <emphasis>host</emphasis> graphical user
1063 interface (and kill all running programs, including VirtualBox, in
1064 the process).</para>
1065
1066 <para>Third, on Linux hosts supporting virtual terminals, the key
1067 combination <emphasis role="bold">Ctrl+Alt+Fx</emphasis> (where Fx
1068 is one of the function keys from F1 to F12) normally allows to
1069 switch between virtual terminals. As with Ctrl+Alt+Delete, these
1070 combinations are intercepted by the host operating system and
1071 therefore always switch terminals on the
1072 <emphasis>host</emphasis>.</para>
1073
1074 <para>If, instead, you want to send these key combinations to the
1075 <emphasis>guest</emphasis> operating system in the virtual machine,
1076 you will need to use one of the following methods:</para>
1077
1078 <itemizedlist>
1079 <listitem>
1080 <para>Use the items in the "Input" &rarr; "Keyboard" menu of the
1081 virtual machine window. There you will find "Insert Ctrl+Alt+Delete"
1082 and "Ctrl+Alt+Backspace"; the latter will only have an effect with
1083 Linux or Solaris guests, however.</para>
1084 </listitem>
1085
1086 <listitem>
1087 <para>Press special key combinations with the Host key (normally
1088 the right Control key), which VirtualBox will then translate for
1089 the virtual machine:<itemizedlist>
1090 <listitem>
1091 <para><emphasis role="bold">Host key + Del</emphasis> to
1092 send Ctrl+Alt+Del (to reboot the guest);</para>
1093 </listitem>
1094
1095 <listitem>
1096 <para><emphasis role="bold">Host key +
1097 Backspace</emphasis> to send Ctrl+Alt+Backspace (to
1098 restart the graphical user interface of a Linux or Solaris
1099 guest);</para>
1100 </listitem>
1101
1102 <listitem>
1103 <para><emphasis role="bold">Host key + F1</emphasis> (or
1104 other function keys) to simulate Ctrl+Alt+F1 (or other
1105 function keys, i.e. to switch between virtual terminals in
1106 a Linux guest).</para>
1107 </listitem>
1108 </itemizedlist></para>
1109 </listitem>
1110 </itemizedlist>
1111 </listitem>
1112
1113 <listitem>
1114 <para>For some other keyboard combinations such as <emphasis
1115 role="bold">Alt-Tab</emphasis> (to switch between open windows),
1116 VirtualBox allows you to configure whether these combinations will
1117 affect the host or the guest, if a virtual machine currently has the
1118 focus. This is a global setting for all virtual machines and can be
1119 found under "File" &rarr; "Preferences" &rarr; "Input" &rarr;
1120 "Auto-capture keyboard".</para>
1121 </listitem>
1122 </itemizedlist>
1123 </sect2>
1124
1125 <sect2>
1126 <title>Changing removable media</title>
1127
1128 <para>While a virtual machine is running, you can change removable media
1129 in the "Devices" menu of the VM's window. Here you can select in detail
1130 what VirtualBox presents to your VM as a CD, DVD, or floppy.</para>
1131
1132 <para>The settings are the same as would be available for the VM in the
1133 "Settings" dialog of the VirtualBox main window, but since that dialog
1134 is disabled while the VM is in the "running" or "saved" state, this
1135 extra menu saves you from having to shut down and restart the VM every
1136 time you want to change media.</para>
1137
1138 <para>Hence, in the "Devices" menu, VirtualBox allows you to attach the
1139 host drive to the guest or select a floppy or DVD image using the Disk
1140 Image Manager, all as described in <xref
1141 linkend="configbasics" />.</para>
1142 </sect2>
1143
1144 <sect2 id="intro-resize-window">
1145 <title>Resizing the machine's window</title>
1146
1147 <para>You can resize the virtual machine's window when it is running. In
1148 that case, one of three things will happen:<orderedlist>
1149 <listitem>
1150 <para>If you have <emphasis role="bold">"scale mode"</emphasis>
1151 enabled, then the virtual machine's screen will be scaled to the
1152 size of the window. This can be useful if you have many machines
1153 running and want to have a look at one of them while it is running
1154 in the background. Alternatively, it might be useful to enlarge a
1155 window if the VM's output screen is very small, for example
1156 because you are running an old operating system in it.</para>
1157
1158 <para>To enable scale mode, press the <emphasis role="bold">host
1159 key + C</emphasis>, or select "Scale mode" from the "Machine" menu
1160 in the VM window. To leave scale mode, press the host key + C
1161 again.</para>
1162
1163 <para>The aspect ratio of the guest screen is preserved when
1164 resizing the window. To ignore the aspect ratio, press Shift
1165 during the resize operation.</para>
1166
1167 <para>Please see <xref linkend="KnownIssues" /> for additional
1168 remarks.</para>
1169 </listitem>
1170
1171 <listitem>
1172 <para>If you have the Guest Additions installed and they support
1173 automatic <emphasis role="bold">resizing</emphasis>, the Guest
1174 Additions will automatically adjust the screen resolution of the
1175 guest operating system. For example, if you are running a Windows
1176 guest with a resolution of 1024x768 pixels and you then resize the
1177 VM window to make it 100 pixels wider, the Guest Additions will
1178 change the Windows display resolution to 1124x768.</para>
1179
1180 <para>Please see <xref linkend="guestadditions" /> for more
1181 information about the Guest Additions.</para>
1182 </listitem>
1183
1184 <listitem>
1185 <para>Otherwise, if the window is bigger than the VM's screen, the
1186 screen will be centered. If it is smaller, then scroll bars will
1187 be added to the machine window.</para>
1188 </listitem>
1189 </orderedlist></para>
1190 </sect2>
1191
1192 <sect2>
1193 <title>Saving the state of the machine</title>
1194
1195 <para>When you click on the "Close" button of your virtual machine
1196 window (at the top right of the window, just like you would close any
1197 other window on your system), VirtualBox asks you whether you want to
1198 "save" or "power off" the VM. (As a shortcut, you can also press the
1199 Host key together with "Q".)</para>
1200
1201 <para><mediaobject>
1202 <imageobject>
1203 <imagedata align="center" fileref="images/vm-close.png"
1204 width="11cm" />
1205 </imageobject>
1206 </mediaobject>The difference between these three options is crucial.
1207 They mean:</para>
1208
1209 <itemizedlist>
1210 <listitem>
1211 <para><emphasis role="bold">Save the machine state:</emphasis> With
1212 this option, VirtualBox "freezes" the virtual machine by completely
1213 saving its state to your local disk.</para>
1214
1215 <para>When you start the VM again later, you will find that the VM
1216 continues exactly where it was left off. All your programs will
1217 still be open, and your computer resumes operation. Saving the state
1218 of a virtual machine is thus in some ways similar to suspending a
1219 laptop computer (e.g. by closing its lid).</para>
1220 </listitem>
1221
1222 <listitem>
1223 <para><emphasis role="bold">Send the shutdown signal.</emphasis>
1224 This will send an ACPI shutdown signal to the virtual machine, which
1225 has the same effect as if you had pressed the power button on a real
1226 computer. So long as the VM is running a fairly modern operating
1227 system, this should trigger a proper shutdown mechanism from within
1228 the VM.</para>
1229 </listitem>
1230
1231 <listitem>
1232 <para><emphasis role="bold">Power off the machine:</emphasis> With
1233 this option, VirtualBox also stops running the virtual machine, but
1234 <emphasis>without</emphasis> saving its state.<warning>
1235 <para>This is equivalent to pulling the power plug on a real
1236 computer without shutting it down properly. If you start the
1237 machine again after powering it off, your operating system will
1238 have to reboot completely and may begin a lengthy check of its
1239 (virtual) system disks. As a result, this should not normally be
1240 done, since it can potentially cause data loss or an
1241 inconsistent state of the guest system on disk.</para>
1242 </warning></para>
1243
1244 <para>As an exception, if your virtual machine has any snapshots
1245 (see the next chapter), you can use this option to quickly <emphasis
1246 role="bold">restore the current snapshot</emphasis> of the virtual
1247 machine. In that case, powering off the machine will not disrupt its
1248 state, but any changes made since that snapshot was taken will be
1249 lost.</para>
1250 </listitem>
1251 </itemizedlist>
1252
1253 <para>The <emphasis role="bold">"Discard"</emphasis> button in the
1254 VirtualBox Manager window discards a virtual machine's saved state. This
1255 has the same effect as powering it off, and the same warnings
1256 apply.</para>
1257 </sect2>
1258 </sect1>
1259
1260 <sect1 id="gui-vmgroups">
1261 <title>Using VM groups</title>
1262
1263 <para>VM groups enable the user to create ad hoc groups of VMs, and to
1264 manage and perform functions on them collectively, as well as individually.
1265 There are a number of features relating to groups:</para>
1266
1267 <orderedlist>
1268 <listitem>
1269 <para>
1270 Create a group using GUI option 1) Drag one VM on top of another
1271 VM.
1272 </para>
1273 <para>
1274 Create a group using GUI option 2) Select multiple VMs and select
1275 "Group" on the right click menu, as follows:
1276 </para>
1277
1278 <para><mediaobject>
1279 <imageobject>
1280 <imagedata align="center" fileref="images/vm-groups.png"
1281 width="10cm" />
1282 </imageobject>
1283 </mediaobject></para>
1284
1285 </listitem>
1286 <listitem>
1287 <para>
1288 Command line option 1) Create a group and assign a VM:
1289 <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup"</screen>
1290 creates a group "TestGroup" and attaches the VM "Fred" to that group.
1291 </para>
1292 <para>
1293 Command line option 2) Detach a VM from the group, and delete the group
1294 if empty: <screen>VBoxManage modifyvm "Fred" --groups ""</screen>
1295 It detaches all groups from the VM "Fred" and deletes the empty group.
1296 </para>
1297 </listitem>
1298 <listitem>
1299 <para>
1300 Multiple groups e.g.:
1301 <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup,/TestGroup2"</screen>
1302 It creates the groups "TestGroup" and "TestGroup2" (if they don't exist yet)
1303 and attaches the VM "Fred" to both of them.
1304 </para>
1305 </listitem>
1306 <listitem>
1307 <para>
1308 Nested groups -- hierarchy of groups e.g.:
1309 <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup/TestGroup2"</screen>
1310 It attaches the VM "Fred" to the subgroup "TestGroup2" of the "TestGroup"
1311 group.
1312 </para>
1313 </listitem>
1314 <listitem>
1315 <para>
1316 Summary of group commands: Start, Pause, Reset, Close (save state,
1317 send shutdown signal, poweroff), Discard Saved State, Show in File
1318 System, Sort.
1319 </para>
1320 </listitem>
1321 </orderedlist>
1322 </sect1>
1323
1324 <sect1 id="snapshots">
1325 <title>Snapshots</title>
1326
1327 <para>With snapshots, you can save a particular state of a virtual machine
1328 for later use. At any later time, you can revert to that state, even
1329 though you may have changed the VM considerably since then. A snapshot of
1330 a virtual machine is thus similar to a machine in "saved" state, as
1331 described above, but there can be many of them, and these saved states are
1332 preserved.</para>
1333
1334 <para>You can see the snapshots of a virtual machine by first selecting a
1335 machine in the VirtualBox Manager and then clicking on the "Snapshots"
1336 button at the top right. Until you take a snapshot of the machine, the
1337 list of snapshots will be empty except for the "Current state" item, which
1338 represents the "Now" point in the lifetime of the virtual machine.</para>
1339
1340 <sect2>
1341 <title>Taking, restoring and deleting snapshots</title>
1342
1343 <para>There are three operations related to snapshots:<orderedlist>
1344 <listitem>
1345 <para>You can <emphasis role="bold">take a snapshot</emphasis>.
1346 This makes a copy of the machine's current state, to which you can
1347 go back at any given time later.<itemizedlist>
1348 <listitem>
1349 <para>If your VM is currently running, select "Take
1350 snapshot" from the "Machine" pull-down menu of the VM
1351 window.</para>
1352 </listitem>
1353
1354 <listitem>
1355 <para>If your VM is currently in either the "saved" or the
1356 "powered off" state (as displayed next to the VM in the
1357 VirtualBox main window), click on the "Snapshots" tab on the
1358 top right of the main window, and then<itemizedlist>
1359 <listitem>
1360 <para>either on the small camera icon (for "Take
1361 snapshot") or</para>
1362 </listitem>
1363
1364 <listitem>
1365 <para>right-click on the "Current State" item in the
1366 list and select "Take snapshot" from the menu.</para>
1367 </listitem>
1368 </itemizedlist></para>
1369 </listitem>
1370 </itemizedlist></para>
1371
1372 <para>In any case, a window will pop up and ask you for a snapshot
1373 name. This name is purely for reference purposes to help you
1374 remember the state of the snapshot. For example, a useful name
1375 would be "Fresh installation from scratch, no Guest Additions", or
1376 "Service Pack 3 just installed". You can also add a longer text in
1377 the "Description" field if you want.</para>
1378
1379 <para>Your new snapshot will then appear in the snapshots list.
1380 Underneath your new snapshot, you will see an item called "Current
1381 state", signifying that the current state of your VM is a
1382 variation based on the snapshot you took earlier. If you later
1383 take another snapshot, you will see that they will be displayed in
1384 sequence, and each subsequent snapshot is derived from an earlier
1385 one:<mediaobject>
1386 <imageobject>
1387 <imagedata align="center" fileref="images/snapshots-1.png"
1388 width="12cm" />
1389 </imageobject>
1390 </mediaobject></para>
1391
1392 <para>VirtualBox imposes no limits on the number of snapshots you
1393 can take. The only practical limitation is disk space on your
1394 host: each snapshot stores the state of the virtual machine and
1395 thus occupies some disk space. (See the next section for details
1396 on what exactly is stored in a snapshot.)</para>
1397 </listitem>
1398
1399 <listitem>
1400 <para>You can <emphasis role="bold">restore a snapshot</emphasis>
1401 by right-clicking on any snapshot you have taken in the list of
1402 snapshots. By restoring a snapshot, you go back (or forward) in
1403 time: the current state of the machine is lost, and the machine is
1404 restored to the exact state it was in when the snapshot was
1405 taken.<footnote>
1406 <para>Both the terminology and the functionality of restoring
1407 snapshots has changed with VirtualBox 3.1. Before that
1408 version, it was only possible to go back to the very last
1409 snapshot taken -- not earlier ones, and the operation was
1410 called "Discard current state" instead of "Restore last
1411 snapshot". The limitation has been lifted with version 3.1. It
1412 is now possible to restore <emphasis>any</emphasis> snapshot,
1413 going backward and forward in time.</para>
1414 </footnote></para>
1415
1416 <note>
1417 <para>Restoring a snapshot will affect the virtual hard drives
1418 that are connected to your VM, as the entire state of the
1419 virtual hard drive will be reverted as well. This means also
1420 that all files that have been created since the snapshot and all
1421 other file changes <emphasis>will be lost. </emphasis>In order
1422 to prevent such data loss while still making use of the snapshot
1423 feature, it is possible to add a second hard drive in
1424 "write-through" mode using the
1425 <computeroutput>VBoxManage</computeroutput> interface and use it
1426 to store your data. As write-through hard drives are
1427 <emphasis>not</emphasis> included in snapshots, they remain
1428 unaltered when a machine is reverted. See <xref
1429 linkend="hdimagewrites" os="" /> for details.</para>
1430 </note>
1431
1432 <para>To avoid losing the current state when restoring a snapshot,
1433 you can create a new snapshot before the restore.</para>
1434
1435 <para>By restoring an earlier snapshot and taking more snapshots
1436 from there, it is even possible to create a kind of alternate
1437 reality and to switch between these different histories of the
1438 virtual machine. This can result in a whole tree of virtual
1439 machine snapshots, as shown in the screenshot above.</para>
1440 </listitem>
1441
1442 <listitem>
1443 <para>You can also <emphasis role="bold">delete a
1444 snapshot</emphasis>, which will not affect the state of the
1445 virtual machine, but only release the files on disk that
1446 VirtualBox used to store the snapshot data, thus freeing disk
1447 space. To delete a snapshot, right-click on it in the snapshots
1448 tree and select "Delete". As of VirtualBox 3.2, snapshots can be
1449 deleted even while a machine is running.<note>
1450 <para>Whereas taking and restoring snapshots are fairly quick
1451 operations, deleting a snapshot can take a considerable amount
1452 of time since large amounts of data may need to be copied
1453 between several disk image files. Temporary disk files may
1454 also need large amounts of disk space while the operation is
1455 in progress.</para>
1456 </note></para>
1457
1458 <para>There are some situations which cannot be handled while a VM
1459 is running, and you will get an appropriate message that you need
1460 to perform this snapshot deletion when the VM is shut down.</para>
1461 </listitem>
1462 </orderedlist></para>
1463 </sect2>
1464
1465 <sect2>
1466 <title>Snapshot contents</title>
1467
1468 <para>Think of a snapshot as a point in time that you have preserved.
1469 More formally, a snapshot consists of three things:<itemizedlist>
1470 <listitem>
1471 <para>It contains a complete copy of the VM settings, including
1472 the hardware configuration, so that when you restore a snapshot,
1473 the VM settings are restored as well. (For example, if you changed
1474 the hard disk configuration or the VM's system settings, that
1475 change is undone when you restore the snapshot.)</para>
1476
1477 <para>The copy of the settings is stored in the machine
1478 configuration, an XML text file, and thus occupies very little
1479 space.</para>
1480 </listitem>
1481
1482 <listitem>
1483 <para>The complete state of all the virtual disks attached to the
1484 machine is preserved. Going back to a snapshot means that all
1485 changes that had been made to the machine's disks -- file by file,
1486 bit by bit -- will be undone as well. Files that were since
1487 created will disappear, files that were deleted will be restored,
1488 changes to files will be reverted.</para>
1489
1490 <para>(Strictly speaking, this is only true for virtual hard disks
1491 in "normal" mode. As mentioned above, you can configure disks to
1492 behave differently with snapshots; see <xref
1493 linkend="hdimagewrites" />. Even more formally and technically
1494 correct, it is not the virtual disk itself that is restored when a
1495 snapshot is restored. Instead, when a snapshot is taken,
1496 VirtualBox creates differencing images which contain only the
1497 changes since the snapshot were taken, and when the snapshot is
1498 restored, VirtualBox throws away that differencing image, thus
1499 going back to the previous state. This is both faster and uses
1500 less disk space. For the details, which can be complex, please see
1501 <xref linkend="diffimages" />.)</para>
1502
1503 <para>Creating the differencing image as such does not occupy much
1504 space on the host disk initially, since the differencing image
1505 will initially be empty (and grow dynamically later with each
1506 write operation to the disk). The longer you use the machine after
1507 having created the snapshot, however, the more the differencing
1508 image will grow in size.</para>
1509 </listitem>
1510
1511 <listitem>
1512 <para>Finally, if you took a snapshot while the machine was
1513 running, the memory state of the machine is also saved in the
1514 snapshot (the same way the memory can be saved when you close the
1515 VM window). When you restore such a snapshot, execution resumes at
1516 exactly the point when the snapshot was taken.</para>
1517
1518 <para>The memory state file can be as large as the memory size of
1519 the virtual machine and will therefore occupy quite some disk
1520 space as well.</para>
1521 </listitem>
1522 </itemizedlist></para>
1523 </sect2>
1524 </sect1>
1525
1526 <sect1 id="configbasics">
1527 <title>Virtual machine configuration</title>
1528
1529 <para>When you select a virtual machine from the list in the Manager
1530 window, you will see a summary of that machine's settings on the
1531 right.</para>
1532
1533 <para>Clicking on the "Settings" button in the toolbar at the top brings
1534 up a detailed window where you can configure many of the properties of the
1535 selected VM. But be careful: even though it is possible to change all VM
1536 settings after installing a guest operating system, certain changes might
1537 prevent a guest operating system from functioning correctly if done after
1538 installation.</para>
1539
1540 <note>
1541 <para>The "Settings" button is disabled while a VM is either in the
1542 "running" or "saved" state. This is simply because the settings dialog
1543 allows you to change fundamental characteristics of the virtual computer
1544 that is created for your guest operating system, and this operating
1545 system may not take it well when, for example, half of its memory is
1546 taken away from under its feet. As a result, if the "Settings" button is
1547 disabled, shut down the current VM first.</para>
1548 </note>
1549
1550 <para>VirtualBox provides a plethora of parameters that can be changed for
1551 a virtual machine. The various settings that can be changed in the
1552 "Settings" window are described in detail in <xref
1553 linkend="BasicConcepts" />. Even more parameters are available with the
1554 VirtualBox command line interface; see <xref
1555 linkend="vboxmanage" />.</para>
1556 </sect1>
1557
1558 <sect1>
1559 <title>Removing virtual machines</title>
1560
1561 <para>To remove a virtual machine which you no longer need, right-click on
1562 it in the Manager's VM list select "Remove" from the context menu that
1563 comes up.</para>
1564
1565 <para>A confirmation window will come up that allows you to select whether
1566 the machine should only be removed from the list of machines or whether
1567 the files associated with it should also be deleted.</para>
1568
1569 <para>The "Remove" menu item is disabled while a machine is
1570 running.</para>
1571 </sect1>
1572
1573 <sect1 id="clone">
1574 <title>Cloning virtual machines</title>
1575
1576 <para>To experiment with a VM configuration, test different guest OS levels
1577 or to simply backup a VM, VirtualBox can create a full or a linked copy of
1578 an existing VM.<footnote><para>Cloning support was introduced with VirtualBox
1579 4.1.</para></footnote></para>
1580
1581 <para>A wizard will guide you through the clone process:</para>
1582
1583 <mediaobject>
1584 <imageobject>
1585 <imagedata align="center" fileref="images/clone-vm.png"
1586 width="10cm" />
1587 </imageobject>
1588 </mediaobject>
1589
1590 <para>This wizard can be invoked from the context menu of the Manager's VM
1591 list (select "Clone") or the "Snapshots" view of the selected VM. First
1592 choose a new name for the clone. When you select <emphasis
1593 role="bold">Reinitialize the MAC address of all network cards</emphasis>
1594 every network card get a new MAC address assigned. This is useful when
1595 both, the source VM and the cloned VM, have to operate on the same network.
1596 If you leave this unchanged, all network cards have the same MAC address
1597 like the one in the source VM. Depending on how you invoke the wizard you
1598 have different choices for the cloning operation. First you need to decide
1599 if the clone should be linked to the source VM or a fully independent clone
1600 should be created:</para>
1601 <itemizedlist>
1602 <listitem>
1603 <para><emphasis role="bold">Full clone:</emphasis> In this mode all
1604 depending disk images are copied to the new VM folder. The clone
1605 can fully operate without the source VM.
1606 </para>
1607 </listitem>
1608
1609 <listitem>
1610 <para><emphasis role="bold">Linked clone:</emphasis> In this mode new
1611 differencing disk images are created where the parent disk images
1612 are the source disk images. If you selected the current state of
1613 the source VM as clone point, a new snapshot will be created
1614 implicitly.
1615 </para>
1616 </listitem>
1617 </itemizedlist>
1618
1619 <para>After selecting the clone mode, you need to decide about what exactly
1620 should be cloned. You can always create a clone of the <emphasis
1621 role="italic">current state</emphasis> only or <emphasis
1622 role="italic">all</emphasis>. When you select <emphasis
1623 role="italic">all</emphasis>, the current state and in addition all
1624 snapshots are cloned. Have you started from a snapshot which has additional
1625 children, you can also clone the <emphasis role="italic">current state and
1626 all children</emphasis>. This creates a clone starting with this
1627 snapshot and includes all child snapshots.</para>
1628
1629 <para>The clone operation itself can be a lengthy operation depending on
1630 the size and count of the attached disk images. Also keep in mind that
1631 every snapshot has differencing disk images attached, which need to be
1632 cloned as well.</para>
1633
1634 <para>The "Clone" menu item is disabled while a machine is running.</para>
1635
1636 <para>For how to clone a VM at the command line, please see <xref
1637 linkend="vboxmanage-clonevm" />.</para>
1638 </sect1>
1639
1640 <sect1 id="ovf">
1641 <title>Importing and exporting virtual machines</title>
1642
1643 <para>VirtualBox can import and export virtual machines in the
1644 industry-standard Open Virtualization Format (OVF).<footnote>
1645 <para>OVF support was originally introduced with VirtualBox 2.2 and
1646 has seen major improvements with every version since.</para>
1647 </footnote></para>
1648
1649 <para>OVF is a cross-platform standard supported by many virtualization
1650 products which allows for creating ready-made virtual machines that can
1651 then be imported into a virtualizer such as VirtualBox. VirtualBox makes
1652 OVF import and export easy to access and supports it from the Manager
1653 window as well as its command-line interface. This allows for packaging
1654 so-called <emphasis role="bold">virtual appliances</emphasis>: disk images
1655 together with configuration settings that can be distributed easily. This
1656 way one can offer complete ready-to-use software packages (operating
1657 systems with applications) that need no configuration or installation
1658 except for importing into VirtualBox.<note>
1659 <para>The OVF standard is complex, and support in VirtualBox is an
1660 ongoing process. In particular, no guarantee is made that VirtualBox
1661 supports all appliances created by other virtualization software. For
1662 a list of known limitations, please see <xref
1663 linkend="KnownIssues" />.</para>
1664 </note></para>
1665
1666 <para>Appliances in OVF format can appear in two variants:<orderedlist>
1667 <listitem>
1668 <para>They can come in several files, as one or several disk images,
1669 typically in the widely-used VMDK format (see <xref
1670 linkend="vdidetails" />) and a textual description file in an XML
1671 dialect with an <computeroutput>.ovf</computeroutput> extension.
1672 These files must then reside in the same directory for VirtualBox to
1673 be able to import them.</para>
1674 </listitem>
1675
1676 <listitem>
1677 <para>Alternatively, the above files can be packed together into a
1678 single archive file, typically with an
1679 <computeroutput>.ova</computeroutput> extension. (Such archive files
1680 use a variant of the TAR archive format and can therefore be
1681 unpacked outside of VirtualBox with any utility that can unpack
1682 standard TAR files.)</para>
1683 </listitem>
1684 </orderedlist></para>
1685
1686 <para>To <emphasis role="bold">import</emphasis> an appliance in one of
1687 the above formats, simply double-click on the OVF/OVA file.<footnote>
1688 <para>Starting with version 4.0, VirtualBox creates file type
1689 associations for OVF and OVA files on your host operating
1690 system.</para>
1691 </footnote> Alternatively, select "File" &rarr; "Import appliance" from
1692 the Manager window. In the file dialog that comes up, navigate to the file
1693 with either the <computeroutput>.ovf</computeroutput> or the
1694 <computeroutput>.ova</computeroutput> file extension.</para>
1695
1696 <para>If VirtualBox can handle the file, a dialog similar to the following
1697 will appear:</para>
1698
1699 <para><mediaobject>
1700 <imageobject>
1701 <imagedata align="center" fileref="images/ovf-import.png"
1702 width="12cm" />
1703 </imageobject>
1704 </mediaobject>This presents the virtual machines described in the OVF
1705 file and allows you to change the virtual machine settings by
1706 double-clicking on the description items. Once you click on <emphasis
1707 role="bold">"Import"</emphasis>, VirtualBox will copy the disk images and
1708 create local virtual machines with the settings described in the dialog.
1709 These will then show up in the Manager's list of virtual machines.</para>
1710
1711 <para>Note that since disk images tend to be big, and VMDK images that
1712 come with virtual appliances are typically shipped in a special compressed
1713 format that is unsuitable for being used by virtual machines directly, the
1714 images will need to be unpacked and copied first, which can take a few
1715 minutes.</para>
1716
1717 <para>For how to import an image at the command line, please see <xref
1718 linkend="vboxmanage-import" />.</para>
1719
1720 <para>Conversely, to <emphasis role="bold">export</emphasis> virtual
1721 machines that you already have in VirtualBox, select "File" &rarr; "Export
1722 appliance". A different dialog window shows up that allows you to combine
1723 several virtual machines into an OVF appliance. Then, select the target
1724 location where the target files should be stored, and the conversion
1725 process begins. This can again take a while.</para>
1726
1727 <para>For how to export an image at the command line, please see <xref
1728 linkend="vboxmanage-export" />.<note>
1729 <para>OVF cannot describe snapshots that were taken for a virtual
1730 machine. As a result, when you export a virtual machine that has
1731 snapshots, only the current state of the machine will be exported, and
1732 the disk images in the export will have a "flattened" state identical
1733 to the current state of the virtual machine.</para>
1734 </note></para>
1735 </sect1>
1736
1737 <sect1 id="globalsettings">
1738 <title>Global Settings</title>
1739 <para>The global settings dialog can be reached through the
1740 <emphasis role="bold">File</emphasis> menu, selecting the
1741 <emphasis role="bold">Preferences...</emphasis> item. It offers a selection
1742 of settings which apply to all virtual machines of the current user or in
1743 the case of <emphasis role="bold">Extensions</emphasis> to the entire
1744 system:
1745 <orderedlist>
1746 <listitem>
1747 <para><emphasis role="bold">General</emphasis> Enables the user to
1748 specify the default folder/directory for VM files, and the VRDP
1749 Authentication Library.</para>
1750 </listitem>
1751 <listitem>
1752 <para><emphasis role="bold">Input</emphasis> Enables the user to
1753 specify the Host Key. It identifies the key that toggles whether the
1754 cursor is in the focus of the VM or the Host operating system
1755 windows (see <xref linkend="keyb_mouse_normal"/>) and which is also
1756 used to trigger certain VM actions (see <xref
1757 linkend="specialcharacters"/>)</para>
1758 </listitem>
1759 <listitem>
1760 <para><emphasis role="bold">Update</emphasis> Enables the user
1761 to specify various settings for Automatic Updates.</para>
1762 </listitem>
1763 <listitem>
1764 <para><emphasis role="bold">Language</emphasis> Enables the user to
1765 specify the GUI language.</para>
1766 </listitem>
1767 <listitem>
1768 <para><emphasis role="bold">Display</emphasis> Enables the user to
1769 specify the screen resolution, and its width and height.</para>
1770 </listitem>
1771 <listitem>
1772 <para><emphasis role="bold">Network</emphasis> Enables the user to
1773 configure the details of Host Only Networks.</para>
1774 </listitem>
1775 <listitem>
1776 <para><emphasis role="bold">Extensions</emphasis> Enables the user
1777 to list and manage the installed extension packages.</para>
1778 </listitem>
1779 <listitem>
1780 <para><emphasis role="bold">Proxy</emphasis> Enables the user to
1781 configure a HTTP Proxy Server.</para>
1782 </listitem>
1783 </orderedlist></para>
1784 </sect1>
1785
1786 <sect1 id="frontends">
1787 <title>Alternative front-ends</title>
1788
1789 <para>As briefly mentioned in <xref linkend="features-overview" />,
1790 VirtualBox has a very flexible internal design that allows for using
1791 multiple interfaces to control the same virtual machines. To illustrate,
1792 you can, for example, start a virtual machine with the VirtualBox Manager
1793 window and then stop it from the command line. With VirtualBox's support
1794 for the Remote Desktop Protocol (RDP), you can even run virtual machines
1795 remotely on a headless server and have all the graphical output redirected
1796 over the network.</para>
1797
1798 <para>In detail, the following front-ends are shipped in the standard
1799 VirtualBox package:</para>
1800
1801 <para><orderedlist>
1802 <listitem>
1803 <para><computeroutput>VirtualBox</computeroutput> is the VirtualBox
1804 Manager. This graphical user interface uses the Qt toolkit; most of
1805 this User Manual is dedicated to describing it. While this is the
1806 easiest to use, some of the more advanced VirtualBox features are
1807 kept away from it to keep it simple.</para>
1808 </listitem>
1809
1810 <listitem>
1811 <para><computeroutput>VBoxManage</computeroutput> is our
1812 command-line interface for automated and very detailed control of
1813 every aspect of VirtualBox. It is described in <xref
1814 linkend="vboxmanage" />.</para>
1815 </listitem>
1816
1817 <listitem>
1818 <para><computeroutput>VBoxSDL</computeroutput> is an alternative,
1819 simple graphical front-end with an intentionally limited feature
1820 set, designed to only display virtual machines that are controlled
1821 in detail with <computeroutput>VBoxManage</computeroutput>. This is
1822 interesting for business environments where displaying all the bells
1823 and whistles of the full GUI is not feasible.
1824 <computeroutput>VBoxSDL</computeroutput> is described in <xref
1825 linkend="vboxsdl" />.</para>
1826 </listitem>
1827
1828 <listitem>
1829 <para>Finally, <computeroutput>VBoxHeadless</computeroutput> is yet
1830 another front-end that produces no visible output on the host at
1831 all, but can act as a RDP server if the VirtualBox Remote
1832 Desktop Extension (VRDE) is installed and enabled for the VM.
1833 As opposed to the other
1834 graphical interfaces, the headless front-end requires no graphics
1835 support. This is useful, for example, if you want to host your
1836 virtual machines on a headless Linux server that has no X Window
1837 system installed. For details, see <xref
1838 linkend="vboxheadless" />.</para>
1839 </listitem>
1840 </orderedlist>If the above front-ends still do not satisfy your
1841 particular needs, it is possible to create yet another front-end to the
1842 complex virtualization engine that is the core of VirtualBox, as the
1843 VirtualBox core neatly exposes all of its features in a clean API; please
1844 refer to <xref linkend="VirtualBoxAPI" />.</para>
1845 </sect1>
1846</chapter>
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