outsource lightdm and kdm setup partially