Subject: Bug#406: Can't execute program when using PAM namespace on server

From: Juan Ignacio Saitua <[email-masked]>
Date: Tue, 21 Jan 2014 12:23:20 -0300 (CLST)

Package: x2goserver
Version: 4.0.1.13

When activating polyinstantiation for /tmp and /var/tmp using the PAM_namespace module, our users can't execute any application on the server (running Ubuntu 13.04). Without polyinstantiation it works.

A sample session log file (/tmp/.x2go-user/session-C-user-50-1390317179_stRTERMINAL_dp32.log) when failed:
     Error: Aborting session with 'Cannot establish any listening sockets - Make sure
     an X server isn't already running'.                       
     Session: Aborting session at 'Tue Jan 21 12:13:02 2014'.
     Session: Session aborted at 'Tue Jan 21 12:13:02 2014'.

There is no X server running on the server, so it must be something else related to the tmp directories.

Thanks.
JIS.