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
X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	autolearn=ham autolearn_force=no version=3.4.2
Received: from mail.softelnet.pl (mail.softelnet.pl [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B312F5DA93;
	Thu, 26 Jan 2023 10:37:52 +0100 (CET)
Received: from localhost (localhost [])
	by mail.softelnet.pl (Postfix) with ESMTP id 5C26220F5DFB;
	Thu, 26 Jan 2023 10:36:53 +0100 (CET)
Received: from [] (unknown [])
	(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;
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
Content-Language: pl
To: uli42@gmx.de, 1596@bugs.x2go.org
Cc: submit@bugs.x2go.org
References: <cdc8c9a7-8643-d134-f353-e5bb638221d2@softelnet.pl>
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;
[Message part 1 (text/plain, inline)]

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


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: (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 Jun 18 11:54:26 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.