Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save decuser/bf01557e237fdf93a10dfbfde91c471f to your computer and use it in GitHub Desktop.
Save decuser/bf01557e237fdf93a10dfbfde91c471f to your computer and use it in GitHub Desktop.
Episode 3
Full Blown X Windows Environment
Plasma (KDE)
Prereqs
Base System Install on VirtualBox (see the first video)
Overview
Objectives:
* Get Plasma running
Steps:
1. Snapshot the base system
2. Change the Graphics Controller from VMSVGA to VBoxSVGA
3. Check for updates (system & packages)
4. Reduce the boot delay
5. Install packages, configure, and test
6. Snapshot the working system
Details
1. Snapshot the base system
In VirtualBox:
Select the VM
Machine->Tools->Snapshots
Click Take, name the snapshot and click OK
2. Change the Graphics Controller from VMSVGA to VBoxSVGA
3. Check for updates (system & packages)
Start the VM (headless or normal)
log in (over ssh or the via the console, your choice)
become root (su -, sudo -s, etc.)
# update the system
freebsd-update fetch install
reboot if prompted
# as root, update the packages
pkg update && pkg upgrade -y
4. Reduce the boot delay
cat /boot/defaults/loader.conf |grep auto
sudo sysrc -f /boot/loader.conf autoboot_delay="1"
reboot (reboot or shutdown -r now)
5. Install packages, configure, and test
sudo -s
# install guest additions
pkg install virtualbox-ose-additions
sysrc vboxguest_enable="YES"
sysrc vboxservice_enable="YES"
# as root, install the packages
pkg install xorg kde5 sddm plasma5-sddm-kcm firefox
sysrc dbus_enable="YES"
sysrc hald_enable="YES"
sysrc sddm_enable="YES"
exit
vi ~/.xinitrc
exec /usr/local/bin/startplasma-x11
startx
changed the display resolution in Plasma and see it work.
6. Snapshot the working system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment