From ulrich.sibiller@gmail.com Thu Jan 26 23:05:16 2023 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 References: <3853f05c-e84f-aa16-59ee-8694e49714d5@softelnet.pl> In-Reply-To: <3853f05c-e84f-aa16-59ee-8694e49714d5@softelnet.pl> From: Ulrich Sibiller Date: Thu, 26 Jan 2023 23:04:47 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working To: Krzysztof Kazanowicz 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 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 > > 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