Ubuntu - GUI unable to connect to HUB
Trying to get GUI working on Ubuntu VM...
GUI unable to connect to HUB:
tim@ubuntu:~/Documents/OpenBCI_GUI$ sudo ./OpenBCI_GUI
[sudo] password for tim:
Console Log Started at Local Time: 2020-01-23_20-10-29
Screen Resolution: 1920 X 1440
Welcome to the Processing-based OpenBCI GUI!
For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
Launching application from local data dir
OpenBCI_GUI: hubStart: OS Detected: Linux
TopNav: Internet Connection Not Available
OpenBCI_GUI::Setup: Is RX mulitcast: false
OpenBCI_GUI::Setup: Has RX joined multicast: false
OpenBCI_GUI::Setup: Copying sample data to Documents/OpenBCI_GUI/Sample_Data
OpenBCI_GUI::Setup: Created \Documents\OpenBCI_GUI\Recordings\
ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
The file "/root/Documents/OpenBCI_GUI/Settings/UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
OpenBCI_GUI::Control Panel: Playback history file not found or other error.
OpenBCI_GUI::Setup: Setup is complete!
Instantiating hub object...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[ERROR]: Unable to find or connect to Hub. LIVE functionality will be disabled.
Comments
This means the Hub is not running, and it tried to connect 9-10 times.
Hi retuitut.
Thanks for your reply.
Do you have any suggestions as to how to get it running?
As you can see, I ran the OpenBCI_GUI under sudo which is the extent of the getting started guide for Linux.
Cheers.
Run it without sudo.
Hi retuitut.
Tried without sudo... exactly the same results... which surprised me... I expected less than that.
I hadn't bothered trying that earlier since, in my experience with linux, most hardware accessing applications need sudo.
This is stock/vanilla 19.04 desktop ubuntu VM built directly from the distribution iso for the sole purpose of testing/using OpenBCI.
So, there are no other installs... in fact, nothing was done between installing OS and downloading the Linux version of OpenBCI.
This is using current release, version 4.1.7, Nov 2019.
I did also try v4.0.4 (there is no linux64 built for v5.0.0 as yet, so I tried backwards... just to see...
Looks like it's using an old graphics library thats not available... pops up a blank window and halts...
For what it's worth, although not directly related to this problem (I believe)...
The dongle seems to be recognised fine and is ready to go... once we get the hub up and running.
I have confirmed that the FTDI VCP Drivers are in the OS install base and the dongle is identified at ttyUSB0.
See below: