VirtualBox

Ticket #5227 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

VRDP can't bind to localhost on OSX Snow Leopard -> fixed in SVN

Reported by: jinn Owned by:
Component: RDP Version: VirtualBox 3.0.8
Keywords: rdp vrdp VBoxHeadless headless Cc:
Guest type: Linux Host type: Mac OS X

Description

Running a guest machine on OSX with RDP listening on localhost doesn't work.

RDP is able to bind to *:port, but not to 127.0.0.1:port.

To reproduce:

  1. Start a VM from the command line
    $ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage showvminfo gentoo | grep -i rdp
    VRDP:            enabled (Address 127.0.0.1, Port 3390, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
    VRDP Connection:    not active
    
    $ /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --startvm gentoo
    
  2. Relevant lines from the log file are:
    00:00:00.320 VRDP: TCP server failed to bind to a port: 3390 []
    00:00:00.320 VRDP: TCP server closed.
    00:00:00.320 VRDP: Failed to start VRDP-IN thread, rc = VERR_NET_ADDRESS_IN_USE
    00:00:00.325 Warning: failed to launch VRDP server (VERR_NET_ADDRESS_IN_USE): 'VRDP server port 3390 is already in use'
    
  3. Update the vm config to bind to any interface and restart the vm and it works.
    $ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage modifyvm gentoo --vrdpaddress 0.0.0.0
    $ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage showvminfo gentoo | grep -i rdp
    VRDP:            enabled (Address 0.0.0.0, Port 3390, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
    
    $ /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --startvm gentoo
    
  4. Relevant line from logs now show that RDP is working
    00:00:00.229 VRDP: TCP server listening on port 3390.
    
  5. And netstat confirms this, where previously there was nothing.
    $ netstat -anfinet | grep 3390
    tcp4       0      0  *.3390                 *.*                    LISTEN
    

Attachments

VBox.log.1 Download (54.1 KB) - added by jinn 12 years ago.
VBox.log from which notes in the description were taken.

Change History

Changed 12 years ago by jinn

VBox.log from which notes in the description were taken.

comment:1 Changed 11 years ago by poetzsch

  • Summary changed from VRDP can't bind to localhost on OSX Snow Leopard to VRDP can't bind to localhost on OSX Snow Leopard -> fixed in SVN

Fixed in the next release.

comment:2 Changed 11 years ago by frank

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

Fixed in 3.1.8

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use