From unknown Thu Mar 28 13:00:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1219: Bug: After Session starts on server&client, message appers on client: "The remote proxy closed the connection while negotiating the session. This may be due to the wrong authentication credentials passed to the server." Reply-To: dood0240skpw33@toothandmail.com, 1219@bugs.x2go.org Resent-From: dood0240skpw33@toothandmail.com Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 25 Sep 2017 13:15:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 1219 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.15063451797320 (code B); Mon, 25 Sep 2017 13:15:02 +0000 Received: (at submit) by bugs.x2go.org; 25 Sep 2017 13:12:59 +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,FREEMAIL_FROM, LOTS_OF_MONEY,SPF_HELO_PASS 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 18A035DACF for ; Mon, 25 Sep 2017 15:12:55 +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 rcR6_iXeLFKP for ; Mon, 25 Sep 2017 15:12:50 +0200 (CEST) Received: from vfemail.net (onethreetwo.vfemail.net [199.16.11.132]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AC4A55DA81 for ; Mon, 25 Sep 2017 15:12:49 +0200 (CEST) Received: (qmail 22540 invoked by uid 89); 25 Sep 2017 13:12:46 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Sep 2017 13:12:46 -0000 Received: (qmail 81488 invoked by uid 89); 25 Sep 2017 10:15:07 -0000 Received: by simscan 1.4.0 ppid: 81486, pid: 81487, t: 0.0020s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 25 Sep 2017 10:15:07 -0000 Received: (qmail 28851 invoked by uid 89); 25 Sep 2017 10:15:07 -0000 Received: by simscan 1.4.0 ppid: 28841, pid: 28848, t: 0.0738s scanners:none Received: from unknown (HELO localhost) (ZG9vZDAyNDBza3B3MzNAdG9vdGhhbmRtYWlsLmNvbQ==@172.16.100.93) by 172.16.100.62 with ESMTPA; 25 Sep 2017 10:15:06 -0000 Date: Mon, 25 Sep 2017 10:15:06 +0000 Message-ID: <20170925101506.Horde.nfb7FquunjlcZ7Y43gaZZOd@www.vfemail.net> From: dood0240skpw33@toothandmail.com To: submit@bugs.x2go.org User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Package: x2goserver Version: 4.0.1.20 I guess it's the x2goserver package that has the bug?? I don't know about what package precisely!... ***How to Reproduce the bug:*** Install, following the correct and proper instructions, the x2goclient and the x2goserver on respectively your client and your server. (My client is Kali Linux 2017 latest version) (My server is a Raspberry Pi Version 3) Once the server packages are correctly installed in the server, and once the client package(s) is correctly installed in the client: open your x2go client by issuing "x2goclient" in your terminal (my client terminal is root, so I actually issue the command to open the client as root, but I don't get any kind of problem) create a new session with the correct details, and select LXDE protocol. (My rpi3 has lxde package installed and correctly working) Keep in mind the rpi is booted on the cli environment, that's why I'm using the LXDE protocol. Ok then start the connection (after insterting the proper password) Status "connecting" will show up in the x2go client. wait a few minutes and a window from the x2go client will pop up saying: "The remote proxy closed the connection while negotiating the session. This may be due to the wrong authentication credentials passed to the server." Looking at the logs at /var/log/syslog on the x2go server, the output is: root@myrpithree:~# tail -f /var/log/syslog | grep x2go Sep 24 14:11:56 myrpithree /usr/sbin/x2gocleansessions[3591]: myrpithree-50-1506280314_stDLXDE_dp24: state file for this session does not exist: /tmp/.x2go-myrpithree/C-myrpithree-50-1506280314_stDLXDE_dp24/state (this can be ignored during session startups) Sep 24 14:12:00 myrpithree /usr/sbin/x2gocleansessions[3591]: myrpithree-50-1506280314_stDLXDE_dp24: state file for this session does not exist: /tmp/.x2go-myrpithree/C-myrpithree-50-1506280314_stDLXDE_dp24/state (this can be ignored during session startups) Sep 24 14:12:03 myrpithree /usr/sbin/x2gocleansessions[3591]: myrpithree-50-1506280314_stDLXDE_dp24: state file for this session does not exist: /tmp/.x2go-myrpithree/C-myrpithree-50-1506280314_stDLXDE_dp24/state (this can be ignored during session startups) Sep 24 14:12:40 myrpithree /usr/bin/x2gostartagent: successfully started X2Go agent session with ID myrpithree-50-1506280314_stDLXDE_dp24 ^C The session has been successfully started, however I still get that boring message on the client and thus I do not get the RDP window (meanwhile the connection is still on both in the server and in the client, in fact if I try once again the the client it will say that the previous connection is still on.)! I've see this bug is around for quite some years, ANY TEMPORARY SOLUTION PLEASE? DO YOU WANT ME TO POST MORE OUTPUTS OR SOMETHING? PLEASE LET ME KNOW. ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! From unknown Thu Mar 28 13:00:55 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1219: Reply-To: ckumke@kumke.net, 1219@bugs.x2go.org Resent-From: Carsten Kumke Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 18 Dec 2017 13:25:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1219 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 1219-submit@bugs.x2go.org id=B1219.151360337128597 (code B ref 1219); Mon, 18 Dec 2017 13:25:01 +0000 Received: (at 1219) by bugs.x2go.org; 18 Dec 2017 13:22:51 +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.8 required=3.0 tests=BAYES_50,HTML_MESSAGE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL 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 1B1425DAEB for <1219@bugs.x2go.org>; Mon, 18 Dec 2017 14:22:50 +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 z0y4ROcPLRFb for <1219@bugs.x2go.org>; Mon, 18 Dec 2017 14:22:44 +0100 (CET) X-Greylist: delayed 578 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Mon, 18 Dec 2017 14:22:44 CET Received: from mxout01.bytecamp.net (mxout01.bytecamp.net [212.204.60.217]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B34615DA2B for <1219@bugs.x2go.org>; Mon, 18 Dec 2017 14:22:44 +0100 (CET) Received: by mxout01.bytecamp.net (Postfix, from userid 1001) id 81BF95755F7; Mon, 18 Dec 2017 14:13:06 +0100 (CET) Received: from mail.bytecamp.net (mail.bytecamp.net [212.204.60.9]) by mxout01.bytecamp.net (Postfix) with ESMTP id 677065755C9 for <1219@bugs.x2go.org>; Mon, 18 Dec 2017 14:13:06 +0100 (CET) Received: (qmail 76354 invoked from network); 18 Dec 2017 14:13:06 +0100 Received: from unknown (HELO hetman) (ckumke%kumke.net@92.208.30.39) by mail.bytecamp.net with ESMTPS (AES256-GCM-SHA384 encrypted); 18 Dec 2017 14:13:06 +0100 Received: from localhost ([127.0.0.1]) by hetman with esmtp (Exim 4.90_RC3) (envelope-from ) id 1eQvE9-0007k4-Tu; Mon, 18 Dec 2017 14:13:05 +0100 Message-ID: <1513602785.2206.12.camel@kumke.net> From: Carsten Kumke To: 1219@bugs.x2go.org Date: Mon, 18 Dec 2017 14:13:05 +0100 Content-Type: multipart/alternative; boundary="=-8aYUXYRtCHzH9emVPWCR" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 --=-8aYUXYRtCHzH9emVPWCR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi all, perhaps I give it a try to propose a solution (correct an error). The session was started correctly by nxagent (/var/log/user.log), but the traffic was not routed to the right ports (see /var/log/auth.log) due to a missing parameter in ssh-configuration Solution: - Open /etc/ssh/sshd_conf (my version: OpenSSH_6.7p1 Debian-5+deb8u4) - Set Parameter "AllowTcpForwarding" to "yes" - Restart ssh-Service - Open x2go-Session and - hopefully - all is fine. Hope it helps Carsten --=-8aYUXYRtCHzH9emVPWCR Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi all,

perhaps I g= ive it a try to propose a solution (correct an error).

The session = was started correctly by nxagent (/var/log/user.log), but the traffic was n= ot routed to the right ports (see /var/log/auth.log) due to a missing param= eter in ssh-configuration

Solution: 

= - Open /etc/ssh/sshd_conf (my version: OpenSSH_6.7p1 Debian-5+deb8u4)
- Set Parameter "AllowTcpForwarding" to "= yes" 
- = Restart ssh-Service
- Open x2go-Session and - hopefully - all is fine. 

Hope it helps


Carsten
--=-8aYUXYRtCHzH9emVPWCR--