VirtualBox

Ticket #4001 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: antonio.garcia Owned by:
Priority: major 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

Windows Development-2009-05-12-11-38-17.log Download (28.5 KB) - added by antonio.garcia 5 years ago.
Guest Log with Error

Change History

Changed 5 years ago by antonio.garcia

Guest Log with Error

comment:1 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

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 Changed 5 years ago by frank

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 Changed 5 years ago by antonio.garcia

  • Status changed from closed to reopened
  • Resolution worksforme deleted

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 Changed 5 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to worksforme
  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 Changed 5 years ago by antonio.garcia

  • Status changed from closed to reopened
  • Resolution worksforme deleted

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 Changed 5 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

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.

www.oracle.com
ContactPrivacy policyTerms of Use