summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-04-29 02:15:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-04-29 02:15:47 +0200
commitdb8c0a13638bfe74653f47b9d4465a8648596d0a (patch)
tree48e5e02f1cc71914d71dfd895ef5ee410bb77da7 /tdm
parentd7235b31b1f53695559f23aa0e62b9f347229502 (diff)
downloadtdebase-db8c0a13638bfe74653f47b9d4465a8648596d0a.tar.gz
tdebase-db8c0a13638bfe74653f47b9d4465a8648596d0a.zip
Add minimal systemd support into tdm
+ set XDG_SESSION_CLASS to "greeter"
Diffstat (limited to 'tdm')
-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" );