Right, I don't think we want to enable pam_tally2 on desktop at this time. We may want to as we move towards converged and people are using PINs as passwords. Your branch seems to handle this very well. lightdm can remain unchanged (except for this patch) on the desktop, and the ubuntu-touch-session package can ship the necessary files to incorporate pam_tally2.
Right, I don't think we want to enable pam_tally2 on desktop at this time. We may want to as we move towards converged and people are using PINs as passwords. Your branch seems to handle this very well. lightdm can remain unchanged (except for this patch) on the desktop, and the ubuntu- touch-session package can ship the necessary files to incorporate pam_tally2.