X2Go Bug report logs - #1228
Implement basic dialog handling in X2Go Server

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Alexey Nemov <alexnemov@protonmail.com>

Date: Thu, 26 Oct 2017 06:45:01 UTC

Severity: normal

Found in version 4.0.1.20

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1228: [X2Go-Dev] Bug#1228: Ctrl-Alt-T doesn't terminate connection in "local desktop" sessions
Reply-To: Ulrich Sibiller <uli42@gmx.de>, 1228@bugs.x2go.org
Resent-From: Ulrich Sibiller <uli42@gmx.de>
Original-Sender: ulrich.sibiller@gmail.com
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 26 Oct 2017 08:10:02 +0000
Resent-Message-ID: <handler.1228.B1228.150900529522220@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1228
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 1228-submit@bugs.x2go.org id=B1228.150900529522220
          (code B ref 1228); Thu, 26 Oct 2017 08:10:02 +0000
Received: (at 1228) by bugs.x2go.org; 26 Oct 2017 08:08:15 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FREEMAIL_FROM,URIBL_BLOCKED autolearn=ham autolearn_force=no
	version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id AC2005DAD1
	for <1228@bugs.x2go.org>; Thu, 26 Oct 2017 10:08:14 +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 d9xKGR6cMy-x for <1228@bugs.x2go.org>;
	Thu, 26 Oct 2017 10:08:10 +0200 (CEST)
Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id F3B885DACC
	for <1228@bugs.x2go.org>; Thu, 26 Oct 2017 10:08:09 +0200 (CEST)
Received: by mail-vk0-x22d.google.com with SMTP id i133so1597844vke.9
        for <1228@bugs.x2go.org>; Thu, 26 Oct 2017 01:08:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to:cc;
        bh=vgHqz53N/DoPN5Qy8a8tc1lRn08Qs59wG19CPNIxGCg=;
        b=uYx4KEGcjy8abhqszClzB5uoVoJ5vzuDO2hDqGqg4ijxXy6FEpG+7BTWcLWPtoal0k
         22oZgfpYi30/vUYYQB1a4PD1h8tZKKSV+PP79bwxjRBR58RNcaeA3p6GyezPhBfr3T1u
         YOMYzdrzKJYvaCHetUZHikASN/qM0UGm7lQTfOqvoJU0+C/Roi2jKQCkZxpsUvGiES9M
         tEfxbXPs4Z3qhhNQFxKGPW8aJ0ugWYAPesc4OVO0MhEyHdUBE5ufOpMM9UQsgr1nu1gu
         SN+FeUh1hJV21fK+rGYlYxjUGXB0fY2leAIYwRvuL0eWCDEVBai53aSBWWQ4B2ukiUWE
         NHvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to:cc;
        bh=vgHqz53N/DoPN5Qy8a8tc1lRn08Qs59wG19CPNIxGCg=;
        b=XVfimFqp3oeGQChrP/LXyUr/VaNRZe1gj4im/K7BfrdmOuWsqiWw1PIkRT5OZfdYsa
         Tqo/3fFwPbAYR9gA3o2cb7Hi9txoDfj66Se08DbaHlvCMQs/GJffmX1ycWJuQ2OCObkt
         VaWQVq2Ih74FpMHs1eeVDmZ5Xi//IlUAE0xE0Kv47l+DwfCVvdTGsDJ+R+3ziLN33fTz
         wYuGmm6vL4iqbXr/2mp0MxYdVfDePftUZRlnNYqHW4KSQe3wcVirR+Jk1UGZU8PBhhOW
         gE+JPldAudmKpetk3IFPsuNuKwuB+lLp7LXq450PqZPf8MIOazlIVaqFXg554yhOaso6
         Z6TQ==
X-Gm-Message-State: AMCzsaXzWsJKTa1xlM0B6twlf+mWOEWeMYZhBL1u9a5vdeq2VLOy/bta
	e4hgMsoILAcVfOL+8FCJqdhhIf6WVq/o0oj5Wjk=
X-Google-Smtp-Source: ABhQp+R76UIVXb+uP+R28HwwvsjsV3U9x905XFPBYxh/RZKwlOU06bMQ8WtixszMQvrGYMzDlfQQlObiJ9oClqYIxYs=
X-Received: by 10.31.32.65 with SMTP id g62mr3292236vkg.160.1509005288601;
 Thu, 26 Oct 2017 01:08:08 -0700 (PDT)
MIME-Version: 1.0
Sender: ulrich.sibiller@gmail.com
Received: by 10.176.30.8 with HTTP; Thu, 26 Oct 2017 01:07:48 -0700 (PDT)
In-Reply-To: <92b9f9ea-e19e-8d62-dd60-b7fea4629f60@ionic.de>
References: <yhnB5qoHv8mpsyEx0f88K0TopgX03H_-m9Heml29lUC99kNIGbkUr7xgM_px972KY5kTORpItVj2M8OJ48U6RJ7XPw_1N07OJjFwXvhFhOk=@protonmail.com>
 <92b9f9ea-e19e-8d62-dd60-b7fea4629f60@ionic.de>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Thu, 26 Oct 2017 10:07:48 +0200
X-Google-Sender-Auth: 2JO-zHZzobmv3zYyXxSHim5McT0
Message-ID: <CANVnVY+hytAKr2_KV33GtUrKZoJBWCbOGoKKvNGexWC7McoJnQ@mail.gmail.com>
To: Mihai Moldovan <ionic@ionic.de>, 1228@bugs.x2go.org
Cc: Alexey Nemov <alexnemov@protonmail.com>
Content-Type: text/plain; charset="UTF-8"
On Thu, Oct 26, 2017 at 9:17 AM, Mihai Moldovan <ionic@ionic.de> wrote:
> Control: retitle -1 Implement basic dialog handling in X2Go Server
>
> On 10/26/2017 08:32 AM, Alexey Nemov wrote:
>> As stated in the wiki https://wiki.x2go.org/doku.php/wiki:advanced:nx-keyboard-shortcuts
>> The action "close_session" should terminate the session.
>> But, pressing Ctrl-Alt-t in a "local desktop" session does not "terminate" the session.
>
> This is caused by the way we handle dialogs from nxagent. Currently, every
> dialog (wrongly) spawns x2gosuspend-session for every message the agent wants to
> show.
>
> nxagent sends a KILL SESSION dialog when close_session is executed for
> non-persistent sessions (like shadow sessions), but the default handler
> x2gosuspend-session that is set via NX_CLIENT is x2gosuspend-session, which is
> called and fails to suspend the session (since session suspension doesn't make
> sense or works with non-persistent sessions.)
>
> While the general goal should be to relay messages to the client side one day,
> currently I want a small wrapper script on the server side which handles
> server-side events in a better way.
>
> Thus retitling this bug report.

I have not tested the following, but could it work?

1. download opennx client. It brings a matching nxclient binary IIRC
2. edit /usr/bin/x2gostartagent: find the line defining NX_CLIENT and
let the varible point to opennx nxclient.

If the nxclient is not working you have two further options:
1. use nxcl from the google neatx project
2. find a copy of the original nxclient 3.x package and use the
nxclient contained within like described above.

Uli

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Dec 4 19:47:13 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.