N/APosted on - 02/12/2012
I am a newbie in Linux and I installed Redhat Linux Enterprise 5 on my machine. After that I wanted to install a software, but when I run #install.ksf, installation terminated and the install.log file displayed the following:
Error: Can't open display! Environment variable 'DISPLAY' must be defined.
Help needed. Thanks.
Getting environment variable error during installation on Redhat Linux
You maybe don't require to locate the DISPLAY variable, it should be set automatically in your ssh session. Try connecting to markov (if that’s where you installed maestro) with "ssh -X", and then type "xclock". If you clock appearing on your machine is seen, X-forwarding must be functioning and maestro should also work. Please confirm that you remove your DISPLAY setting in your login script.
Don’t locate $DISPLAY variable manually. Use -X or -Y flag with ssh such as ssh -Y [email protected]
qsub -I -X <and other -l and -q flags>
And clearly if it wants a display it implies you will run interactively, hence the -I flag.
If still doesn't work, make sure that you don't have a firewall preventing you displaying back onto your desktop.