/etc/x2go/x2gosql/sql is in x2goserver-common 4.1.0.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #postgres or sqlite
backend=sqlite
[postgres]
host=localhost
port=5432
#database admin (must have permissions to create databases and users)
dbadmin=postgres
#disable: SSL connections are never used
#allow: try non-SSL, then SSL
#prefer: try SSL, then non-SSL
#require: connect only with SSL
#default - prefer
ssl=prefer
|