sesman: add XRDP_ prefix to xrdp related environment variable
and remove CHANSRV, use the shorter name
@@ -146,10 +146,10 @@ env_set_user(const char *username, char **passwd_file, int display,
g_setenv("XRDP_SOCKET_PATH", XRDP_SOCKET_PATH, 1);
/* pulse sink socket */
g_snprintf(text, sizeof(text) - 1, CHANSRV_PORT_OUT_BASE_STR, display);
- g_setenv("CHANSRV_PULSE_SINK_SOCKET", text, 1);
+ g_setenv("XRDP_PULSE_SINK_SOCKET", text, 1);
/* pulse source socket */
g_snprintf(text, sizeof(text) - 1, CHANSRV_PORT_IN_BASE_STR, display);
- g_setenv("CHANSRV_PULSE_SOURCE_SOCKET", text, 1);
+ g_setenv("XRDP_PULSE_SOURCE_SOCKET", text, 1);
if ((env_names != 0) && (env_values != 0) &&
(env_names->count == env_values->count))
{
