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

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

On Debian possible default full paths are:

/usr/bin/xclock - from package: x11-apps

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