How to use Oracle VirtualBox’ remote display feature

fedoraremote desktopvirtualbox

I can't use Oracle VirtualBox remote display feature.

I have host OS of Fedora 15 PAE. This OS is running Virtual Box with the same guest OS (Fedora 15). The network driver of virtual box is in bridge mode. Host OS is running Gnome 3, so as guest OS.

In this situation, I can see both machines separately from my windows 7 machine. I can SSH to them, I can VNC to them and I can RDP to them. All these features work with installed fedora software (ssh daemon, vncserver, x11vnc, xrdp etc).

But if I understand correctly, VirtualBox has it's own screen sharing for RDP protocol. Unfortunately, I can't use this feature.

I have set up remote display in Settings-Display-Remote Display tab of VirtualBox. I have set the port to 3390 not to interfere with already running rdp. I have set View-Enable Remote Display to "on" in the virtualbox window's menu.

Also I have opened port 3390 on both machines in firewall.

So now, how to connect to this display correctly? Should I connect to host's IP or to guest's? I think that it should be host's. But I can't connect to it with windows' rdp client…

Best Answer

You need to connect to the host rather than the guest. I would split the problem into two and suggest firstly you try and connect on your host to the guest with something like

rdesktop localhost 3390

and see if you get a connection.

If that works, then go to your windows machine and connect with "Remote Desktop Connection" specifying the hostname and the connection separated by a colon(:)

so something like

myserver:3390

If this still doesn't work, what sort of errors are you getting? Is the connection rejected or does it time out. Can you turn on logging on your firewall, or turn off the firewall altogether briefly to check its not a firewall problem.

Related Question