Raspberry Pi 3 - Browser Client

From Alpine Linux
Revision as of 08:33, 19 May 2020 by Alpineuser (talk | contribs) (Steps)
Jump to: navigation, search

This is a guide for setting up a RAM based RPI3 which is able to run X, and firefox. This tutorial will go through setting up auto login for Alpine, and starting X on boot without user interaction. It is a type of kiosk machine.

Overview

This guide uses the following:

  • aarch64 img
  • RPI3
  • community repo is used.

It is based off of this guide: Raspberry_Pi. Due to the dependencies required to run X and FF, there is very little RAM disk space for the user to operate in, after this tutorial is complete. Take this into consideration. It's possible that the RPI4 with its additional RAM, may fare better.

Steps

setup-alpine
lbu_commit -d

For X and FF:

apk add libx11-dev libxft-dev libxinerama-dev ncurses adwaita-gtk2-theme adwaita-icon-theme ttf-dejavu

Note that the fonts/icon theme are required for FF to display correctly

Uncomment the community repo in /etc/apk/repos.conf for firefox-esr

apk add firefox-esr

It's firefox-esr, not firefox

Installing X:

setup-xorg-base

The RPI also requires for X:

apk add xf86-video-fbdev