Thanks for taking the time to respond.
I tried your suggestion but with no luck at all.
Further info: I have tried starting Gimp from the terminal. It fails and I get the following result:
iMac:~ peter$ /Applications/Gimp.app/Contents/MacOS/Gimp
find: /Users/Shared/Library/Application Support/Gimp/help: No such file or directory
2012-07-28 10:05:06.197 defaults[407:707]
The domain/default pair of (org.x.X11, dpi) does not exist
Cannot open display:
I have a similar problem, I installed XQuartz, logged out and back in, but the DISPLAY variable does not get set and I cannot run any X11 application from a terminal. Everything works if I start XQuartz and open an xterm, but I prefer to use the terminal and used to be able to do it. With ML, not anymore. Any help would be greatly appreciated.
I have tried a number of ways to get it working properly but to no avail. In the process I found that the issue also affects Inkscape.
The best work around I can come up with is to start
- Xquartz manually
- Customise its Applications menu to add whatever you want to easily access (include the full path to the application file eg "/Applications/Gimp.app/Contents/MacOS/Gimp"
- Right click the Xquartz icon in the dock and select 'Keep in Dock' from the Options item
- Quit X11.
Next time you want to run Gimp double click Xquartz in your dock and when it is up and running right click the dock icon again and select Gimp (or whatever) from the applications menu.
I also had this problem after upgrading to ML. Check out the posts at the end of this thread:
Entering the "launchctl load ... " command into Terminal, followed by a logout/login (or reboot) fixed my problem.