Xubuntu when nanominer launches it runs for two seconds then closes
I run it using ./nanominer and then it runs and then instantly closes and get sent back to the command line.

I basically just get to see the big NANOMINER banner and a few sentences that usually show up on windows etc but then it just stops