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

diff --git a/debian/libnx-x11.links b/debian/libnx-x11.links
index 82c245f..055fa74 100644
--- a/debian/libnx-x11.links
+++ b/debian/libnx-x11.links
@@ -1,4 +1,4 @@
-usr/lib/libX11.so.6  usr/lib/nx/X11/Xinerama/libNX_X11.so.6
-usr/lib/libXext.so.6 usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
+usr/lib/x86_64-linux-gnu/libX11.so.6  usr/lib/nx/X11/Xinerama/libNX_X11.so.6
+/usr/lib/x86_64-linux-gnu/libXext.so.6 usr/lib/nx/X11/Xinerama/libNX_Xext.so.6
 usr/lib/nx/X11/libNX_Xinerama.so usr/lib/nx/X11/Xinerama/libXinerama.so
 usr/lib/nx/X11/libNX_Xinerama.so.1 usr/lib/nx/X11/Xinerama/libXinerama.so.1

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to