Subject: x2goclient hardcoded default PATHs portability

From: "Averell D." <[email-masked]>
Date: Sat, 27 Jul 2019 19:00:51 +0200

Package: x2goclient

Version: 4.1.0.3

x2goclient assumes some default PATHs that don't necessarily exist in 
all cases. In particular, this line:

https://code.x2go.org/gitweb?p=x2goclient.git;a=blob;f=src/sshprocess.cpp;h=70c3b1ce53322730f50c191e22bdf19e2dbe81a0;hb=HEAD#l204

assumes that x2go* binaries such as x2golistsessions etc. but also tools 
like xmodmap, xrandr, sed, etc. can be found at these locations. While 
packaging x2goserver for NixOS (and probably other less mainstream 
distributions), this creates problems, as there is no server-side patch 
that can fix commands coming from these clients.

Therefore it would be nice to make this PATH configurable, or add an 
option to look at server-side user-paths, or similar.