Found something better while digging HEAD.

In the .spec file, you create the user with: "%{_localstatedir}/x2go" as the home. On CentOS 7, this would mean /var/x2go, if you want to specify /var/lib/x2go, you would have to use "%{_sharedstatedir}/x2go". The x2godbadmin then fails afterwards because /var/x2go doesn't exist and is not writable by x2gouser.

Hope this helps,


Jasmin