Am 23.09.2013 23:27, schrieb Mike Gabriel:
[x2goterminate-session working as expected] With the SQLite backend this surely is the case.
Never tried suspend, but there's x2gosuspend-session which should work the same way.
So, either you missed that or your bug report should contain a few more details as to what functionality you need and what is missing, I'd say. ;-)
With PostgreSQL, you get this:
""" x2goterminate-session mga-54-1379970522_stRTERMINAL_dp24 DBD::Pg::st execute failed: ERROR: permission denied for relation sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417. Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 417. DBD::Pg::st execute failed: ERROR: permission denied for relation sessions_view at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328. Died at /usr/share/perl5/X2Go/Server/DB/PostgreSQL.pm line 328. """
Nowadays, the x2gocleansessions daemon script can handle suspend/terminate through a change in the session database.
x2goterminate-session and x2gosuspend-session should utilize this new feature.
That sounds like it makes sense. ;-) And now the bug/wishlist description is detailed enough that we'll all still remember what this was about, 6 months down the road. ;-)
-Stefan