Add minimal systemd support into tdm

+ set XDG_SESSION_CLASS to "greeter"
pull/2/head
Slávek Banko 11 years ago
parent d7235b31b1
commit db8c0a1363

@ -386,6 +386,7 @@ doPAMAuth( const char *psrv, struct pam_data *pdata )
# ifdef PAM_FAIL_DELAY # ifdef PAM_FAIL_DELAY
pam_set_item( pamh, PAM_FAIL_DELAY, (void *)fail_delay ); pam_set_item( pamh, PAM_FAIL_DELAY, (void *)fail_delay );
# endif # endif
pretc = pam_putenv( pamh, "XDG_SESSION_CLASS=greeter" );
ReInitErrorLog(); ReInitErrorLog();
Debug( " pam_authenticate() ...\n" ); Debug( " pam_authenticate() ...\n" );

Loading…
Cancel
Save