Can't figure out what is setting my $DISPLAY variable to 0
Hi there,
I've recently encountered problems with starting up MATLAB on OSX 10.6.8.
I've figured out from Mathwork's support, that it's because my $DISPLAY variable is, for some reason unknown to me, set to 0.
I have no idea which application or script is changing my $DISPLAY variable.
Is there any way for me to trace what causes this on my computer, or to disable the script/application to set the varible on start up?
I'm right in the middle of writting my thesis and am highly dependent on MATLAB, so I need to solve this problem ASAP.
Thank you for your help!
MacBook Pro, Mac OS X (10.6.8)