launch X11.app, open the terminal and write: export DISPLAY=:0.0
in eclipse application run my program and I have the error:
Can't connect to X11 window server using ':0.0'
The point is that you're setting DISPLAY from a terminal, but probably
running Eclipse from the dock. The DISPLAY setting is only visible to
that terminal. Try running Eclipse from the command line (by not
opening Eclipse.app, use ./eclipse (from the Eclipse installation
ALternatively you can add the export DISPLAY stuff to some
global initialization script (so it's visible from everywhere) - sorry
I can't tell the details, I'm not able to.
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden