Description of problem:
If the RHEL6 host that acts as the server for x2go has enabled polyinstantiated /tmp directories as per
then x2go clients cannot connect. They fail with
The remote proxy closed the connection while negotiating
the session. This may be due to the wrong authentication
credentials passed to the server.
It seems that x2go needs the directory /tmp/.X11-unix/ to exist, be owned
by root, and be mode 1777.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Uncomment the line in /etc/security/namespace.conf that reads:
#/tmp /tmp-inst/ level root,adm
2. Try to log in to that host via x2goclient.
A workaround is to add something like the following to the end of
if [ "$1" = "/tmp" ]; then
if [ ! -d $XSOCKDIR ]; then
chmod 1777 $XSOCKDIR
It would be great if x2go could fix this itself though.
Ideally it would either not need /tmp/.X11-unix, or be able to create it itself
Passed on to upstream for now. Will try to take a look at it sometime if they don't get to it first.
Please test the builds from here:
Hopefully it will fix both of these issues.
Seems to work for me. Thanks!
*** Bug 1101726 has been marked as a duplicate of this bug. ***
I believe upstream will be releasing a new version shortly. Will push that when released.
nx-libs-184.108.40.206-1.el6 has been submitted as an update for Fedora EPEL 6.
nx-libs-220.127.116.11-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.