Package: x2goserver Severity: important Version: 4.1.0.0 Control: tags -1 patch In Arctica's nx-libs, we changed the path where the libX11.so symlinks to libNX_X11.so reside. This makes applications in X2Go behave strange esp. Actually, the LD_LIBRARY_PATH setup is for nx-libs 3.5.0.x and obsolete in 3.6.x. Here is a simple patch that stops setting LD_LIBRARY_PATH, if nx-libs 3.6.x is installed: ``` diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand index 8c3ee62..4593539 100755 --- a/x2goserver/bin/x2goruncommand +++ b/x2goserver/bin/x2goruncommand @@ -68,14 +68,16 @@ if [ -S "$SSH_AUTH_SOCK" ]; then fi export SSH_AUTH_SOCK="$X2GOSSH_AUTH_SOCK" - -NX_XINERAMA_LIBS="$(x2gopath xinerama)" -NX_LIBS="$(x2gopath nx-x11)" -test -n "$LD_LIBRARY_PATH" && \ - LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS:$LD_LIBRARY_PATH" || \ - LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS" -"$X2GO_LIB_PATH/x2gosyslog" "$0" "debug" "exporting LD_LIBRARY_PATH=$LD_LIBRARY_PATH" -export LD_LIBRARY_PATH +if ! x2gofeature X2GOAGENT_RANDRXINERAMA 1>/dev/null; then + + NX_XINERAMA_LIBS="$(x2gopath xinerama)" + NX_LIBS="$(x2gopath nx-x11)" + test -n "$LD_LIBRARY_PATH" && \ + LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS:$LD_LIBRARY_PATH" || \ + LD_LIBRARY_PATH="$NX_XINERAMA_LIBS:$NX_LIBS" + "$X2GO_LIB_PATH/x2gosyslog" "$0" "debug" "exporting LD_LIBRARY_PATH=$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH +fi if [ "$sndsys" == "esd" ]; then export ESPEAKER="localhost:$4" ``` Thanks to Orion, who brought this up. See https://github.com/ArcticaProject/nx-libs/issues/386 Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de