Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run this and ib gateway in Debian or Ubuntu in fully headless mode #202

Open
anarchy89 opened this issue Mar 27, 2023 · 4 comments
Open

Comments

@anarchy89
Copy link

Is it possible to run this and ib gateway in Debian or Ubuntu in fully headless mode?

@rlktradewright
Copy link
Member

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/

@anarchy89
Copy link
Author

anarchy89 commented Mar 30, 2023

I managed to get it running but its stuck on TWS loading stuck on "Reading layout settings..." any ideas?

@rlktradewright
Copy link
Member

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.

@gnzsnz
Copy link

gnzsnz commented Nov 3, 2023

i'm maintaining a docker imager that runs ib gateway, with ibc in headless mode. you can access i through VNC

https://github.com/gnzsnz/ib-gateway-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants