[X2Go-User] Problem restoring connection on Ubuntu 18.04

Mihai Moldovan ionic at ionic.de
Tue Sep 11 22:03:26 CEST 2018


* On 09/11/2018 08:02 PM, EI wrote:
> I have a very strange problem with x2goserver running on Ubuntu 18.04. I get an
> error message on the client side when I try to suspend the connection. I also,
> can't reconnect to existing connections. I haven't had this problem with 16.04.
> 
> I tried debugging the problem and I discovered that /var/lib/x2go/x2go_sessions
> database is not getting updated when connection is created. I tried erasing and
> re-creating the database, same problem. 
> 
> Even running perl script manually:
> /usr/lib/x2go/libx2go-server-db-sqlite3-wrapper.pl
> <http://libx2go-server-db-sqlite3-wrapper.pl>
> insertsession,50,blah,blah-50-1536602027_stRkonsole_dp 
> doesn't change the database.

Likely caused because the server is running in an LXC (or other nom-du-jour)
container without necessary permissions.


Note that the database is supposed to be modified via a setuid root binary,
which then calls the actual perl script. The perl script is not supposed to work
correctly when called directly as an unprivileged user.

LXC is known to have problems with setuid binaries for unprivileged containers,
but that seems to be a design choice.



Mihai


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20180911/3d7c7e4b/attachment.sig>


More information about the x2go-user mailing list