[X2go-dev] x2goserver 3.0.99: cannot terminate session from command line

Oleksandr Shneyder oleksandr.shneyder at obviously-nice.de
Fri Feb 4 07:48:09 CET 2011


Am 04.02.2011 04:13, schrieb Gerry Reno:
> I upgraded the server to 3.0.99 and configured postgresql.
> 
> But when I try to terminate a session from the command line I see these
> errors:
> 
>     # sudo /usr/bin/x2goterminate-session ubuntu-51-1296672519_stDGNOME_dp24
>     DBD::Pg::st execute failed: ERROR:  permission denied for relation
>     sessions_view at /usr/lib/x2go/x2godbwrapper.pm line 449.
>     Died at /usr/lib/x2go/x2godbwrapper.pm line 449.
>     DBD::Pg::st execute failed: ERROR:  permission denied for relation
>     sessions_view at /usr/lib/x2go/x2godbwrapper.pm line 348.
>     Died at /usr/lib/x2go/x2godbwrapper.pm line 348.
>     kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec
>     ... or kill -l [sigspec]
>     DBD::Pg::st execute failed: ERROR:  permission denied for relation
>     sessions_view at /usr/lib/x2go/x2godbwrapper.pm line 476.
>     Died at /usr/lib/x2go/x2godbwrapper.pm line 476.
> 
> 
> What is wrong here?
> 

Hello Gary,

The user can update/delete entries in pgsql only if they was inserted by
himself. That mean, that you must execute "x2goterminate-session" as
user, who have started this session. If you not this user, try to
execute sudo su <user> -c "x2goterminate-session
ubuntu-51-1296672519_stDGNOME_dp24"

regards,
alex
-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere at home

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110204/a65cf3ff/attachment.pgp>


More information about the x2go-dev mailing list