Unable to launch on ubuntu

Hi
i downloaded the IDE 2.1.0 on ubuntu 22.04.2 LTS, using the zip or the appimage (same issue). I set the right to execute.

When I launch it, it logs the text below then nothing happens. any clue appreciated, Thanks!

Arduino IDE 2.1.0
Starting backend process. PID: 37548
[37523:0430/170401.840851:ERROR:browser_main_loop.cc(1400)] Unable to open X display.
The futex facility returned an unexpected error code.
Aborted (core dumped)
xxxxx@xxxxx:~/Applications$ node:internal/fs/utils:343
    throw err;
    ^

Error: ECONNABORTED: software caused connection abort, open '/tmp/.mount_arduinB1AR0T/resources/app/node_modules/node-log-rotate/lib/delete-log-files.js'
    at Object.openSync (node:fs:582:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1800)
    at Object.readFileSync (node:fs:450:35)
    at Object.e.readFileSync (node:electron/js2c/asar_bundle:5:9148)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:18)
    at Module.load (node:internal/modules/cjs/loader:982:32)
    at Module._load (node:internal/modules/cjs/loader:823:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18) {
  errno: -103,
  syscall: 'open',
  code: 'ECONNABORTED',
  path: '/tmp/.mount_arduinB1AR0T/resources/app/node_modules/node-log-rotate/lib/delete-log-files.js'
}

Your topic has been moved to the dedicated IDE2.0 section of the forum.

Thanks for reporting it.

I am not on Linux, so I cannot give you an exact answer, but threads suggest that you might need to set the DISPLAY env variable and/or install and start the Xserver. If you're an experienced user, please see these threads if any of them solves the issue:

I am sure somebody from the forum with more experience with Linux can help if you get stuck.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.