*** This bug is a duplicate of bug 47958 ***
    https://bugs.launchpad.net/bugs/47958

All of the work-arounds that have been listed everywhere up until this
point have required root to change something in /etc/X11. Further, I
don't particularly want to disable ssh-agent from loading.

Assuming Ubuntu uses a similar xsession configuration to Debian Jessie
(which I imagine would be a safe bet), here is an alternative solution
that can work - no root access required:

Just create a .xsession file with the contents:

#!/bin/bash

export $LD_LIBRARY_PATH=...whatever...

# Start our session manager of choice.
exec x-session-manager
### end

Make .xsession executable, and you should be in business. Read
/etc/X11/Xsession.d/50x11-common_determine-startup, 90x11-common_ssh-
agent and 99x11-common_start for a clear picture of why this works.

Requires allow-user-xsession to be set in /etc/X11/Xsession.options, but
this is the default.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/366728

Title:
  LD_LIBRARY_PATH not loading from .profile nor /etc/environment

Status in “xorg” package in Ubuntu:
  Confirmed
Status in “xorg” package in Debian:
  Incomplete

Bug description:
  Hi everybody,

  Today I installed Ubuntu 9.04 (wubi) and I tried to add a LD_LIBRARY_PATH to 
my .profile file, the command is:
  export ROOTSYS=/usr/share/QtRoot/root
  export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

  Now, when I login, I tape printenv on the bash and the LD_LIBRARY_PATH is not 
set.
  This same 2 lines on .profile, have been working perfectly on the last 3 
Ubuntu versions.

  Thank you very much, and please someone fix it quickly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to