From 1215c36f77032ad4f08e1150d98101478a57cbf7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 1 Mar 2019 00:08:43 +0100 Subject: libNX_X11: set XTRANS_SEND_FDS=0 NX does not support passing around FDs for local connections. This will not cause any change in the resulting code as this variable had been unset by default. Fixes ArcticaProject/nx-libs#784 --- nx-X11/lib/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nx-X11/lib') diff --git a/nx-X11/lib/configure.ac b/nx-X11/lib/configure.ac index 09204bba6..c616dab57 100644 --- a/nx-X11/lib/configure.ac +++ b/nx-X11/lib/configure.ac @@ -81,7 +81,10 @@ NX_XTRANS_SECURE_RPC_FLAGS # to correct user/group." # # -> we want to always fail in that scenario. -AC_DEFINE(FAIL_HARD,1,[Fail if the xtrans socket directory has wrong permissions]) +AC_DEFINE(FAIL_HARD,1,[Fail if the xtrans socket directory cannot be chowned/chmod'ed]) + +# Actually disable all of the FD passing code, NX does not support it. +AC_DEFINE(XTRANS_SEND_FDS,0,[Disable xtrans FD passing code.]) # Check for dlopen AC_MSG_CHECKING([if run-time linking is supported]) -- cgit v1.2.3