X2Go Bug report logs - #305
x2goruncommand depends on external 'which' command

version graph

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

Reported by: Jürgen Hötzel <juergen@archlinux.org>

Date: Wed, 11 Sep 2013 17:48:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

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"
[Message part 1 (text/plain, inline)]
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.gabriel@das-netzwerkteam.de> by
replying to this email.

X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems
[Message part 2 (message/rfc822, inline)]
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
Date: Fri, 22 Nov 2013 21:59:27 +0100 (CET)
close #305


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

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


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!!!

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

X2Go Component: src:x2goserver
Date: Fri, 22 Nov 2013 21:58:27 +0100
Fixes: 276 278 285 305 310 331
 x2goserver ( RELEASED; urgency=low
   [ Orion Poplawski ]
   * New upstream version (
     - 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 (
     - 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:
     + 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 (
     - 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 (
     - Use bash-builtin 'type' instead of to be avoided 'which'. (Fixes: #305).
   [ Oleksandr Shneyder ]
   * New upstream version (
     - 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.

[Message part 3 (message/rfc822, inline)]
From: Jürgen Hötzel <juergen@archlinux.org>
To: submit@bugs.x2go.org
Subject: x2goruncommand depends on external 'which' command
Date: Wed, 11 Sep 2013 19:28:42 +0200
[Message part 4 (text/plain, inline)]
Package: x2goserver

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:
This packages is not part of a minimal installation.

Patch enclosed (use bash-internal type command)
[Message part 5 (text/html, inline)]
[0001-Don-t-depend-on-external-which-command.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Feb 25 08:08:28 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.