dir2slideshow: 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/dir2slideshow - from package: dvd-slideshow

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