Instalation of NVPROF

Hi everybody,
I can’t install the NVVP/NVPROF to use it with the nvidia K40 for performance interpretation.
Help

sudo sh cuda_9.2.88_396.26_linux.run


I Follow the command-line prompts

Installing the NVIDIA display driver…
It appears that an X server is running. Please exit X before installation. If you’re sure that X is not running, but are getting this error, please delete any X lock files in /tmp.

===========
= Summary =

Driver: Installation Failed
Toolkit: Installation skipped
Samples: Installation skipped

Logfile is /tmp/cuda_install_8702.log
[admin@didon home]$ ls /tmp
cuda_install_39890.log ilorest.lock systemd-private-21c1c2ce561d46a4ab62e4b239db732e-chronyd.service-jX14aa
cuda_install_8702.log ondemand.lock systemd-private-21c1c2ce561d46a4ab62e4b239db732e-rtkit-daemon.service-7kQcS9

sudo service lightdm stop

[sudo] Mot de passe de admin : 
Redirecting to /bin/systemctl stop lightdm.service
Failed to stop lightdm.service: Unit lightdm.service not loaded.