I cannot launch any applications that are downloaded via snap like forexample firefox

I reflashed my AGX Orin 2 times to 22.04. both time I can download firefox but it doesnt launch and i have this error message when trying to launch firefox from the terminal: “cannot create user data directory: failed to verify SELinux context of /home/orinsocialai/snap: exec: “matchpathcon”: executable file not found in $path”*

Gemini says this:
The error message: “cannot create user data directory: failed to verify SELinux context of /home/orinsocialai/snap: exec: “matchpathcon”: executable file not found in $path”

This error confirms that the problem is still rooted in SELinux/AppArmor confinement and how it interacts with Snap packages, specifically the missing matchpathcon executable. Even though the Orin booted and seemed functional, this core system component related to security context is not working as expected.

This matchpathcon utility is part of the SELinux toolkit. The error “executable file not found in $path” means that some system process (likely snapd’s confinement helper or something similar) is trying to run matchpathcon to set or verify security contexts for the snap directory, but it can’t find the executable in any of the directories listed in its PATH environment variable.

This is a very serious indication that your fresh flash might still have underlying system-level issues, or that a critical SELinux/AppArmor utility is somehow missing from the installed image.

Hi,
Please try the solution:
Chromium, other browsers not working after flashing or updating - Here's WHY and QUICK FIX

That worked! thanks!

1 Like

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