Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 16:57:30 +0100
From:      =?ISO-8859-1?Q?S=F8ren_Schr=F8der?= <sch@chaos.dk>
To:        freebsd-emulation@freebsd.org
Subject:   VNC in virtualbox-ose-4.2.6
Message-ID:  <CACbA=FvnjKtFMjkSfDsU-gi6HT1c6oCBJok2VxH2QMsf8fDM0g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Greetings.

I have been using Virtualbox for headless servers for some time and is
very pleased with it.

Since I run the servers headless, I use VNC for console on the servers.

I'm running virtualbox-ose-4.1.18 on 9.0-RELEASE amd64, and I start my
servers with

/usr/local/bin/VBoxHeadless --startvm someserver --vnc --vncport 5901
--vncpass=3Dsomepass

Im now building a new box, and installed 4.2.6 on 9.1-RELEASE amd64

I've made my first guest, via the X11 GUI, and it works. But I cannot
get VNC running in headless.

I installed from ports, and enabled VNC option

[root@foo /var/db/ports/virtualbox-ose]# cat options
# This file is auto-generated by 'make config'.
# Options for virtualbox-ose-4.2.6
_OPTIONS_READ=3Dvirtualbox-ose-4.2.6
_FILE_COMPLETE_OPTIONS_LIST=3DDBUS DEBUG GUESTADDITIONS NLS PULSEAUDIO
QT4 UDPTUNNEL VDE VNC WEBSERVICE X11
OPTIONS_FILE_SET+=3DDBUS
OPTIONS_FILE_UNSET+=3DDEBUG
OPTIONS_FILE_UNSET+=3DGUESTADDITIONS
OPTIONS_FILE_SET+=3DNLS
OPTIONS_FILE_UNSET+=3DPULSEAUDIO
OPTIONS_FILE_SET+=3DQT4
OPTIONS_FILE_SET+=3DUDPTUNNEL
OPTIONS_FILE_SET+=3DVDE
OPTIONS_FILE_SET+=3DVNC
OPTIONS_FILE_SET+=3DWEBSERVICE
OPTIONS_FILE_SET+=3DX11

/usr/local/bin/VBoxHeadless --startvm someserver --vnc --vncport 5901
--vncpass=3Dsomepass
Oracle VM VirtualBox Headless Interface 4.2.6_OSE
(C) 2008-2013 Oracle Corporation
All rights reserved.

VBoxHeadless: error: Unknown option: '--vnc'
Usage:
   -s, -startvm, --startvm <name|uuid>   Start given VM (required argument)
   -v, -vrde, --vrde on|off|config       Enable (default) or disable the VR=
DE
                                         server or don't change the setting
   -e, -vrdeproperty, --vrdeproperty <name=3D[value]> Set a VRDE property:
                                         "TCP/Ports" - comma-separated
list of ports
                                         the VRDE server can bind to.
Use a dash between
                                         two port numbers to specify a rang=
e
                                         "TCP/Address" - interface IP
the VRDE server
                                         will bind to
   --settingspw <pw>                     Specify the settings password
   --settingspwfile <file>               Specify a file containing the
settings password
   -c, -capture, --capture               Record the VM screen output to a f=
ile
   -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

it seems VNC is now in "extpacks", and it seems like its "usable"

 VBoxManage list extpacks
Password:
Extension Packs: 1
Pack no. 0:   VNC
Version:      4.2.6_OSE
Revision:     82870
Edition:
Description:  VNC plugin module
VRDE Module:  VBoxVNC
Usable:       true
Why unusable:

but I cannot figure how to make console via VNC in 4.2

Any pointers ?






--
S=F8ren Schr=F8der.
Obey Gravity - It's the law !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACbA=FvnjKtFMjkSfDsU-gi6HT1c6oCBJok2VxH2QMsf8fDM0g>