Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: having issue with remote desktop in virtual box

03 Feb 2013   #1
junqi89

windows 7 64bit
 
 
having issue with remote desktop in virtual box

when i set network to bridge i able to remote. but when i set to NAT i unable to remote. is there anyway that i can use NAT setting and remote in ? anyone can please advise thanks.


My System SpecsSystem Spec
.

03 Feb 2013   #2
Alejandro85

Windows 7 Ultimate x64
 
 

It's normal, bridge acts as if the virtual computer were attached to the network like any other so you can see it directly. In NAT mode, The VirtualBox controller acts as if it were a NAT router with the virtual machine on the LAN side and the host on the WAN side, so the guest can see the host but the host can't see the guest.

To allow any such program like remote control, you must do a port forwarding in VirtualBox "router" to enable that port. In the configuration, network tab, under the advanced settings there is a button that lets you configure port forwarding to the guest. For the built in remote desktop, port 3389 is the one you must send.
My System SpecsSystem Spec
05 Feb 2013   #3
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
It's normal, bridge acts as if the virtual computer were attached to the network like any other so you can see it directly. In NAT mode, The VirtualBox controller acts as if it were a NAT router with the virtual machine on the LAN side and the host on the WAN side, so the guest can see the host but the host can't see the guest.

To allow any such program like remote control, you must do a port forwarding in VirtualBox "router" to enable that port. In the configuration, network tab, under the advanced settings there is a button that lets you configure port forwarding to the guest. For the built in remote desktop, port 3389 is the one you must send.
i already enable it but seems like still nt working can you teach me how to use nat and make it work ? if possible to list down step by step how i can actually do it ?
My System SpecsSystem Spec
.


05 Feb 2013   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Chapter 6. Virtual networking

Did you do the VBoxManage modifyvm command already? Give me full command you did
My System SpecsSystem Spec
05 Feb 2013   #5
PooMan UK

Windows 7 Ultimate 64bit
 
 

Why not have a look at TeamViewer - Free Remote Control, Remote Access

This way you wont have to mess about with any settings

You could also have a squiz over here if you get stuck TeamViewer
My System SpecsSystem Spec
05 Feb 2013   #6
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Code:
 
VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
guestrdp=just a description
53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
My System SpecsSystem Spec
07 Feb 2013   #7
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Code:
 
VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
guestrdp=just a description
53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
where can i execute the command ? i not sure how to do that.
My System SpecsSystem Spec
07 Feb 2013   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by junqi89 View Post
Quote   Quote: Originally Posted by Kaktussoft View Post
Code:
 
VBoxManage  modifyvm  "fill in VM name"  --natpf1  "guestrdp,tcp,,53389,,3389"
natpf1=nat Port Forwarding rule1. You can also use natpf2, natpf3 etc.
guestrdp=just a description
53389= port to connect to from outside. Connect to host computer port 53389 will be forwarded to guest port 3389
where can i execute the command ? i not sure how to do that.
Of course in "command prompt". Command prompt on host , no on client
My System SpecsSystem Spec
09 Feb 2013   #9
Alejandro85

Windows 7 Ultimate x64
 
 

Why to use command line when you can use the normal settings screen to do the same?
Open the settings of the VM and on the network tab fill the port forwarding info.


Attached Thumbnails
-nat-virtualbox.png  
My System SpecsSystem Spec
10 Feb 2013   #10
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
Why to use command line when you can use the normal settings screen to do the same?
Open the settings of the VM and on the network tab fill the port forwarding info.
Okay thanks for the reply. so for the guest do i need for port forward any settings ?
My System SpecsSystem Spec
Reply

 having issue with remote desktop in virtual box




Thread Tools





Similar help and support threads
Thread Forum
Remote desktop issue
Ive got two workstations that both have windows 7 64 bit installed. When I enable remote desktop on one to get into the other with network level authentication I am not allowed to login with Admin. However if I try to log in with a user I can get into it. Ive made sure to all selected Users and...
Network & Sharing
remote desktop issue
I am able to remote desktop into my windows 7 machine once - after that if i disconnect I cannot login to the machine locally - its gets "stuck" at the welcome screen. And then if i try to login remotely again I get an error that the remote desktop service is busy. Only way to login again is to...
Network & Sharing
Which Solution: Remote Desktop? Virtual Desktop? Remote Terminal?
Hi guys, i have a question about remote connection, but i don't know exactly what kind of solution i'm looking for... i have a desktop with quad-cpu and much bigger memory, and i have another laptop which is old and slow. My thinking is to make a server on the desktop, so that the laptop...
Network & Sharing
Remote Desktop Issue
How do you initiate a Remote Desktop session from an outside place. I want to connect from my work place to my home. Assume that there is no domain or firewall set up at the office. I port forwarded port 3389. I still can't connect. I have already enabled RDC on system properties on both computers...
Network & Sharing
Remote Desktop\Windows Virtual PC
Installing the integration software seems to cripple\disable (not able to connect) normal Remote Desktop Connection operation, has any found a way to enable it?
Virtualization
remote desktop issue
I have installed the concurrent rdp hack to allow multiple concurrent sessions. I am having a serious issue with rdp - if I rdp into my machine from another machine, it works the first time. But then if i log in at the machine itself - it hangs on the logging in screen and never gets in. In...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App