From unknown Sun Apr 26 10:34:30 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#305 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:x2goserver) has been marked as closed)
Message-ID: <handler.305.c.13851540478111.notifdone@bugs.x2go.org>
References: <20131122205927.886D75DB1E@ymir>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 305
X-X2go-PR-Package: x2goserver
X-X2go-PR-Source: x2goserver
Date: Fri, 22 Nov 2013 21:03:05 +0000
Content-Type: multipart/mixed; boundary="----------=_1385154185-8555-0"

This is a multi-part message in MIME format...

------------=_1385154185-8555-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2goserver package:

#305: x2goruncommand depends on external 'which' command

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1385154185-8555-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 22 Nov 2013 21:00:47 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS,
	URIBL_BLOCKED autolearn=unavailable version=3.3.2
Received: by ymir (Postfix, from userid 1005)
	id 886D75DB1E; Fri, 22 Nov 2013 21:59:27 +0100 (CET)
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 305-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 305@bugs.x2go.org
Subject: X2Go issue (in src:x2goserver) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20131122205927.886D75DB1E@ymir>
Date: Fri, 22 Nov 2013 21:59:27 +0100 (CET)

close #305
thanks

Hello,

we are very hopeful that X2Go issue #305 reported by you
has been resolved in the new release (4.0.1.7) of the
X2Go source project »src:x2goserver«.

