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

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