Hi,
it's been a while since I did this, but I saved my work here: http://blog.debalance.de/?p=125
In my case, the sessions file is stored on the server as /opt/x2gothinclient/usr/share/x2goclient/sessions where /opt/x2gothinclient is my chroot.
During startup, there is a cp /usr/share/x2goclient/sessions /ramdrive/x2goclient/.x2goclient/sessions in the startup script /opt/x2gothinclient/etc/init.d/ramdrive .
The whole thinclient works on a read only nfs-root, so obviously changes cannot be saved. However, I can do temporary ones due to the ramdrive.
In my case I set x2goclient up to automatically connect to a server specified by me.
The details can be found in the script linked in my blogpost mentioned above.
Hope that helps!
.''. Philipp Huebner <debalance@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F
. '
HP: http://www.debalance.de, Skype: philipp-huebner
`- ICQ: 235-524-440, Jabber: der_schakal@jabber.org