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: Ctrl-Alt-T doesn't terminate connection in "local desktop" sessions
Reply-To: Alexey Nemov <alexnemov@protonmail.com>, 1228@bugs.x2go.org
Resent-From: Alexey Nemov <alexnemov@protonmail.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 06:45:01 +0000
Resent-Message-ID: <handler.1228.B.150900013929492@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1228
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.150900013929492
          (code B); Thu, 26 Oct 2017 06:45:01 +0000
Received: (at submit) by bugs.x2go.org; 26 Oct 2017 06:42:19 +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=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
	SPF_HELO_PASS,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 0F6F95DAD1
	for <submit@bugs.x2go.org>; Thu, 26 Oct 2017 08:42:16 +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 RnQykP6maSo3 for <submit@bugs.x2go.org>;
	Thu, 26 Oct 2017 08:42:09 +0200 (CEST)
X-Greylist: delayed 573 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Thu, 26 Oct 2017 08:42:09 CEST
Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 754F75DACC
	for <submit@bugs.x2go.org>; Thu, 26 Oct 2017 08:42:09 +0200 (CEST)
Date: Thu, 26 Oct 2017 02:32:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=default; t=1508999555;
	bh=FIKWoIlr4XSea1ALqI5MbfFFgnQCatCWY1wApCv4x54=;
	h=Date:To:From:Reply-To:Subject:Feedback-ID:From;
	b=n4AOolJtEPJCqySPYfrloEb1CzeCBFLWhivDVmY0dzqBiOsnI+HBNkH9QOKDMP7Bm
	 g7/snCf45iCMCLtStei+uCocBE+G55OzW3jjwD9ac6vcszG30S0L+zF9xeMDPvxQkw
	 MNDMcyJLJyrdIbX2YNBQeY+W0zlUQeuxuOGtf8dQ=
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
From: Alexey Nemov <alexnemov@protonmail.com>
Message-ID: <yhnB5qoHv8mpsyEx0f88K0TopgX03H_-m9Heml29lUC99kNIGbkUr7xgM_px972KY5kTORpItVj2M8OJ48U6RJ7XPw_1N07OJjFwXvhFhOk=@protonmail.com>
Feedback-ID: NoKbdKR5SbBxemr80qlVTu5ApOF-mW4kh0ezI8JteK74dtQmt7nKu4k625BMW5-fKrM0qvyhKBNWOpIKfe3W1Q==:Ext:ProtonMail
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
Package: x2goserver
Version: 4.0.1.20


Summary:
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.


Steps to reproduce:
0. Create a new session profile in x2goclient with session type "Connect to local desktop";
1. Connect to remote computer using this session profile;
2. Press Ctrl-Alt-t at the client.

Expected behaviour:
The remote desktop window on the client should close, the connection should be terminated.

Actual behaviour:
The remote desktop window on the client does not close, the connection is not terminated.
The following log entries appears in the server's system journal:

```
Oct 26 13:50:39 localhost /usr/bin/x2gosuspend-session[31790]: session with ID alex-50-1508997021_stS1XSHADalexXSHADPP0_dp24 has been suspended successfully
Oct 26 13:50:45 localhost su[31900]: Successful su for alex by root
Oct 26 13:50:45 localhost su[31900]: + ??? root:alex
Oct 26 13:50:45 localhost su[31900]: pam_unix(su:session): session opened for user alex by (uid=0)
Oct 26 13:50:45 localhost systemd-logind[508]: New session c99 of user alex.
Oct 26 13:50:45 localhost systemd[1]: Started Session c99 of user alex.
Oct 26 13:50:46 localhost su[31900]: pam_unix(su:session): session closed for user alex
Oct 26 13:50:46 localhost su[31923]: Successful su for alex by root
Oct 26 13:50:46 localhost su[31923]: + ??? root:alex
Oct 26 13:50:46 localhost su[31923]: pam_unix(su:session): session opened for user alex by (uid=0)
Oct 26 13:50:46 localhost systemd-logind[508]: Removed session c99.
Oct 26 13:50:46 localhost systemd-logind[508]: New session c100 of user alex.
Oct 26 13:50:46 localhost systemd[1]: Started Session c100 of user alex.
Oct 26 13:50:49 localhost /usr/bin/x2gosuspend-session[32026]: session with ID alex-50-1508997021_stS1XSHADalexXSHADPP0_dp24 has been suspended successfully
Oct 26 13:50:50 localhost su[31923]: pam_unix(su:session): session closed for user alex
Oct 26 13:50:50 localhost systemd-logind[508]: Removed session c100.
Oct 26 13:50:53 localhost /usr/sbin/x2gocleansessions[12745]: alex-50-1508997021_stS1XSHADalexXSHADPP0_dp24: session status S desynchronized with current status (R) and session suspend already tried unsuccessfully
```


Other infomation:
0. Executing x2gosuspend-session <ID> on the server has the same effect as pressing C-A-t at the client.
1. Execuitng x2goterminate-session <ID> on the server does terminates the session and closes the client window.
3. Server-side /etc/x2go/keystrokes.cfg: http://paste.debian.net/plain/992795



-- System Information (server and client):
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Dec 4 18:06:45 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.