Hi all,
Asking for help please troubleshooting an issue with x2go.
Inbound connections stopped working after I updated the kernel and nvidia drivers on my centos workstation (the x2go server).
On the client, the error message says "Connection failed. Failed to start X2Go Agent session with ID account-_____. X2Go Agent terminated unexpectedly. Aborting session startup."
[If I attempt a connecion again the client shows a previous apparently pre-existing connection, but I cannot resume it.]
On the server, the session log says "Error: Aborting session with 'Unable to open display 'nx/nx,options=...". I have attempted uninstalling and reinstalling x2goserver from epel.
However, I do not have the offending line set in LD_LIBRARY_PATH which solved the issue for Qianqian.
#Contents of LD_LIBRARY_PATH (this is from env after ssh-in).
LD_LIBRARY_PATH=/usr/local/cuda/lib64:/home/[...]/caffe/distribute/lib/::/usr/lib:/usr/lib/python2.7
I also attempted commenting out this setting from .bashrc, and that did not fix it.
I've copied below answers to some questions Mihai asked Qianqian. The only strange thing I noticed is that Mihai asked for the contents of /usr/lib64/nx/X11 , and this is empty. The library Qianqian listed in there is located at /usr/lib64 on my server.
Some more details below, answering questions that were made on this earlier, similar troubleshooting request.
Best regards, thanks for any help,
Ale
# Please make sure that nx-libs 3.5.99.16 is installed on the server side:
Package nx-libs-3.5.99.16-1.el7.x86_64 already installed and latest version
x2goclient is already the newest version (4.1.1.1-2).
# Perhaps this is useful, these lines are also from env:
QTINC=/usr/lib64/qt-3.3/include
QT_GRAPHICSSYSTEM_CHECKED=1
QTLIB=/usr/lib64/qt-3.3/lib
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
# Contents of /usr/lib64/nx/X11
$ ls -lah /usr/lib64/nx/X11
drwxr-xr-x. 2 root root 6 Aug 18 14:28 .
drwxr-xr-x. 4 root root 26 Aug 18 14:28 ..
$ ls -lah /usr/lib64/nx/bin
drwxr-xr-x. 2 root root 36 Aug 17 21:28 .
drwxr-xr-x. 4 root root 26 Aug 18 14:28 ..
lrwxrwxrwx. 1 root root 16 Aug 17 16:09 nxagent -> /usr/bin/nxagent
lrwxrwxrwx. 1 root root 7 Aug 17 21:28 x2goagent -> nxagent
$ ls -lah /usr/bin/nxagent
-rwxr-xr-x. 1 root root 4.5M Jul 18 17:47 /usr/bin/nxagent
# Where I found the related libraries
$ ls -lah /usr/lib64/*NX*
lrwxrwxrwx. 1 root root 18 Aug 18 14:15 /usr/lib64/libNX_X11.so.6 -> libNX_X11.so.6.3.0
-rwxr-xr-x. 1 root root 1.3M Jul 18 17:47 /usr/lib64/libNX_X11.so.6.3.0