How to configure Remote Display

This is for discussing general topics about how to use VirtualBox.
Post Reply
MPC
Posts: 20
Joined: 5. Aug 2021, 12:08

How to configure Remote Display

Post by MPC »

Hi,

How to configure Remote Display and use it. Kindly advise.

I have gone through the documents but not able to understand.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: How to configure Remote Display

Post by scottgus1 »

Virtualbox's Remote Display Extension (VRDE) is described in https://www.virtualbox.org/manual/ch03. ... te-display and https://www.virtualbox.org/manual/ch07.html#vrde

It is compatible with Microsoft's Remote Desktop protocol when the Oracle Extension Pack is installed, or a limited open-source VNC server, see https://www.virtualbox.org/manual/ch09. ... erextpacks.

VRDE remotes into the keyboard, monitor and mouse, in a sense like a remote-enabled KVM switch, and provides remote USB and other services if the Oracle Extension Pack is used. It does not actually remote into the VM's OS, so even OS's like DOS that have no idea what remote desktop is can be remoted into.

You access the VDRE by using the host's IP address and the port number chosen in the VM's Display settings, Remote Display tab. Enable the server, pick a unique port number not used elsewhere on the host OS.

In the host RDP or VNC viewer, go to localhost:portnumber or 127.0.0.1:portnumber.

If you want to access VRDE from other computers, open the chosen port number in the host's firewall, then on the other computer's RDP or VNC viewer go to host.IP.add.ress:portnumber.

You can also get access to VRDE by opening a desired port on your network router's Port Forwarding rules, pointing at the host IP address and the chosen port number. Out on the internet PC go to you.public.IP.address:portnumber or your.domain.ext:portnumber.

There are authentication schemes to restrict to desired users.
MPC
Posts: 20
Joined: 5. Aug 2021, 12:08

Re: How to configure Remote Display

Post by MPC »

I had tried the same way but was not able to connect, No Problem I will try again.

Thanks
operation420.net
Posts: 60
Joined: 28. May 2020, 02:17
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: The hood
Contact:

Re: How to configure Remote Display

Post by operation420.net »

scottgus1 wrote:It is compatible with Microsoft's Remote Desktop protocol when the Oracle Extension Pack is installed, or a limited open-source VNC server, see https://www.virtualbox.org/manual/ch09. ... erextpacks.
Are the "External" and "Guest" options under "Authentication Methods" under the Remote Display tab related to those?

I got it working with the NULL authentication method using port forwarding for SSH for authentication but didn't understand the External and Guest options.

Is the VRDE an RDP, VNC server, or both? I believe I was using RDP to access the Windows guests I was using... I had the machine the VMs were running on sitting there and on my other PC was able to keep VBox open the host PC and have something else open on the PC that was closer to me or have my RDP client open controlling the VM like VNC as you said. The screens where the same on both sides, unlike a traditional MS RDP session where the physical screen (or VirtualBox Window) would show the lock screen and if you logged in there, the RDP session would disconnect and when you connect again with RDP the screen will lock again, both cases have been of use to me depending on the circumstances.

I came across and was gonna look at http://www.marcomadeit.com/2017/02/26/s ... sktop-rdp/
viewtopic.php?t=8208
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: How to configure Remote Display

Post by scottgus1 »

The VRDE authentication methods are described in the manual https://www.virtualbox.org/manual/ch07.html#vbox-Auth. I have not used other than 'null' authentication myself.

The VNC server is described in https://www.virtualbox.org/manual/ch09. ... erextpacks. The authentication for VNC is more limited than RDP.

From this:
It is possible to install both the Oracle VM VirtualBox Extension Pack and VNC, but only one VRDE module can be active at any time.
I gather that one can only have a RDP server or a VNC server active for connections in VDRE, not both at the same time. But the server type can be toggled.
Post Reply