Obsidian not working on Ubuntu 24.04

Hello :slight_smile: I’m unable to run the Obsidian exec after upgrading Ubuntu.

What I’m trying to do

I’m trying to run Obsidian after upgrading from Ubuntu 22.04 to 24.04.

Things I have tried

I downloaded the Obsidian AppImage from https://github.com/obsidianmd/obsidian-releases/releases/download/v1.6.7/Obsidian-1.6.7.AppImage.

Then:

tvanbesi@tvanbesi-OptiPlex-3080:~/Downloads$ sudo chmod +x Obsidian-1.6.7.AppImage 
[sudo] password for tvanbesi:
tvanbesi@tvanbesi-OptiPlex-3080:~/Downloads$ ./Obsidian-1.6.7.AppImage 
[10488:0918/100213.934345: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_Obsidi34czmr/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Hi @tvanbesi, fellow Ubuntu 24.04 user here.

I had the same issue – it seems to be related to Electron not liking tightened security in 24.04. I think the fix will have to be made by the Electron team, but in the meantime we can get around it by using the --no-sandbox flag when running the app.

Command-line example:

./Obsidian.AppImage --no-sandbox

Desktop file example:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Obsidian
Exec=/home/user/opt/Obsidian/Obsidian.AppImage --no-sandbox %u
Icon=/home/user/opt/Obsidian/obsidian.svg
# MimeType=x-scheme-handler/obsidian;text/html;
# MimeType=x-scheme-handler/obsidian;

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