Opened 10 years ago

Closed 8 years ago

#426 closed enhancement (fixed)

Install VirtualBox helper application

Reported by: camerons Owned by: live-demo@…
Priority: major Milestone:
Component: OSGeoLive Keywords: 4.0, vm
Cc:

Description

The FOSS4G GISVM seems to work quite well in Sun's Open Source version of Virtual Box, which you can apt-get install from Ubuntu.

To make it work better, like getting the mouse to move freely from the virtual box to your desktop, and to get the display to expand greater than 800x600, it seems you can install virtual box helper applications. See the comment trail on this blog for details:

http://freegeographytools.com/2008/gisvm-a-virtual-ubuntu-linux-gis-workstation

We need to get this into an install script.

Change history (12)

comment:1 Changed 10 years ago by tmitchell

Component: GeneralLiveDVD
Owner: changed from tmitchell to live-demo@…

Assumed this is about the livedemo disk - reassigning.

comment:2 Changed 10 years ago by wildintellect

Priority: normalmajor

Looking into this a little more, it looks like there are open source implementations of both VMware and VBox guest tools available via the package manager.

It looks like we could easily create a script to be run the first time a machine is booted up(maybe on the desktop, triggered by user) to install the appropriate tools.

sudo apt-get install open-vm-tools open-vm-toolbox
sudo apt-get install virtualbox-ose-guest-utils

There may be some recommended packages that go along with that, not sure if installing both would conflict with each other or not. Now that I've posted the final vm, please test and provide feedback.

comment:3 Changed 10 years ago by camerons

Type: taskenhancement

comment:4 Changed 10 years ago by camerons

Keywords: 2.0 added

comment:5 Changed 10 years ago by hamish

apparently there is come conflict with vmware running at the same time. suggestion: install them both and use inittab runlevels to control which one is used: runlevel 4 could be VMware, level 5 be virtual box, level 3 be neither. (default to neither)

Cameron:

For development, I suggest we don't install the vmware tools, as when you try to access the image over the web, it expands to your screen size, and takes up much more bandwidth.

comment:6 Changed 10 years ago by hamish

(adjust symlinks in /etc/rc[3-5].d/)

comment:7 Changed 10 years ago by wildintellect

Keywords: 4.0 added; 2.0 removed

epifanio is recommending we install Virtual Box additions by default and that in testing when running a built iso it will be ignored. For VMWare users installation of the VMWare tools via apt-get should remove the VBox stuff to avoid conflict. This would mean only some users would need to do the extra step as opposed to all current users be effected.

The only issue I see is philosophical: Do we want to do this an give initial preference to VBox?

Test iso proving concept

Would be implemented in version 4.0

comment:8 in reply to:  7 Changed 10 years ago by hamish

Replying to wildintellect:

The only issue I see is philosophical: Do we want to do this an give initial preference to VBox?

I'm not familiar enough with these products to give a technical opinion beyond the general 1) any solution which is apt-gettable is simpler and already proven on the platform so therefore easier for us to maintain, and 2) avoid 3rd party solutions which incur redistribution issues. Philosophically fully FOSS solutions should be favoured, whenever available && appropriate.

Hamish

comment:9 Changed 10 years ago by wildintellect

We also need this package virtualbox-ose-guest-x11 looks like they split the X stuff out from the rest of the tools.

comment:10 Changed 9 years ago by hamish

Keywords: vm added

is this partially or fully taken care of by ./install_services.sh now?

apt-get --assume-yes install openssh-server vnc4server

Hamish (who's preference is for a recent build of QEMU-KVM as it's not crippleware, but diversity is + good)

comment:11 Changed 8 years ago by kalxas

In version 5.5beta4 the VM works great under VirtualBox?. I think this issue should be closed. Comments?

comment:12 Changed 8 years ago by camerons

Resolution: fixed
Status: newclosed

Agree that this issue is fixed, I've closed this issue.

Note: See TracTickets for help on using tickets.