[screencapturetobase64] module works well on local host and not working after publishing to the cloud

0
I have imported the [screencapturetobase64] module, and it works well when running on localhost. However, it does not work when running the app on the cloud.    I saw the error in the log as follows: “stderr F No X11 DISPLAY variable was set, but this program performed an operation which requires it.”   I check on the internet which suggests to set the following variable: “DISPLAY=Host_IP_Address:0.0”   However, I don’t understand how to do that. 
asked
0 answers