gnome-session-custom-session: 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/gnome-session-custom-session - from package: gnome-session-custom-session

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