Query xrandr configuration as root for non-root user

su -c "DISPLAY=:0 xrandr -q" $user
Published
Categorized as General