Hi and welcome!
Seems like you need to set the XDG_RUNTIME_DIR environment variable. You can see how we do the same here:
XDG_RUNTIME_DIR