[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question for Debian XFCom_Rage128 HOWTO



On 10 Feb 2000, Mike Miller wrote:

> I am preparing a short HOWTO on installing the XFCom_Rage128
> xserver on a Debian (slink) system.  This is fairly straight
> forward using alien and the SuSE RPMs, however there is one thing
> I have not been able to figure out.  The SuSE server needs
> libregframe which can be preloaded by adding the library to
> /etc/ld.so.preload or by setting the environment variable
> LD_PRELOAD.  Some other applications (notably the non-free
> acroread) will not run with regframe preloaded.  When using
> startx, a user can set LD_PRELOAD before running startx and then
> unset it in a shell before starting acroread.  This doesn't work
> with xdm so I've used ld.so.preload, but AFAIK there is no way to
> disable ls.so.preload on an application by application basis, so
> things like acroread cannot be run.  Is there a place that I can
> set LD_PRELOAD so that xdm sees it, but so that the user's shells
> and window managers do not?

Yup.  Tell the user to edit /etc/init.d/xdm

An unsubtle but effective approach would be to tell them to add

export LD_PRELOAD=/path/to/libregframe.so

as the second non-comment line (i.e. just after set -e)

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/


Reply to: