I am working in arduino IDE 2.3 from years with Debian. After a problem on my PC, I am trying to use UBUNTU, so I install BUNTU 24.04LTS on my PC.
Arduino-ide 18.19 work correctly. I try to installl the ide 2.x, nor after install nor the ImageApp work on my UBUNTU.
With the decompressed file and run from a console, I have the dollowing message:
Not sure but why do you want to run as root (sudo)?
The appImage works without problems on my 24.04 without sudo. For the normal install I had to do something about sandbox but I can remember what I did.
Hi @stibmich. Did you take a look at the link provided in post #3? I share @ilguargua's suspicion that the AppArmor security software is the cause of the problem, in which case the solution provided by a community member in that issue report should allow Arduino IDE to start for you, with no need to run the IDE as root.
If that doesn't solve the problem, please provide the full and exact text that is produced when you start Arduino IDE from the terminal without sudo. It might be that those logs will contain some key text that we are familiar with. We may be less familiar with logs produced by the IDE when invoked via sudo since it is rare for anyone to do that.
WIth the arduino-ide_2.3.4_Linux_64bit.AppImage in terminal I have yhis one:
michel@MaisonI7:~/Arduino$ ./arduino-ide_2.3.4_Linux_64bit.AppImage
[21259:1227/114157.706921:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_arduinTwbO7Y/chrome-sandbox is owned by root and has mode 4755.
Trappe pour point d'arrĂȘt et de trace (core dumped)
michel@MaisonI7:~/Arduino$
from the arduino-ide I have the same message:
michel@MaisonI7:~/arduino-ide_2.3.4_Linux_64bit$ ./arduino-ide
[21395:1227/114555.523929:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/michel/arduino-ide_2.3.4_Linux_64bit/chrome-sandbox is owned by root and has mode 4755.
Trappe pour point d'arrĂȘt et de trace (core dumped)
michel@MaisonI7:~/arduino-ide_2.3.4_Linux_64bit$
those copy of my terminal are be done after the configuration of the apparmor....
So now I have no more Idea, reinstall the full Ubuntu or the Debian ???
I have change drom Debian to Ubuntu because the NVDIA drive are more useful with UBUNTU than Debian.
If you work with Ubuntu, may be control the apparmor.d file arduino on your PC to compare with the mine?
guargua@guargua-desktop:~$ cat /etc/apparmor.d/usr.local.bin.arduino
abi <abi/4.0>,
include <tunables/global>
profile arduino /usr/local/bin/arduino-ide* flags=(unconfined) {
userns,
include if exists <local/arduino>
}