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

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