summaryrefslogtreecommitdiffstats
path: root/tdm/backend/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/backend/client.c')
-rw-r--r--tdm/backend/client.c1
1 files changed, 1 insertions, 0 deletions
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" );