hi there,
i don't know if i understood correct.
supposing a terminal environment, you can
Code:
xhost +
export DISPLAY wherever:0.0
now you call from the terminal your application.
or if you mean, with loggin in as root, you should take a look at
i am not sure if i understood well your question..
hope it helps...
regards
slackie1000