aedesk: 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

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 Debian possible default full paths are:

/usr/bin/aedesk - from package: aewm

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