Jun-29-2019, 06:34 AM
$DISPLAY
is an X window system notion. On my linux box, echo $DISPLAY
prints :0
. I often saw the value localhost:0.0
in the docs for this variable. According to this site, the value is hostname:D.S
where D is a sequence number (if there are several displays) and S is a screen number.