VirtualBox guest additions: Difference between revisions

From Alpine Linux
(remove stale ancient info)
(Rewrite the page)
Line 1: Line 1:
=How to install VirtualBox guest additions=
VirtualBox Guest Additions provide kernel modules for VirtualBox virtualized hardware and userspace daemons for features like shared clipboard and automatic resolution setting.


# install {{Cmd|apk add virtualbox-guest-additions}}
== Installation ==
To enable X11 display auto-resizing:
{{Cmd|apk add virtualbox-guest-additions-x11
rc-update add virtualbox-drm-client default}}


[[Category:Virtualization]]
Install {{Pkg|virtualbox-guest-additions}}. Additionally, install {{Pkg|virtualbox-guest-additions-x11}} if you are going to use graphical environment (including wayland) in your Alpine guest.
 
== Enabling VirtualBox Guest Additions ==
 
Start and enable <code>virtualbox-guest-additions</code> service:
<pre>
# rc-service virtualbox-guest-additions start
# rc-update add virtualbox-guest-additions boot
</pre>
 
If you are using graphical environment, also start and enable <code>virtualbox-drm-client</code> service:
 
<pre>
# rc-service virtualbox-drm-client start
# rc-update add virtualbox-drm-client default
</pre>

Revision as of 19:13, 5 November 2023

VirtualBox Guest Additions provide kernel modules for VirtualBox virtualized hardware and userspace daemons for features like shared clipboard and automatic resolution setting.

Installation

Install virtualbox-guest-additions. Additionally, install virtualbox-guest-additions-x11 if you are going to use graphical environment (including wayland) in your Alpine guest.

Enabling VirtualBox Guest Additions

Start and enable virtualbox-guest-additions service:

# rc-service virtualbox-guest-additions start
# rc-update add virtualbox-guest-additions boot

If you are using graphical environment, also start and enable virtualbox-drm-client service:

# rc-service virtualbox-drm-client start
# rc-update add virtualbox-drm-client default