Date: Mon, 29 Jun 2020 20:27:50 +0200 From: Michael Osipov <1983-01-06@gmx.net> To: freebsd-java@freebsd.org Subject: Re: Min. ports needed for headless AWT/Swing Message-ID: <417840b4-1acc-ac20-2127-0754bce1fd68@gmx.net> In-Reply-To: <CAGBxaXnf=Q0Df403nRpsCVudiN56KD=rKxGtbjQAHePVoDnEFA@mail.gmail.com> References: <CAGBxaXnf=Q0Df403nRpsCVudiN56KD=rKxGtbjQAHePVoDnEFA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 2020-06-29 um 17:43 schrieb Aryeh Friedman: > I have a java application that works fine with setenv DISPLAY :0.0 on my > desktop FreeBSD 12.1 (amd64) [with Xfce4] but when I attempt to run the > same app on a VM that has the minimum ports needed to install OpenJDK 8 and > Tomcat I get an exception saying that it can't connect to the X server even > though I did setenv DISPLAY desktop:0.0 (and xhost + on the desktop). > Note it is the same user on both machines (NIS/NFS password DB/home dirs) > doing the running on both machines but is a different user then the one > logged in at the console (I do all my development in a separate account) Are you look for "-Djava.awt.headless=true"?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417840b4-1acc-ac20-2127-0754bce1fd68>