0% found this document useful (0 votes)
100 views

1.1. Remote Display (VRDP Support)

This document provides instructions for enabling and disabling the VirtualBox Remote Desktop Protocol (VRDP) server when starting a virtual machine from the command line using VBoxHeadless. It also provides a step-by-step guide for creating a new virtual machine on a headless server that can be accessed remotely via RDP. The steps include creating the virtual machine, configuring settings, adding a virtual hard disk, and an IDE controller.

Uploaded by

Asad Bubloo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views

1.1. Remote Display (VRDP Support)

This document provides instructions for enabling and disabling the VirtualBox Remote Desktop Protocol (VRDP) server when starting a virtual machine from the command line using VBoxHeadless. It also provides a step-by-step guide for creating a new virtual machine on a headless server that can be accessed remotely via RDP. The steps include creating the virtual machine, configuring settings, adding a virtual hard disk, and an IDE controller.

Uploaded by

Asad Bubloo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

25/05/2020 1.1.

Remote Display (VRDP Support)

VBoxHeadless --startvm uuid | vmname --vrde on

To disable the VRDP server:

VBoxHeadless --startvm uuid | vmname --vrde off

To have the VRDP server enabled depending on the VM configuration, as for other front-ends:

VBoxHeadless --startvm uuid | vmname --vrde config

This command is the same as the following:

VBoxHeadless --startvm uuid | vmname

If you start the VM with VBoxManage startvm then the configuration settings of the VM are always used.

1.1.3. Step by Step: Creating a Virtual Machine on a Headless Server


The following instructions describe how to create a virtual machine on a headless server over a network connection. This ex
prerequisites:

Oracle VM VirtualBox on a server machine with a supported host operating system. The Oracle VM VirtualBox Exten

An ISO file accessible from the server, containing the installation data for the guest operating system to install. Wind

A terminal connection to that host through which you can access a command line, such as ssh.

An RDP viewer on the remote client. See Section 1.1.1, “Common Third-Party RDP Viewers” for examples.

Note that on the server machine, since we will only use the headless server, Qt and the X Window system are not required.

1. On the headless server, create a new virtual machine. For example:


VBoxManage createvm --name "Windows XP" --ostype WindowsXP --register

If you do not specify --register, you will have to manually use the registervm command later.

You do not need to specify --ostype, but doing so selects some sensible default values for certain VM parameters.

VBoxManage list ostypes

2. Make sure the settings for the VM are appropriate for the guest operating system that we will install. For example:
VBoxManage modifyvm "Windows XP" --memory 256 --acpi on --boot1 dvd --nic1 nat

3. Create a virtual hard disk for the VM. For example, to create a 10 GB virtual hard disk:
VBoxManage createhd --filename "WinXP.vdi" --size 10000

4. Add an IDE Controller to the new VM. For example:


VBoxManage storagectl "Windows XP" --name "IDE Controller"
--add ide --controller PIIX4

5. Set the VDI file you created as the first virtual hard disk of the new VM. For example:

https://docs.oracle.com/en/virtualization/virtualbox/6.1/admin/vrde.html# 1/1

You might also like