Chris Jones <jon...@hep.phy.cam.ac.uk> writes: > Users should not need to do *anything* to get DISPLAY correctly set. > Anything you have in your personal environment configuration should be > removed. If you aren't getting DISPLAY set with the correct launchd > socket by default then you must have something that is interfering with > this.
I removed that line and rebooted, and lo and behold, DISPLAY got properly set and the X server started up automatically when I launced an X11 program. Thanks for reminding us, Chris. > > On 04/12/2023 2:15 pm, Pieter van Oostrum wrote: >> On my machine I have: >> export DISPLAY=$(launchctl getenv DISPLAY) >> I don't know if that is the canonical way to do it but for me it works. > -- Pieter van Oostrum <pie...@vanoostrum.org> www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]