Sample-NiConvertXToONI: 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/Sample-NiConvertXToONI - from package: openni-utils

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