mate-session-save: 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/mate-session-save - from package: mate-session-manager

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