VirtualBox

Opened 16 years ago

Closed 16 years ago

#4001 closed defect (fixed)

Error after i setup port forwarding for remote desktop on a guest.

Reported by: Antonio Garcia Owned by:
Component: network/NAT Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: Windows Host type: other

Description

Hello ...

I'm trying to setup a development lab for my personal use, and installed a Windows 2008 Guest on a Windows Vista Host. Im trying to setup so i can Remote Desktop to the Guest, the Guest is in NAT Mode, and would like to leave like that. Every where i read says to setup Port Forwarding, i ran this commands on the Host..

VBoxManage.exe setextradata "name of vm" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/rdp/HostPort" 3390 VBoxManage.exe setextradata "name of vm" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/rdp/GuestPort" 3389 VBoxManage.exe setextradata "name of vm" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/rdp/Protocol" TCP

After i make this changes the Guest don't not run and explodes 1 second after you hit play and this error appears on a PopUp...

Unknown error creating VM (VERR_NO_DIGITS)

ResultCode: E_FAIL (0x80004005) Component: Console Interface: IConsole {Console ID}

I attached the complete log ...

I Apreciate the help, beacause i only have one computer i really need help so i can work on my developments for clients.

Attachments (1)

Windows Development-2009-05-12-11-38-17.log (28.5 KB ) - added by Antonio Garcia 16 years ago.
Guest Log with Error

Download all attachments as: .zip

Change History (7)

by Antonio Garcia, 16 years ago

Guest Log with Error

comment:1 by Frank Mehnert, 16 years ago

Resolution: worksforme
Status: newclosed

You entered the wrong extradata information. Please do the following to fix your VM (please cut'n'paste this text to prevent any typos):

VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/HostPort
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/GuestPort
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/Protocol
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/Config/rdp/HostPort 3390
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/Config/rdp/GuestPort 3389
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/Config/rdp/Protocol TCP

Note further that VBox has a builtin RDP server, refer to the user manual.

comment:2 by Frank Mehnert, 16 years ago

Grr, typo again. Please use the following commands:

VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/HostPort
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/GuestPort
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/pcnet/o/LUN#o/Config/rdp/Protocol
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/LUN#0/Config/rdp/HostPort 3390
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/LUN#0/Config/rdp/GuestPort 3389
VBoxManage setextradata "Windows Development" VBoxInternal/Devices/e1000/0/LUN#0/Config/rdp/Protocol TCP

comment:3 by Antonio Garcia, 16 years ago

Resolution: worksforme
Status: closedreopened

First of all do i really need to do Port Forwarding so i can Remote Desktop de to Guest ? If so how do i do it if the Guest is in NAT ?

comment:4 by Frank Mehnert, 16 years ago

Resolution: worksforme
Status: reopenedclosed
  1. No
  2. If you really want this then do exactly what I suggested you in my last comment

Again, VBox has a builtin RDP engine and you can just connect to port 3389 of the host where the VM is running. Make sure you enabled RDP (GUI, Remote Display). Or better refer to the user manual, I said this as well.

comment:5 by Antonio Garcia, 16 years ago

Resolution: worksforme
Status: closedreopened

OK I Understand...

The Guest is in NAT I Setup de RDP on Guest with 3390,Null,5000 When i go Windows Remote Destop i use the HostIP:3390 but i get the error "you are already connected to the console of this computer"

I read the manuall i dont need port forwarding like you said, but i notice that i have to bypass this error.

comment:6 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: reopenedclosed

Please could you keep this bug closed! VBox is behaving correctly, and playing ping pong like this is not supposed for this bugtracker. Use the forums for discussing and asking questions.

The problem you described seems to be a Windows problem, see for instance here or use your favorite search engine. When using the RDP server you will usually connect to a remote server, not to an RDP server on the same host.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette