Subject: Bug#1063: CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed`

From: Mihai Moldovan <[email-masked]>
Date: Fri, 2 Sep 2016 10:55:27 +0200

On 30.08.2016 06:05 PM, Sivachidambaram Somu wrote:
> I'm afraid the command was working as expected.
> 
> %sudo chmod g+s $(which id)           
> 
> %id -g
> 
> 0
> 
> 
> %sudo chmod g-s $(which id)
> 
> %id -g                     
> 
> 100

That doesn't make sense... the x2go_sessions file has the correct permissions
set and the x2gosqlitewrapper binary is setgid with the correct group assigned -
x2gouser. It doesn't look like your system is in any way special regarding this.

If you (re)create the DB via

sudo x2godbadmin --createdb

and then start a new session via X2Go Client and then try to reconnect to that,
what error message comes up in X2Go Client?

Mihai