Raspbian Stretch Lite with XFCE4, set automatic login

This is tested on:
http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-06-29/2018-06-27-raspbian-stretch-lite.zip

To set up XFCE4 Desktop I use:
#update repos
sudo apt-get update -y

#update system
sudo apt-get upgrade -y

#upgrade os
sudo apt-get dist-upgrade -y

#clean
sudo apt-get clean -y

#install xorg server. this is basic stuff if I want GUI
sudo apt-get install --no-install-recommends xserver-xorg -y

#startup, reboot, power off is an init. this is necessary
sudo apt-get install --no-install-recommends xinit -y

#install xfce stuff. xfwm is also needed but the package is already included in dependencies  of xfce
sudo apt-get install xfce4 xfce4-terminal -y
Now I lauch:
sudo raspi-config
select [Boot Options]

Select [B1 Desktop / CLI]

Select [B4 Desktop Autologin / CLI]

Restart:
sudo reboot
Another way is:
sudo su
apt-get update -y && apt-get install git -y
cd
git clone https://github.com/catonrug/rpi-stretch.git
cd rpi-stretch
chmod +x lite-xfce.sh
time ./lite-xfce.sh
This will take 20 minutes to complete.

After launching operating system in need to configure:
  • turn of windows shadows
  • authorize Google Chrome
  • download Keepass database file
  • add to the panel Geany, Chromium, KeePass, LXMusic, Kodi
  • install ssh key to work with github
  • set up current region and keyboard

No comments: