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

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