X2Go Bug report logs - #611
X2Go Client for Windows cannot create C:\Users\<username>\ssh\known_hosts file when the username has characters from languages other than the system locale

version graph

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

Reported by: <trakatelis@uom.gr>

Date: Mon, 11 Aug 2014 10:55:01 UTC

Severity: normal

Found in version 4.0.2.1

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#611: X2Go Client for Windows cannot create C:\Users\<username>\ssh\known_hosts file when the username has characters from languages other than the system locale
Reply-To: "George Trakatelis" <trakatelis@uom.edu.gr>, 611@bugs.x2go.org
Resent-From: "George Trakatelis" <trakatelis@uom.edu.gr>
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, 06 Nov 2014 18:20:01 +0000
Resent-Message-ID: <handler.611.B611.14152978058554@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 611
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 611-submit@bugs.x2go.org id=B611.14152978058554
          (code B ref 611); Thu, 06 Nov 2014 18:20:01 +0000
Received: (at 611) by bugs.x2go.org; 6 Nov 2014 18:16:45 +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,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 35C1B5DEA7
	for <611@bugs.x2go.org>; Thu,  6 Nov 2014 19:16:44 +0100 (CET)
Received: by mail-wi0-f169.google.com with SMTP id n3so2269492wiv.0
        for <611@bugs.x2go.org>; Thu, 06 Nov 2014 10:16:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=uom.edu.gr; s=google;
        h=from:to:cc:references:in-reply-to:subject:date:message-id
         :mime-version:content-type:content-transfer-encoding:thread-index
         :content-language;
        bh=m9F5v+80b9p0Rc4LbzVqOJgf69DPmS7Iz9iM+1rLylY=;
        b=b45QObcJxyRv4wsqmFpMbZyeKjJe4/HygR/YvrSswF1kqRLsn4HQoX7BsX+FzXk41y
         GZipOSuPuRPMsFD+JtJ/7e/HKWQEQMJJxQTeWW0DwlOMoSpCrNfBYgAmKrFwg9pyBHGO
         Ql9/ldYGM7OeFrkuEBku16s6C+a9AWG4oVze4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
         :message-id:mime-version:content-type:content-transfer-encoding
         :thread-index:content-language;
        bh=m9F5v+80b9p0Rc4LbzVqOJgf69DPmS7Iz9iM+1rLylY=;
        b=E1khUoj/nFoPIp+rn3cSLdPbJa+QfeiDoLjAfp5nGsn5ZvC24nplaQQqTAW5EnovQj
         wq349hX0gEwbesIeAtxAXG/mlF8gDS4ijZ+D4ZjbxH/ImtTpd8/O4G1Szk4Fnzv1frK0
         TC0OQpMY25q2ZTCcKzR3HLNualPu54OsBUkYuMqsptg1wO38/ALgahgxf0MufvjkaOEa
         qcSTIus+GzNPncd1fqIbHE62Qr+Jmdd3MDn99GESLFOtqKHxa9mWmE6Lo/hEdSMJRjwt
         AkSIa7eNwQoYVGhwqnRVHTLOI0YrgeznXfsWCtHX24re0vCxFmjSmR+7qeeMDlAepV/9
         ckyg==
X-Gm-Message-State: ALoCoQlMrbI+fOnwoicCi8QnwCleaYU/apMFCu+ZQXDsffB7Ze8Lq8zIHmdQpdPQ0mSm4cW7VEn8
X-Received: by 10.180.101.102 with SMTP id ff6mr44096001wib.34.1415297803097;
        Thu, 06 Nov 2014 10:16:43 -0800 (PST)
Received: from HomePC (46-198-96-210.adsl.cyta.gr. [46.198.96.210])
        by mx.google.com with ESMTPSA id j8sm20459392wib.10.2014.11.06.10.16.41
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Thu, 06 Nov 2014 10:16:42 -0800 (PST)
From: "George Trakatelis" <trakatelis@uom.edu.gr>
To: <611@bugs.x2go.org>
Cc: "'Dmitry E. Mikhailov'" <d.mikhailov@infocommunications.ru>,
	"'Mike DePaulo'" <mikedep333@gmail.com>,
	"'Mike Gabriel'" <mike.gabriel@das-netzwerkteam.de>
