Hi Ulrich, On Fr 01 Mai 2015 13:39:42 CEST, Mike Gabriel wrote:
>> - xinerama is integrated into xrandr (in >> programs/Xserver/randr/rrxinerama.c; the file I mentioned yesterday is >> compiled and included, but not used apparently). Does hooking in there >> produce any side effects? Currently clients asking nxagent for >> xinerama info get the values from the real server but there are >> internal structures that are not updated. > > Not sure about this without looking into the code any deeper. Basically,> NoMachine also patched libXrandr heavily in an NX. Partially for backporting> xrandr 1.2 proto version (IIRC), but possible also for some NX specific BTW: I think we really need at least xrandr 1.3. to be able to add resolutions on the fly.Ok. I can take a look at that.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=15cee47a496ef891923949ade073cf4ffabb9c73NoMachine actually did many changes on the Xserver's RandR extenion part (not on the library part as I erroneously remembered).
[...][...][...]
At build time, dpkg-shlibdeps (or what's-its-name) indeed reports about unnecessarily linked libraries for nxagent. IIRC, libNX_Xinerama and libNX_Xrandr were among them. Let me check that later. It would mean that we can drop libNX_Xrandr immediately and that we only have to update the Xserver code itself.
"""dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xcomposite1/usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1.0 was not linked against libNX_Xext.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xcomposite1/usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1.0 was not linked against libNX_Xfixes.so.3 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xcomposite1/usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1.0 was not linked against libNX_Xdamage.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xdamage1/usr/lib/x86_64-linux-gnu/libNX_Xdamage.so.1.0 was not linked against libNX_Xext.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xfixes3/usr/lib/x86_64-linux-gnu/libNX_Xfixes.so.3.0 was not linked against libNX_Xext.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libnx-xrender1/usr/lib/x86_64-linux-gnu/libNX_Xrender.so.1.2.2 was not linked against libNX_Xext.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxagent/usr/lib/nx/bin/nxagent was not linked against libNX_Xtst.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxagent/usr/lib/nx/bin/nxagent was not linked against libNX_Xinerama.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxagent/usr/lib/nx/bin/nxagent was not linked against libNX_Xdamage.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxagent/usr/lib/nx/bin/nxagent was not linked against libNX_Xrandr.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxproxy/usr/lib/nx/bin/nxproxy was not linked against libstdc++.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nxproxy/usr/lib/nx/bin/nxproxy was not linked against libgcc_s.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libxcomp3/usr/lib/x86_64-linux-gnu/libXcomp.so.3.5.99.0 was not linked against libgcc_s.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libxcompext3/usr/lib/x86_64-linux-gnu/libXcompext.so.3.5.99.0 was not linked against libgcc_s.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libxcompext3/usr/lib/x86_64-linux-gnu/libXcompext.so.3.5.99.0 was not linked against libstdc++.so.6 (it uses none of the library's symbols)
""" So, yes, there is quite some internal over-linking in nx-libs. I will fix that soon. Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: [email protected], http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpjFvJmNLt84.pgp
Description: Digitale PGP-Signatur
_______________________________________________ x2go-dev mailing list [email protected] http://lists.x2go.org/listinfo/x2go-dev
