Lack of RDP Server in VirtualBox OSE (VBoxHeadless): Alternatives?

I just installed VirtualBox on what pretended to be a headless server (only with support for GUESTADDITIONS, DBUS and HAL), just to find out that the OSE edition doesn't include the RDP server.

Code:
$ uname -v
FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC 2010
root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

$ pkg_info | grep virtualbox*
virtualbox-ose-3.1.6_3 A general-purpose full virtualizer for x86 hardware
virtualbox-ose-kmod-3.1.6 VirtualBox kernel module for FreeBSD

I can import my available virtual drives and work with them, but I can't create new guests remotely and/or watch/supervise the boot process. :(

What's your experience?, any workaround?

Regards
 
Hi Killspam,

Not sure if you found the answer to your question or not, but you can start the VNC server instead of vrdp:


$ VBoxHeadless -n -m 5901 -s "Mail Server"

Thanks,
Ryan
 
I might have the same issue. There is no new port opened after VBoxHeadless -s command, the help output is also shorter then on Linux box.
Linux:
Code:
 VBoxHeadless --help
Oracle VM VirtualBox Headless Interface 3.2.8
(C) 2008-2010 Oracle Corporation
All rights reserved.

Usage:
   -s, -startvm, --startvm <name|uuid>   Start given VM (required argument)
   -v, -vrdp, --vrdp on|off|config       Enable (default) or disable the VRDP
                                         server or don't change the setting
   -p, -vrdpport, --vrdpport <ports>     Comma-separated list of ports the VRDP
                                         server can bind to. Use a dash between
                                         two port numbers to specify a range
   -a, -vrdpaddress, --vrdpaddress <ip>  Interface IP the VRDP will bind to 
   -c, -capture, --capture               Record the VM screen output to a file
   -w, --width                           Frame width when recording
   -h, --height                          Frame height when recording
   -r, --bitrate                         Recording bit rate when recording
   -f, --filename                        File name when recording.  The codec
                                         used will be chosen based on the
                                         file extension
FreeBSD:
Code:
Sun VirtualBox Headless Interface 3.1.6_OSE
(C) 2008-2010 Sun Microsystems, Inc.
All rights reserved.

Unknown option: -n

Usage:
   -s, -startvm, --startvm <name|uuid>   Start given VM (required argument)
   -c, -capture, --capture               Record the VM screen output to a file
   -w, --width                           Frame width when recording
   -h, --height                          Frame height when recording
   -r, --bitrate                         Recording bit rate when recording
   -f, --filename                        File name when recording.  The codec
                                         used will be chosen based on the
                                         file extension

... so after executing your suggestion, I get
Code:
Unknown option: -n
 
Mad_Dud said:
I might have the same issue. There is no new port opened after VBoxHeadless -s command, the help output is also shorter then on Linux box.

There are two versions of VirtualBox. There is the PUEL version, which includes RDP and USB support, but is not open source.

Then there's the Open Source Edition (OSE) included in ports, which does not include USB or RDP support. It does, however, have VNC support which you can enable in the config screen.
 
wblock: Thanks for info. However I don't see any option with "vnc" in the name:

Code:
                    ┌────────────────────────────────────────────────────────────────────┐                     
                    │                Options for virtualbox-ose 3.1.6_3                  │                     
                    │ ┌────────────────────────────────────────────────────────────────┐ │                     
                    │ │      [X] QT4             Build with QT4 Frontend               │ │                     
                    │ │      [ ] DEBUG           Build with debugging symbols          │ │                     
                    │ │      [X] GUESTADDITIONS  Build with Guest Additions            │ │                     
                    │ │      [X] DBUS            Build with D-Bus and HAL support      │ │                     
                    │ │      [ ] PULSEAUDIO      Build with PulseAudio                 │ │                     
                    │ │      [X] X11             Build with X11 support                │ │                     
                    │ │      [X] NLS             Native language support               
                    │ │                                                                │ │                     
                    │ │                                                                │ │                     
                    │ │                                                                │ │

EDIT: let me fetch new ports...
EDIT 2: yeah. My case is closed. After fetch update, the vnc option appeared in make config
Thanks for help!
 
RDP server just opens up a port on your host and forwards it to port 3389 on your virtual machine. The same thing can be accomplished in VirtualBox OSE with

Code:
VBoxManage modifyvm VMName --natpf1 “guestrdp,tcp,,3389,,3389”

I'm using FreeBSD 8.1 and VirtualBox OSE 3.2.12 and it works great.
 
Back
Top