I can see that several questions have been asked and answered regarding the error message stdin: is not a TTY with regards to SSH terminal connections between machines. However, I am using X2goserver and client to connect a Fedora 22 based client to a server (currently testing Ubuntu 14.04, but have used others too) and am seeing the same error after connecting.
I have looked in the SSH config file and made changes related to TTY and interactive consoles that looked like they might help the situation, but they didn't. i have also now raised a bug with the x2go dev team, plus asked on the Ubuntu forum but so far have not had a reply.
I think X2go is intended to take care of ensuring the correct params are passed to ensure a session is created that offers the appropriate functions for opening a GUI for the remote machine, so i am thinking this might be a bug with X2go - however, the lack of others complaining of the same issue makes me think otherwise.
For reference, I am using templates on an OpenVZ based remote server and have had X2go running just fine there with Fedora 20 and XFCE - but i need to upgrade now as fedora 20 is no longer being supported.
thanks