Select and install: xscreensaver, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl, and xscreensaver-gl-extra
sudo apt-get install xscreensaver -y sudo apt-get install xscreensaver-data xscreensaver-data-extra -y sudo apt-get install xscreensaver-gl xscreensaver-gl-extra -y
Configure xscreensaver as a startup application:
mkdir -p ~/.config/autostart echo "[Desktop Entry] Type=Application Exec=xscreensaver -nosplash Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[en_US]=xscreensaver Name=xscreensaver Comment[en_US]= Comment= " > ~/.config/autostart/xscreensaver.desktop
Enjoy!!