docs:tips_n_tricks:virtualbox.html
This is an old revision of the document!
Table of Contents
Virtualbox
Mac OX X Host
Download virtualbox for personal use from Virtualbox.org
Debian Etch/Lenny Guest
(this is from memory - real package names and options may vary)
If you apply this to an Etch system, you have to upgrade some X11 components and base libraries (libc, locales, …) to Lenny before.
Add to /etc/apt/sources.list
:
deb http://www.backports.org/debian/ lenny-backports main contrib non-free
make sure /lib/modules/`uname -r`/build
points to your current kernel sources.
Run
apt-get install virtualbox-ose-guest-utils apt-get install virtualbox-ose-guest-x11 <del>apt-get install virtualbox-ose-guest-modules-2.6</del> (maybe not?) apt-get install virtualbox-ose-guest-dkms
In case something went wrong, redo module compilation by
dpkg-reconfigure virtualbox-ose-guest-dkms
Unload and load modules:
/etc/init.d/vboxdrv stop # if for any reason you had a host setup # configured in your guest /etc/init.d/virtualbox-guest-addons start
create xorg.conf
with
X -configure # (I had to ln -s /dev/input/mouse1 /dev/mouse) # test X -config /root/xorg.conf.test
and deploy it:
mv -iv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak mv -iv /root/xorg.conf.test /etc/X11/xorg.vbox.conf ln /etc/X11/xorg.vbox.conf /etc/X11/vbox.conf /etc/init.d/gdm restart
In X11, enable root to act with the X11 system (set DISPLAY
and authorize by xhost
or xauth
- whatever you prefer) and engage guest integration by
VBoxClient --display VBoxClient --seamless VBoxClient --clipboard
You might want to automize the latter for future logins.
docs/tips_n_tricks/virtualbox.html.1292984033.txt.gz · Last modified: 22.12.2010 03:13 CET by peter