#!/usr/bin/env bash
echo "install Xfce"
sudo dnf update
echo "Run"
sudo dnf install dejavu-fonts liberation-fonts gnu-*-fonts google-*-fonts
echo "install Xorg"
sudo dnf install xorg-*
echo "install Xfce"
sudo dnf install xfwm4 xfdesktop xfce4-* xfce4-*-plugin *fonts
echo "install the login manager"
sudo dnf install lightdm
echo "start Xfce using the login manager"
sudo systemctl start lightdm
echo "set the GUI to start upon system boot"
sudo systemctl enable lightdm
sudo systemctl set-default graphical.target
echo "Restart the server"
sudo reboot
```