Hello, all. It looks like the line numbers in x2gopgwrapper_net have changed since I last submitted these patches. These patches have successfully applied to the latest repository files.
To review what they are for, we felt uncomfortable both with giving our client desktops ssh access to the single database server and having them use the postgres super user to access the database. In our multi-tenant environment with many vserver based X2Go Servers (one X2Go Server per virtual machine), this was a dangerous security exposure especially since the PostgreSQL server holds databases besides the X2Go databases.
There is an OpenOffice document included which explains the logic and the procedures for implementing this secure shared database setup. It eliminates both the need for ssh and to use the postgres user. Hope they help someone else - John