setting environment variable DISPLAY - LinuxQuestions.org
rather use xauth (see "man xauth") and work aver a ssh if you use it over the net. it's far more secure. to make it permanent anyway (better use "xhost + ") locate your X startup script (usually .xsession in your home directory) and add a line:
www.linuxquestions.org |