Chrome didn't start with jenkins, while if i run tests just through pycharm everything works

I have Jenkins running on my local host. I have configured a job that executes my tests. When I run the tests from PyCharm, everything works, and the browser opens, but when I run the job in Jenkins, the browser does not open, and I get a screenshot like this.


when site that i trying to open looks like this

I tryed:
running in headless mode
verify chrome driver and google chrome versions
jenkins properties > Log on as Local system with enabled allow service to
interact with desktop and Log on as This account with credentials
Maybe problem in excecution commands:
python -m venv venv
call venv\Scripts\activate.bat
pip install -r requirements.txt
pytest .\UI\Tests\ –reruns 1 --alluredir=allure-results
Jenkins setup:

Jenkins: 2.479.1

OS: Windows 11 pro 10.0.22631
Java: 21.0.2 - Microsoft (OpenJDK 64-Bit Server VM)

I am new to jenkins and dont really know what information u need to help me so i will be happy if u ask for more. And also in console output section i didnt get any error just Timeout Exception(cause cant find element)

As far as I understand it, Selenium based tests need a Jenkins agent that is running with a real Windows desktop session. It is not enough to allow the service to interact with the desktop.

Thank you so much! :heart: :heart: :heart: