SDDM (login/session manager for X11/Wayland)

SDDM is a modern display manager for X11 and Wayland aiming to be
fast, simple and beautiful. It uses modern technologies like QtQuick,
which in turn gives the designer the ability to create smooth,
animated user interfaces.

You will need to edit /etc/rc.d/rc.4 to get this work.
Put the section that refers to sddm before the sections for xdm, kdm

# Look for SDDM as well:
if [ -x /usr/bin/sddm ]; then
exec /usr/bin/sddm

Note: The homedir for SDDM is set by default in /etc/passwd to
/var/empty. This needs to be changed to /var/lib/sddm. To do this,

usermod -d /var/lib/sddm sddm

when SDDM is *not* running. If you don't make that directory, then
SDDM may lockup.

Note2: There is an annoyance when using an external monitor where the
password box isn't focussed. The way to fix this is turn to turn off
the internal monitor to login, then, if desired, to turn it back on
after loading the session. To turn off the internal monitor, add the
following lines to /usr/share/sddm/scripts/Xsetup:

if (xrandr | grep "VGA1 connected"); then
xrandr --output LVDS1 --off --output VGA1 --primary --auto

extra-cmake-modules qt5