Where does xquartz write it's DISPLAY variable
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? I've tried adding 'export DISPLAY=:0' in various config files, but 'getenv' in Emacs still returns the xquartz setting. Regards, Ziga
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.
participants (2)
-
Jeremy Huddleston
-
Žiga Lenarčič