On 14.08.2016 03:12 AM, Sivachidambaram Somu wrote:
When I run the command with elevated privileges, the created DB file is owned by root and it remains unaccessible when the client tries to establish a connection.
That's both true and expected.
The x2goserver scripts (for instance x2golistsessions) call a setuid/setgid binary called libx2go-server-db-sqlite3-wrapper (nightlies) or x2gosqlitewrapper (release version.)
They should reside in /usr/lib/x2go/.
Due to that the session DB can be read even as a user.
Are these binaries not correctly installed on your system?
Mihai