Some  more notes.

(1) In the above workaround, the symlink /usr/bin/kwin-ld to /lib/i386
-linux-gnu/ld-2.15.so is not necessary, as the line "exec /usr/bin/kwin-
ld --library-path" can be replaced with "exec /lib/i386-linux-
gnu/ld-2.15.so --lbrary-path ...".  But then the kwin process appears as
"ld-2.15.so" in the process list, and we didn't like that (we have lots
of users with simultaneous NX sessions).  With the symlink as above the
kwin process appears as "kwin-ld", which works for us better.

(2) We think that Helmer Teles is right that only libXfixes needs to be
replaced.  So, one can modify our solution to only have libXfixes
library in the directory.  However, we already had all of the other
older libraries replaced, and kwin was stable.  So we decided to play it
safe and still replace all of those libraries, but limit their
visibility to only the kwin binary.

(3) We are using the run-time linker to set the library path in the
wrapper, rather than doing it via LD_LIBRARY_PATH environment variable
because we don't want the environment variable propagating to kwin's
child processes.  We want all processes except kwin to run with
unmodified versions of X libraries.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libx11 in Ubuntu.
https://bugs.launchpad.net/bugs/985202

Title:
  libx11 causes kwin to crash on login (over NX protocol)

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to