[Xquartz-dev] XQuartz 2.7.0_beta2
Louis Zulli
zullil at lafayette.edu
Mon Sep 26 02:38:10 PDT 2011
On Sep 26, 2011, at 3:34 AM, Jeremy Huddleston wrote:
> You shouldn't need to move them. The one in /Library should take precedence over the one in /System/Library.
>
> Instead of messing with the files on your FS, you should just use launchctl to disable that LaunchAgent:
> launchctl unload /System/Library/LaunchAgents/org.x.startx.plist
>
> I'm curious why your $DISPLAY still has the setting from the other LaunchAgent ... anything helpful you can provide would be welcome, but it doesn't seem to be a problem here =/
I restored my filesystem to its previous state. But here's what I see in Terminal immediately after rebooting my Lion system:
ProcyonLeo: ~] ls /System/Library/LaunchAgents/org.*
/System/Library/LaunchAgents/org.openbsd.ssh-agent.plist /System/Library/LaunchAgents/org.x.startx.plist
ProcyonLeo: ~] ls /Library/LaunchAgents/org.*
/Library/LaunchAgents/org.macosforge.xquartz.startx.plist
ProcyonLeo: ~] ls ~/Library/LaunchAgents/org.*
ls: /Users/louis/Library/LaunchAgents/org.*: No such file or directory
ProcyonLeo: ~] launchctl list org.x.startx
{
"Label" = "org.x.startx";
"LimitLoadToSessionType" = "Aqua";
"OnDemand" = true;
"LastExitStatus" = 0;
"TimeOut" = 30;
"ProgramArguments" = (
"/usr/X11/bin/startx";
);
"EnableTransactions" = true;
"TransactionCount" = -1;
"Sockets" = {
"org.x:0" = (
file-descriptor-object;
);
};
};
ProcyonLeo: ~] launchctl list org.macosforge.xquartz.startx
launchctl list returned unknown response
ProcyonLeo: ~] xeyes&
[1] 445
(Needless to say, the Apple X11 opened here.)
ProcyonLeo: ~] launchctl unload /System/Library/LaunchAgents/org.x.startx.plist
[1]+ Done xeyes
ProcyonLeo: ~] xeyes
Error: Can't open display: /tmp/launch-ObESmz/org.x:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20110926/d8867cb4/attachment.html>
More information about the Xquartz-dev
mailing list