OpenCL install problem

I am trying to install OpennCL for a Nvidia GTX1650. I have the correct proprietary Nvidia driver but the install fails with an error that The xServer is running.and needs to be stopped.
How should I stop the xServer and do I need to restart it after OpenCL has completed the install.

What is the exact error you’re seeing?