From ionic@ionic.de  Wed Aug 24 21:20:10 2016
Received: (at 1063) by bugs.x2go.org; 24 Aug 2016 19:20:15 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 0327E5DEFE
	for <1063@bugs.x2go.org>; Wed, 24 Aug 2016 21:20:10 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id whyXhLf5GVWi for <1063@bugs.x2go.org>;
	Wed, 24 Aug 2016 21:20:03 +0200 (CEST)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 603945DA8E
	for <1063@bugs.x2go.org>; Wed, 24 Aug 2016 21:20:01 +0200 (CEST)
Received: from nopileos.local (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id 0B4214F03514;
	Wed, 24 Aug 2016 21:20:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1472066401; bh=OCEPokSzzoP6vGj2ASTl/hAj5XO6zzS5z66/no6iH7I=;
	h=Subject:To:References:Cc:From:Date:In-Reply-To:From;
	b=RD5ZXWq4mYfn4ZeyiKvHWY+Q7m5dBdi893Hm6KEYNkpq+RlkX5GOwAq1uPPIaipG+
	 OhqEMkHCB2l6HI5X7LY/RjPjvOo2sOrOowhXfsy2cju8WGiulUT8WlJ8KO/W6BdE/r
	 Ww1HpgSw3i1JrmCisJfyjjCaeJRQhI73ypt7nWW8=
Subject: Re: CreateDB fails with error `DBI
 connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed`
To: Sivachidambaram Somu <arun.lisieux@gmail.com>
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
 <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
 <CAC5R9dnZzc+1enWSTBb6-fuXYSSK6ZAwRLS+miipKUduj01krw@mail.gmail.com>
 <edc5bbf9-38b5-7e67-054c-0f0b526062dc@ionic.de>
 <CAC5R9dndn6xiS2fCQpovBLZn6yUkUw2F33XEkpZhqXrFbME9Sw@mail.gmail.com>
Cc: 1063@bugs.x2go.org
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <6b41f5b6-82ff-273c-ff64-390c17a44dea@ionic.de>
Date: Wed, 24 Aug 2016 21:19:59 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CAC5R9dndn6xiS2fCQpovBLZn6yUkUw2F33XEkpZhqXrFbME9Sw@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="mBNGG9lEHRqfkME37LUhsaQUQ1wr92D5t"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--mBNGG9lEHRqfkME37LUhsaQUQ1wr92D5t
Content-Type: multipart/mixed; boundary="oxhRhasWGfnnnqc47o8q3vWxnxgw1XBbl"
From: Mihai Moldovan <ionic@ionic.de>
To: Sivachidambaram Somu <arun.lisieux@gmail.com>
Cc: 1063@bugs.x2go.org
Message-ID: <6b41f5b6-82ff-273c-ff64-390c17a44dea@ionic.de>
Subject: Re: CreateDB fails with error `DBI
 connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed`
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
 <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
 <CAC5R9dnZzc+1enWSTBb6-fuXYSSK6ZAwRLS+miipKUduj01krw@mail.gmail.com>
 <edc5bbf9-38b5-7e67-054c-0f0b526062dc@ionic.de>
 <CAC5R9dndn6xiS2fCQpovBLZn6yUkUw2F33XEkpZhqXrFbME9Sw@mail.gmail.com>
In-Reply-To: <CAC5R9dndn6xiS2fCQpovBLZn6yUkUw2F33XEkpZhqXrFbME9Sw@mail.gmail.com>

--oxhRhasWGfnnnqc47o8q3vWxnxgw1XBbl
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 24.08.2016 08:30 AM, Sivachidambaram Somu wrote:
> Hi Mihai,
>=20
> My apologies for the late reply. I had to undergo a minor surgery and w=
as out of
> my machine for a couple of weeks.

Oh, that's definitely more important. I hope everything is fine again.


> Coming back to your question, I do find x2gosqlitewrapper under
> '/usr/lib64/x2go' folder (complete contents are listed below). I also f=
ind the
> 'x2go_sessions' file under '/var/lib/x2go' folder, which is owned by x2=
gouser in
> root domain. This happens automatically after I install x2goserver.
>=20
> However, the client still gives out the error mentioned in my first ema=
il.
>=20
> _*Contents of '/var/lib/x2go' folder:*_
>=20
> %  sudo ls -lhrt /var/lib/x2go=20
>=20
> total 16K
>=20
> -rw-rw---- 1 root x2gouser 13K Aug 24 11:43 x2go_sessions

Okay.


> *_Contents of '/usr/lib64/x2go' folder:_*
>=20
> %ls -lhrt /usr/lib64/x2go=20
>=20
> total 132K
>=20
> [...]
> -rwxr-sr-x  1 root x2gouser 5.1K Apr 27  2015 x2gosqlitewrapper
> [...]

That's okay as well.


Hmm... did you somehow disable SUID support? Maybe via the "nosuid" mount=
 option
for /var?


So... just to make that clear, x2golistsessions_root works fine as root, =
but
x2golistsessions fails as a normal user when ran via SSH?



Mihai


--oxhRhasWGfnnnqc47o8q3vWxnxgw1XBbl--

--mBNGG9lEHRqfkME37LUhsaQUQ1wr92D5t
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJXvfNgAAoJEB/WLtluJTqH2i8P/3s8CRvPcsn7zRgHibWH5Tzu
BZxrl4TuKwhLcJFqNtxYm9gmt+OwhLwGlsM/NgDzNEHGNEjN8i4o/m0IY6NZji2t
4TPihPoy+hb8js0R9IIQOSoKZhJYpbQ7JPIFqN5aVNmyLzMdLiI8BmIcO9jjYoYV
VCaHR+zJpNQ662NDhNWqnDC+aECIEb/J16OPppZbrA5pfwKdHuDCuwwJOGNHmpg8
P3/oWmiMhUj9j3T4MPUaWrdy9E5NHbAWgG3Bf/tFB0e65QGg2S02FF+UUB0KR9QZ
yl9Zrit0NF/6NPxB1U+P1IZ+kbHHzIj3N2Xdtsp4R3zC9lLHYw4RLcLDGYsow0Bs
sQKcn+dI5zUoL+GKDk8BM1sNWb65OyIpznuNxM68whLSV+my08T09GzjPBNwLFzu
XX2fsQEKkAEDkTDSK6Z8AmhAWigWY9bO+6D1/87KDKWisXtvtTpml1PUPfApSncG
hvXukC5PdoNb2QyC4FJimgIufPfJiJt2Dxe7XDz3Zh9gSRKUHIeCTauYgt4YV+BV
G6qwKOjJqtW9m8w8sStnPuHOJ6HnkyLcVSlFQ3E8MCROD6ZiiNcfOzXMItsv1YEy
vYF+Bj9VEOR56kco1yGDpAxSSr2FktSV8z+HcfoWbxN5KOlNXKcrB4Fdtnk6Exyl
UleiMGsaQTX5cEkulV9I
=JFB8
-----END PGP SIGNATURE-----

--mBNGG9lEHRqfkME37LUhsaQUQ1wr92D5t--

