set DISPLAY variable value correctly and check it before running installer.

Thanks,