VirtualBox guest additions: Difference between revisions
(Rewrite the page) |
(Added fix for the case if shared clipboard does not work) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
Start and enable <code>virtualbox-guest-additions</code> service: | Start and enable <code>virtualbox-guest-additions</code> service: | ||
{{cmd|# rc-service virtualbox-guest-additions start | |||
# rc-service virtualbox-guest-additions start | # rc-update add virtualbox-guest-additions boot}} | ||
# rc-update add virtualbox-guest-additions boot | |||
If you are using graphical environment, also start and enable <code>virtualbox-drm-client</code> service: | If you are using a graphical environment, also start and enable <code>virtualbox-drm-client</code> service: | ||
{{cmd|# rc-service virtualbox-drm-client start | |||
# rc-service virtualbox-drm-client start | # rc-update add virtualbox-drm-client default}} | ||
# rc-update add virtualbox-drm-client default | |||
== Enabling Shared Clipboard == | |||
If Shared Clipboard doesn't work out of the box, try to run | |||
{{cmd|# VBoxClient --clipboard}} | |||
It might need root privileges. | |||
It was mentioned [https://lists.alpinelinux.org/~alpine/users/%3C2949ecf5-3450-47ec-0e0e-f14e8fdcd6af%40gmail.com%3E here] | |||
[[Category:Virtualization]] |
Latest revision as of 03:55, 24 June 2025
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 a graphical environment, also start and enable virtualbox-drm-client
service:
# rc-service virtualbox-drm-client start # rc-update add virtualbox-drm-client default
If Shared Clipboard doesn't work out of the box, try to run
# VBoxClient --clipboard
It might need root privileges. It was mentioned here