[X2Go-User] x2go overwrites LD_LIBRARY_PATH

2016-02-10 Thread Thomas Stephan

Hi,

I am using x2go to connect to machines running Ubuntu 14.04.3 LTS. I had 
trouble running commands that rely on finding libraries via the 
environment variable LD_LIBRARY_PATH.
LD_LIBRARY_PATH is set in a script in /etc/profile.d because this is a 
system wide configuration and it needs to be performed once per login. 
Using ssh to remote login, LD_LIBRARY_PATH is correct:


echo $LD_LIBRARY_PATH
/usr/lib/fsl/5.0

When I login using x2go, LD_LIBRARY_PATH seems to be reset and contains 
only the entries regarding x2go:


echo $LD_LIBRARY_PATH
/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11

My guess is that there is probably an error in /usr/bin/x2goruncommand, 
along these lines:


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

But I can not see why it is that my path only contains 
$NX_XINERAMA_LIBS:$NX_LIBS, and not 
$NX_XINERAMA_LIBS:$NX_LIBS:$LD_LIBRARY_PATH.


Thank you for your help!

Best
Thomas

--
Dr. Thomas Stephan
Arbeitsgruppe für funktionelle, strukturelle und molekulare Bildgebung
Neurologisches Forschungshaus
Klinikum Grosshadern
Feodor-Lynen-Str. 19
81377 München

thomas.step...@lrz.uni-muenchen.de
+49 89  4400-74819 (Fon)
+49 89  4400-74801 (Fax)


___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] How to change OS X x2go client keyboard shortcuts?

2016-02-10 Thread Alex Coventry
Thanks to Ionic on the #x2go IRC channel, I put the same thing in
/etc/x2go/keystrokes.cfg, and now the fullscreen binding is disabled.

Curious  about why I had to change a server-side config to change this
client-side behavior, but I'm happy now.

Thanks, Ionic!

Best,
Alex

On Tue, Feb 9, 2016 at 10:29 AM, Alex Coventry  wrote:

> In the OS X client, Control-Option-F toggles fullscreen.  I would like to
> pass the chord through to the server, because C-M-F in emacs is
> forward-sexp.  Is there an easy way to do that?
>
> I've tried putting a file at ~/.x2go/config/keystrokes.cfg with the
> following contents:
>
> 
> 
> 
>
> However, Control-Option-F still results in toggling fullscreen.
>
> Stack Exchange question about this.
> 
>
> Best regards,
> Alex
>
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user