You can view the complete changelog entry of src:x2goserver (4.0.1.7)
below, and you can use the following link to view all the code changes
between this and the last release of src:x2goserver.

    http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=447e68e8b82ea4b14e5072e57a0fbc82ef32d687;hp=2d19587c215d49048b6295d87c06c452939a1b8b

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:x2goserver.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:x2goserver
Version: 4.0.1.7
Status: RELEASE
Date: Fri, 22 Nov 2013 21:58:27 +0100
Fixes: 276 278 285 305 310 331
Changes: 
 x2goserver (4.0.1.7) RELEASED; urgency=low
 .
   [ Orion Poplawski ]
   * New upstream version (4.0.1.7):
     - Install Xsession file as executable, make Xsession.d directory location
       configurable during build process, do not create unused Xsession.options.
       (Fixes: #278).
 .
   [ Mike Gabriel ]
   * New upstream version (4.0.1.7):
     - Fine-tune x2goserver-xsession/Makefile: if /etc/X11 has Xsession.d and/or
       Xsession.options they get symlinked into /etc/x2go. Otherwise Xsession.d
       and Xsession.options are created under /etc/x2go as empty dir/file.
       (Fixes: #278).
     - Fix automatic keyboard setup (via x2gosetkeyboard) while resuming a
       session. (Fixes: #285).
     - Provide sudoers.d/x2goserver file that allows sudoed commands under
       KDE (by pertaining the env var QT_GRAPHICSSYSTEM. (Fixes: #276).
     - With PostgreSQL as session db backend, prevent the root user from
       launching sessions. Also, prevent x2gouser_root from being added as a
       PostgreSQL user. (Fixes: #310).
     - Execute DB status changes as late as possible during suspend / terminate.
     - Start/resume rootless sessions without geometry parameter. Esp. using
       X2GO_GEOMETRY=fullscreen for rootless sessions lead to an extra 1x1 px
       session window (nxagentCreateIconWindow in nxagent's Window.c).
     - Typo fix in x2goruncommand (for MATE session startup).
   * debian/control:
     + Update LONG_DESCRIPTIONS.
     + Raise Standards: to 3.9.4 (no changes needed).
     + Move xfonts-base to Recommends: field of bin:package x2goserver.
   * debian/x2goserver.init:
     + Make init script LSB compliant.
 .
   [ Helmer Teles ]
   * New upstream version (4.0.1.7):
     - Make umask that is used when mounting client-side folders via SSHFS
       configurable in x2goserver.conf. (Fixes: #331).
 .
   [ Jürgen Hötzel ]
   * New upstream version (4.0.1.7):
     - Use bash-builtin 'type' instead of to be avoided 'which'. (Fixes: #305).
 .
   [ Oleksandr Shneyder ]
   * New upstream version (4.0.0.6):
     - Fix x2goruncommand: "type -P $cmd" can create new lines in EXEC
       variable if command have the arguments wich have same names as existing
       commands, for example "rdesktop -k nl" -> "/usr/bin/rdesktop\n/usr/bin/nl".
       Now we splitting $cmd and taking only first part.


------------=_1385154185-8555-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 11 Sep 2013 17:36:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_MED,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 419 seconds by postgrey-1.34 at ymir; Wed, 11 Sep 2013 19:36:03 CEST
Received: from gerolde.archlinux.org (gerolde.archlinux.org [66.211.214.132])
	by ymir (Postfix) with ESMTP id D54105DB20
	for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 19:36:03 +0200 (CEST)
Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52])
	by gerolde.archlinux.org (Postfix) with ESMTPSA id F22B5900BF
	for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 13:29:03 -0400 (EDT)
Received: by mail-pa0-f52.google.com with SMTP id kq13so9559823pab.11
        for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 10:29:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to
         :content-type;
        bh=DcA0wMN2mH99CXqa8FU/a8VD8UyQPKMLaZB9x8+PwV0=;
        b=L6v4DcrnB23uGSWiLTDwdVhlNtdu20qN5K4IzOzz9hXpMq3QTJmp9TFMdKEZQ2oaHl
         hGp7juUXcN8B+YiTrq2pr7Li0htBX+VbLY2hjCakY88fZPcdIO0ffBkfvyAukb4ZO6VZ
         nm1xVbGt1gx9fRiNFChP7xJ/p77hRW0BJe35EX5WQZbZwc1UBprBAxApyRADcfMHgwhO
         PoBOWZ1HoUNwAleimGqSI+UH4SmyGB2aazL08zb926pXQBY5kWjlNAVqzXtbHJwriGGO
         btiAobCTyM3Kc8bUlkPcBSbEYm/zF2DnYNCVVKahtYJD33cScKCuyh9SYOhz5SB9XjtR
         xzOg==
X-Gm-Message-State: ALoCoQmOHIR0fKII1h94brHGIKlhGr0G1v3ofXoCo8CD1rdsQ0YdJ/7RF7Cb1KBb1IGgy5jdIueh
X-Received: by 10.66.142.193 with SMTP id ry1mr5025778pab.150.1378920543017;
 Wed, 11 Sep 2013 10:29:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.69.17.228 with HTTP; Wed, 11 Sep 2013 10:28:42 -0700 (PDT)
X-Originating-IP: [88.68.32.33]
From: =?ISO-8859-1?Q?J=FCrgen_H=F6tzel?= <juergen@archlinux.org>
Date: Wed, 11 Sep 2013 19:28:42 +0200
Message-ID: <CANmXxHN7=Yev9fyoLQQvMT2MNf0r4EEV+Ybummb-5q-uHPB+HA@mail.gmail.com>
Subject: x2goruncommand depends on external 'which' command
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=001a113450c223f10c04e61ef507

--001a113450c223f10c04e61ef507
Content-Type: multipart/alternative; boundary=001a113450c223f10504e61ef505

--001a113450c223f10504e61ef505
Content-Type: text/plain; charset=ISO-8859-1

Package: x2goserver
Version: 4.1.0.0-preview

I had a hard time to track down this issue.

On a minimal ArchLinux installation, every session exited with this error:

Sep 10 17:51:43 bitzer.hoetzel.info systemd-logind[176]: New session 33 of
user juergen.
Sep 10 17:51:43 bitzer.hoetzel.info /usr/bin/x2goruncommand[24784]: ERROR:
command  failed to execute

The root cause was the missing 'which' package:
https://www.archlinux.org/packages/core/x86_64/which/.
This packages is not part of a minimal installation.

Patch enclosed (use bash-internal type command)

--001a113450c223f10504e61ef505
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Package: x2goserver</div><div>Version: 4.1.0.0-previe=
w</div><div><br></div><div>I had a hard time to track down this issue.</div=
><div><br></div><div>On a minimal ArchLinux installation, every session exi=
ted with this error:</div>

<div><br></div><div>Sep 10 17:51:43 <a href=3D"http://bitzer.hoetzel.info">=
bitzer.hoetzel.info</a> systemd-logind[176]: New session 33 of user juergen=
.</div><div>Sep 10 17:51:43 <a href=3D"http://bitzer.hoetzel.info">bitzer.h=
oetzel.info</a> /usr/bin/x2goruncommand[24784]: ERROR: command =A0failed to=
 execute</div>

<div><br></div><div>The root cause was the missing &#39;which&#39; package:=
 <a href=3D"https://www.archlinux.org/packages/core/x86_64/which/">https://=
www.archlinux.org/packages/core/x86_64/which/</a>.=A0</div><div>This packag=
es is not part of a minimal installation.</div>

<div><br></div><div>Patch enclosed (use bash-internal type command)=A0</div=
><div><br></div></div>

--001a113450c223f10504e61ef505--
--001a113450c223f10c04e61ef507
Content-Type: application/octet-stream; 
	name="0001-Don-t-depend-on-external-which-command.patch"
Content-Disposition: attachment; 
	filename="0001-Don-t-depend-on-external-which-command.patch"
Content-Trans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