Skip to content

Many thanks Stretch lite? #2

Description

@StuartIanNaylor

With the zero trying to keep things as slim as possible.

sudo apt-get install xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils

edit the ~/.bash_profile

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
fi

With Raspbian, launch raspi-config utility, then choose Boot Options and Console Autologin
which doesn't seem to work so.

sudo nano /etc/systemd/system/getty@tty1.service.d/autologin.conf

edit with

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux

sudo systemctl enable getty@tty1.service

sudo apt-get install chromium-browser
sudo apt-get install unclutter

create a file~/.xinitrc

#!/bin/sh
xset -dpms
xset s off
xset s noblank

unclutter &
chromium-browser http://localhost:8080 --window-size=1920,1080 --start-fullscreen --kiosk --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null

But many thanks

Wasn't to sure about Plymouth theme with stretch lite but mweh :)
But sure someone could add

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions