prompt> DISPLAY=hostname:0.0

prompt> export DISPLAY

do this and your problem should be solved