From khoa.tran@veltecnetworks.com  Thu Mar  7 19:50:06 2019
Received: (at submit) by bugs.x2go.org; 7 Mar 2019 18:50:08 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,DKIMWL_WL_MED,
	DKIM_SIGNED,DKIM_VALID,URIBL_BLOCKED autolearn=ham autolearn_force=no
	version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 3B03E5DAF4
	for <submit@bugs.x2go.org>; Thu,  7 Mar 2019 19:50:06 +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 dC-IWeGENOri for <submit@bugs.x2go.org>;
	Thu,  7 Mar 2019 19:49:58 +0100 (CET)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 384BF5DAF0
	for <submit@bugs.x2go.org>; Thu,  7 Mar 2019 19:49:58 +0100 (CET)
Received: by mail-oi1-x22d.google.com with SMTP id b4so13772416oif.6
        for <submit@bugs.x2go.org>; Thu, 07 Mar 2019 10:49:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=veltecnetworks-com.20150623.gappssmtp.com; s=20150623;
        h=mime-version:from:date:message-id:subject:to
         :content-transfer-encoding;
        bh=e9zjOECNux1lEoII6KTUSsxHAr93bHexHhZWFsOcr/w=;
        b=kIyg26wkqkixg3l+ropggvS4DLqF2O7nKpkVAHN4ZdTShUYUeCnqzy5RQzH8K/zZHd
         6Nd+y1pfBi4SjmLZV/+D4Nt6JixluIlWpiKDnTLieOxlBzONvbL7PCqRcWhsp/nohN34
         N85kfxE3urdtRfhsRHr1fV7sxv6eLdD1cpIV1vSTVdpVGRLBOaXr7bP/7P03j4IiTu2j
         Uz6eGjCVLGCOA/B9kJR9qe/ATILntWxifLJ8lN9kNzIzav8cceFmqCNimV7vD6W39ETT
         /gFVoT7w8Wy8gvSZty93ruzECwZgGS1R9pzDWesTjU7lOxzQK68YSaztReLPP8gNoGbB
         eWpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to
         :content-transfer-encoding;
        bh=e9zjOECNux1lEoII6KTUSsxHAr93bHexHhZWFsOcr/w=;
        b=j0ACHKVGSE2ZHUu14r1qxtAcNpIrKMvHfXvlh39weM0btcsMDN2u29hUPp6zUXJEqg
         ZV1pcpIuFfuIkm8d3vSU4mGPdFlrI/NQ2sdvxRC99jf4DdF101I8Qghkd0+L1ne1tCSh
         bM/UgX9uw7ylz3lGkGRouFHHv5f+Yu11JO5TvZ6YpBMBVtuuYHFvcup5j8Lm8cgWXwp0
         PRHxqmOYxj9HkuPxbNVz7wn23Hvd7kJt6kcnKGb7TgHjulhj/+b9+dVwkSIeA5cRQu3+
         qtGDctYIH5odBUHLiTBRyszjwtiIVBo7M2OHl8BbcAR4J3Nzdt5BGkp4pCZ4rk1Z8iaK
         u8vQ==
X-Gm-Message-State: APjAAAWnfHg0LQM/XWvwAr8/DpeaodTdY1NUezfLNT8wEUoR8nCw4XMn
	+6SJDntN0wjiw7OFLKUbfTCxRSIGeMLnZx/YDzBCBD+FaaFdqg==
X-Google-Smtp-Source: APXvYqzkdi3o5yi2xBA25tk7bvSNPZzUwFEpdG6dBMZ3vrtt3YMDBf/RBh6nyfrT8FKAVvEchnSDERGV/fZWZdx0Kps=
X-Received: by 2002:aca:33d7:: with SMTP id z206mr5674907oiz.51.1551984595524;
 Thu, 07 Mar 2019 10:49:55 -0800 (PST)
MIME-Version: 1.0
From: Khoa Tran <khoa.tran@veltecnetworks.com>
Date: Thu, 7 Mar 2019 10:49:47 -0800
Message-ID: <CAG_nfqWx1+AoP0YwUET6_PYsoKjGM5PE08keasHV+hc8d1jJBg@mail.gmail.com>
Subject: Upgrade to Windows 10 version 1809 break X2Go, can't read user name
 with space
To: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Package: <X2GoClient-4.1.2.0-2018.06.22-setup.exe>
Version: <4.1.2.0>

X-Debbugs-CC: barry.pangrle@esperantotech.com

1-After updating from Window 10 Ver 1803 to 1809; x2go doesn't work any mor=
e.
2- It fails with the following messages:

Loop: PANIC! Can't open options file '/cygdrive/C/Users/Barry'. Error
is 2 'No such file or directory'.
Error: Can't open options file '/cygdrive/C/Users/Barry'. Error is 2
'No such file or directory'.
Loop: PANIC! Can't open options file '/cygdrive/C/Users/Barry'. Error
is 2 'No such file or directory'.
Error: Can't open options file '/cygdrive/C/Users/Barry'. Error is 2
'No such file or directory'.
Connection timeout, abortingLoop: PANIC! Can't open options file
'/cygdrive/C/Users/Barry'. Error is 2 'No such file or directory'.
Error: Can't open options file '/cygdrive/C/Users/Barry'. Error is 2
'No such file or directory'.
Connection timeout, aborting

Looking at the "options" files now generated under Ver 1809, they look like=
:
nx/nx,root=3D/cygdrive/C/Users/Barry
Pangrle/.x2go,connect=3Dlocalhost,cookie=3D064e8b5bdd350e061f76b243b8d5b5e5=
,port=3D35936,errors=3D/cygdrive/C/Users/Barry
Pangrle/.x2go/S-bpangrle-51-1546910140_stDMATE_dp32/sessions:51

An "options" file generated under Ver 1803 looks like:
nx/nx,root=3D/cygdrive/C/Users/BARRYP~1/X2GO~1,connect=3Dlocalhost,cookie=
=3De8a3a18f683a68163533a911fad81985,port=3D45490,errors=3D/cygdrive/C/Users=
/BARRYP~1/X2GO~1/S-bpangrle-51-1545005939_stDMATE_dp32/sessions:51

It looks like the old version used to use "BARRYP~1" in the path
instead of "Barry Pangrle" and based on the error messages, it seems
to not be able to trace through the " " in the path name.

3. Expect to read folder with space and replace with ~ instead of space.
4. X2go can't read space, can't replace with ~ and failed.

Also, please list the following info:

The client machine's OS (e.g., =E2=80=9CWindows 10 pro version 1809=E2=80=
=9D)
The client machine's version of X2GoClient: 4.1.2.0
The server's OS: CentOS 7, worked with Windows 10 version 1803

