headless-ib-gateway-installation-ubuntu-server
headless-ib-gateway-installation-ubuntu-server copied to clipboard
black screen?
When I start tightVNC (ssh tunnel, Ubuntu local and on the server) I get a black screen. The mouse works but clicking and typing keys does not change anything.
No errors. I did everything as described here.
Maybe someone finds a solution?
@roblav96 I get this error too. I "solve" the problem by re-running sh ibgateway-latest-standalone-linux-x64.sh -c
but this hardly seems like the right solution
Okay I think I fixed the issue. Sharing what I did here in case it helps anyone else.
First things first, I took a look at ~/ibcontroller.paper/IBControllerGatewayStart.sh
and noticed that a lot of the parameters didn't make any sense. For example, the README says TWS_MAJOR_VRSN=967
but my version is 978. Also my IBController.ini
file is located at ~/ibcontroller.paper/IBController.ini
, etc. Edit that file so the parameters make sense to you.
Next, I took a look at the IB Controller logs which can be found at ~/ibcontroller.paper/Logs
. Reading through them revealed that IB Controller was looking for the IBController.ini
at ~/IBController/IBController.ini
instead of in ibcontroller.paper
. I created a copy of the IBController.ini file in that location then reran DISPLAY=:1 ~/ibcontroller.paper/IBControllerGatewayStart.sh
If you check TightVNC at this point then you should see IB Gateway has started.
Hope that helps someone!