[X2Go-Dev] Debian libnx-x11 package for sid 64bit links broken (patch)

Anthony Callegaro callytic at free.fr
Thu Mar 1 12:39:20 CET 2012


Hello there,

Since the upgrade to x2go 3.1 I couldn't connect from any clients to my
Debian sid amd64 x2goserver.

There is no error on the client side just that the session is
terminating just after starting.

The server is stating that the session started well.
/usr/bin/x2gostartagent: successfully started X2Go agent session with ID xxx

After long hours of debugging I found out that it was due to some broken
links in /usr/lib/nx/X11/Xinerama/

The following solved my issue :
rm /usr/lib/nx/X11/Xinerama/libNX_X11.so.6
ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6
/usr/lib/nx/X11/Xinerama/libNX_X11.so.6
rm /usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
ln -s /usr/lib/x86_64-linux-gnu/libXext.so.6
/usr/lib/nx/X11/Xinerama/libNX_Xext.so.6

This is probably due to multiarch, I don't know if there is a simple way
to point to the correct lib path in nx-libs.git/debian/libnx-x11.links

According to the multiarch documentation [0] : "Any references to files
located in /usr/lib from within your packaging, including but not
limited to debian/rules, any debian/*.install or debian/*.links files,
or maintainer scripts, must be updated by hand for the new locations."

The simple attached patch solved the issue for me but will probably
break i386 version of the package.

Let me know your thoughts.

Thanks anyway for this fantastic tool :o)
LeTic

[0] :
http://wiki.debian.org/Multiarch/Implementation#Issues_to_be_aware_of_when_converting

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnx-x11_debian_sid64.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120301/25f77eaf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120301/25f77eaf/attachment.pgp>


More information about the x2go-dev mailing list