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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1596; Package x2goclient. (Wed, 18 Jan 2023 11:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>.

Your message had a Version: pseudo-header with an invalid package version:

4.1.2.2 (Qt - 4.8.6)

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Wed, 18 Jan 2023 11:15:02 GMT) (full text, mbox, link).


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

From: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>
To: submit@bugs.x2go.org
Subject: Windows 11 file sharing not working
Date: Wed, 18 Jan 2023 12:09:58 +0100
[Message part 1 (text/plain, inline)]
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.

[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1596; Package x2goclient. (Wed, 25 Jan 2023 11:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to uli42@gmx.de:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 25 Jan 2023 11:10:02 GMT) (full text, mbox, link).


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

From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
To: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>, 1596@bugs.x2go.org
Cc: submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working
Date: Wed, 25 Jan 2023 12:06:36 +0100
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


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1596; Package x2goclient. (Thu, 26 Jan 2023 09:40:03 GMT) (full text, mbox, link).


Acknowledgement sent to Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Jan 2023 09:40:03 GMT) (full text, mbox, link).


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

From: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>
To: uli42@gmx.de, 1596@bugs.x2go.org
Cc: submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working
Date: Thu, 26 Jan 2023 10:37:39 +0100
[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)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1596; Package x2goclient. (Thu, 26 Jan 2023 22:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ulrich Sibiller <uli42@gmx.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Jan 2023 22:10:02 GMT) (full text, mbox, link).


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

From: Ulrich Sibiller <uli42@gmx.de>
To: Krzysztof Kazanowicz <krzysztof.kazanowicz@softelnet.pl>
Cc: 1596@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1596: Windows 11 file sharing not working
Date: Thu, 26 Jan 2023 23:04:47 +0100
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: Tue May 28 01:41:22 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.