Life is what happens while you are making other plans.
The better way - set DISPLAY automaticly : add next strings in /etc/profile and relogin
DISPLAY="`who -m | cut -f2 -d'(' | cut -f1 -d')'`:0.0" export DISPLAY