¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

IBC Closing after TWS/Gateway failed to display login dialog


 

I am trying to run IBC(3.20) / Gateway 10.33 on arm64 Debian.? I have downloaded and installed the right JRE and am able to get the gatewaystart.sh script to execute. However it is not able to get past the display of the login dialog. It is not possible for me to test the standalone execution of the Gateway because the pre-packaged JRE does not work on ARM.
I am attaching the log file and will be grateful for any help. I am migrating from Saxo to IBKR and am not very familiar with Java.
Thanks
Manish?


 

¿ªÔÆÌåÓý

The pre-packaged JRE is irrelevant. The IBKR installer includes a script to run Gateway that uses the pre-packed JRE, and it also caters for using another JRE, but there¡¯s no reason why you have to run it using that script.

?

All you need is the right Java command to run the Gateway JAR files. And I posted that command in the other thread you spoke on today. Here it is again, adjusted for your pi username:

?

?

java -DjtsConfigDir=/home/pi/Jts -Xmx768m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 -DvmOptionsPath=/home/pi/Jts/ibgateway/1033/ibgateway.vmoptions -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -classpath /home/pi/Jts/ibgateway/1033/jars/jackson-databind-2.12.3.jar:/home/pi/Jts/ibgateway/1033/jars/log4j-api-2.17.1.jar:/home/pi/Jts/ibgateway/1033/jars/twslaunch-1033.jar:/home/pi/Jts/ibgateway/1033/jars/xmlgraphics-commons-2.8.jar:/home/pi/Jts/ibgateway/1033/jars/jackson-core-2.12.3.jar:/home/pi/Jts/ibgateway/1033/jars/jts4launch-1033.jar:/home/pi/Jts/ibgateway/1033/jars/commons-io-2.11.0.jar:/home/pi/Jts/ibgateway/1033/jars/fop-2.8.jar:/home/pi/Jts/ibgateway/1033/jars/jackson-annotations-2.12.3.jar:/home/pi/Jts/ibgateway/1033/jars/jxbrowser-7.41.3.jar:/home/pi/Jts/ibgateway/1033/jars/batik-all-1.16.jar:/home/pi/Jts/ibgateway/1033/jars/jxbrowser-linux64-7.41.3.jar:/home/pi/Jts/ibgateway/1033/jars/jxbrowser-swing-7.41.3.jar:/home/pi/Jts/ibgateway/1033/jars/log4j-core-2.17.1.jar:/home/pi/Jts/ibgateway/1033/jars/total-2023.jar ibgateway.GWClient

?

?

Running Gateway standalone won¡¯t actually help if the problem is that the login dialog is not being displayed, but at least it will demonstrate that the problem is not being caused by IBC. That most likely indicates an incomplete JavaFX problem on ARM, but I have no expertise in this area, and no access to an ARM platform to investigate it myself.

?

Frankly I¡¯m tempted to just say forget ARM and stick with x64. Everything just works ¡®out of the box¡¯. One day someone will crack this on ARM and do a decent write-up of how, but at present it seems we¡¯re not there, and if you don¡¯t have the expertise to move this forward yourself, you could waste a lot of your (and other people¡¯s) time.

?

Richard


 

Hi Richard - thanks very much for your quick and helpful response.
1. The command you provided was able to launch the standalone gateway successfully! This gave me heart to proceed with 2. below despite your notes of caution (I promised myself that I would only spend a few hours!)
2. I tried to fix the Java FX problem and am happy to report that I was able to make IBC work. I am now running it through a few days and will report back. These are the steps I followed:
a)? Dowloaded the Bellsoft Liberica JDK from ?
b) Installed it using dpkg
c) Changed JAVA_PATH in gatewaystart.sh to JAVA_PATH=/usr/lib/jvm/bellsoft-java11-full-aarch64/bin
It works!

I ultimately ended up pretty much replicating the steps described in - found it immensely helpful.

Thanks very much and Happy Holidays
Manish


 

On Sat, Dec 21, 2024 at 05:43 PM, <manish.p.mahajan@...> wrote:
JAVA_PATH in gatewaystart.sh to JAVA_PATH=/usr/lib/jvm/bellsoft-java11-full-aarch64/bin
?
Manish could you try with this version and see if it still works ? Thanks a lot?
https://download.bell-sw.com/java/11.0.25+11/bellsoft-jdk11.0.25+11-linux-aarch64.tar.gz 


 

@Jonathan - will try onceI am back from the holidays. I am also expecting a RPi 5000 based desktop which I will use for configuring a stable version of the Gateway.
My current configuration is being tested in the simulation environment and I am hoping to go live 2nd week of Jan.
Will keep you updated.


 

Hi Manish did you come back holidays? I did not have time to do new tests recently, lot of work :-(