vmmouse_detect: 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/vmmouse_detect - from package: xorg-x11-drv-vmmouse

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

On Debian possible default full paths are:

/bin/vmmouse_detect - from package: xserver-xorg-input-vmmouse

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