x2goterminate-desktopsharing: 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/x2goterminate-desktopsharing - from package: x2godesktopsharing

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