X2Go Bug report logs - #1417
Unable to find the sftp-server binary

version graph

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

Reported by: "Nathan D'Elboux" <nathan.delboux@gmail.com>

Date: Sat, 9 Nov 2019 10:55:01 UTC

Severity: normal

Tags: moreinfo

Found in version 4.1.1.1-2

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#1417; Package x2goclient. (Sat, 09 Nov 2019 10:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Nathan D'Elboux" <nathan.delboux@gmail.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 09 Nov 2019 10:55:01 GMT) (full text, mbox, link).


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

From: "Nathan D'Elboux" <nathan.delboux@gmail.com>
To: submit@bugs.x2go.org
Subject: Unable to find the sftp-server binary
Date: Sat, 9 Nov 2019 21:52:18 +1100
Package: x2goclient
Verison: 4.1.1.1-2

From a Linux desktop i launch x2go client and auth into my
remote MATE desktop Ubuntu x2go server. Upon successfully auth to host
i receive the below error

"Unable to find the sftp-server binary. Neither bundled nor found in
$PATH no additional directories.

If you are using a Linux based OS please ask your sys admin to install
the package containing the sftp-server binary."
It then provides the names of the binaries to install, i do have all
of the necessary ssh and ssh server and sftp related binaries
installed.

Then it states to contact this email if the problem exists.

My path is as follows
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

which sftp
/usr/bin/sftp

i currently have sftp installed
ii  openssh-sftp-server                        1:7.6p1-4ubuntu0.3

Once you acknowledge the error and press Ok it exists the session

thanks,
Nathan


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1417; Package x2goclient. (Sat, 25 Jan 2020 17:50:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mihai Moldovan <ionic@ionic.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 25 Jan 2020 17:50:02 GMT) (full text, mbox, link).


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

From: Mihai Moldovan <ionic@ionic.de>
To: 1417@bugs.x2go.org
Cc: Nathan D'Elboux <nathan.delboux@gmail.com>
Subject: Re: Bug#1417: Unable to find the sftp-server binary
Date: Sat, 25 Jan 2020 18:47:14 +0100
[Message part 1 (text/plain, inline)]
Control: reassign -1 x2goclient 4.1.1.1-2
Control: tags -1 moreinfo


Please mention your client OS the next time around! I'm pretty sure that it's
Ubuntu 18.04/bionic based on the openssh-sftp-server package's version number,
but such information is often helpful.


> My path is as follows
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

Looks fine in general, but let's look for sftp-server...


> which sftp
> /usr/bin/sftp

Nope, sorry, useless. sftp is the sftp client binary, but X2Go Client is looking
for the sftp server binary (as part of the folder sharing/printing support).

Can you please re-run "which sftp-server"?


> i currently have sftp installed
> ii  openssh-sftp-server                        1:7.6p1-4ubuntu0.3

Weird.

dpkg -L openssh-sftp-server

should include both

/usr/lib/openssh/sftp-server
/usr/lib/sftp-server

Right?

/usr/lib/sftp-server should be a symlink to /usr/lib/openssh/sftp-server, which
should be a real binary.

If the files exist, run
ls -ldh /usr/lib/openssh/sftp-server /usr/lib/sftp-server


Incidentally, there *is* a bug in X2Go Client, which... looks for the wrong
binary name when using Qt 5. I managed to look for "sftp-binary" instead of
"sftp-server", which is just braindead. However, funnily, this only caused
trouble if the sftp-server binary was bundled or contained in a system path,
which shouldn't be the case. This bug should now be fixed in our nightly
packages, but it doesn't explain the problem you're experiencing.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Marked as found in versions 4.1.1.1-2. Request was from Mihai Moldovan <ionic@ionic.de> to 1417-submit@bugs.x2go.org. (Sat, 25 Jan 2020 17:50:02 GMT) (full text, mbox, link).


Added tag(s) moreinfo. Request was from Mihai Moldovan <ionic@ionic.de> to 1417-submit@bugs.x2go.org. (Sat, 25 Jan 2020 17:50:02 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1417; Package x2goclient. (Sun, 04 Jun 2023 21:25:01 GMT) (full text, mbox, link).


Acknowledgement sent to Wayne Sherman <softdev@systemdesignworks.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 04 Jun 2023 21:25:01 GMT) (full text, mbox, link).


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

From: Wayne Sherman <softdev@systemdesignworks.com>
To: 1417@bugs.x2go.org
Subject: Re: Bug#1417: Unable to find the sftp-server binary
Date: Sun, 4 Jun 2023 14:21:52 -0700
[Message part 1 (text/plain, inline)]
In my case (on MX Linux - Debian 10 based), I don't have an sftp server
installed and I do not want to install it.  I do not need "folder
sharing/printing support" for my purposes.  My remote session still opens
and works correctly, but I have a X2Go Client popup window that warns about
the missing sftp-server binary.  This modal popup freezes the X2Go Client
form / UI but the remote session window still works.  If I close the modal
popup window, the whole app closes including my remote session window.

sftp-server should be an optional dependency.  There should be a way to
close the warning without killing the whole app.  There should be a setting
so the warning does not popup every time.

Thanks,
Wayne
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu May 30 18:58:15 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.