From db8c0a13638bfe74653f47b9d4465a8648596d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 29 Apr 2014 02:15:47 +0200 Subject: Add minimal systemd support into tdm + set XDG_SESSION_CLASS to "greeter" --- tdm/backend/client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tdm/backend') diff --git a/tdm/backend/client.c b/tdm/backend/client.c index c9948ebf9..1dfd97849 100644 --- a/tdm/backend/client.c +++ b/tdm/backend/client.c @@ -386,6 +386,7 @@ doPAMAuth( const char *psrv, struct pam_data *pdata ) # ifdef PAM_FAIL_DELAY pam_set_item( pamh, PAM_FAIL_DELAY, (void *)fail_delay ); # endif + pretc = pam_putenv( pamh, "XDG_SESSION_CLASS=greeter" ); ReInitErrorLog(); Debug( " pam_authenticate() ...\n" ); -- cgit v1.2.1