[Resolved] Unable to connect to VirtualBox via RDP
Posted: 13. Aug 2018, 23:48
I'm running VirtualBox (plus extension pack) on an Ubuntu 18 machine, and successfully running WinXP (with VirtualBox Guest Additions installed) as a virtal machine inside it. My next aim is to connect to the WinXP VM from another computer (currently Win 10) using RDP, which I understand VirtualBox is able to do.
Unfortunately I'm unable to connect remotely to my WinXP VM. I've set it us as follows:
In VirtualBox I've enabled the RDP server using Display > Remote Display > Enable server, using the default settings (port 3389 etc), and started the WinXP VM. On the Win10 machine I'm using Windows Remote Desktop Connection, and have tried entering [ubuntumachinename]:3389 and [ubuntumachineIP]:3389 but always receive the message 'This computer can't connect to the remote computer'.
I can connect the to the Ubuntu machine from the Win10 machine using VNC, so it doesn't appear to be a networking problem. Also, attempting to connect the Ubuntu machine to its own VMs at 127.0.0.1:3389 using Ubuntu's remote desktop app Remmina doesn't work either.
I tried the following in case the firewall was blocking access:
sudo ufw allow 3389
And tried checking the port was open with 'netstat -ano | grep 3389' which returned:
Am I doing something wrong? Do I need to be running any RDP-related software on the VM to be able to connect to it? Can anyone offer any advice? Thank you.
Unfortunately I'm unable to connect remotely to my WinXP VM. I've set it us as follows:
In VirtualBox I've enabled the RDP server using Display > Remote Display > Enable server, using the default settings (port 3389 etc), and started the WinXP VM. On the Win10 machine I'm using Windows Remote Desktop Connection, and have tried entering [ubuntumachinename]:3389 and [ubuntumachineIP]:3389 but always receive the message 'This computer can't connect to the remote computer'.
I can connect the to the Ubuntu machine from the Win10 machine using VNC, so it doesn't appear to be a networking problem. Also, attempting to connect the Ubuntu machine to its own VMs at 127.0.0.1:3389 using Ubuntu's remote desktop app Remmina doesn't work either.
I tried the following in case the firewall was blocking access:
sudo ufw allow 3389
And tried checking the port was open with 'netstat -ano | grep 3389' which returned:
Code: Select all
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN off (0.00/0/0)