Date: Fri, 19 Mar 2010 11:46:51 +0800 From: Aiza <aiza21@comclark.com> To: Adam Vande More <amvandemore@gmail.com> Cc: lists@lizardhill.com, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: VirtualBox from the command line Message-ID: <4BA2F3AB.6030108@comclark.com> In-Reply-To: <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Mar 18, 2010 at 7:44 PM, Aiza <aiza21@comclark.com > <mailto:aiza21@comclark.com>> wrote: > > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? > > > # VirtualBox -h > Sun VirtualBox Graphical User Interface 3.1.2_OSE > (C) 2005-2009 Sun Microsystems, Inc. > All rights reserved. > > Usage: > --startvm <vmname|UUID> start a VM by specifying its UUID or name > --rmode sdl|image select different render mode (default is sdl) > > There are other ways too, eg VBoxHeadless > > -- > Adam Vande More I read the VirtualBox section in the handbook. Not very informative. I also read the VirtualBox manual here http://www.virtualbox.org/manual/ch02.html#startingvboxonlinux The VirtualBox website http://www.virtualbox.org shows a GUI manager for configuring the host and guest setups. I did pkg_add -r virtualbox During the install got these messages Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Since i Want to run virtualbox under vga I did this set env SDL_VIDEODRIVER=vgl added vesa_load="YES" to /boot/loader.conf At the end of the package install it says to Add vboxdrv_load="YES" to /boot/loader.conf and reboot which i did. before launching do mount -t procfs proc /proc pw groupmod vboxusers -m root To launch it enter VirtualBox on the command line. [take special note of the capital letters V & B in the command name] I get msg "Failed to open the X11 display." tried starting VBoxSDL get this error VBoxSDL: Error -1908 in suplibOsInit! VBoxSDL: Kernel driver not installed VBoxSDL: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox. Tried starting VBoxManager VBoxManager: Command not found. Tried starting VBoxHeadless VBoxHeadless: Error -1908 in suplibOsInit! VBoxHeadless: Kernel driver not installed VBoxHeadless: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox. Why don't virtual box GUI start in vga mode? Is this telling me that I have to have Xorg and some desktop running before VirtualBox's gui will function? Are the scripts provided by vboxtool the only way to have command line control of VirtualBox? http://vboxtool.sourceforge.net/ See talk about vboxweb as alternate VirtualBox manager. http://vboxweb.blogspot.com/ Does not look like this is out of development yet. Anybody using this?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA2F3AB.6030108>