GIMP & X11

I am continually forgetting to start X11 before trying to start GIMP. This continually results in a 10 second delay followed by the dreaded Gtk-WARNING **: cannot open display: :0.0 error. So, right or wrong, I created the following shell script:

#!/bin/sh
/Applications/Utilities/X11.app/Contents/MacOS/X11 &
/sw/bin/gimp-1.2

While this successfully gets GIMP started, it produces the following error:

11 14 x11 Errors

So far, it hasn’t been a show-stopper though.