Viewport light different from render, how to adjust?

I can´t use pathtracer with my system. So what I see in the viewport is very different from my render output. How can I solve this, I want to see the real light while working…


it seems that you viewport settings are not high enought to support shadows.
Go in the Preference settings/Quality, and set it to higher values