1, sudo pacman -S lightdm lightdm-gtk-greeter
2, sudo vim /etc/lightdm/lightdm.conf
add one line under: [Seat:*]
greeter-session=lightdm-gtk-greeter