I have been having issues getting X2Go running on a CentOS 6.5 box. It took me a while to figure out that the problem laid with the permission of /tmp directory. I’ll write how to solve the X2Go problem in another post.

The recommended permission for /tmp is 1777. Notice that the forwarding ‘1’ is the sticky bit which only allows the owner of the file within /tmp (or the root user) to delete/rename the file.

# chmod 1777 /tmp
# ls -ld /tmp
drwxrwxrwt. 11 root root 4096 Feb 16 11:00 /tmp