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

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