Neutrinos Studio is not opening or working on my Ubuntu system

I had installed the desktop app , but when i try to open it is not opening. i had tried many times but not working.

1 Like

@dhishon

Could you please provide more information about the issue? Are you seeing any specific error messages on the screen when you try to open the app?

2 Likes

There is no specific error message. I am using Ubuntu, and when I double-click on Neutrinos Studio, nothing opens. When I click multiple times (show only sometimes), Ubuntu displays a “Not Responding” message and prompts me to send a report.

1 Like

Could you please specify:

  1. Your Ubuntu version.
  2. Your Node.js version

Additionally, I recommend deleting the .neutrinos folder under your home directory. Keep in mind that this folder is hidden by default, so you might need to enable hidden files to see it

2 Likes

Ubuntu VERSION="24.04.2 LTS
Node Version v20.18.0
Also i had deleted the .neutrinos folder .

1 Like

@ragesh-a please help

1 Like

It looks like your desktop app is being blocked due to security restrictions in Ubuntu 24.04, likely caused by user namespace restrictions or AppArmor policies.

:small_blue_diamond: Temporary Fix

Run the following command in the terminal:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Then, launch the app using:

n-studio

:small_blue_diamond: Alternative Solution

If the issue persists, consider downgrading to Ubuntu 22.04, where the app works without issues.

2 Likes

Okay, I ran the above commands, and at that time, it showed an NVM error stating that I needed to downgrade to version 10 or below. I did that, and it opened, but only in the terminal. So, I have to run n-studio manually every time. When I try to open it using the GUI, it doesn’t work and still shows the NVM error.

Additionally, when I run it in the terminal, it displays the following output

terminal:~$ n-studio
13:20:12.754 â€ș Passed CLI Args {}
13:20:12.769 â€ș magnetLinkGetter::skipping:: /opt/Neutrinos Studio/n-studio
13:20:12.849 â€ș app ready

[22316:0227/132012.933826:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
13:20:13.055 â€ș result Settings: {
studioVersion: ‘9.3.0’,
uuid: ‘b0f00ea0-2d03-60ef-9613-e7ffe8c1f335’,
reInstallTemplate: false,
urls: {
applicationCentreUrl: ‘https://console.neutrinos.co/api/’,
docsBaseUrl: ‘https://documentation.neutrinos.com/’,
storeWebUrl: ‘https://store.neutrinos.co’,
consoleWebUrl: ‘https://console.neutrinos.co’,
registryUrl: ‘Repository - Sonatype Nexus Repository’,
marketplaceUrl: ‘https://store.neutrinos.co/api/9.3.0/’
},
ports: { coreServerPort: 24484, coreStartRange: 24484, coreEndRange: 24493 },
log: { file: ‘error’, console: ‘info’ },
enableOCD: false,
ids: {
oidc_config: {
OIDC_ISSUER: ‘https://ids.neutrinos.co’,
CLIENT_ID: ‘neutrinos-studio’,
CLIENT_SECRET: ‘client-secret-key’,
CLOCK_TOLERANCE: 60
},
http_options: {
followRedirect: true,
headers: ‘[object]’,
retries: 3,
timeout: 60000
}
},
captureAnalytics: true,
analytics: {
mqHost: ‘analyticsq.neutrinos.co’,
mqPort: ‘5672’,
producerQ: ‘nstudio’,
AnalyticsFirstInterval: 1800000,
AnalyticsCallInterval: 10800000
}
}
(node:22272) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use n-studio --trace-deprecation ... to show where the warning was created)
13:20:15.784 â€ș core server started
checking env
13:20:15.921 â€ș envResult {“httpStatus”:200,“data”:{“errorMsg”:“”,“envMatchFlag”:true}}
13:20:15.922 â€ș Environment details: { errorMsg: ‘’, envMatchFlag: true }
13:20:15.940 â€ș Main electron window loaded
[22316:0227/132017.097875:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[22316:0227/132017.134655:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[22316:0227/132017.145267:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
13:20:26.278 â€ș Launching angular app!
13:20:26.522 â€ș Created Terminal with pid: 22431
13:20:28.327 â€ș {
process: ‘CORE’,
error: “Error: RPError: sub mismatch, expected { accountId: ‘dhishonthomas23@gmail.com’, strategy: ‘neutrinos’ }, got: { accountId: ‘dhishonthomas23@gmail.com’, strategy: ‘neutrinos’ }\n” +
’ at AuthenticationService.getNewTokenset (/opt/Neutrinos Studio/resources/app.asar/node_modules/@jatahworx/bhive-core/core/services/AuthenticationService.js:183:19)’
}
13:20:28.329 â€ș Error: RPError: sub mismatch, expected { accountId: ‘dhishonthomas23@gmail.com’, strategy: ‘neutrinos’ }, got: { accountId: ‘dhishonthomas23@gmail.com’, strategy: ‘neutrinos’ }
at AuthenticationService.getNewTokenset (/opt/Neutrinos Studio/resources/app.asar/node_modules/@jatahworx/bhive-core/core/services/AuthenticationService.js:183:19)
13:20:31.698 â€ș TERM_KILL_ALL for pid: 22431

Based on the logs I provided, it seems to work manually via the terminal, but the GUI method is not functioning

1 Like

what NVM error are you getting?

1 Like
2 Likes

You’ll need to run the following command to set the default version for node on the system so that the application can start.

nvm alias default 20

2 Likes

@arane please have a look at this

1 Like

I had tried .. but same issue.

1 Like

@ragesh-a please take look and provide the assistance

1 Like

Ensure that you are using Node version 20. If you have installed Node using NVM (Node Version Manager), make sure that the Node version persists across all terminal tabs.

1 Like

Could you please delete this log from the chat.

2 Likes

Hi @dhishon ,
Was this issue resolved?

1 Like

Hi @ragesh-a
I faced the same issue for ubuntu 22.04

1 Like

@ragesh-a Can you please support?

1 Like

Hello @hoangvdh ,
Did you try the steps I mentioned earlier?
You can also try another workaround:

Please go to the .neutrinos folder and open the settings.json file.
Inside it, you will find the clockTolerance value.
Kindly update it from 60 to 90, save the file, and try again.

2 Likes