Pre-requisite: Debian Linux should be already running on your tablet. Please refer to the corresponding documentation, according to your hardware choice. For BeagleBoard Black, just install a minimal image from their page No need for xFCE version, as we’ll install a different, minimal, window manager below. Also, please take care to install it on the internal eMMC drive if you’re using a BeagleBone Black.

Once you’re logged-in the freshly booted system, proceed to installing the required packages.

sudo -i
apt install matchbox unclutter chromium

This operation will download quite a number of packages, so be prepared to wait.

Now that the required packages are being installed, let’s create our default user and set-up auto-login for them.

adduser tableta
mkdir -p /etc/systemd/system/getty@tty1.service.d
cat <<EOF > /etc/systemd/system/getty@tty1.service.d/autologin.conf
ExecStart=-/sbin/agetty --autologin tableta --noclear %I %TERM

Now, reboot to test the autologin.


After reboot, you should get to a session under the user tableta.

echo "Loading..." > banner.txt
cat <<EOF >> ~/.profile
if [[ $(who am i) =~ \([0-9\.]+\)$ ]];
	[ -z "$SSH_CONNECTION" ] && startx 2>&1 >/dev/null

Above instructions modified the .profile file so the X11 session automatically starts when user logins. And, remember, the system auto-logins to tableta user. So, this will effectively launch the graphical session upon system start. Now, let’s tell it what to load in the graphical session.

Final step is to create this file:

cat <<EOF > ~/.xinitrc

[ ! -z "$SSH_CONNECTION" ] && exit 0

cat banner.txt
matchbox-window-manager &
unclutter &

rm -rf /home/tableta/.config/chromium/Default/*

chromium --noerrdialogs --disable-infobars --kiosk --private-window http://homeassistant

Reboot the tablet and enjoy your new HA wall-mounted tablet!

Back to main article