VitrualBox allows remote display of virtual host to be referenced from RDP

Install VirtualBox on CentOS 7. Since there is no GNOME environment on the CentOS side, the display of the virtual host on VirtualBox was displayed with X11 Forwording, Since the screen transition is very slow, I set it so that the screen of the virtual host can be displayed using Windows RDP. In particular, the performance on the installer screen before the virtual host network was opened was improved. (When entering the administrator password and IP address, there was a tight typing time lag for each character.)

Install Extension Pack

First, an Extension Pack is required to use the remote display of the virtual host on VirtualBox with RDP. Download from the following site https://www.virtualbox.org/wiki/Downloads

Install command

# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.24-108355a.vbox-extpack
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

Confirm that it is working

#  VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.0.24
Revision:     108355
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

Set the remote display for the virtual machine.

The port should not overlap with other services. address specifies the IP address of the physical host. To connect in the flow of terminal-> physical host-> VirtualBox-> virtual machine display

#  VBoxManage modifyvm ESXi6.0u2 --vrde on --vrdeport 33389 --vrdeaddress 172.20.20.166 --vrdereusecon on

The virtual machine "ESXi6.0u2" is now set up for remote display.

Start with the following command.

# VBoxHeadless --startvm ESXi6.0u2
Oracle VM VirtualBox Headless Interface 5.0.24
(C) 2008-2016 Oracle Corporation
All rights reserved.

VRDE server is listening on port 33389.

Connect with Windows RDP etc.

: If you specify the port, you can display the BIOS screen and installation screen. It's crisper and more comfortable than doing it with X11 Forwording.

Reference site

Thank you very much. It was very easy to understand. http://n73.jugem.jp/?eid=66

Recommended Posts

VitrualBox allows remote display of virtual host to be referenced from RDP
Ssh to virtual environment with remote development of vscode
How to virtual host