References: <000801cff9b6$13f10380$3bd30a80$@edu.gr> <545B5F53.7040100@infocommunications.ru> 
In-Reply-To: 
Date: Thu, 6 Nov 2014 20:16:40 +0200
Message-ID: <000001cff9ed$d141a7a0$73c4f6e0$@edu.gr>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac/5tzH8XWW5vs8LTe6PLlCzG7eHuQAIhbfgAANBuXA=
Content-Language: el
Dear Dmitry,

Setting Russian as the default language for non-Unicode programs showed that

x2goclient-4.0.3.0-20141021-setup.exe behaves correctly with test user name
фисвуа. 

[To change system locale, I followed the instructions in 
http://windows.microsoft.com/en-us/windows/change-system-locale#1TC=windows-
7]

So please investigate for other causes for the misbehavior of x2goclient's
current release on your system.
One such a cause would be known_hosts being read-only. 

[@Mike#2: ssh_write_knownhost()'s return value should have been checked 
whether it's zero or SSH_ERROR and acted upon]

As there are portions of x2goclient that depend on code that ignores system
locale [such as getenv( "USERNAME" )], 
you'd be better off if you didn't use user names with non-Ascii characters
for the time being. 

George

> -----Original Message-----
> From: George Trakatelis [mailto:trakatelis@uom.edu.gr]
> Sent: Thursday, November 6, 2014 6:44 PM
> To: '611@bugs.x2go.org'
> Cc: 'Mike Gabriel'; 'Mike DePaulo'; 'Dmitry E. Mikhailov'
> Subject: RE: X2Go Client for Windows cannot create
> C:\Users\<username>\ssh\known_hosts file when the username has
> characters from languages other than the system locale
> 
> I just noticed that Dmitry replied only to me, so I copy his reply
> below:
> 
> ==========================================================
> It's the #566
> No-go if OS locale is Russian & path to `known_hosts' contains
> Russian/Cyrillic characters.
> OK if if OS locale is Russian & path to `known_hosts' contains only
> English characters.
> Frankly, I don't know if generic English/Latin characters belong to
> Russian/Cyrillic character set.
> Best regards,
> 	Dmitry Mikhailov.
> ==========================================================
> 
> Afaik, the patch is applied to both the preview (pre01) and the current
> release (20141021) of X2Go Client for Windows 4.0.3.0, so it's rather
> unusual to observe different behavior from preview to release.
> In my system (Greek Windows 8.1) with a user name in Cyrillic (фисвуа)
> (fyi, I pressed a-b-c-d-e-f to get it) and Greek locale both versions
> exhibited the same erroneous behavior (that's why Mike#2 introduced bug
> #611).
> 
> I'll try to set Russian as the main language of my system to see what
> happens (if I can find my way in Russian and succeed in getting back to
> Greek :)
> 
> George
> 
> > -----Original Message-----
> > From: Dmitry E. Mikhailov [mailto:d.mikhailov@infocommunications.ru]
> > Sent: Thursday, November 6, 2014 1:45 PM
> > To: George Trakatelis
> > Subject: Re: X2Go Client for Windows cannot create
> > C:\Users\<username>\ssh\known_hosts file when the username has
> > characters from languages other than the system locale
> >
> > On 11/06/2014 04:37 PM, George Trakatelis wrote:
> > > Hi all,
> > >
> > > I remind you that bug #566
> > > 'X2Go Client for Windows cannot create
> > > C:\Users\<username>\ssh\known_hosts
> > > file when the username has non-English characters'
> > > was cloned to bug #611
> > > 'X2Go Client for Windows cannot create
> > > C:\Users\<username>\ssh\known_hosts
> > > file when the username has characters from languages other than the
> > > system locale'
> > > in an effort to find a global solution utilizing UTF-8 encoding.
> > > Imho, bug #611 cannot be resolved in the near future.
> > >
> > > I must ask Dmitry to re-state what his problem is.
> > > Is it an issue related to
> > >
> > > a. bug #566 as described above,
> > It's the #566
> >
> > No-go if OS locale is Russian & path to `known_hosts' contains
> > Russian/Cyrillic characters.
> >
> > OK if if OS locale is Russian & path to `known_hosts' contains only
> > English characters.
> >
> > Frankly, I don't know if generic English/Latin characters belong to
> > Russian/Cyrillic character set.
> >
> > Best regards,
> > 	Dmitry Mikhailov.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:59:24 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.