xinit: 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/xinit - from package: xorg-x11-xinit

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/xinit - from package: xinit

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