X2Go Bug report logs - #1117
x2goclient "stuck session" for select users that cannot be resumed or terminated

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

Reported by: Jordan Poppenk <jpoppenk@queensu.ca>

Date: Tue, 29 Nov 2016 01:10:01 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1117: x2goclient "stuck session" for select users that cannot be resumed or terminated
Reply-To: Jordan Poppenk <jpoppenk@queensu.ca>, 1117@bugs.x2go.org
Resent-From: Jordan Poppenk <jpoppenk@queensu.ca>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 29 Nov 2016 01:10:01 +0000
Resent-Message-ID: <handler.1117.B.148038153027417@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1117
X-X2Go-PR-Package: x2goclient (mac)
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.148038153027417
          (code B); Tue, 29 Nov 2016 01:10:01 +0000
Received: (at submit) by bugs.x2go.org; 29 Nov 2016 01:05:30 +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=0.8 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,SPF_HELO_PASS autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E33D53BC8A
	for <submit@bugs.x2go.org>; Tue, 29 Nov 2016 02:05:28 +0100 (CET)
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 ulPCldLBbiUB for <submit@bugs.x2go.org>;
	Tue, 29 Nov 2016 02:05:22 +0100 (CET)
X-Greylist: delayed 3609 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Tue, 29 Nov 2016 02:05:21 CET
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0084.outbound.protection.outlook.com [104.47.34.84])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1267A3BC7D
	for <submit@bugs.x2go.org>; Tue, 29 Nov 2016 02:05:20 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=queensuca.onmicrosoft.com; s=selector1-queensu-ca;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=AAwlKvZSUfO1rrbhmDgs46Y5qUJNuAN3pun0q9cpyhE=;
 b=xHRPjtLWeIS7jPOkKRNc8WEHtqqizBb31RkSiatFOGLLQumk0TBVOlmcMu+YoO8f3/dWNDQPSpqZK92gQ5PTOiYB2jCtJ/e9P2bzPzSJ3xl9O8aef/yEVsEjhchVmKdrKnZ4dqEvtuO8AJ3WzzZKsc4MpT3NuVYFARSSHlw0NLk=
Received: from CY1PR07MB2569.namprd07.prod.outlook.com (10.167.16.24) by
 CY1PR07MB2571.namprd07.prod.outlook.com (10.167.16.26) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.1.747.13; Mon, 28 Nov 2016 22:31:21 +0000
Received: from CY1PR07MB2569.namprd07.prod.outlook.com ([10.167.16.24]) by
 CY1PR07MB2569.namprd07.prod.outlook.com ([10.167.16.24]) with mapi id
 15.01.0747.015; Mon, 28 Nov 2016 22:31:21 +0000
From: Jordan Poppenk <jpoppenk@queensu.ca>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Thread-Topic: x2goclient "stuck session" for select users that cannot be
 resumed or terminated
