Re: VirtualBox from the command line

2010-03-19 Thread Ricardo Jesus

On 19/03/2010 03:45, Warren Block wrote:

On Thu, 18 Mar 2010, Adam Vande More wrote:


On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@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


And VBoxSDL. And VBoxManage. You can even create VMs from the command
line, but it's fairly involved.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

The problem with headless VirtualBox on FreeBSD is that the VRDP 
Connection is set to not active on VirtualBox OSE. AFAIK that makes it 
impossible to use headless VirtualBox on FreeBSD.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-19 Thread Warren Block

On Fri, 19 Mar 2010, Ricardo Jesus wrote:


The problem with headless VirtualBox on FreeBSD is that the VRDP Connection 
is set to not active on VirtualBox OSE. AFAIK that makes it impossible to use 
headless VirtualBox on FreeBSD.


There are patches to use VNC with the OSE version:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=170485+0+archive/2010/freebsd-stable/20100221.freebsd-stable

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-19 Thread Paul Schmehl

--On Friday, March 19, 2010 11:46:51 +0800 Aiza aiz...@comclark.com wrote:



Why don't virtual box GUI start in vga mode?



VirtualBox is in ports and installs as an application like Firefox.

Here's a screenshot of it running on my workstation:
http://www.utdallas.edu/~pauls/VirtualBox_on_FreeBSD.png

And here's a shot of the menu item in KDE4:
http://www.utdallas.edu/~pauls/VirtualBox_menu_KDE4.png

It's the second item from the top, because it's a recently used program.  It 
also appears in the System menu on KDE4.  However you create icons to launch 
programs in your window manager, that's how you would create one to start 
VirtualBox.  It has to start as an X11 program, not a commandline (terminal) 
program.



Is this telling me that I have to have Xorg and some
desktop running before VirtualBox's gui will function?



Yes.  VirtualBox is a GUI program designed to run alternative OSes inside the 
native OS.  (There may be a commandline version that I'm not familiar with.)



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?



Well, clearly I'm using the GUI version.  I also use it on Mac Snow Leopard. 
It beats the hell out of VMware or having to run Windows natively.


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-19 Thread Paul Schmehl

--On Friday, March 19, 2010 08:44:48 +0800 Aiza aiz...@comclark.com wrote:


Does VirtualBox launch from the FBSD command line?
Is there a package for it in the pkg system?


It's in ports.  I don't know if there's a package for it, but I suspect there 
is, and it's probably older than the ports version.


It's an application.  Just like Firefox.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


VirtualBox from the command line

2010-03-18 Thread Aiza

Does VirtualBox launch from the FBSD command line?
Is there a package for it in the pkg system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: VirtualBox from the command line

2010-03-18 Thread Don O'Neil
You need to use 'vboxtool'... 

http://vboxtool.sourceforge.net/


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Aiza
 Sent: Thursday, March 18, 2010 5:45 PM
 To: FreeBSD Questions
 Subject: VirtualBox from the command line
 
 Does VirtualBox launch from the FBSD command line?
 Is there a package for it in the pkg system?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-18 Thread Adam Vande More
On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@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|UUIDstart 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-18 Thread Warren Block

On Thu, 18 Mar 2010, Adam Vande More wrote:


On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@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|UUIDstart 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


And VBoxSDL.  And VBoxManage.  You can even create VMs from the command 
line, but it's fairly involved.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox from the command line

2010-03-18 Thread Aiza
On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@comclark.com 
mailto:aiz...@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|UUIDstart 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?





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org