*Solved [EN/GER] Can't connect to RDP nor VRDE

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Screemer
Posts: 7
Joined: 8. Mar 2022, 16:10

*Solved [EN/GER] Can't connect to RDP nor VRDE

Post by Screemer »

Hi

I got the following issue. Today i installed a new vm with win10 2009 added the guest additions and installed the virtualbox extensions too.

The Problem is that i can't connect to the headless vm via RDP. Win10 is configured to accept rdp connections on it's standard port 3389 and vrde is running on port 3390. The ethernet adapter of the guest ist configuerd in bridgemode with a fixed ip and it can connect to the web and i can ping it after i activated the rules for file and printersharing in the firewall app settings.

For testing i opened all incoming ports of the windows 10 host for virtualboxmanage.exe and virtualboxheadles.exe in its firewall. Doesn't help.

Maybe someone has a hint what the problem could be?

Gerne auch auf deutsch.
Attachments
vm ping rdp.PNG
vm ping rdp.PNG (55.18 KiB) Viewed 1153 times
VBox.log
(83.72 KiB) Downloaded 36 times
Last edited by Screemer on 8. Mar 2022, 19:58, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: [EN/GER] Can't connect to RDP nor VRDE

Post by mpack »

I regularly use RDP to communicate with a headless Win10 VM running in bridged network mode, so IMO there is nothing systemic in VirtualBox which prevents it. I did not have to whitelist any VirtualBox applications.

Why did you give the VM a static IP address? That is the only important change from how I normally do it - choosing a static address means that the address isn't necessarily known to other devices on the host physical network. In my case I let the VM be assigned an IP by the host DHCP server, and I connect to it using the "network host name" of the VM (my LAN has a PiHole DNS, so it can turn local names into LAN addresses). However if I wanted to assign a static address I'd configure that at the host network DHCP.
Screemer
Posts: 7
Joined: 8. Mar 2022, 16:10

Re: [EN/GER] Can't connect to RDP nor VRDE

Post by Screemer »

i don't have access to the dhcp in the network to manually set the ip to fixed or at least change the leastime for the ip to endless.

It has to be fixed because there is or should be a firebird db running on port 3050 to which different useres connect. A fixed ip of the server helps to prevent connection issues if the dhcp would cast a new ip to the vm.

edit. i assigned a ip by dhcp but sadly it did not help.
Attachments
ip by dhcp.PNG
ip by dhcp.PNG (42.29 KiB) Viewed 1133 times
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: [EN/GER] Can't connect to RDP nor VRDE

Post by fth0 »

AFAIU, you didn't clearly state which IP address belongs to which system, so just in case you did it wrong:

You can either connect to the VirtualBox VRDP server running on the host with "<host IP>:3390", or to a Windows RDP server running in the guest with "<guest IP>:3389".
Screemer
Posts: 7
Joined: 8. Mar 2022, 16:10

Re: [EN/GER] Can't connect to RDP nor VRDE

Post by Screemer »

thank you for proofing that i am an idiot :D

tried to connect to [guest]:3390 all the time. never thought about [host].

TY!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: *Solved [EN/GER] Can't connect to RDP nor VRDE

Post by mpack »

Hmm. It might also have helped if you had mentioned in post #1 that you were talking about the VRDP function in VirtualBox, and not the RDP feature of Windows, despite referring to RDP throughout.
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: *Solved [EN/GER] Can't connect to RDP nor VRDE

Post by fth0 »

In the VirtualBox User Manual, the terms VRDP and VRDE are both used to describe different aspects of the VirtualBox VRDP Support, and the OP used the term VRDE in the heading and in the text. In addition to that, the OP was talking about both the VirtualBox VRDP and the Windows RDP services.
Post Reply