xscreensaver-getimage-file: 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/xscreensaver-getimage-file - from package: xscreensaver-base

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

On Debian possible default full paths are:

/usr/bin/xscreensaver-getimage-file - from package: xscreensaver-data

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