What is going on here? almost nothing runs from the terminal

I am just trying to run very basic tools and this is what I am getting.
Some “XDG_RUNTIME_DIR” error…
constructapp

Please advise.

Thank you