aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncserver/vncsession.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncserver/vncsession.c')
-rw-r--r--unix/vncserver/vncsession.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncserver/vncsession.c b/unix/vncserver/vncsession.c
index d2d328e8..06c07d48 100644
--- a/unix/vncserver/vncsession.c
+++ b/unix/vncserver/vncsession.c
@@ -461,7 +461,7 @@ run_script(const char *username, const char *display, char **envp)
setenv("USER", pwent->pw_name, 1);
setenv("USERNAME", pwent->pw_name, 1);
- child_argv[0] = LIBEXEC_DIR "/vncserver";
+ child_argv[0] = CMAKE_INSTALL_FULL_LIBEXECDIR "/vncserver";
child_argv[1] = display;
child_argv[2] = NULL;