VRDP not running on IPv4

Discussions related to using VirtualBox on Linux hosts.
Post Reply
philayre
Posts: 10
Joined: 3. Mar 2013, 22:52

VRDP not running on IPv4

Post by philayre »

Hi

I'm having trouble accessing new virtual machines using VNC or Windows Remote Desktop Connection. Oddly this isn't affecting old virtual machines I've had for a while, only newly created machines.

My setup:
host - Ubuntu 16.04 headless server - virtualbox 5.1.8r111374 - Oracle VM VirtualBox Extension Pack installed - adminstered with phpvirtualbox
VM - Ubuntu
I'm accessing the VM via RDC / VNC on a windows 10 machine

All these are on my local IPv4 network

Any attempt to connect to the VM with RDC or VNC results in a failure - I have noticed however in the Vbox log this line:

00:00:00.029301 Oracle VM VirtualBox Extension Pack (Version: 5.1.8 r111374; VRDE Module: VBoxVRDP)
00:00:00.030258 Console: Machine state changed to 'Starting'
00:00:00.037140 VRDP: Statistics created: [full], enabled: 0.
00:00:00.038210 VRDP: VRDP: VD: Frames=10 MinMS=15 MaxMS=300 HistoryMS=2000 VideoMS=300
00:00:00.039328 VRDP: TCP server listening on port 9000 (IPv6).
00:00:00.039820 VRDP: Audio: rate correction mode 0x3.
00:00:00.040095 VRDE: loaded version 4 of the server.

the same snippet from a VM that I can access via RDC / VNC:
00:00:00.042319 Oracle VM VirtualBox Extension Pack (Version: 5.1.8 r111374; VRDE Module: VBoxVRDP)
00:00:00.043678 Console: Machine state changed to 'Starting'
00:00:00.050653 VRDP: Statistics created: [full], enabled: 0.
00:00:00.051707 VRDP: VRDP: VD: Frames=10 MinMS=15 MaxMS=300 HistoryMS=2000 VideoMS=300
00:00:00.052858 VRDP: TCP server listening on port 3333 (IPv4 and IPv6).
00:00:00.053320 VRDP: Audio: rate correction mode 0x3.
00:00:00.053490 VRDE: loaded version 4 of the server.

My hunch is that it’s something to do with "VRDP: TCP server listening on port 9000 (IPv6)" how can I get VRDP to listen on IPv4 also? My network is entirely IPv4, and the link displayed in phpvirtualbox to access my remote desktop is 192.168.10.102:9000

any ideas greatly appreciated as I’m stumped.

Cheers!

Phil
philayre
Posts: 10
Joined: 3. Mar 2013, 22:52

Re: VRDP not running on IPv4

Post by philayre »

OK

so it seems if I create a new VM I see this in the logs:
00:00:00.052858 VRDP: TCP server listening on port 3333 (IPv6).

and I cannot RDC into it. However if I change the VRDport by commandline ( VBoxManage modifyvm [VMNAME] --vrdeport 3002 ) and restart the VM I then see in the log:
00:00:00.036740 VRDP: TCP server listening on port 3002 (IPv4 and IPv6).

and I can connect to the VM. I've no idea why this is happening but I now have a workaround.
Post Reply