Xrandr error ‘can’t open display’

Hola !
I have install Alma 9.1 with minimal iso into a VMWare 16.
I have installed already xorg-server but when I use xrandr to adjust my screen resolution return error
Xrandr can’t open display? Useless to say running without GUI.

What I am missing?

Thank you in advance.