From trakatelis@uom.edu.gr Thu Nov 6 19:16:44 2014 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 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Nov 2014 10:16:42 -0800 (PST) From: "George Trakatelis" To: <611@bugs.x2go.org> Cc: "'Dmitry E. Mikhailov'" , "'Mike DePaulo'" , "'Mike Gabriel'" References: <000801cff9b6$13f10380$3bd30a80$@edu.gr> <545B5F53.7040100@infocommunications.ru> In-Reply-To: Subject: RE: X2Go Client for Windows cannot create C:\Users\\ssh\known_hosts file when the username has characters from languages other than the system locale 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 =C6=C9=D3=D7=D5=C1.=20 [To change system locale, I followed the instructions in=20 http://windows.microsoft.com/en-us/windows/change-system-locale#1TC=3Dwin= dows- 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.=20 [@Mike#2: ssh_write_knownhost()'s return value should have been checked=20 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" )],=20 you'd be better off if you didn't use user names with non-Ascii = characters for the time being.=20 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\\ssh\known_hosts file when the username has > characters from languages other than the system locale >=20 > I just noticed that Dmitry replied only to me, so I copy his reply > below: >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > 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. > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > 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 = (=C6=C9=D3=D7=D5=C1) > (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). >=20 > 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 :) >=20 > George >=20 > > -----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\\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\\ssh\known_hosts > > > file when the username has non-English characters' > > > was cloned to bug #611 > > > 'X2Go Client for Windows cannot create > > > C:\Users\\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.