Flash Raspbian Lite as normal. Run raspi-config
and setup whatever
you would to for console only mode. I usually change password, hostname
and activate SSH server as a initial setup.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the bottom of the file
network={
ssid="YOUR_SSID"
psk="YOUR_PASSWORD"
}
Save and reboot
For touchscreen display edit /boot/config.txt
on the newly flashed card and add the line
lcd_rotate=2
at a location of your choice in the file.
Reduces that anything goes wrong int the following steps
sudo apt update
sudo apt upgrade
# you only have to reboot if there were any updates that needed it
# if unsure do it anyway
sudo reboot
This will get you a really stripped down PIXEL installation Tested on Jessi and Stretch
sudo apt-get install -y raspberrypi-ui-mods rpi-chromium-mods
sudo reboot
This will pull in all packages needed for GUI + rpi modified Chromium web browser and is all you need for a "basic" setup. It will take some time though. The download will go fast but decompressing and installing is tough even on a Rpi 3.
I will do some tests but you might want to install lightdm using
sudo apt-get install lightdm
as well.
If you want to enable autologin you have to run raspi-config
again and select
"Boot option"->"Desktop / CLI"->"Desktop autologin"