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

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