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 Desktop Packages, which is subscribed to libx11 in Ubuntu. https://bugs.launchpad.net/bugs/985202 Title: libx11 causes kwin to crash on login (over NX protocol) Status in “libx11” package in Ubuntu: Confirmed Bug description: This behavior is 100% reproducible. I have freenx-server installed from here: https://launchpad.net/~freenx-team/+archive/ppa And am logging in from a remote machine with the newest nxclient from nomachine.org. What happens is that upon login or shortly thereafter, kwin crashes with a segfault. After restarting, it crashes at regular intervals as well. I reported a bug to the KDE4 tracker: https://bugs.kde.org/show_bug.cgi?id=298370 And it was marked a duplicate of a bug NOT related to NX: https://bugs.kde.org/show_bug.cgi?id=293209 Judging from the backtrace, and from the comments in bug 293209, the problem is related to Xorg, and the people at KDE seem to think that the problem might even be Ubuntu 12.04 specific. So I decided to re- report the bug here and give you pointers to the relevant KDE bugreports. We are really desperate to get Kwin working under NX and are willing to test whatever you like! Many thanks in advance. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libx11-6 2:1.4.99.1-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14 Uname: Linux 3.2.0-23-generic-pae i686 ApportVersion: 2.0.1-0ubuntu4 Architecture: i386 Date: Wed Apr 18 16:18:16 2012 ProcEnviron: LANGUAGE= TERM=xterm PATH=(custom, no user) SHELL=/bin/bash SourcePackage: libx11 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/985202/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp