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 CentOS possible default full paths are:

/usr/bin/remote-viewer - from package: virt-viewer

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/remote-viewer - from package: virt-viewer

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