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.
Best regards, Kevin
On Wed, May 16, 2018 at 9:16 AM, Kevin Kremer <kkmailinglists@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
On 05/16/2018 09:28 AM, Ulrich Sibiller wrote:
On Wed, May 16, 2018 at 9:16 AM, Kevin Kremer <kkmailinglists@gmail.com> wrote: 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? Also, have you tried another java application to check if it's not your specific java app which has a problem... Try with JOSM https://josm.openstreetmap.de/
Have a nice day
Stephan
BODMER Stephan [sbodmer@lsi-media.ch] LSI Media Sàrl [http://www.lsi-media.ch] 37-39 rue Eugène Marziano - 1227 Carouge - Genève - Suisse Tél: +41 22 8232125 Fax: +41 22 8232126
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" <uli42@gmx.de> À: "Kevin Kremer" <kkmailinglists@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 <kkmailinglists@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
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
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.moghrabi@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" <uli42@gmx.de> À: "Kevin Kremer" <kkmailinglists@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 <kkmailinglists@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
Am 16.05.2018 um 21:06 schrieb Kevin Kremer:
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).
That's because "nx-libs" is the generic name for the libraries, not the package name (there are actually several packages getting built from those libs). If you follow the dependency chain, you'll see that the Package x2goserver depends on the Package x2goserver-x2goagent, which in turn depends on the Package nxagent - that's the server part of nx-libs.
So "apt policy nxagent" should yield the desired result.
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
On Wed, May 16, 2018 at 9:06 PM, Kevin Kremer <kkmailinglists@gmail.com> wrote:
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.
Great...
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.
The vendor states it runs on Linux. So I don't see why he should point you to using Windows.
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).
Well, you don't tell us your linux distribution so I cannot tell the name of the lib on your system. I suggest you grep the list of installed packages for "nx" and "xcomp". x2go won't work without any of them.
Uli
Since this seems to be a German application, can we assume you are located in Germany and speak German? Yes, that's correct.
apt policy nxagent results in Installed: 2:3.5.99.16-0~201803162252~ubuntu16.04.1 Candidate: 2:3.5.99.16-0~201803162252~ubuntu16.04.1 So, the current version of nx-libs is installed.
Best regards, Kevin On 16 May 2018 21:37, Ulrich Sibiller <uli42@gmx.de> wrote:
On Wed, May 16, 2018 at 9:06 PM, Kevin Kremer <kkmailinglists@gmail.com> wrote:
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.
Great...
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.
The vendor states it runs on Linux. So I don't see why he should point you to using Windows.
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).
Well, you don't tell us your linux distribution so I cannot tell the name of the lib on your system. I suggest you grep the list of installed packages for "nx" and "xcomp". x2go won't work without any of them.
Uli
On 05/16/2018 09:06 PM, Kevin Kremer wrote:
Try with JOSM https://josm.openstreetmap.de/ I tested https://josm.openstreetmap.de/ which runs without any problems.Well, your answer is right there... ...if other java applications works, then it's your specific app which does some nasty stuff...
BTW I'm a professional Java developer, so I know that if you are not carefully programming your "event" thread handling, wrong stuff will happen in some peculiar context (like x2go ?). Your symptoms seems to indicate just that (no window refresh, no GUI reactivity), we developer call it the "Gray Screen Of Death"...
As the Oracle JDK is a requirement, it means that your app will use some specific Oracle API which is never good (which could indicate some design flaws, which could indicate that they have not properly handled their "event" thread...).
So, sorry for my 2 cent opinion, but I couldn't help ;^)
Have a nice day.
Stephan
BODMER Stephan [sbodmer@lsi-media.ch] LSI Media Sàrl [http://www.lsi-media.ch] 37-39 rue Eugène Marziano - 1227 Carouge - Genève - Suisse Tél: +41 22 8232125 Fax: +41 22 8232126
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" <kkmailinglists@gmail.com> À: "Walid MOGHRABI" <w.moghrabi@servicemagic.eu>, "Ulrich Sibiller" <uli42@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.moghrabi@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" <uli42@gmx.de> À: "Kevin Kremer" <kkmailinglists@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 <kkmailinglists@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
-Dsun.java2d.opengl=false -Dsun.java2d.xrender=true Thank you very much. This solves problem number two: When minimizing X2Go and opening it again, the application is re-printed successfully now. Yet, the latencies remain. I already contacted the developers to get some more insights.
On 17 May 2018 09:46, Walid MOGHRABI <w.moghrabi@servicemagic.eu> wrote:
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" <kkmailinglists@gmail.com> À: "Walid MOGHRABI" <w.moghrabi@servicemagic.eu>, "Ulrich Sibiller" <uli42@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.moghrabi@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" <uli42@gmx.de> À: "Kevin Kremer" <kkmailinglists@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 <kkmailinglists@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