Subject: Bug#305: x2goruncommand depends on external 'which' command

From: Jürgen Hötzel <[email-masked]>
Date: Wed, 11 Sep 2013 19:28:42 +0200

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)