On 2016-08-06 14:21, Brandon Allbery wrote:

> Sigh. So something else is clearing it. The terminal is started with
> $DISPLAY set correctly (if it weren't, the terminal window wouldn't even
> show up) so something in your shell session is clearing $DISPLAY.


More complete test:

after having removed the EXPORT DISPLAY=:0 in my .profile

bike:~ $  echo $DISPLAY


bike:~ $  xterm &
[1] 53519

bike:~ $  xterm: Xt error: Can't open display:
xterm: DISPLAY is not set


So now I know why I had that explicit setting of $DISPLAY in there.
Perhaps it is mucked in some legacy file still hanging around in /ETC or
elsewhere.


Note: I always start X11 app first, so never worry about the "autostart"
before with the special value of DISPLAY.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to