@Andreas: I'm not quite sure what you mean. pam_lastlog.so should be a compiled library but not a configuration and is located in /lib*/security/. In /etc/pam.d/* there is no file like that. But at least I can say that the error is reproducable in any fresh standard installation of Leap since 42.1. @Neil: I can confirm that using any terminal emulation in a plasma session writes the needed record obviously. Likewise other display managers than SDDM seem to be working. Therefore, I believe that you are very close to the cause of the problem. I double checked the issue on a Fedora 25 installation which is using the same SDDM version 0.14. Because the problem does not occur there, I suspect it is actually a real error, not a feature. Not using SDDM does not seem to be a good workaround, because SDDM is installed by default and therefore the error is probably relevant to the majority of all users.