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


Message #15 received at 1596@bugs.x2go.org (full text, mbox, reply):

Received: (at 1596) by bugs.x2go.org; 26 Jan 2023 09:38:10 +0000
From krzysztof.kazanowicz@softelnet.pl  Thu Jan 26 10:37:53 2023
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=ham autolearn_force=no version=3.4.2
Received: from mail.softelnet.pl (mail.softelnet.pl [80.82.19.2])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B312F5DA93;
	Thu, 26 Jan 2023 10:37:52 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.softelnet.pl (Postfix) with ESMTP id 5C26220F5DFB;
	Thu, 26 Jan 2023 10:36:53 +0100 (CET)
Received: from [10.1.4.26] (unknown [10.1.4.26])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: krzysztof.kazanowicz@softelnet.pl)
	by mail.softelnet.pl (Postfix) with ESMTPSA id 215312000D4C;
	Thu, 26 Jan 2023 09:36:43 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=softelnet.pl;
	s=mail; t=1674725803;
	bh=V4uZVhQ/HD/Bm52P0KDYZbDQALQrJ8iqpu/7l/aEvfw=;
	h=Date:To:Cc:References:From:Subject:In-Reply-To:From;
	b=ipoLwUstspUcCr479xk52Msus/h46uJBA9fE3tP9QyVEXN4mPL3dWHtfJv7+NvYPq
	 SpjJTb/9/m1prQCUcyUmHcYGU4OS9+OJCRZZ/I9ZzLjAzZRNiNcR2Cf4Cr4ONM57DV
	 IZ1xNnXkktHBK20T0Pl9zdEy2CIRZthKt8cmcp2tql/RQOHeMKBKwi0q1CDX7qnW59
	 bDPuRkUFG3MsrlTfdFAx0I3a+VaLF5j/MShgp9EQrrIA1a9crkRm61q18BVSyv1JNa
	 ERvix0o3IDGRIcEM55x3S6cCnUHro2CEWd3i2lKQYKt4rvP5wKgj9Yxv1HlXBwzc/L
	 lGo2XYzJc9WhiqrvH+v2uTpkGUGtAi2a2r2LZNi4c5hnL4KcMwEq2PZmkZXhXMOCCc
	 Rf22Tmg2TTQtFxB8vcEJxpibxzDqJQlQEVpvKKSQT2Le6vrk0oDrbC/vbRKZA34iQS
	 tLXS+Eoajw3yzHKkBsD2iNlJdaojAR3h63d9b0bmz13MIBKmuiOn/hyOzHIooYGwnZ
	 RofBr7eV2yLl35YbYA8TT8LVy9FNdQL9KgDLWA1kOfuOFqmXgnWS17WlKw1vSl5fCb
	 QP6K5BqkNC43A+9Lf+ek51rjwyHjvVIxm6CtsW2KibhyFd8WbOLUJYbepKd3GL/ESL
	 wpO1Z/KiMqVhq7h52wDOClL4=
Message-ID: <3853f05c-e84f-aa16-59ee-8694e49714d5@softelnet.pl>
Date: Thu, 26 Jan 2023 10:37:39 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Content-Language: pl
To: uli42@gmx.de, 1596@bugs.x2go.org
Cc: submit@bugs.x2go.org
References: <cdc8c9a7-8643-d134-f353-e5bb638221d2@softelnet.pl>
 <CANVnVYLYbzFhD_hxUrvm55-n69iATtykTSqJvH6EYhQRF-yCzg@mail.gmail.com>
From: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>
Subject: Re: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working
In-Reply-To: <CANVnVYLYbzFhD_hxUrvm55-n69iATtykTSqJvH6EYhQRF-yCzg@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------gktH88JYDKxhxhLGWSH4HPEs"
[Message part 1 (text/plain, inline)]
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
[OpenPGP_signature (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Nov 12 06:15:43 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.