x2goruncommand: 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

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/x2goruncommand - from package: x2goserver

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