From unknown Tue May 05 13:11:08 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1347: X2go ERROR 31 on NixOS
Reply-To: Jiahui Tang <tangjiahui26@gmail.com>, 1347@bugs.x2go.org
Resent-From: Jiahui Tang <tangjiahui26@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 23 Nov 2018 20:00:01 +0000
Resent-Message-ID: <handler.1347.B.154300294927386@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1347
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.154300294927386
          (code B); Fri, 23 Nov 2018 20:00:01 +0000
Received: (at submit) by bugs.x2go.org; 23 Nov 2018 19:55:49 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=3.0 tests=BAYES_20,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE autolearn=ham
	autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A85355DAED
	for <submit@bugs.x2go.org>; Fri, 23 Nov 2018 20:55:46 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PjKRh_OH4_Fu for <submit@bugs.x2go.org>;
	Fri, 23 Nov 2018 20:55:41 +0100 (CET)
Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 459E85DAE7
	for <submit@bugs.x2go.org>; Fri, 23 Nov 2018 20:55:41 +0100 (CET)
Received: by mail-qk1-x72e.google.com with SMTP id o89so9117341qko.0
        for <submit@bugs.x2go.org>; Fri, 23 Nov 2018 11:55:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=OGPPk4CcLLUMcCDeSbu7Ve0rSfr30Zj7WLa/TiYahns=;
        b=i/AKA7g5Iu5YnzlXdI4FhJeA+lDoLJbj8G8nFriUC6OPfpjf1CmKFmY1MqchuHaZ7D
         cFJY2jA7aUM5pV778ieuvofUUbZoZagNKggHAvMW/mRQWfzUiaC3usK3klNmN1BC5Ygz
         T/c/k8Lbab5MvnDHpcR/9Op5UUpE54m0kPRjwxeWO1khtrY3RUlptV37013yzr4N0l8J
         fQMQ2PkbumcwSPH4WiJDMPeKcqPHhQYoFulvoZ+razbLdpUKg+gDeeWpqoRrhTU5QZ74
         gZjGqQpGhkWENL09eL57tVp9Kj1OFg+wmjN0T0MmQ+Jc3DO3r/P+x5+0+6xPZyUHlRjP
         ZakA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=OGPPk4CcLLUMcCDeSbu7Ve0rSfr30Zj7WLa/TiYahns=;
        b=Fihh5H0ASC2UpZFuDUF+fXAU0r8xSyuTqhaaNGextYetaiMOKv0j1wFuPijVn//WVc
         Y+367z+dMqkGNtm5qQy0nv2vrwgQgWx8To6rYSOt3QS9miSUqsgE2GTmrF6lbZ6jPc0c
         WfJMCdUyvjeVMA4EkuSDqlH3iFMOLBQt1XuczcwLWhVFT0pkscY2sjWiztyz9BB+tEvO
         qwhCspWY/+DDL8IOkgfGNno3iLJVfISo7rOfW+znegIWU8b0FVR8ldcmVG6V9X9FQ4o5
         2Pkb+OxNs71bcpmXNiF+iXz2U0Cz08f0qIYfBmE9Lzdd3NQiG6Hw7t/fQRt6gDdad7my
         K63g==
X-Gm-Message-State: AA+aEWZBYSd6/QB4K2ytrqtXe1+5EdBqiUrsGpBgFtAM9QpWNIvmc5aC
	U5AlTsXreBqzMVbYhpNl/yzzE81fN10NwaabudrCmsqR
X-Google-Smtp-Source: AFSGD/ULSeUdGtwcqUfh1IrvOGEiKQri4ZoaLHHYHjoGw6TiNpOadbYvo5q5RE1xWhRRLAMFBGUFv6lw3m7/8rOevps=
X-Received: by 2002:a37:9046:: with SMTP id s67mr14472034qkd.289.1543002940028;
 Fri, 23 Nov 2018 11:55:40 -0800 (PST)
MIME-Version: 1.0
From: Jiahui Tang <tangjiahui26@gmail.com>
Date: Fri, 23 Nov 2018 11:55:29 -0800
Message-ID: <CACA5M9p-jSMDUpSY3ETqC1mwCwLCjpo-ZRgC8B9KaeYnjnwbNg@mail.gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="00000000000020bb0d057b5a5e69"

--00000000000020bb0d057b5a5e69
Content-Type: text/plain; charset="UTF-8"

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

--00000000000020bb0d057b5a5e69
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail-gs" style=3D"margin:0px;padding:0px 0p=
x 20px;width:1568px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-ser=
if;font-size:medium"><div class=3D"gmail-"><div id=3D"gmail-:2xi" class=3D"=
gmail-ii gmail-gt" style=3D"font-size:12.8px;direction:ltr;margin:8px 0px 0=
px;padding:0px"><div id=3D"gmail-:2xh" class=3D"gmail-a3s gmail-aXjCH" tabi=
ndex=3D"-1" style=3D"overflow:hidden;font-variant-numeric:normal;font-varia=
nt-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;fo=
nt-family:Arial,Helvetica,sans-serif;outline:none"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div><pre style=3D"color:rgb(0,0,0)">Package: x2goclient
Version: 4.1.2.1</pre></div><div>I am trying to use x2goclient on NixOS, an=
d installed x2go by &quot;nix-env -iA nixos.x2goclient&quot; and x2goclient=
 can run successfully. However, when I tried to create a session to connect=
 the terminal of=C2=A0a lxd=C2=A0container I build before, I got an error l=
ooks like this:</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">Unable to find the sftp-server binary. Neither=C2=A0bundled, nor=
 found in $PATH nor additional directories.</blockquote><div><div><br></div=
></div><div>In my configuration.nix, I enabled ssh and also sftp=C2=A0by &q=
uot; services.openssh.enable =3D true; services.openssh.allowSFTP =3D true;=
&quot;, so I believe the sftp-binary was already installed in my system.=C2=
=A0 By the way, actually I think I can access to the lxd=C2=A0container&#39=
;s terminal (got the terminal on my screen), but once I clicked the ok butt=
on on the error pop-up, the session would be aborted.</div><div><br></div><=
div>I am using NixOS 18.09 and X2go client version is 4.1.2.1. Thanks.</div=
><div><br></div><div>Regards,</div><div><br></div><div>Jiahui Tang</div></d=
iv></div></div></div></div></div><div class=3D"gmail-yj6qo"></div><div clas=
s=3D"gmail-adL"></div></div></div><div class=3D"gmail-hi" style=3D"border-b=
ottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto=
;background:rgb(242,242,242);margin:0px"></div></div></div><br class=3D"gma=
il-Apple-interchange-newline"></div>

--00000000000020bb0d057b5a5e69--
