[MacPorts] #61649: xorg not setting DISPLAY variable on Big Sur

MacPorts noreply at macports.org
Wed Nov 25 11:57:48 UTC 2020


#61649: xorg not setting DISPLAY variable on Big Sur
----------------------+--------------------
 Reporter:  collamaf  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.4
 Keywords:            |       Port:  xorg
----------------------+--------------------
 Hello
 Fresh installation of Big Sur and MacPorts.

 I did
 {{{sudo port -v install xorg-server xorg   }}}

 Log out, login (then also several reboots), but Big Sur does not seem to
 have the DISPLAY variable set, so for example :

 {{{
 √ ~ % echo $DISPLAY
 :0
 }}}

 {{{
 √ ~ % xterm
 xterm: Xt error: Can't open display: :0
 }}}

 If I manually open Applications/MacPorts/X11 then xterm opens, but it does
 not work automatically on startup

 I also tried to manually activate the daemon, with no luck:

 {{{sudo launchctl load -w
 /Library/LaunchDaemons/org.macports.privileged_startx.plist}}}

 {{{sudo launchctl load -w
 /Library/LaunchAgents/org.macports.startx.plist}}}

 Am I doing something wrong?

-- 
Ticket URL: <https://trac.macports.org/ticket/61649>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list