Error in Postflight fix for 1.6.0?

Rainer Müller raimue at macports.org
Mon Jul 7 15:17:42 PDT 2008


Paul Architetto wrote:
> After running the Postflight script because the .profile file was not  
> showing up in my home directory (it was not installed via the  
> installer), I note that the display setting in .profile is set to  
> "DISPLAY=:0"   All other documentation states that the setting  
> in .profile is "DISPLAY=:0.0"  Does this matter?  Should I change the  
> text in the .profile to read "DISPLAY=:0.0" or leave it alone?

No, this is not a problem.
:0 and :0.0 is equivalent for DISPLAY.

This is also described in the X man page ('man 7 X'),
in the section 'DISPLAY NAMES'.

In short:
The format for DISPLAY is 'hostname:displaynumber.screennumber'. With 
hostname being optional (empty string uses a local X server) and 
screennumber is also optional (default: 0). So you only have to specify 
the displaynumber, but an additional screennumber does not harm.

Rainer


More information about the macports-users mailing list