Opened 15 years ago
Closed 15 years ago
#5227 closed defect (fixed)
VRDP can't bind to localhost on OSX Snow Leopard -> fixed in SVN
Reported by: | Jinn Koriech | 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:
- 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
- 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'
- 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
- Relevant line from logs now show that RDP is working
00:00:00.229 VRDP: TCP server listening on port 3390.
- And netstat confirms this, where previously there was nothing.
$ netstat -anfinet | grep 3390 tcp4 0 0 *.3390 *.* LISTEN
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | VBox.log.1 added |
---|
comment:1 by , 15 years ago
Summary: | VRDP can't bind to localhost on OSX Snow Leopard → VRDP can't bind to localhost on OSX Snow Leopard -> fixed in SVN |
---|
Fixed in the next release.
Note:
See TracTickets
for help on using tickets.
VBox.log from which notes in the description were taken.