If your DISPLAY environment variable isn't set, that's the problem. Given that you're using ssh -X, it's likely that the ssh server is configured to disallow X11 forwarding.
See http://www.xquartz.org/FAQs.html, specifically the last couple lines of the section which indicate the need for 'X11Forwarding yes' in sshd_config > On Mar 26, 2016, at 11:09, James Gamber <jrgam...@gmail.com> wrote: > > Hi, > > I installed XQuartz on my Mac. It works fine with the Mac X clients > provided, like xclock. > > I am connecting to my cloud account on eApps.com both via the xterm and via > Mac terminal, with ssh -X. eApps is a standard Linux and Java. > > On my cloud account I start a Java application with a SWING GUI. I am > getting the error about the DISPLAY variable not set. When I set a DISPLAY > variable, I get other typical Java errors, but my Java app aborts and no X > window appears on my Mac. > > I am seeking a developer that will assist me to fix this for a fixed fee. > > Regards, > Jim Gamber > jrgam...@gmail.com > > _______________________________________________ > Xquartz-dev mailing list > Xquartz-dev@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/xquartz-dev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/xquartz-dev