Skip to content

Instantly share code, notes, and snippets.

@alastairhm
Created October 19, 2020 16:03
Show Gist options
  • Save alastairhm/2ef8fb1dae5b674c9146ce4da1c6e6e7 to your computer and use it in GitHub Desktop.
Save alastairhm/2ef8fb1dae5b674c9146ce4da1c6e6e7 to your computer and use it in GitHub Desktop.
FreeBSD install XFCE on Virtual Box
pkg update
pkg install xorg
echo 'kern.vty=vt' >> /boot/loader.conf
pkg install virtualbox-ose-additions
echo 'vboxguest_enable="YES"' >> /etc/rc.conf
echo 'vboxservice_enable="YES"' >> /etc/rc.conf
echo 'dbus_enable="YES"' >> /etc/rc.conf
service vboxguest start
service vboxservice start
service dbus start
pkg install xfce
echo "exec /usr/local/bin/startxfce4 --with-ck-launch" > ~/.xinitrc
echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment