how to export display environment in root user ?

Hi,

When I am login with the root user in beagle bone black, I can’t export display environment variable and also not able to use xset dpms force off command.

I am getting No protocol specified xset and unable to open display “:0.0” error.

But I am not getting this error in the with debian login.

Thanks

Regards

Parth