Commit 73714c1b authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline
Browse files

Doc: add Xsession patch propagating login LD_LIBRARY_PATH

parent 6bfd1202
......@@ -495,6 +495,29 @@ if present, or the manually installed *cmake-3.8.0*:
*Xsession* executes *ssh-agent*, which has the *setgid* bit set. This forces
*Linux* to clear its *LD_LIBRARY_PATH*, and hence that of its descendant processes -
the full *X11* session. The following patch propagates the *LD_LIBRARY_PATH*
configured at login (*.bash_profile*) to the *X11* session:
# as root
lid10eiger1:~ # (
[ -f ${Xsession_patch} ] || cat > ${Xsession_patch} <<'EOF'
# This file is sourced by Xsession(5), not executed.
# ensure LD_LIBRARY_PATH is propagated after ssh-agent is executed
# vim:set ai et sts=2 sw=2 tw=80:
Network configuration
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment