Jakub,

it could be that lightdm now only display EM. But on Centos7.3 everything worked.
I tested further and with the same setup but with GDM this works. I get passwd expired and other messages.

Before posting on this mailing list I posted on Lightdm mailing list but got no response.
Does anybody know how to get hold of these guys?

Greetings, J.

2018-01-09 19:40 GMT+01:00 Jakub Hrozek <jhrozek@redhat.com>:
On Tue, Jan 09, 2018 at 12:48:39PM +0100, Johan Vermeulen wrote:
> Hello Jakub,
>
> thanks for helping me out.
>
> It works in the console. when an expired user logs in via ctl-alt-f.... he
> gets all the warnings.

OK, then the warnings are even passed to lightdm..

Is there any chance lightdm doesn't display all PAM messages but only
those with errors?