[Xquartz-dev] Where does xquartz write it's DISPLAY variable

Jeremy Huddleston jeremyhu at apple.com
Fri Nov 6 11:55:51 PST 2009


On Nov 6, 2009, at 07:54, Žiga Lenarčič wrote:

> Hi!
> 
> I've installed latest xquartz alpha 3 on Snow Leopard and then 'uninstalled' it via deleting /opt/ and the .app. Now I have problems, because my DISPLAY variable is set to /tmp/launch-ANUPoX/org.macosforge.xquartz:0 instead of ":0". In which file, does xquartz write this configuration?

This is set by the LaunchAgent.  You would need to delete /Library/Launch*/org.macports.xquartz.* to finish removing it from your system.

> I've tried adding 'export DISPLAY=:0' in various config files, but 'getenv' in Emacs still returns the xquartz setting.

No, don't set DISPLAY yourself.  You're just in for a world of hurt.  Please undo that if you want to avoid problems.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3333 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20091106/a1211e6e/attachment.bin>


More information about the Xquartz-dev mailing list