Difference between revisions of "Arch Linux VirtualBox Guest"

From ArchWiki
Jump to: navigation, search
(Enable VboxClient-all)
Line 19: Line 19:
 
{{Note|The ellipsis indicate that you may or may not have additional modules or daemons that you may be starting. Please don't add the ellipsis in the arrays.}}
 
{{Note|The ellipsis indicate that you may or may not have additional modules or daemons that you may be starting. Please don't add the ellipsis in the arrays.}}
  
==Enable VboxClient-all==
+
==Enable VboxClient-all :==
 
If you are running something that launches /etc/xdg/autostart/vboxclient.desktop, such as GNOME, then you should be ready to go. If you use .xinitrc to launch things instead, you must add
 
If you are running something that launches /etc/xdg/autostart/vboxclient.desktop, such as GNOME, then you should be ready to go. If you use .xinitrc to launch things instead, you must add
 
  VBoxClient-all &
 
  VBoxClient-all &

Revision as of 16:01, 21 June 2011

Installing Arch under VirtualBox is straightforward, and additions should be installed through pacman (not through "Install Guest Additions" in VirtualBox, or a mounted ISO.) Follow these instructions after doing a basic install following the Beginners' Guide.

Install the required package:

# pacman -Syu virtualbox-guest-additions

Load vbox modules:

# modprobe vboxguest
# modprobe vboxsf
# modprobe vboxvideo

Auto-start modules

To autostart these modules each time you boot, you can either

  • 1) Add the three modules above to the MODULES array in /etc/rc.conf.
#MODULES(... vboxguest vboxsf vboxvideo)

OR

  • 2) Add rc.vboxadd to the DAEMONS array. This daemon probes the above listed modules.
#DAEMONS(... rc.vboxadd)
Note: The ellipsis indicate that you may or may not have additional modules or daemons that you may be starting. Please don't add the ellipsis in the arrays.

Enable VboxClient-all :

If you are running something that launches /etc/xdg/autostart/vboxclient.desktop, such as GNOME, then you should be ready to go. If you use .xinitrc to launch things instead, you must add

VBoxClient-all &

to your .xinitrc before launching your WM.

You should now be all set, and all guest additions should work properly. This was confirmed to work with virtualbox 4.0.8.