22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
diff -ruN xrdp-0.9.2-vanilla/sesman/session.c xrdp-0.9.2/sesman/session.c
|
|
--- xrdp-0.9.2-vanilla/sesman/session.c 2017-03-30 17:18:55.000000000 +1100
|
|
+++ xrdp-0.9.2/sesman/session.c 2017-04-11 11:03:14.531999226 +1000
|
|
@@ -555,7 +555,7 @@
|
|
}
|
|
/* if we're here something happened to g_execlp3
|
|
so we try running the default window manager */
|
|
- g_sprintf(text, "%s/%s", XRDP_CFG_PATH, g_cfg->default_wm);
|
|
+ g_sprintf(text, "%s/%s", "/usr/libexec/xrdp", g_cfg->default_wm);
|
|
g_execlp3(text, g_cfg->default_wm, 0);
|
|
|
|
log_message(LOG_LEVEL_ALWAYS, "error starting default "
|
|
@@ -852,7 +852,7 @@
|
|
display,
|
|
g_cfg->session_variables1,
|
|
g_cfg->session_variables2);
|
|
- g_snprintf(text, 255, "%s/%s", XRDP_CFG_PATH, "reconnectwm.sh");
|
|
+ g_snprintf(text, 255, "%s/%s", "/usr/libexec/xrdp", "reconnectwm.sh");
|
|
|
|
if (g_file_exist(text))
|
|
{
|