export DISPLAY=127.0.0.1:0.0
xhost +
oracle check if the display variable is set
原文:http://www.cnblogs.com/ruiy/p/4311262.html