From FreeBSD 13.0-RELEASE iso to Steam Gaming.

These are my personal notes, which will be tested, cleaned up, and moved to its own dedicated page soon.

# ROOT CERTS
pkg install -a ca_root_nss nano

# MY PERSONAL BOOTSTRAP PROCESS (general purpose packages like "nano" and "htop")
# NOTE: DO *NOT* DO THIS, IT INSTALLS MY PERSONAL SSH KEYS. YOU DONT WANT ME TO ROOT YOUR MACHINE!
cd /tmp
fetch https://raw.githubusercontent.com/darkain/FreeBSD-Server/darkain/master/bootstrap.sh
sh bootstrap.sh

# INSTALL THE XFCE DESKTOP
pkg install -y xfce xorg xdm dbus firefox

# CONFIGURE DESKTOP STUFF
cd ~
ln -s /vince/root/.xinitrc
ln -s /vince/root/.xsession

# ENABLE SERVICES
sysrc dbus_enable="YES"
service dbus start

# ENABLE LINUX SUPPORT
sysrc linux_enable="YES"

# INSTALL NVIDIA GPU DRIVERS
pkg install -y nvidia-driver linux-nvidia-libs
sysrc kld_list+="nvidia-modeset"

# REBOOT TO LOAD DRIVERS
reboot


# XORG CONFIGURATION
nano /usr/local/etc/X11/xorg.conf.d/nvidia.conf

Section "Device"
        Identifier "NVIDIA Card"
        VendorName "NVIDIA Corporation"
        Driver "nvidia"
EndSection



# INSTALL STEAM CLIENT
pkg install linux-steam-utils


# MOUNT LINUX FILE SYSTEM BITS (append these lines)
nano /etc/fstab

linprocfs /compat/linux/proc     linprocfs rw 0 0
linsysfs  /compat/linux/sys      linsysfs  rw 0 0
tmpfs     /compat/linux/dev/shm  tmpfs     rw 0 0
fdescfs   /dev/fd                fdescfs   rw 0 0
proc      /proc                  procfs    rw 0 0

mount -a

chmod 777 chown steam /compat/linux/dev/shm



# ADD DEDICATED "STEAM" USER (steam wont run as root, and you shouldnt anyways!)
adduser
Username: steam
Fullname: (leave blank)
Uid: (leave blank)
Login Group: (leave blank)
Invite groups: video operator
Login Class: (leave blank)
Shell: (leave blank)
Home Directory: (leave blank)
Home Permissions: (leave blank)
Password: (up to you)
Lock Account: (leave blank)
OK? (verify setting and type "YES" when it looks good!)
Add another user?: no



# LOGIN AS OUR NEWLY CREATED USER AND START DESKTOP
startx (as steam user)


# FINISH STEAM INSTALLATION
steam-install

# START STEAM
steam

VincentMilumJr/steaminstall (last edited 2021-08-07T17:59:05+0000 by VincentMilumJr)