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

/usr/bin/fvwm1 - from package: fvwm1

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