From unknown Fri Mar 29 12:26:28 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#397: Cannot connect when user home folder contains a non-ascii character Reply-To: =?UTF-8?Q?N=C3=A9stor?= Uribe-Patarroyo , 397@bugs.x2go.org Resent-From: =?UTF-8?Q?N=C3=A9stor?= Uribe-Patarroyo Resent-To: x2go-dev@lists.berlios.de Resent-CC: owner@bugs.x2go.org X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 08 Jan 2014 17:10:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 397 X-X2Go-PR-Package: x2go-server X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.13892007624606 (code B); Wed, 08 Jan 2014 17:10:02 +0000 Received: (at submit) by bugs.x2go.org; 8 Jan 2014 17:06:02 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.3.2 Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) by ymir (Postfix) with ESMTPS id 226F05DA7B for ; Wed, 8 Jan 2014 18:06:02 +0100 (CET) Received: by mail-qa0-f48.google.com with SMTP id i13so1983457qae.35 for ; Wed, 08 Jan 2014 09:06:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=QZp28Wo11jfBtzXLX8xbgUQzXZ6iBMewwS+lYDwNPe4=; b=pZyb5FzbePi3Ev8O3Gq3IotrV9FPrJlaotQlcQkE7iH+4Q+rWzq4gsQEjQTjhJpqM3 xnEr3byRELT9EgDU05pwtax+bFwE3C3UaeAyli+eXFjvX5KnZ5rPWHydJxKNHKixycG9 B/vTzB+cSj2SH8OV80SwbRyV9NwyjOuxA/r3S6i1FyceXRLOkFHKOUJYKotwej7cahNj ssXB0/r34sB7QMu6ybUpAJWR/RRPCNKcBaBANyOBNQqcOcpO96oo/PuXu6R5WuOLIzJ6 ADP0zkVaoT8PAsAcwE/wdS+9WBGYVigUhcyjsUCStpKxAx/KIHIZGELx+Gfh8QqHsj4j uTPA== X-Received: by 10.49.15.202 with SMTP id z10mr212736235qec.46.1389200761123; Wed, 08 Jan 2014 09:06:01 -0800 (PST) Received: from [172.16.7.232] ([132.183.13.1]) by mx.google.com with ESMTPSA id f19sm1867650qaq.12.2014.01.08.09.05.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 09:06:00 -0800 (PST) Message-ID: <52CD853C.9080907@gmail.com> Date: Wed, 08 Jan 2014 12:05:00 -0500 From: =?UTF-8?Q?N=C3=A9stor?= Uribe-Patarroyo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: submit@bugs.x2go.org References: <52CD82B3.6090406@gmail.com> In-Reply-To: <52CD82B3.6090406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Package: x2go-server Version: 4.0.1.12-0~809~ubuntu12.04.1 When the home folder of a user contains a non-ascii character (such as "á", or "é") I cannot initiate an x2go session. The error is: Info: Connecting to remote host 'localhost:31004'. Info: Connection to remote proxy 'localhost:31004' established. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Wrong version or invalid session authentication cookie. Session: Terminating session at 'Wed Jan 8 09:52:30 2014'. Session: Session terminated at 'Wed Jan 8 09:52:30 2014'. Login with ssh works normally. After changing the home folder of the user to one with only ascii characters, initiating an x2go session was possible. I am using Ubuntu 12.04.3 in the server, Ubuntu 12.10 in the client. Client version is 4.0.1.2.Both server and client installed from thePPA ppa:x2go/stable From unknown Fri Mar 29 12:26:28 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#397: Cannot connect when user home folder contains a non-ascii character Reply-To: Mike Gabriel , 397@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.berlios.de Resent-CC: owner@bugs.x2go.org X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 09 Jan 2014 08:35:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 397 X-X2Go-PR-Package: x2go-server X-X2Go-PR-Keywords: Received: via spool by 397-submit@bugs.x2go.org id=B397.138925647628430 (code B ref 397); Thu, 09 Jan 2014 08:35:02 +0000 Received: (at 397) by bugs.x2go.org; 9 Jan 2014 08:34:36 +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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id 41A415DA7B for <397@bugs.x2go.org>; Thu, 9 Jan 2014 09:34:35 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 75D05C76; Thu, 9 Jan 2014 09:34:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id DC9C63C16A; Thu, 9 Jan 2014 09:34:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12IyOLRJVi-s; Thu, 9 Jan 2014 09:34:33 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 9B41B3C06A; Thu, 9 Jan 2014 09:34:32 +0100 (CET) Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 09 Jan 2014 08:34:32 +0000 Date: Thu, 09 Jan 2014 08:34:32 +0000 Message-ID: <20140109083432.Horde.sCzdV2ZalgbDaF-y6xBtAA8@mail.das-netzwerkteam.de> From: Mike Gabriel To: =?UTF-8?Q?N=C3=A9stor?= Uribe-Patarroyo , 397@bugs.x2go.org References: <52CD82B3.6090406@gmail.com> <52CD853C.9080907@gmail.com> In-Reply-To: <52CD853C.9080907@gmail.com> User-Agent: Internet Messaging Program (IMP) H5 (6.1.4) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 213.178.75.58 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0 Content-Type: multipart/signed; boundary="=_talyYUgZdXSc8__RRq_T9Q5"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_talyYUgZdXSc8__RRq_T9Q5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: reassign -1 x2goserver Control: found -1 4.0.1.12 Control: tag -1 moreinfo Dear N=E9stor, On Mi 08 Jan 2014 18:05:00 CET, N=E9stor Uribe-Patarroyo wrote: > Package: x2go-server > Version: 4.0.1.12-0~809~ubuntu12.04.1 > > When the home folder of a user contains a non-ascii character (such=20=20 >=20as "=E1", or "=E9") I cannot initiate an x2go session. The error is: > > Info: Connecting to remote host 'localhost:31004'. > Info: Connection to remote proxy 'localhost:31004' established. > Error: The remote NX proxy closed the connection. > Error: Failure negotiating the session in stage '7'. > Error: Wrong version or invalid session authentication cookie. > Session: Terminating session at 'Wed Jan 8 09:52:30 2014'. > Session: Session terminated at 'Wed Jan 8 09:52:30 2014'. > > Login with ssh works normally. > > After changing the home folder of the user to one with only ascii=20=20 >=20characters, initiating an x2go session was possible. > > I am using Ubuntu 12.04.3 in the server, Ubuntu 12.10 in the client.=20= =20 >=20Client version is 4.0.1.2.Both server and client installed from=20=20 >=20thePPA ppa:x2go/stable Thanks for filing this bug and testing X2Go. Please note that Posix usernames are not allowed by RFC to contain=20=20 accents=20on characters. Posix usernames should be ASCII only. Normally, the home directory's basename should be identical to the=20=20 username,=20thus also contain ASCII-only characters. I don't think we will provide a fix for the reported bug, as your=20=20 system=20does not seem to comply to Posix standards. If you think I am wrong about this, please give feedback. Thanks, Mike --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= fb --=_talyYUgZdXSc8__RRq_T9Q5 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSzl8YAAoJEJr0azAldxsxZKEP/1yqK4o703/EKtCQ+Ffr/0hf UpNY+lOCpyBF6TP0/bbBNc1ifqCXBTfkIH3fMSZkF+uR+wQ+9PmIfZ5KTpxW4ILt eRyZhkxjWzWK86IarOXYnL0Drjy5IhHLxeo2G706TaU57VxKZn8S7MWZZzphcs2V D5fQkJeUMqAXliHBRom7ZiOVaTR4vzIJ/gYDzqTe/lI0RsTful2BC60vVs/UYbWd 56/PCskLOTXcidqrXL2XWL0mUXqJRPw+fgP2bxK9LrM7gIA9L7YdYbT+1XZJeBwI p8iZET6djx5c1ialxM/1+7M9MFGWbN4SFgBdZ6qC3ZCFg52kkeoiJbZfdm2UbCKj F3h6udB7CxocQYvrjydgGKMOXN1LhhAzO0xfJvaz2H4lwlXQzFB0EB1envAuBXtt 9jPF9UX8eTN+F/aihBE8SGOCwL8VHB9a/wMkhN3WG9Wfso0h9VnW2Jq72wQ2KsK2 oggep5PsEaJI0D5YeoXE4o+K/J72u1ODedMVKeg75zm9+VkwAkw9v25JUirdnyfX CVKDycjysYPITSB+Vy1XCu5hh0XawKTWOTyhoWq/Zp2QXhtBXeP+i7PXCtSe2OBt /M17Ex3WpVCG+jdWcdWPQlstAZFVSTjMfDLKElwxrD4Rba3cZa8IzAN+tU0/ZePs snAoDQ0fM6FvOxeM2gGZ =WdH3 -----END PGP SIGNATURE----- --=_talyYUgZdXSc8__RRq_T9Q5-- From unknown Fri Mar 29 12:26:28 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#397: [X2Go-Dev] Bug#397: Cannot connect when user home folder contains a non-ascii character Reply-To: Stefan Baur , 397@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 10 Jan 2014 11:40:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 397 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: moreinfo Received: via spool by 397-submit@bugs.x2go.org id=B397.138935383913232 (code B ref 397); Fri, 10 Jan 2014 11:40:02 +0000 Received: (at 397) by bugs.x2go.org; 10 Jan 2014 11:37:19 +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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Greylist: delayed 305 seconds by postgrey-1.34 at ymir; Fri, 10 Jan 2014 12:37:19 CET Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by ymir (Postfix) with ESMTP id 1E1D15DB11 for <397@bugs.x2go.org>; Fri, 10 Jan 2014 12:37:19 +0100 (CET) Received: from appserv1.stefanbaur.home (dslb-188-105-132-099.pools.arcor-ip.net [188.105.132.99]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MdqUD-1Vkip132lB-00Pwym; Fri, 10 Jan 2014 12:32:06 +0100 Message-ID: <52CFDAAA.3090800@stefanbaur.de> Date: Fri, 10 Jan 2014 12:34:02 +0100 From: Stefan Baur User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Mike Gabriel , 397@bugs.x2go.org, x2go-dev@lists.berlios.de CC: =?UTF-8?Q?N=C3=A9stor?= Uribe-Patarroyo References: <52CD82B3.6090406@gmail.com> <52CD853C.9080907@gmail.com> <20140109083432.Horde.sCzdV2ZalgbDaF-y6xBtAA8@mail.das-netzwerkteam.de> In-Reply-To: <20140109083432.Horde.sCzdV2ZalgbDaF-y6xBtAA8@mail.das-netzwerkteam.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:asxK2ZgLRy6Ysn9dDDx1qLZB/K40uJzGSKAkoUyWCEd UY9BBa1a/CcXciHWE1zd/TPWJlHLMEc1TAvFW8eGxKlKGgkTkh mPEaBytED6QUF5MZR9/QPEB2ZNNCem15Y1dM0fim2VRx4vb5Np Du/nWxNWAZLzPyEkVYRX2pLE5/ryAejWPT9oMHYVQAVpfUQAdR J7Sg6Ni/oiyqgq/MCTDhZ54bv9mtcgEjSg7JcdmYuPZYR2g7uG ycVFO7cj9ex2KZRu3rJFXA52DHkwaj+UgGEpe/Rl/5FXjgxWId oKrPYtL39JRpE7oF4a+EEho+pO/ijufi2caJyn5vQ6SKej6g7y vpk3Y6jF5yrOjIZPsUaSPTExpLjy7Gp+ki4lR8X8P1409EPWOe d074jFmcr5U8A== Am 09.01.2014 09:34, schrieb Mike Gabriel: > I don't think we will provide a fix for the reported bug, as your system > does not seem to comply to Posix standards. > > If you think I am wrong about this, please give feedback. I agree that we shouldn't try to fix what obviously isn't broken on our side, however, we could try to check for the issue and provide a clear error message as to what is wrong. I don't know what programming language the particular part of x2goserver is written in, but I would hope that something like this is possible in it (pseudocode): StrippedUsername = strip_non_ascii(Username) if StrippedUsername != Username { report_error('Username does not conform to POSIX conventions.') exit } -Stefan From unknown Fri Mar 29 12:26:28 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#397: X2Go issue (in src:x2goserver) has been marked as pending for release Reply-To: Mike Gabriel , 397@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 20 Aug 2014 09:00:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 397 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: moreinfo Received: via spool by 397-submit@bugs.x2go.org id=B397.14085249178464 (code B ref 397); Wed, 20 Aug 2014 09:00:01 +0000 Received: (at 397) by bugs.x2go.org; 20 Aug 2014 08:55:17 +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=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id CD10F3D2E0; Wed, 20 Aug 2014 10:55:15 +0200 (CEST) From: Mike Gabriel To: 397-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 397@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: http://snipr.com/post-receive-tag-pending Message-Id: <20140820085515.CD10F3D2E0@ymir.das-netzwerkteam.de> Date: Wed, 20 Aug 2014 10:55:15 +0200 (CEST) tag #397 pending fixed #397 4.0.1.16 thanks Hello, X2Go issue #397 (src:x2goserver) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=a2e9b6d The issue will most likely be fixed in src:x2goserver (4.0.1.16). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit a2e9b6dbea53d598f007b5550cde6937ab6907dd Author: Mike Gabriel Date: Wed Aug 20 10:55:04 2014 +0200 Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). diff --git a/debian/changelog b/debian/changelog index ea150c3..fdf038c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -69,6 +69,8 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). + - Abort session if env var $HOME is not set or if $HOME contains non-ASCII + characters. (Fixes: #397). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. From unknown Fri Mar 29 12:26:28 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#397: X2Go issue (in src:x2goserver) has been marked as closed Reply-To: Mike Gabriel , 397@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 25 Sep 2014 22:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 397 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: pending moreinfo Received: via spool by 397-submit@bugs.x2go.org id=B397.141168505120550 (code B ref 397); Thu, 25 Sep 2014 22:45:04 +0000 Received: (at 397) by bugs.x2go.org; 25 Sep 2014 22:44:11 +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=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=unavailable version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id 0F08B5E0A8; Fri, 26 Sep 2014 00:42:08 +0200 (CEST) From: Mike Gabriel To: 397-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 397@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20140925224209.0F08B5E0A8@ymir.das-netzwerkteam.de> Date: Fri, 26 Sep 2014 00:42:08 +0200 (CEST) close #397 thanks Hello, we are very hopeful that X2Go issue #397 reported by you has been resolved in the new release (4.0.1.16) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.16) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c43b862f2ae0e8980fb7ab5e519d692b07da5a45;hp=98c4f84d83d701823b7887f79d0d9f5ce8233bd4 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.16-0x2go1 Status: RELEASE Date: Fri, 26 Sep 2014 00:36:32 +0200 Fixes: 122 302 397 406 407 458 468 495 506 511 520 523 524 543 547 558 569 572 573 574 599 605 606 617 619 Changes: x2goserver (4.0.1.16-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream release (4.0.1.16): - Make X2Go Server aware of the Openbox desktop environment (Command: OPENBOX) (Fixes: #605) - Make X2Go Server aware of the IceWM desktop environment (Command: ICEWM) (Fixes: #606) - Support GNOME Flashback session (GNOME 3.8+) on distro releases such as Ubuntu 13.10+ and debian Jessie (NOTE: For most users, GNOME Flashback currently will not work. This requires that gnome-flashback.session actually be installed. Not every Linux distro has it available. It also requires that the gnome-session binary not require hardware 3D acceleration for said session. Currently, upstream GNOME and GNOME 3.8+ in all Linux distros do require this, only 3rd party builds do not. See X2Go bug #599 for example.) (Thanks Eugene San (eugenesan@gmail.com)) - Fix launching GNOME 3 Fallback session (GNOME 3.4 & 3.6) on distros other than Ubuntu and Debian (Fixes: #599) - Fix support for Cinnamon 1.4 (Linux Mint 13) (Fixes: #569) - Fix the logic for launching Cinnamon 2.0 and 2.2 (Linux Mint 17). (Fixes: #572) NOTE: Fixing this bug in x2goserver is not sufficient to make Cinnamon 2.0 & 2.2 to work properly with X2Go. Bug #150 in nx-libs is still a problem. Fixing this bug enables Cinnamon 2.0 and 2.2 to launch to their "fallback mode", which has many bugs and missing features when compared to "software rendering" mode (cinnamon2d), but is still better than nothing. * debian/rules: + Improve dh_auto_clean override. . [ Mike Gabriel ] * New upstream version (4.0.1.16): - Let x2goversion exit with an error if the X2Go component cannot be found. - Detect terminated sessions from NX log file. Also interpret a session as terminated if terminating just has started. - Detect started/starting/resumed/resuming sessions by explicitly scanning the NX session log file for those keywords. - Interpret NX sessions marked as "aborting session" as (not yet) terminated sessions. - Provide config option for server-side/global clipboard behaviour in x2goagent.options. (Fixes: #506). - Be aware of poly-instantiated /tmp directories bind-mounted under /tmp-inst. (Fixes: #406). - On suspend: Call x2goumount-session before sending SIGHUP to x2goagent. - Refuse client communcation if server-side hostname is not set up correctly (Fixes: #468). - Fix string comparison in x2goumount-session. - Fix problems with unmounting shared folders on session suspension/ termination. Remove extra parentheses from the fusermount execution call. (Fixes: #407). - Use type -p instead of which in x2goumount-session. Suppress output to stdout properly. - Use if--then--else--fi during x2goagent resuming in x2goresume-session script. - More reliably sync the NX session state with the status information in the X2Go session DB. - x2golistdesktops: Also detect sharable desktop sessions behind abstract kernel namespace sockets. - Add logcheck rules for X2Go Server. Thanks to Frank Werner for sending them in. - Correctly use diversions from stderr to stdout in shell commands. (Fixes: #520). - Don't die if no session state file is found, as it will break X2Go completely after upgrading from versions << 4.0.1.16 if sessions are still running/suspended during package upgrade. - Provide support for client-side choice of clipboard security. (Fixes: #524). - Use more quotes in x2goruncommand. - Detect the exit of rootless applications that forked to background on application execution. (Fixes: #122). - Make x2goruncommand more robust. - Don't fail Xsession startup if any of the profile scripts returns with an error. - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). - Allow email addresses as login usernames. (Fixes: #573). - Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). - Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). - Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). - x2gocleansessions: Don't print to stderr if the session state file cannot be found. This can happen during session startups. Report to system log instead. - Don't use Perl package File::ReadBackwards anymore. - Fix x2gormforward for 4.0.1.x release series (the X2Go::Log Perl module only exists in X2Go Server >= 4.1.0.0, the 4.0.1.x release series has to use x2gologlevel.pm in `x2gopath lib`. (Fixes: #617). - Pick x2gogetagentstate from 4.1.0.0 release series and adapt to usage with X2Go Server 4.0.1.x. (Fixes: #619). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. + Make sure x2gogetagentstate gets packaged in bin:package x2goserver. + Bump Standards: to 3.9.5. No changes needed. + Mark x2goserver-pyhoca bin:package as deprecated. + Drop D (x2goserver): libfile-readbackwards-perl. * x2goserver.spec: + Install {libdir}/x2go/x2gormforward into bin:package x2goserver. + Drop R (x2goserver): perl(File::ReadBackwards). . [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This should help to avoid session damage. Remove nxcleanup. (Fixes: #302, #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - Clean user SSHD process if connection between server and client lost. This should fix error "Global request tcpip-forward failed". (Fixes: #495, #547). . [ Orion Paplowski ] * x2goserver.spec: + Sync Fedora .spec file with our upstream-provided x2goserver.spec. From unknown Fri Mar 29 12:26:28 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.502 (Entity 5.502) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#397 closed by Mike Gabriel (X2Go issue (in src:x2goserver) has been marked as closed) Message-ID: References: <20140925224209.0F08B5E0A8@ymir.das-netzwerkteam.de> X-X2go-PR-Keywords: pending moreinfo X-X2go-PR-Message: they-closed 397 X-X2go-PR-Package: x2goserver X-X2go-PR-Source: x2goserver Date: Thu, 25 Sep 2014 22:45:24 +0000 Content-Type: multipart/mixed; boundary="----------=_1411685124-21502-0" This is a multi-part message in MIME format... ------------=_1411685124-21502-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is an automatic notification regarding your Bug report which was filed against the x2goserver package: #397: Cannot connect when user home folder contains a non-ascii character It has been closed by Mike Gabriel . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mike Gabriel by replying to this email. --=20 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1411685124-21502-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at control) by bugs.x2go.org; 25 Sep 2014 22:42:35 +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=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id 0F08B5E0A8; Fri, 26 Sep 2014 00:42:08 +0200 (CEST) From: Mike Gabriel To: 397-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 397@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20140925224209.0F08B5E0A8@ymir.das-netzwerkteam.de> Date: Fri, 26 Sep 2014 00:42:08 +0200 (CEST) close #397 thanks Hello, we are very hopeful that X2Go issue #397 reported by you has been resolved in the new release (4.0.1.16) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.16) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c43b862f2ae0e8980fb7ab5e519d692b07da5a45;hp=98c4f84d83d701823b7887f79d0d9f5ce8233bd4 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.16-0x2go1 Status: RELEASE Date: Fri, 26 Sep 2014 00:36:32 +0200 Fixes: 122 302 397 406 407 458 468 495 506 511 520 523 524 543 547 558 569 572 573 574 599 605 606 617 619 Changes: x2goserver (4.0.1.16-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream release (4.0.1.16): - Make X2Go Server aware of the Openbox desktop environment (Command: OPENBOX) (Fixes: #605) - Make X2Go Server aware of the IceWM desktop environment (Command: ICEWM) (Fixes: #606) - Support GNOME Flashback session (GNOME 3.8+) on distro releases such as Ubuntu 13.10+ and debian Jessie (NOTE: For most users, GNOME Flashback currently will not work. This requires that gnome-flashback.session actually be installed. Not every Linux distro has it available. It also requires that the gnome-session binary not require hardware 3D acceleration for said session. Currently, upstream GNOME and GNOME 3.8+ in all Linux distros do require this, only 3rd party builds do not. See X2Go bug #599 for example.) (Thanks Eugene San (eugenesan@gmail.com)) - Fix launching GNOME 3 Fallback session (GNOME 3.4 & 3.6) on distros other than Ubuntu and Debian (Fixes: #599) - Fix support for Cinnamon 1.4 (Linux Mint 13) (Fixes: #569) - Fix the logic for launching Cinnamon 2.0 and 2.2 (Linux Mint 17). (Fixes: #572) NOTE: Fixing this bug in x2goserver is not sufficient to make Cinnamon 2.0 & 2.2 to work properly with X2Go. Bug #150 in nx-libs is still a problem. Fixing this bug enables Cinnamon 2.0 and 2.2 to launch to their "fallback mode", which has many bugs and missing features when compared to "software rendering" mode (cinnamon2d), but is still better than nothing. * debian/rules: + Improve dh_auto_clean override. . [ Mike Gabriel ] * New upstream version (4.0.1.16): - Let x2goversion exit with an error if the X2Go component cannot be found. - Detect terminated sessions from NX log file. Also interpret a session as terminated if terminating just has started. - Detect started/starting/resumed/resuming sessions by explicitly scanning the NX session log file for those keywords. - Interpret NX sessions marked as "aborting session" as (not yet) terminated sessions. - Provide config option for server-side/global clipboard behaviour in x2goagent.options. (Fixes: #506). - Be aware of poly-instantiated /tmp directories bind-mounted under /tmp-inst. (Fixes: #406). - On suspend: Call x2goumount-session before sending SIGHUP to x2goagent. - Refuse client communcation if server-side hostname is not set up correctly (Fixes: #468). - Fix string comparison in x2goumount-session. - Fix problems with unmounting shared folders on session suspension/ termination. Remove extra parentheses from the fusermount execution call. (Fixes: #407). - Use type -p instead of which in x2goumount-session. Suppress output to stdout properly. - Use if--then--else--fi during x2goagent resuming in x2goresume-session script. - More reliably sync the NX session state with the status information in the X2Go session DB. - x2golistdesktops: Also detect sharable desktop sessions behind abstract kernel namespace sockets. - Add logcheck rules for X2Go Server. Thanks to Frank Werner for sending them in. - Correctly use diversions from stderr to stdout in shell commands. (Fixes: #520). - Don't die if no session state file is found, as it will break X2Go completely after upgrading from versions << 4.0.1.16 if sessions are still running/suspended during package upgrade. - Provide support for client-side choice of clipboard security. (Fixes: #524). - Use more quotes in x2goruncommand. - Detect the exit of rootless applications that forked to background on application execution. (Fixes: #122). - Make x2goruncommand more robust. - Don't fail Xsession startup if any of the profile scripts returns with an error. - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). - Allow email addresses as login usernames. (Fixes: #573). - Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). - Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). - Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). - x2gocleansessions: Don't print to stderr if the session state file cannot be found. This can happen during session startups. Report to system log instead. - Don't use Perl package File::ReadBackwards anymore. - Fix x2gormforward for 4.0.1.x release series (the X2Go::Log Perl module only exists in X2Go Server >= 4.1.0.0, the 4.0.1.x release series has to use x2gologlevel.pm in `x2gopath lib`. (Fixes: #617). - Pick x2gogetagentstate from 4.1.0.0 release series and adapt to usage with X2Go Server 4.0.1.x. (Fixes: #619). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. + Make sure x2gogetagentstate gets packaged in bin:package x2goserver. + Bump Standards: to 3.9.5. No changes needed. + Mark x2goserver-pyhoca bin:package as deprecated. + Drop D (x2goserver): libfile-readbackwards-perl. * x2goserver.spec: + Install {libdir}/x2go/x2gormforward into bin:package x2goserver. + Drop R (x2goserver): perl(File::ReadBackwards). . [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This should help to avoid session damage. Remove nxcleanup. (Fixes: #302, #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - Clean user SSHD process if connection between server and client lost. This should fix error "Global request tcpip-forward failed". (Fixes: #495, #547). . [ Orion Paplowski ] * x2goserver.spec: + Sync Fedora .spec file with our upstream-provided x2goserver.spec. ------------=_1411685124-21502-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 8 Jan 2014 17:06:02 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.3.2 Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) by ymir (Postfix) with ESMTPS id 226F05DA7B for ; Wed, 8 Jan 2014 18:06:02 +0100 (CET) Received: by mail-qa0-f48.google.com with SMTP id i13so1983457qae.35 for ; Wed, 08 Jan 2014 09:06:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=QZp28Wo11jfBtzXLX8xbgUQzXZ6iBMewwS+lYDwNPe4=; b=pZyb5FzbePi3Ev8O3Gq3IotrV9FPrJlaotQlcQkE7iH+4Q+rWzq4gsQEjQTjhJpqM3 xnEr3byRELT9EgDU05pwtax+bFwE3C3UaeAyli+eXFjvX5KnZ5rPWHydJxKNHKixycG9 B/vTzB+cSj2SH8OV80SwbRyV9NwyjOuxA/r3S6i1FyceXRLOkFHKOUJYKotwej7cahNj ssXB0/r34sB7QMu6ybUpAJWR/RRPCNKcBaBANyOBNQqcOcpO96oo/PuXu6R5WuOLIzJ6 ADP0zkVaoT8PAsAcwE/wdS+9WBGYVigUhcyjsUCStpKxAx/KIHIZGELx+Gfh8QqHsj4j uTPA== X-Received: by 10.49.15.202 with SMTP id z10mr212736235qec.46.1389200761123; Wed, 08 Jan 2014 09:06:01 -0800 (PST) Received: from [172.16.7.232] ([132.183.13.1]) by mx.google.com with ESMTPSA id f19sm1867650qaq.12.2014.01.08.09.05.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 09:06:00 -0800 (PST) Message-ID: <52CD853C.9080907@gmail.com> Date: Wed, 08 Jan 2014 12:05:00 -0500 From: =?ISO-8859-1?Q?N=E9stor_Uribe-Patarroyo?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: submit@bugs.x2go.org Subject: Cannot connect when user home folder contains a non-ascii character References: <52CD82B3.6090406@gmail.com> In-Reply-To: <52CD82B3.6090406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Package: x2go-server Version: 4.0.1.12-0~809~ubuntu12.04.1 When the home folder of a user contains a non-ascii character (such as "á", or "é") I cannot initiate an x2go session. The error is: Info: Connecting to remote host 'localhost:31004'. Info: Connection to remote proxy 'localhost:31004' established. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Wrong version or invalid session authentication cookie. Session: Terminating session at 'Wed Jan 8 09:52:30 2014'. Session: Session terminated at 'Wed Jan 8 09:52:30 2014'. Login with ssh works normally. After changing the home folder of the user to one with only ascii characters, initiating an x2go session was possible. I am using Ubuntu 12.04.3 in the server, Ubuntu 12.10 in the client. Client version is 4.0.1.2.Both server and client installed from thePPA ppa:x2go/stable ------------=_1411685124-21502-0--