X2Go Bug report logs - #1596
Windows 11 file sharing not working

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

Reported by: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>

Date: Wed, 18 Jan 2023 11:15:02 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1596: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working
Reply-To: Ulrich Sibiller <uli42@gmx.de>, 1596@bugs.x2go.org
Resent-From: Ulrich Sibiller <uli42@gmx.de>
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, 26 Jan 2023 22:10:02 +0000
Resent-Message-ID: <handler.1596.B1596.16747707333903@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1596
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
References: <cdc8c9a7-8643-d134-f353-e5bb638221d2@softelnet.pl> <CANVnVYLYbzFhD_hxUrvm55-n69iATtykTSqJvH6EYhQRF-yCzg@mail.gmail.com> <3853f05c-e84f-aa16-59ee-8694e49714d5@softelnet.pl> <cdc8c9a7-8643-d134-f353-e5bb638221d2@softelnet.pl>
Received: via spool by 1596-submit@bugs.x2go.org id=B1596.16747707333903
          (code B ref 1596); Thu, 26 Jan 2023 22:10:02 +0000
Received: (at 1596) by bugs.x2go.org; 26 Jan 2023 22:05:33 +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,FREEMAIL_FROM,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=unavailable autolearn_force=no version=3.4.2
Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A93265DAC0;
	Thu, 26 Jan 2023 23:05:15 +0100 (CET)
Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1633e6f83d4so4264604fac.0;
        Thu, 26 Jan 2023 14:05:15 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=JmZbVJGHnvSx9ACOA+JKh57yewhsEsiSEtavNUGwuRc=;
        b=O3iFzJDujpksAPDdHdiQm9XPlt+ZmWAymFameQAnUkj8BkG3T2UVkwMTClRTZfhYMV
         /FF2tLWFrxuPs3kxN+G1ZGTnaUy6o9w32bloP1mqA0YQ7Z/D6PJiOW+dVjEyxGIsFKzV
         T6Ivt6Y3aiORlmQrCv3IkXGZ0FH+uNnCIVHpurP6iGgokIG4f8R+yo3Inz1m6w3nsQhv
         68UzKr1AiDKbP8+tpa3P+8eDaLVlmJerczNuZluRUiYq61C5a8h5jQfeB7JYIXc4j7LQ
         TbAangUBJTI8HDdOi2INcLttbAcsRO+zzHtP+zYmcIV2TOjmnkq6YuMLbwotpTCJmBde
         dfDg==
X-Gm-Message-State: AO0yUKW6qDp/Z93yWqdrcurcoiiRbSzin/4Ip0fXyc/rN9fd5stYhRN2
	x4Bpa+vE/qvgMCcap+ojX+SqpYb12mcssg4xAE60LqWl
X-Google-Smtp-Source: AK7set9sy0wXyrtinQbh6zkLotG9xPK4hFivxFwQcagCpmtU2rW4OSrdiT8GzELGpJvAC3eWeP4HFPZGZekZQTzldHk=
X-Received: by 2002:a05:6870:64a2:b0:163:62d4:c944 with SMTP id
 cz34-20020a05687064a200b0016362d4c944mr126045oab.56.1674770714003; Thu, 26
 Jan 2023 14:05:14 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <3853f05c-e84f-aa16-59ee-8694e49714d5@softelnet.pl>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Thu, 26 Jan 2023 23:04:47 +0100
Message-ID: <CANVnVYKdktVaXCdWXsUfdeqxd_RCDOza+r9riFH9zrHN6FuqOQ@mail.gmail.com>
To: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>
Cc: 1596@bugs.x2go.org, submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
What happens when you (temporarily) rename the sftp-server binary so
that sshd cannot find it?



On Thu, Jan 26, 2023 at 10:37 AM Krzysztof Kazanowicz
<krzysztof.kazanowicz@softelnet.pl> wrote:
>
> Hi,
>
> there is no separate cygwin or Subsystem for Linux here.
>
> In user's homedir in file ".x2go\etc\sshdconfig" if you change the line:
>
> Subsystem sftp C:/Progra~2/X2GOCL~1/sftp-server
>
> to
>
> Subsystem sftp internal-sftp
>
> it works for one session. However, you can't change this permanently in
> X2Go client.
>
>
> On 25.01.2023 12:06, Ulrich Sibiller wrote:
> > Hm,
> >
> > I am wondering why this makes a difference. The sshd comes with
> > x2goclient and should be the same. Therefore it should know the same
> > options as on Windows 10.
> >
> > I can see the same message on Windows 10 when calling sshd directly,
> > but I do not see any reference to "cygdrive":
> >
> > "C:\Program Files (x86)\x2goclient\sshd.exe" -f
> > c:\Users\USER\.x2go\etc\sshd_config
> > c:\\Users\\USER\\.x2go\\etc\\sshd_config line 3: Deprecated option
> > UsePrivilegeSeparation
> > Could not load host key: /usr/local/etc/ssh_host_rsa_key
> > Could not load host key: /usr/local/etc/ssh_host_ecdsa_key
> > Could not load host key: /usr/local/etc/ssh_host_ed25519_key
> > sshd: no hostkeys available -- exiting.
> >
> > Can you verify this on Win 11?
> >
> > So are you sure you are using the right environment? Is there a
> > separate cygwin installation on the system? Are you using Windows
> > Subsystem for Linux?
> >
> > Uli
> >
> > On Wed, Jan 25, 2023 at 10:47 AM Krzysztof Kazanowicz
> > <krzysztof.kazanowicz@softelnet.pl> wrote:
> >> Package: x2goclient
> >> Version: 4.1.2.2 (Qt - 4.8.6)
> >>
> >> On Windows 11, when trying to mount a shared folder to remote Linux
> >> desktop, a cmd.exe window appears with error:
> >>
> >> /cygdrive/C/Users/dkopa/.x2go/etc/sshd_config line 3: Deprecated option
> >> UsePrivilegeSeparation
> >>
> >> and sharing doesn't work at all. On Windows 10 the problem was not present.
> >>
> >> This is a severe bug IMO as Windows 11 users can't share files.
> >>
> >> _______________________________________________
> >> x2go-dev mailing list
> >> x2go-dev@lists.x2go.org
> >> https://lists.x2go.org/listinfo/x2go-dev

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 05:50:53 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.