Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Discussions about using Linux guests in VirtualBox.
Post Reply
danielfeng
Posts: 1
Joined: 12. Oct 2010, 20:43
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux

Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Post by danielfeng »

So 3.2.10 supports xorg 1.9 now, however Guest Additions won't work for Arch Linux (I'm using x86 but assume it applies to both). To get it work, you'll need to do some work after installation.

1. modify /etc/rc.conf:
add kernel modules "vboxguest" and "vboxsf", like this:

Code: Select all

in /etc/rc.conf
MODULES=(vboxguest vboxsf)
2. you will find "xorg.conf" and "xorg.vbox.nobak" in /etc/X11. Here's the problem - xorg.conf is not necessary for xorg 1.9, and Arch Linux is not using it at all (although Ubuntu 10.10 with xorg 1.9 is still using xorg.conf)! That's why there is "xorg.vbox.nobak".
So just move xorg.conf to /etc/X11/xorg.conf.d/10-monitor.conf (backup your original file if needed). Reboot and you are done.

Code: Select all

# mv /etc/X11/xorg.conf /etc/X11/xorg.conf.d/10-monitor.conf
Developers may want to add some extra code in the installation script to do it automatically.
dmcgraw
Volunteer
Posts: 808
Joined: 24. Jun 2008, 17:16
Primary OS: Ubuntu 8.10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Ubuntu 9.10
Location: St. Louis, MO, USA

Re: Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Post by dmcgraw »

Please do not cross post. As guest additions are installed in the guest, they are independent of the host platform.

Your other post has been deleted.
leonbnu
Posts: 22
Joined: 24. Oct 2008, 04:13

Re: Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Post by leonbnu »

3D hardware acceleration still doesn't work for me . glxinfo gives me software opengl rendering
danielausparis
Posts: 7
Joined: 7. Oct 2010, 11:38
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: archlinux

Re: Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Post by danielausparis »

this should be forwarded to the quite obsolete page http://wiki.archlinux.org/index.php/VirtualBox !
Daniel
danielking
Posts: 2
Joined: 3. Nov 2010, 14:34
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux

Re: Fix VirtualBox 3.2.10 Guest Additions on Arch Linux

Post by danielking »

I get opengl work after installing dkms.
Post Reply