The Virtualization Room

Jun 19 2008   9:05AM GMT

Using VRDP to view VirtualBox virtual machines remotely

Rick Vanover Rick Vanover Profile: Rick Vanover

In last week’s blog, I wrote about my first experiences with Sun’s xVM VirtualBox 1.6.2. I  like the interface and the features available to this free desktop virtualization product. Among these great options is one that lets users configure the VirtualBox server to view virtual machines remotely with VRDP, or VirtualBox Remote Desktop Protocol.

VRDP is a compatible implementation of Microsoft’s Remote Desktop Protocol (RDP) that is configured for easy console access to the guest platform from remote systems. This is different from a web-based interface that the competition has in that it is configurable per virtual machine. Let’s take a look at how to configure VRDP for a virtual machine in these steps below.

The first step is to enable VRDP, or remote console as it is called within the interface. By default, VRDP is disabled for all virtual machines and is enabled with a specified security method. The security methods are referred to as null, guest and external. The null method is a no-security model in that any VRDP connection will be accepted, and this configuration is documented by Sun as being designed for a testing and private network only configuration. To enable VRDP on a virtual machine, click on the settings tab while the virtual machine is powered off and configure the remote display option:

VRDP Configuration

Once VRDP is configured, the virtual machine will accept connections the next time it starts. The tricky part is the port and IP address configuration. On default configurations, 3389 would be used for the VRDP session on the host. If your host is a Windows system and is running Remote Desktop, another port should be specified. VRDP can also remotely start the virtual machine with VboxHeadless headless command. Once the virtual machine is running, a connection is made to the host system running VirtualBox and the specified port if not 3389. This connection will provide the redirected console within a standard rdesktop or mstsc session, and will be at all states and regardless if the guest is using a network interface. In this configuration, an operating system could be installed and the virtual BIOS can be accessed as well as other tasks below the operating system.

More information on the VRDP implementation can be found in the VirtualBox online user manual from the VirtualBox community website in section 7.4.

1  Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rick Vanover
    That was a very good article, Thank You for posting that. I have found the same thing.. that if the port is being currently "used" on a Windows client, then Windows Remote Desktop Client will not be able to connect to the VRDP server on VirtualBox. I finally found a port that worked for me.. I tried port 8000 on the VirtualBox VRDP settings, also the "null" setting (I'm behind a firewall on a private network) then I put in the i.p. address of the port that is on VirtualBox VRDP server 192.168.0.10:8000 and it worked! Very Happy :-)
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: