x2goagent: 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/bin/x2goagent - from package: x2goagent
/usr/lib64/x2go/bin/x2goagent - from package: x2goagent

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