Skip to content

Commit

Permalink
set PCSCLITE_CSOCK_NAME env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed Nov 29, 2017
1 parent d958d1f commit 7d981f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sesman/env.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ env_set_user(const char *username, char **passwd_file, int display,
g_setenv("XRDP_SESSION", "1", 1);
/* XRDP_SOCKET_PATH should be set even here, chansrv uses this */
g_setenv("XRDP_SOCKET_PATH", XRDP_SOCKET_PATH, 1);
g_sprintf(text, "%s/pcsc_socket_%d", XRDP_SOCKET_PATH, display);
g_setenv("PCSCLITE_CSOCK_NAME", text, 1);
if ((env_names != 0) && (env_values != 0) &&
(env_names->count == env_values->count))
{
Expand Down

0 comments on commit 7d981f8

Please sign in to comment.