Hi!
the postinstallation script for the x2goserver (ubuntu) has the following problem:
it checks if /var/lib/x2go/x2go_sessions exists, and if not, calls x2godbadmin --createdb. This is not good, because it sometimes breaks upgrades of the package when using a remote postgresql: The postgresdb is configured and accessible but there is no /var/lib/x2go/x2go_sessions because it isn't needed. Then when you upgrade, it calls x2godbadmin --createdb and overwrites the remote postgres-sql-db.. I think it should test if postgres is used, and if so, should never do anything on its own with the db. Users who use the postgres-db anyhow know what they are doing and could do some steps more.
Jochen