Thread-Index: AQHSScckqPmetx17X0+CEYLrxGJ8XQ==
Date: Mon, 28 Nov 2016 22:31:21 +0000
Message-ID: <7FB7E7E5-D686-423F-B1C2-D5D6982A4E2C@queensu.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.1b.0.161010
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=jpoppenk@queensu.ca; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [130.15.148.168]
x-ms-office365-filtering-correlation-id: 41c71be3-d535-4efb-383d-08d417de479a
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR07MB2571;
x-microsoft-exchange-diagnostics: 1;CY1PR07MB2571;7:iSUG6gvlhMNJuKaumirLZDXHhixr5YFvjLWSFzUf3aKgrUSAxs9lfErE8cHg+03xU0IsBQXcvAJrx7c5QMW0Ken8vackkIsrnBmJfNve/rqoy5kZsvMNf3pbRjXpTlJCFp8CZy9yCVNE76V19VJ5AtOma7a8ruVoBPiNtxPUNlKxJ7qFD92P2k2Q5Sqs0DQ+myzzLuPA1gVmKrnrvUGXYpsiT1fndUc5arGo9yqAfoF81L+DK9vqCbp6qafRWUZCMQRrPIO1QJsSFxnX9S3TFqR9EIOOwDNE9ZRwTHLH07fSDKucEfLXSZv9qQiQ8AgZGYazD1exPQLs9dwJdQzWeZrZTsXw4TqzJLVqsaX8wuKBiSqyC2VMvGDv57SqL2jW/KlnpcW9Q0g5UBLL4XYKDLdBPH1zJ/LEWB25hxdbGQnbbVmI8z5B4NHtj7LKg3YuOILxP0BvJmqX5q3gEKiuNw==
x-microsoft-antispam-prvs: <CY1PR07MB2571DF8AE62A57548BC2DA09AF8A0@CY1PR07MB2571.namprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(20558992708506)(176510541525296);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6045199)(6040361)(6060326)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(6061324)(20161123555025)(20161123564025)(20161123560025)(20161123562025);SRVR:CY1PR07MB2571;BCL:0;PCL:0;RULEID:;SRVR:CY1PR07MB2571;
x-forefront-prvs: 01401330D1
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(504964003)(189002)(199003)(2906002)(92566002)(33656002)(305945005)(16601075003)(105586002)(3660700001)(106356001)(106116001)(83506001)(5660300001)(2501003)(83716003)(82746002)(2351001)(99286002)(7736002)(6916009)(7846002)(2900100001)(110136003)(36756003)(107886002)(97736004)(68736007)(39400400001)(38730400001)(450100001)(77096006)(551544002)(74482002)(8676002)(8936002)(1730700003)(4001350100001)(50986999)(39380400001)(81166006)(81156014)(6116002)(102836003)(54356999)(3280700002)(189998001)(66066001)(122556002)(6486002)(86362001)(3846002)(6506003)(6512003)(101416001)(39410400001)(39450400002)(104396002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2571;H:CY1PR07MB2569.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
received-spf: None (protection.outlook.com: queensu.ca does not designate
 permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <5973DA9A593354419BD338C9508CA60A@namprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: queensu.ca
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2016 22:31:21.5398
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d61ecb3b-38b1-42d5-82c4-efb2838b925c
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2571
Package: x2goclient (mac)
Version: 4.0.5.2

Above is my best guess as to the affected package, although I am not certain it is on the client end. Also, my issue is similar to the one reported here:
http://lists.x2go.org/pipermail/x2go-dev/2015-October/010734.html
...but that thread concludes without a solution that works for me.

x2go had been working for a dozen users of my server. One day, two of the users reported that they were no longer able to log in -- they were kicked back to the login screen after entering their ssh private key encryption password. After entering this, the users get the result: 
- Session: Session session started at: (date)
- Warning: Protocol mismatch or no X authentication data.
- Session: Terminating session at (date)
- Info: Your session was closed before reaching a usable state.
- Info: This can be due to the local X server refusing access to the client.
- Info: Please check authorization provided by the remote X application.
- Session: Session terminated at (date)
Sometimes, they are presented with a list of sessions that shows their "running" session. It allows them to terminate the session, then brings them back to the screen where they would terminate the session.

It is worth noting that their configuration was previously working. Also, I am sometimes able to fix issues like this by deleting the user's .Xauthority files, their .x2go folder, and their cache/lxsession folder; and rebooting. In this case, none of these things influenced the outcome of their login attempts. But, many other users are still able to access x2go normally on the same machine.

Both affected users are using the mac x2goclient (4.0.5.2) with xquartz 2.7.9 on OSX 10.11.6. On my server (running Ubuntu 16.04), x2goversion reports the following:
x2goagent: 3.5.0.32
x2godesktopsharing: 3.1.1.3
x2golxdebindings: 1.0.2.4
x2goserver: 4.0.1.19
x2goserver-extensions: 4.0.1.19
x2goserver-xsession: 4.0.1.19
It is worth noting that I sometimes experienced similar issues while still using Ubuntu 14.04.

A third user recently reported that after a crash that occurred after opening too many windows in her session, she started getting the same errors, which I have also been unable to resolve. Are you able to suggest any remedy? Where might the information about the "stuck session" live -- perhaps I could try deleting some session file that is stored on the user's machine?

Thank you in advance for any help you can offer, as well as your extremely helpful ongoing development of this portable desktop solution.

Cheers,
Jordan


Jordan Poppenk, Ph.D.
Canada Research Chair in Cognitive Neuroimaging
Department of Psychology and Centre for Neuroscience Studies
Queen's University
http://popmem.com
613-533-6009







Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 18 23:41:40 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.