Created
August 5, 2020 19:44
-
-
Save decuser/5ae7104c659511767f25007c4b2b874c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Episode 2 | |
Basic X Windows Environment | |
TWM & Lumina | |
This video is drawn from the July 31 presentation of FreeBSD Fridays: | |
FreeBSD InstallFest- Part 2 by rollerangel | |
Prereqs | |
Base System Install on VirtualBox (see the first video) | |
Overview | |
Objectives: | |
* Get Xorg running with TWM | |
* Get Lumina 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 | |
# first, we are going to install xorg and firefox as a useful first desktop | |
# as root, install the packages | |
pkg install xorg firefox | |
1:06 | |
start x | |
# next, we will install the vm guest additions | |
# if you insist on running the VMSVGA adpater, you will need | |
# the xf86-video-vmware driver as well | |
# pkg install xf86-video-vmware | |
pkg install virtualbox-ose-additions | |
sysrc dbus_enable="YES" | |
sysrc vboxguest_enable="YES" | |
sysrc vboxservice_enable="YES" | |
dbus-uuidgen > /etc/machine-id | |
# check the configuration by starting dbus | |
service dbus start | |
reboot | |
# and finally, we will install the lumina desktop | |
sudo -s | |
pkg install lumina | |
exit | |
vi ~/.xinitrc | |
exec start-lumina-desktop | |
startx | |
changed the display resolution in Lumina 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