Try adding these options to your JVM args :

-Dsun.java2d.opengl=false
-Dsun.java2d.xrender=true


Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original ----- 

De: "Kevin Kremer" <kkmailingli...@gmail.com> 
À: "Walid MOGHRABI" <w.moghr...@servicemagic.eu>, "Ulrich Sibiller" 
<ul...@gmx.de> 
Cc: "x2go users" <x2go-user@lists.x2go.org> 
Envoyé: Mercredi 16 Mai 2018 21:06:20 
Objet: Re: [X2Go-User] Problems with java GUI application 

Thanks all for your answers. 

>You should definitely use open-jdk instead of Oracle jdk 
I tried running OpenJDK but the java application seems to start 
only when using Oracle Java. I checked the developer's 
documentation which states Oracle Java as a requirement. 

> Try with JOSM https://josm.openstreetmap.de/ 
I tested https://josm.openstreetmap.de/ which runs without any 
problems. 

> Are you using the most current version of nx-libs (3.5.99-16)? 
> What's the name of the app? Is it using OpenGL? And have you 
> tried OpenJDK instead of Oracle's java? 
We bought this application (called heimbas) for accounting and 
documentation. I will try to contact the developers again, even 
though I fear they will just refer to the RDP connection on our 
old windows machine where the app is running fine. 
As far as I know, it does not use any additional libs like OpenGL. 
Can you tell me how to check the version of nx-libs? I simply 
installed x2goserver and x2goserver-xsession which apparently do 
not install an additional nx-libs package (apt policy nx-libs does 
not know the package). 

Best regards, 
Kevin 


On 16 May 2018 15:14, Walid MOGHRABI <w.moghr...@servicemagic.eu> 
wrote: 

>You should definitely use open-jdk instead of Oracle jdk ... I had many issues 
>with Java applications under X2Go (especially unexpected crashes) until I went 
>back to openjdk ... can't explain why but openjdk is A LOT more stable under 
>x2go and not that slower. 
> 
>Regards, 
>Walid Moghrabi 
> 
>TRAVAUX.COM 
>BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403 
>13591 AIX EN PROVENCE CEDEX 3 
> 
>----- Mail original ----- 
> 
>De: "Ulrich Sibiller" <ul...@gmx.de> 
>À: "Kevin Kremer" <kkmailingli...@gmail.com> 
>Cc: "x2go users" <x2go-user@lists.x2go.org> 
>Envoyé: Mercredi 16 Mai 2018 09:28:11 
>Objet: Re: [X2Go-User] Problems with java GUI application 
> 
>On Wed, May 16, 2018 at 9:16 AM, Kevin Kremer <kkmailingli...@gmail.com> 
>wrote: 
>> Hi all, 
>> 
>> I set up an X2Go server to connect to a remote machine and most 
>> applications run very well. Unfortunately I rely on one java 
>> application where some of its GUI components suffers huge 
>> latencies. Here, actions like a click on a button take up to 10 
>> seconds to perform while there is no delay when running the 
>> application without X2Go. 
>> The latencies can be reduced to 4 seconds by reducing the 
>> connection speed to "MODEM" and the image quality to 0. However, 
>> the latency is still huge compared to running the application 
>> locally. 
>> 
>> Furthermore, the java application does not re-print its window and 
>> it stays blank when minimizing the X2Go window. 
>> 
>> My setup: 
>> I use Xfce as a desktop, the connection speed is set to "MODEM", 
>> the compression algorithm is set to 16m-jpeg, the image quality 
>> is set to 0 and I use Oracle's JRE 1.8.0_152. The problems also occur 
>> when I connect to the host within the same LAN. 
>> 
>> Maybe someone has encountered similar problem and can give me a 
>> few hints for solving them. 
> 
>Are you using the most current version of nx-libs (3.5.99-16)? What's 
>the name of the app? Is it using OpenGL? And have you tried OpenJDK 
>instead of Oracle's java? 
> 
>Uli 
>_______________________________________________ 
>x2go-user mailing list 
>x2go-user@lists.x2go.org 
>https://lists.x2go.org/listinfo/x2go-user 
>--- 
>DISCLAIMER: This e-mail is private and confidential and may contain 
>proprietary or legally privileged information. It is for the intended 
>recipient only. If you have received this email in error, please notify the 
>author by replying to it and then destroy it. If you are not the intended 
>recipient you must not use, disclose, distribute, copy, print or rely on this 
>e-mail or any attachment. Thank you
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary 
or legally privileged information. It is for the intended recipient only. If 
you have received this email in error, please notify the author by replying to 
it and then destroy it. If you are not the intended recipient you must not use, 
disclose, distribute, copy, print or rely on this e-mail or any attachment. 
Thank you
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to