Remote Desktop

Discussions related to using VirtualBox on Windows hosts.
Post Reply
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Remote Desktop

Post by nico88 »

Dears,

I would like to ask the following.

I installed virtual box 4.2.12 on my windows 7.
As virtual machine i configured a windows server 2008.

On the VM windows server, I enable the option for remote desktop, now i want to to access from my windows 7 this vm windows server by remote desktop.
But seems not to work.

Every setting is by default at the moment.
Any advice?

THanks
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Remote Desktop

Post by noteirak »

Be sure you open the port in the Windows firewall of the guest, or disable entierly.
If you use NAT networking mode, you need to forward the port to the guest.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

Hi,

Thanks for your reply.
I turned off the firewall but, but still same issue.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Remote Desktop

Post by Perryg »

If you are using the MS remote desktop you must use Bridged or host-only as your network mode.
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

uff.. a little bit lost there. Is there maybe somewhere to find some instruction about it?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Remote Desktop

Post by noteirak »

For Virtualbox networking : The Networking chapter of the User Manual
For Remote desktop : on a Windows forum as this falls outside the scope of this forum.

Be aware that there is usually a confusion with new people using Virtualbox : there is a built-in RDP to the Virtualbox process, which is actually the way to access the "Console" of the guest, which would be like being in front of a physical screen.
But there is also the Windows Remote Desktop service, which is within the guest and is a feature of a Microsoft OS.
In both case, by default, they listen on the TCP port 3389. So be sure you do not mistake them for the other, as the way of accessing them and using them is not the same.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

Alright Thanks, I understand the difference.

In my case i want to use microsoft remote desktop, to create an network test enviorment.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Remote Desktop

Post by noteirak »

Then either go for Host-Only or Bridged mode on the networking card config of the VM and see if you get a successfull connection on the IP that the guest will have.
If not, the issue is with your guest configuration or firewalling issue.
Bare in mind that using these two modes will exactly be like having another physical computer sitting next to yours, on which you want to connect via Remote Desktop.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

wonderful, thanks for your explanation.

I will test it and let you know.
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

Thanks, Host only works perfect!
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Remote Desktop

Post by noteirak »

Thank you for posting back your solution, will be useful in the future to others with the same probem.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

I Just wanted to add one more thing.

Now that the vm is set to host-only. I cant get internet on the vm. What would you recommend to do in this case?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Remote Desktop

Post by Perryg »

Add a second adapter in the guest settings and set it to NAT
nico88
Posts: 8
Joined: 17. May 2013, 21:13

Re: Remote Desktop

Post by nico88 »

excellent! Thanks for the help guys!
Post Reply