Gstate.init() failed, error code: -180
This is a permission problem under Linux, where the user has forgotten to add an RPC port with which to connect to the graphical user interface, or has no permission to use this port.
The error is seen in combination with GUI RPC bind to port 31416 failed: 98
To set BOINC to use a specific port number, one different from the default 31316, do:
boinc --gui_rpc_port N, example given
boinc --gui_rpc_port 37777, this starts the BOINC client with TCP port 37777.
If you don't want to use any GUI to check on this BOINC from a remote location, you can also start BOINC without any GUI RPC: