X2Go Bug report logs -
#1347
X2go ERROR 31 on NixOS
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1347
; Package x2goclient
.
(Fri, 23 Nov 2018 20:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Jiahui Tang <tangjiahui26@gmail.com>
:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Fri, 23 Nov 2018 20:00:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.1.2.1
I am trying to use x2goclient on NixOS, and installed x2go by "nix-env -iA
nixos.x2goclient" and x2goclient can run successfully. However, when I
tried to create a session to connect the terminal of a lxd container I
build before, I got an error looks like this:
Unable to find the sftp-server binary. Neither bundled, nor found in $PATH
> nor additional directories.
In my configuration.nix, I enabled ssh and also sftp by "
services.openssh.enable = true; services.openssh.allowSFTP = true;", so I
believe the sftp-binary was already installed in my system. By the way,
actually I think I can access to the lxd container's terminal (got the
terminal on my screen), but once I clicked the ok button on the error
pop-up, the session would be aborted.
I am using NixOS 18.09 and X2go client version is 4.1.2.1. Thanks.
Regards,
Jiahui Tang
[Message part 2 (text/html, inline)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1347
; Package x2goclient
.
(Tue, 18 Jun 2019 10:50:03 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>
.
(Tue, 18 Jun 2019 10:50:03 GMT) (full text, mbox, link).
Message #10 received at 1347@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
We expect to find the sftp-server binary in a specific set of directories
(additionally to $PATH).
For NixOS, I added /run/current-system/sw/bin at some point. If you setup a
special environment, i.e., creating something like /run/nixos.x2goclient/
instead of the default current-system name, I'm afraid you'll have to patch X2Go
Client yourself.
Alternatively, is there any way to detect what directory SHALL be used? We can't
and shouldn't scan for all directories under /run, since even if one contains
the binary we're searching for, we won't know if it is the "system snapshot"
that the user INTENDED to use. However, maybe NixOS sets up a special
environment variable we could use for that - and replace the hardcoded
current-system string with the content of the env variable.
Mihai
[signature.asc (application/pgp-signature, attachment)]
Send a report that this bug log contains spam.
X2Go Developers <owner@bugs.x2go.org>.
Last modified:
Thu Nov 21 15:47:02 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.