Skip to content

Instantly share code, notes, and snippets.

@arifsuhan
Last active August 21, 2022 08:05
Show Gist options
  • Save arifsuhan/a8ea366e9c6fd3ff43a921b1b3f89680 to your computer and use it in GitHub Desktop.
Save arifsuhan/a8ea366e9c6fd3ff43a921b1b3f89680 to your computer and use it in GitHub Desktop.
alpine virtualbox
sudo -
apk add vim
vim /etc/apk/repository
apk update
setup-xorg-base xfce4 xfce4-terminal dbus-x11
apk add xf86-input-synaptics
rc-service dbus start
rc-update add dbus
rc-update add udev
# After reboot, type "startx"
reboot
# Optionals
apk add st
apk add xfce4
apk add thunar-volman udisks2
apk add xf86-video-vboxvideo xf86-video-intel xf86-video-vesa
setup-xorg-base xfce4-screensaver sudo
setup-xorg-base lightdm-gtk-greeter
rc-update add lightdm
rc-service lightdm start
# https://wiki.alpinelinux.org/wiki/Xfce#Allowing_shut_down_and_reboot
# https://wiki.alpinelinux.org/wiki/Firefox - browser
# https://wiki.alpinelinux.org/wiki/ALSA - sound
# Reference
# https://wiki.alpinelinux.org/wiki/Repositories#Enabling_the_community_repository
# https://wiki.alpinelinux.org/wiki/Xfce
  1. Login
Username: Root 
  1. Setup
setup-alpine
poweroff
# apk add virtualbox-guest-additions
# rc-update add virtualbox-guest-additions default
apk add virtualbox-guest-additions-x11
rc-update add virtualbox-drm-client default
Reference:
# https://wiki.alpinelinux.org/wiki/VirtualBox_guest_additions
# https://unix.stackexchange.com/questions/388937/alpine-linux-virtualbox-vm-with-xfce4-desktop-not-able-to-use-full-screen-resolu
# https://www.youtube.com/watch?v=wohtB7uM1dM
# https://wiki.alpinelinux.org/wiki/Post_installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment