From unknown Fri Mar 29 14:05:36 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#309: [X2Go-Dev] Bug#309: Make x2goterminate-session / x2gosuspend-session operable as root Reply-To: Stefan Baur , 309@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 23 Sep 2013 21:33:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 309 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 309-submit@bugs.x2go.org id=B309.137997186922334 (code B ref 309); Mon, 23 Sep 2013 21:33:02 +0000 Received: (at 309) by bugs.x2go.org; 23 Sep 2013 21:31:09 +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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by ymir (Postfix) with ESMTP id A169C5DA6C for <309@bugs.x2go.org>; Mon, 23 Sep 2013 23:31:08 +0200 (CEST) Received: from [192.168.0.3] (HSI-KBW-149-172-200-27.hsi13.kabel-badenwuerttemberg.de [149.172.200.27]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LhiWz-1WAhcz19u5-00mbbq; Mon, 23 Sep 2013 23:31:08 +0200 Message-ID: <5240B329.7050601@stefanbaur.de> Date: Mon, 23 Sep 2013 23:31:21 +0200 From: Stefan Baur User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Mike Gabriel CC: 309@bugs.x2go.org References: <20130923122355.13703meclu8eso1n@mail.das-netzwerkteam.de> <52401D1B.2060502@stefanbaur.de> <20130923232733.175016qodss5ek3p@mail.das-netzwerkteam.de> In-Reply-To: <20130923232733.175016qodss5ek3p@mail.das-netzwerkteam.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:a8asGDXOtFTc1moQXUwCwa6Bm8khsfr9++65jGby/WK wvSH8+KUHhZWJeye1Ek7uZ6egIbzJVkzPT+uu+1r3l6F/A84Zk CHtMSplIvtR2FaM9I2FPJ8a1kq+uMU7yObBDzjwTK69i9zdNWk y7Rsj3yagRyAoJ9T41ZnIlGZbwbYCUVeBDQe2SGvwfnoOCFDqB LnEywUh1OuB3VZlYr+zaLjuDtz/pSu+dqqPnTpDhRFtks2/Su7 664KrtgnFTjPxrTegkLwNfPNf2J1xVTrNV4G6hByzUaoP/x3uo mH1skezq3UesFCzUiDnkw0y+DOoNS2odT3WC9Z09iucKLzh3iN Fdo25bSNk3HJrowWeKPnY+IOhlsvdxKUd0V5Mq3rt 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