Hi, 

When using X2Go to work on Java-based applications (specifically, the Eclipse-based dbeaver dbeaver.io), there is a considerable latency. It's particularly sever when presenting dialogs, with some of them taking 3-8 second to appear (vs. <1 second locally). 
 
The raw latency from the machine to the server is quite low (10-15 ms), and:
1. Other application (via X2Go) work faster (although not completely latency-free). 
2. The same program (dbeaver) works almost smoothly with other remote-desktops (e.g. NoMachine). 

How can this be debugged? What else can be done to improve it?

Details: 
- which operating systems and versions are being used on the server and
  client,
Server: Ubuntu 20.04. 
Client: 
Edition Windows 10 Home
Version 20H2
Installed on ‎5/‎4/‎2021
OS build 19042.1052
Experience Windows Feature Experience Pack 120.2212.2020.0

- which versions of X2GoServer and X2GoClient are being used
Client: 4.1.2.2 (Qt 4.8.6)
Server: x2goserver     4.1.0.3-5

- any changes you may have made to the default configuration of the
  server,
No changes were made. 

- the session settings used on the client
Connection: WAN
Resolution: 1920x1080
Display DPI 96
Compression: 16m-jpeg
Image quality: 5
Desktop environment: XFCE.

- the name of the application you are experiencing issues with
dbeaver (dbeaver.io)