Closed anarchy89 closed 2 weeks ago
Yes it is possible.
Because ibgateway is a GUI application, you have to install something that makes it think there is a X-windows server. One way is to install xvfb. This handles all the X11 protocol exchanges with ibgateway but without actually displaying anything.
See https://en.wikipedia.org/wiki/Xvfb
For a detailed account of this plus a lot more see this:
https://dimon.ca/how-to-setup-ibc-and-tws-on-headless-ubuntu-in-10-minutes/
I managed to get it running but its stuck on TWS loading stuck on "Reading layout settings..." any ideas?
No idea. I've never tried doing this myself.
Bear in mind that the "Reading layout settings..." state can take quite a while, so make sure you're giving it enough time.
Also, please attach your IBC logfile to your reply - it contains a mass of useful diagnostic info, and might just help.
Also it might be worth detailing what you actually did to get it this far.
i'm maintaining a docker imager that runs ib gateway, with ibc in headless mode. you can access i through VNC
I managed to get it running but its stuck on TWS loading stuck on "Reading layout settings..." any ideas?
I had the same issue when I was running on ec2. I upgraded my ec2 from micro to large, and voila worked. I def thought it was because of the processing power.
Is it possible to run this and ib gateway in Debian or Ubuntu in fully headless mode?