[Xquartz-dev] XQuartz 2.7.0_beta2

Jeremy Huddleston jeremyhu at apple.com
Mon Sep 26 13:00:50 PDT 2011


You need to logout and log back in after you disable it.  Your environment still contains the old $DISPLAY

On Sep 26, 2011, at 02:38, Louis Zulli wrote:

> 
> 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
> 
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list