xrdp-chansrv: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/xrdp-chansrv - from package: xrdp

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/xrdp-chansrv - from package: xrdp

You may install the required package with command apt-get install {package}
Error in other languages:
xrdp-chansrv: bevel nie gevind nie
xrdp-chansrv: comandă negăsită
xrdp-chansrv: comando não encontrado
xrdp-chansrv: commande introuvable
xrdp-chansrv: command not found
xrdp-chansrv: käsku ei ole
xrdp-chansrv: không tìm thấy lệnh
xrdp-chansrv: komanda nerasta
xrdp-chansrv: Kommando nicht gefunden.
xrdp-chansrv: kommandot finns inte
xrdp-chansrv: komut yok
xrdp-chansrv: nie znaleziono polecenia
xrdp-chansrv: níor aimsíodh an t-ordú
xrdp-chansrv: no se encontró la orden
xrdp-chansrv: no s'ha trobat l'ordre
xrdp-chansrv: opdracht niet gevonden
xrdp-chansrv: parancs nem található
xrdp-chansrv: perintah tidak ditemukan
xrdp-chansrv: príkaz nenájdený
xrdp-chansrv: příkaz nenalezen
xrdp-chansrv: команда не найдена
xrdp-chansrv: командата не е открита
xrdp-chansrv: 命令找不到
xrdp-chansrv: コマンドが見つかりません