Subject: Error message: Connection failed. bash: x2golistsessions: command not found

From: Karl Stenerud <[email-masked]>
Date: Sat, 20 Oct 2018 17:23:29 +0200

Package: x2goserver

Server OS: Ubuntu 18.04
Package: x2goserver 4.1.0.2-0~1642~ubuntu18.04.1

Client OS: Ubuntu 18.10
Package: x2goclient 4.1.2.1-2

x2go server stopped working when I reinstalled a fresh Ubuntu 18.04 on the
server machine.

What I did:

Server Side:
    # apt-add-repository ppa:x2go/stable
    # apt install -y x2goserver x2goserver-xsession x2goclient

Client Side:
# apt install -y x2goclient
launch x2go client
create new session pointing to server
connect to server

Result:

Client displays "Error message: Connection failed. bash: x2golistsessions:
command not found"

x2golistsessions does exist on the server:
root@tp-work:~# which x2golistsessions
/usr/bin/x2golistsessions

Rebooting doesn't help.