recordmydesktop: 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/recordmydesktop - from package: recordmydesktop

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

On Debian possible default full paths are:

/usr/bin/recordmydesktop - from package: recordmydesktop

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