[MacPorts] #61649: xorg not setting DISPLAY variable on Big Sur
MacPorts
noreply at macports.org
Thu Dec 3 10:52:38 UTC 2020
#61649: xorg not setting DISPLAY variable on Big Sur
-----------------------+----------------------
Reporter: collamaf | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: xinit |
-----------------------+----------------------
Comment (by collamaf):
Replying to [comment:21 cjones051073]:
> can you just for completeness post what is in both those two plist
files. e.g.
>
> {{{
> Oberon ~/Projects/MacPorts/ports > cat
/Library/LaunchAgents/org.macports.startx.plist
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>Label</key>
> <string>org.macports.startx</string>
> <key>ProgramArguments</key>
> <array>
> <string>/opt/local/libexec/launchd_startx</string>
> <string>/opt/local/bin/startx</string>
> </array>
> <key>Sockets</key>
> <dict>
> <key>org.macports:0</key>
> <dict>
> <key>SecureSocketWithKey</key>
> <string>DISPLAY</string>
> </dict>
> </dict>
> <key>ServiceIPC</key>
> <true/>
> <key>EnableTransactions</key>
> <true/>
> </dict>
> </plist>
> Oberon ~/Projects/MacPorts/ports > cat
/Library/LaunchDaemons/org.macports.privileged_startx.plist
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>Label</key>
> <string>org.macports.privileged_startx</string>
> <key>ProgramArguments</key>
> <array>
>
<string>/opt/local/libexec/privileged_startx</string>
> <string>-d</string>
>
<string>/opt/local/etc/X11/xinit/privileged_startx.d</string>
> </array>
> <key>MachServices</key>
> <dict>
> <key>org.macports.privileged_startx</key>
> <true/>
> </dict>
> <key>TimeOut</key>
> <integer>120</integer>
> <key>EnableTransactions</key>
> <true/>
> </dict>
> </plist>
> }}}
>
> do they look the same ?
{{{
cat /Library/LaunchAgents/org.macports.startx.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.macports.startx</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/libexec/launchd_startx</string>
<string>/opt/local/bin/startx</string>
</array>
<key>Sockets</key>
<dict>
<key>org.macports:0</key>
<dict>
<key>SecureSocketWithKey</key>
<string>DISPLAY</string>
</dict>
</dict>
<key>ServiceIPC</key>
<true/>
<key>EnableTransactions</key>
<true/>
</dict>
</plist>
cat /Library/LaunchDaemons/org.macports.privileged_startx.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.macports.privileged_startx</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/libexec/privileged_startx</string>
<string>-d</string>
<string>/opt/local/etc/X11/xinit/privileged_startx.d</string>
</array>
<key>MachServices</key>
<dict>
<key>org.macports.privileged_startx</key>
<true/>
</dict>
<key>TimeOut</key>
<integer>120</integer>
<key>EnableTransactions</key>
<true/>
</dict>
</plist>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61649#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list