spice-xpi-client-remote-viewer: 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/spice-xpi-client-remote-viewer - from package: virt-viewer

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