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

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