sddm
Install xorg-server (xephyr is needed for sddm.conf)
Use a specifik sddm.conf file it will be executed (good for debugging)
Example configuration for /etc/sddm.conf
[Autologin]
Relogin=false
Session=plasma.desktop
User=
[General]
DisplayServer=x11
HaltCommand=/usr/bin/loginctl poweroff
InputMethod=qtvirtualkeyboard
Namespaces=
Numlock=on
RebootCommand=/usr/bin/loginctl reboot
GreeterEnvironment=QT_SCREEN_SCALE_FACTORS=1,QT_FONT_DPI=96
[Theme]
Current=breeze
CursorSize=24
CursorTheme=Breeze
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
#Font=Terminus,18
ThemeDir=/usr/share/sddm/themes
[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin
HideShells=/usr/bin/nologin,/bin/false
HideUsers=
MaximumUid=60000
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=true
[X11]
#DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
ServerArguments=-nolisten tcp -dpi 96
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
MinimumVT=7
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr