xrdp-next/xrdp-0.9.6-scripts-libexec.patch

22 lines
1003 B
Diff
Raw Normal View History

2018-03-26 23:22:54 +00:00
diff -ruN xrdp-0.9.6-v/sesman/session.c xrdp-0.9.6/sesman/session.c
--- xrdp-0.9.6-v/sesman/session.c 2018-03-26 15:29:21.000000000 +1100
+++ xrdp-0.9.6/sesman/session.c 2018-03-27 10:19:36.421340397 +1100
@@ -575,7 +575,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 "
2018-03-26 23:22:54 +00:00
@@ -877,7 +877,7 @@
display,
2018-03-26 23:22:54 +00:00
g_cfg->env_names,
g_cfg->env_values);
- 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))
{