Hi, Stefan.
When x2godbadmin is used with a postgres database, and the user name given doesn't yet have a home directory, it creates this home directory. I've thought that creation of home directories is a task for useradd (for local users) or pam_mkhomedir from libpam-modules (in case of centralized database of network logins) and there may be even more existing alternatives. Should this non-trivial code be implemented once again in X2Go tools instead of trying to keep things closer to a UNIX-way?
Cheers, Nable.