Chromium based browsers exits when started from application launcher

Flatpak installs of Chromium, Brave and Vivaldi will not stay running when started from the application launchers. However, the browsers works fine when started from the terminal using flatpak run.
The system was at Fedora 41, and the the problem started after I applied the recommended updates Tuesday 13th of May.
Reverting to a previous version of Chromium or updating to Fedora 42 did not solve the problem.

A high memory usage is reported when started from the application launchers.
What causes this?
Is there another workaround?

Excerpt from the log file:

09:36:30 systemd: app-flatpak-com.vivaldi.Vivaldi-3513141602.scope: Consumed 3.263s CPU time, 644.6M memory peak.

09:35:01 systemd: app-flatpak-org.chromium.Chromium-3495785963.scope: Consumed 10.463s CPU time, 1.4G memory peak.

Given that they run from CLI, but not from launcher, I’d suggest looking at what parameters are passed in their .desktop configs.
See Where are all the installed flatpak apps .desktop files located · Issue #1286 · flatpak/flatpak · GitHub where to locate the .desktop entries

I had a look but could not see anything strange. The only thing i noticed is that the launchers do not use the same exec as I manually enter in the terminal.
E.g. Chromium.desktop
Exec=/app/bin/chromium %U
StartupWMClass=chromium-browser

Cmd line I am using in the terminal:
flatpak run -v org.chromium.Chromium

Before making the initial post, I thought maybe the environment is different between the launchers and the terminal.

Here are the log statments after starting chromium and vivaldi using launchers:

09:36:30 systemd: app-flatpak-com.vivaldi.Vivaldi-3513141602.scope: Consumed 3.263s CPU time, 644.6M memory peak.
09:36:28 gnome-character: JS LOG: Characters Application exiting
09:36:25 vivaldi: [44:44:0516/093625.371574:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
09:36:21 gnome-keyring-d: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
09:36:21 vivaldi: Failed to load module "pk-gtk-module"
09:36:20 systemd: Started app-flatpak-com.vivaldi.Vivaldi-4269749728.scope.
09:36:18 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:36:18 gnome-character: JS LOG: Characters Application started
09:36:18 systemd: Started dbus-:1.2-org.gnome.NautilusPreviewer@3.service.
09:36:18 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:36:17 nautilus: Connecting to org.freedesktop.Tracker3.Miner.Files
09:36:17 systemd: Started dbus-:1.2-org.gnome.clocks@2.service.
09:36:17 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:35:01 systemd: app-flatpak-org.chromium.Chromium-3495785963.scope: Consumed 10.463s CPU time, 1.4G memory peak.
09:34:57 gnome-character: JS LOG: Characters Application exiting
09:34:51 chrome: Failed to load module "pk-gtk-module"
09:34:51 gnome-keyring-d: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
09:34:51 gsd-xsettings: Failed to get current UI scaling factor: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
09:34:51 systemd: Reached target gnome-session-x11-services-ready.target - GNOME session X11 services.
09:34:51 xkbcomp: Errors from xkbcomp are not fatal to the X server
09:34:51 systemd: Starting org.gnome.SettingsDaemon.XSettings.service - GNOME XSettings service...
09:34:50 xkbcomp: Errors from xkbcomp are not fatal to the X server
09:34:50 systemd: Started app-flatpak-org.chromium.Chromium-2072999360.scope.
09:34:47 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:34:43 gnome-character: JS LOG: Characters Application started
09:34:43 systemd: Started dbus-:1.2-org.gnome.NautilusPreviewer@2.service.
09:34:43 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:34:43 nautilus: Connecting to org.freedesktop.Tracker3.Miner.Files
09:34:43 systemd: Started dbus-:1.2-org.gnome.clocks@1.service.
09:34:43 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
09:34:40 systemd: Finished grub-boot-success.service - Mark boot as successful.
09:33:49 kernel: BPF prog-id=76 op=UNLOAD
09:33:49 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:33:49 systemd: systemd-hostnamed.service: Deactivated successfully.
09:33:48 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=virtqemud comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:33:48 systemd: virtqemud.service: Deactivated successfully.
09:33:19 kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:33:19 systemd: Started systemd-hostnamed.service - Hostname Service.
09:33:19 kernel: BPF prog-id=78 op=LOAD
09:33:11 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:33:11 systemd: systemd-hostnamed.service: Deactivated successfully.
09:33:01 kernel: BPF prog-id=67 op=UNLOAD
09:33:01 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:33:01 systemd: systemd-localed.service: Deactivated successfully.
09:32:59 chronyd: Selected source 185.35.202.234 (2.fedora.pool.ntp.org)
09:32:54 kernel: BPF prog-id=73 op=UNLOAD
09:32:54 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:32:54 systemd: systemd-timedated.service: Deactivated successfully.
09:32:50 kernel: BPF prog-id=70 op=UNLOAD
09:32:50 kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=realmd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:32:50 systemd: realmd.service: Deactivated successfully.

This seems to show that the .desktop files aren’t for the flatpak version of the app. Flatpak .desktop files should contain something similar to: Exec=/usr/bin/flatpak run [...].

Did you have multiple installations of these apps, i.e. also as RPMs maybe, and the old .desktop files somehow remained on the system?

You can search them either directly in your $XDG_DATA_DIRS paths, or using the find command, e.g.:

sudo find / -iname "*Chromium*.desktop" 2>/dev/null

… and remove the incorrect duplicates.

I am not 100% sure there has never been a regular install of Chromium, but your suggested search do not find any other Chromium.desktop files.
Besides, the problem is with all browser I have installed based on Chromium. I even removed and reinstalled Brave deleting all files and the problem still persist.
The desktop files for Vivaldi and Brave use a similar exec command as I use when starting from the terminal.
When I start Brave using the application launcher and desktop file which has the following exec value the process terminates after a few second.

Brave Exec:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave --file-forwarding com.brave.Browser @@u %U @@

When I use the same command from a terminal Brave works as normal, but prints this on the console:

[2:2:0519/101623.969572:ERROR:CONSOLE:3002] "[Settings] Appearance Page cannot find use default theme button template", source: chrome://settings/settings.js (3002)
[2:2:0519/101623.969988:ERROR:CONSOLE:3002] "[Settings] Appearance Page cannot find use default theme button template", source: chrome://settings/settings.js (3002)
[55:55:0519/101627.725718:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 1 times!
[55:55:0519/101627.727237:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 2 times!
[55:55:0519/101643.635121:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 3 times!

The log statements for first application launcher and then shell:

10:17:17 systemd: app-flatpak-com.brave.Browser-526735802.scope: Consumed 2.043s CPU time, 256.2M memory peak.
10:17:17 systemd: app-flatpak-com.brave.Browser-526735802.scope: Consumed 2.043s CPU time, 256.2M memory peak.
10:17:17 systemd: app-flatpak-com.brave.Browser-192673330.scope: Consumed 538ms CPU time, 82.7M memory peak.
10:17:14 systemd: Started app-flatpak-com.brave.Browser-1544145742.scope.
10:17:11 brave: Failed to load module "pk-gtk-module"
10:17:11 systemd: Started app-flatpak-com.brave.Browser-192673330.scope.
10:17:11 systemd: Started app-flatpak-com.brave.Browser-192673330.scope.
10:17:10 systemd: Started app-flatpak-com.brave.Browser-526735802.scope.
10:17:10 systemd: Started app-gnome-com.brave.Browser-8689.scope - Application launched by gnome-shell.
10:17:07 systemd: app-flatpak-com.brave.Browser-3723398663.scope: Consumed 9.574s CPU time, 372.3M memory peak.
10:17:07 systemd: app-flatpak-com.brave.Browser-2524207014.scope: Consumed 6.709s CPU time, 166.1M memory peak.
10:16:26 systemd: Started app-flatpak-com.brave.Browser-2843401172.scope.
10:16:23 systemd: Started app-flatpak-com.brave.Browser-2524207014.scope.
10:16:22 systemd: Started app-flatpak-com.brave.Browser-3723398663.scope.
09:57:07 systemd: app-flatpak-com.brave.Browser-2475866128.scope: Consumed 3.164s CPU time, 619.9M memory peak.
09:57:07 systemd: app-flatpak-com.brave.Browser-39112321.scope: Consumed 1.046s CPU time, 130M memory peak.
09:57:06 brave: [56:56:0519/095706.773026:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 2 times!
09:57:01 systemd: Started app-flatpak-com.brave.Browser-3398958428.scope.
09:57:01 brave: [56:56:0519/095701.084767:ERROR:ui/gl/gl_surface_presentation_helper.cc:260] GetVSyncParametersIfAvailable() failed for 1 times!
09:56:57 systemd: Started app-flatpak-com.brave.Browser-39112321.scope.

I think you’re right, the files you’re seeing probably don’t come from a “regular” rpm install of Chromium. /app/bin would be an odd path for the RPM to use. Most Fedora installs don’t even have a directory /app.

A running Flatpak app however does see an /app dir in its sandboxed filesystem. So I wonder if these files are the result of the Flatpak applications trying to self-create their own desktop files, but wrongly using a path from the sandbox’s POV rather than the host’s POV.

That’s a bit of sidenote - wherever they came from, those .desktop files are definitely wrong.

(Edit: I saw something similar to this myself once with a Flatpak app. It wasn’t a browser, but it was Electron-based. And Electron is Chromium-based.

On the other hand, I have a Flatpak install of Ungoogled Chromium, and it doesn’t have this issue.

So I wonder if there is some kind of config setting in Chromium-based Flatpak builds that controls this.)

1 Like

Can you share the location of the desktop file, as well as its full contents (as preformatted text)?

Sure, here is the desktop.file for Brave.

/var/lib/flatpak/app/com.brave.Browser/current/active/export/share/applications

[Desktop Entry]
Version=1.0
Name=Brave
GenericName=Web Browser
GenericName[ar]=متصفح الشبكة
GenericName[bg]=Уеб браузър
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlížeč
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής ιστού
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gu]=વેબ બ્રાઉઝર
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=वेब ब्राउज़र
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
GenericName[ko]=웹 브라우저
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa pārlūks
GenericName[ml]=വെബ് ബ്രൌസര്‍
GenericName[mr]=वेब ब्राऊजर
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbläsare
GenericName[ta]=இணைய உலாவி
GenericName[th]=เว็บเบราว์เซอร์
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[zh_CN]=网页浏览器
GenericName[zh_HK]=網頁瀏覽器
GenericName[zh_TW]=網頁瀏覽器
GenericName[bn]=ওয়েব ব্রাউজার
GenericName[fil]=Web Browser
GenericName[hr]=Web preglednik
GenericName[id]=Browser Web
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
GenericName[sk]=WWW prehliadač
GenericName[sr]=Интернет прегледник
GenericName[te]=మహాతల అన్వేషి
GenericName[vi]=Bộ duyệt Web
Comment=Access the Internet
Comment[ar]=الدخول إلى الإنترنت
Comment[bg]=Достъп до интернет
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
Comment[ca]=Accedeix a Internet
Comment[cs]=Přístup k internetu
Comment[da]=Få adgang til internettet
Comment[de]=Internetzugriff
Comment[el]=Πρόσβαση στο Διαδίκτυο
Comment[en_GB]=Access the Internet
Comment[es]=Accede a Internet.
Comment[et]=Pääs Internetti
Comment[fi]=Käytä internetiä
Comment[fil]=I-access ang Internet
Comment[fr]=Accéder à Internet
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
Comment[he]=גישה אל האינטרנט
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
Comment[hr]=Pristup Internetu
Comment[hu]=Internetelérés
Comment[id]=Akses Internet
Comment[it]=Accesso a Internet
Comment[ja]=インターネットにアクセス
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
Comment[ko]=인터넷 연결
Comment[lt]=Interneto prieiga
Comment[lv]=Piekļūt internetam
Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
Comment[nb]=Gå til Internett
Comment[nl]=Verbinding maken met internet
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
Comment[pl]=Skorzystaj z internetu
Comment[pt]=Aceder à Internet
Comment[pt_BR]=Acessar a internet
Comment[ro]=Accesaţi Internetul
Comment[ru]=Доступ в Интернет
Comment[sk]=Prístup do siete Internet
Comment[sl]=Dostop do interneta
Comment[sr]=Приступите Интернету
Comment[sv]=Gå ut på Internet
Comment[ta]=இணையத்தை அணுகுதல்
Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
Comment[th]=เข้าถึงอินเทอร์เน็ต
Comment[tr]=İnternet'e erişin
Comment[uk]=Доступ до Інтернету
Comment[vi]=Truy cập Internet
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
StartupNotify=true
StartupWMClass=brave-browser
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave --file-forwarding com.brave.Browser @@u %U @@
Terminal=false
Icon=com.brave.Browser
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ipfs;x-scheme-handler/ipns;
Actions=new-window;new-private-window;new-tor-window;
X-Flatpak=com.brave.Browser

[Desktop Action new-window]
Name=New Window
Name[am]=አዲስ መስኮት
Name[ar]=نافذة جديدة
Name[bg]=Нов прозорец
Name[bn]=নতুন উইন্ডো
Name[ca]=Finestra nova
Name[cs]=Nové okno
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[el]=Νέο Παράθυρο
Name[en_GB]=New Window
Name[es]=Nueva ventana
Name[et]=Uus aken
Name[fa]=پنجره جدید
Name[fi]=Uusi ikkuna
Name[fil]=New Window
Name[fr]=Nouvelle fenêtre
Name[gu]=નવી વિંડો
Name[hi]=नई विंडो
Name[hr]=Novi prozor
Name[hu]=Új ablak
Name[id]=Jendela Baru
Name[it]=Nuova finestra
Name[iw]=חלון חדש
Name[ja]=新規ウインドウ
Name[kn]=ಹೊಸ ವಿಂಡೊ
Name[ko]=새 창
Name[lt]=Naujas langas
Name[lv]=Jauns logs
Name[ml]=പുതിയ വിന്‍ഡോ
Name[mr]=नवीन विंडो
Name[nl]=Nieuw venster
Name[no]=Nytt vindu
Name[pl]=Nowe okno
Name[pt]=Nova janela
Name[pt_BR]=Nova janela
Name[ro]=Fereastră nouă
Name[ru]=Новое окно
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[sr]=Нови прозор
Name[sv]=Nytt fönster
Name[sw]=Dirisha Jipya
Name[ta]=புதிய சாளரம்
Name[te]=క్రొత్త విండో
Name[th]=หน้าต่างใหม่
Name[tr]=Yeni Pencere
Name[uk]=Нове вікно
Name[vi]=Cửa sổ Mới
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave com.brave.Browser

[Desktop Action new-private-window]
Name=New Private Window
Name[ar]=نافذة جديدة للتصفح المتخفي
Name[bg]=Нов прозорец „инкогнито“
Name[bn]=নতুন ছদ্মবেশী উইন্ডো
Name[ca]=Finestra d'incògnit nova
Name[cs]=Nové anonymní okno
Name[da]=Nyt inkognitovindue
Name[de]=Neues Inkognito-Fenster
Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
Name[en_GB]=New Private Window
Name[es]=Nueva ventana de incógnito
Name[et]=Uus inkognito aken
Name[fa]=پنجره جدید حالت ناشناس
Name[fi]=Uusi incognito-ikkuna
Name[fil]=Bagong Incognito window
Name[fr]=Nouvelle fenêtre de navigation privée
Name[gu]=નવી છુપી વિંડો
Name[hi]=नई गुप्त विंडो
Name[hr]=Novi anoniman prozor
Name[hu]=Új Inkognitóablak
Name[id]=Jendela Penyamaran baru
Name[it]=Nuova finestra di navigazione in incognito
Name[iw]=חלון חדש לגלישה בסתר
Name[ja]=新しいシークレット ウィンドウ
Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
Name[ko]=새 시크릿 창
Name[lt]=Naujas inkognito langas
Name[lv]=Jauns inkognito režīma logs
Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
Name[mr]=नवीन गुप्त विंडो
Name[nl]=Nieuw incognitovenster
Name[no]=Nytt inkognitovindu
Name[pl]=Nowe okno incognito
Name[pt]=Nova janela de navegação anónima
Name[pt_BR]=Nova janela anônima
Name[ro]=Fereastră nouă incognito
Name[ru]=Новое окно в режиме инкогнито
Name[sk]=Nové okno inkognito
Name[sl]=Novo okno brez beleženja zgodovine
Name[sr]=Нови прозор за прегледање без архивирања
Name[sv]=Nytt inkognitofönster
Name[ta]=புதிய மறைநிலைச் சாளரம்
Name[te]=క్రొత్త అజ్ఞాత విండో
Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
Name[tr]=Yeni Gizli pencere
Name[uk]=Нове вікно в режимі анонімного перегляду
Name[vi]=Cửa sổ ẩn danh mới
Name[zh_CN]=新建隐身窗口
Name[zh_TW]=新增無痕式視窗
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave com.brave.Browser --incognito

[Desktop Action new-tor-window]
Name=New Private Window with Tor
Name[ar]=نافذة جديدة ل Tor
Name[bg]=Нов прозорец Tor
Name[bn]=নতুন Tor উইন্ডো
Name[ca]=Finestra Tor nova
Name[cs]=Nové anonymní okno Tor
Name[da]=Nyt Tor-vindue
Name[de]=Neues Tor-Fenster
Name[el]=Νέο παράθυρο Tor
Name[en_GB]=New Private Window with Tor
Name[es]=Nueva ventana Tor
Name[et]=Uus Tor aken
Name[fa]=پنجره جدید Tor
Name[fi]=Uusi Tor-ikkuna
Name[fil]=Bagong Tor window
Name[fr]=Nouvelle fenêtre de navigation privée avec Tor
Name[gu]=નવી Tor વિંડો
Name[hi]=नई Tor विंडो
Name[hr]=Novi anoniman prozor Tor
Name[hu]=Új Tor ablak
Name[id]=Jendela Tor baru
Name[it]=Nuova finestra di navigazione Tor
Name[iw]=חלון חדש לגלישה בTor
Name[ja]=新しい Tor ウィンドウ
Name[kn]=ಹೊಸ Tor ವಿಂಡೋ
Name[ko]=새 Tor 창
Name[lt]=Naujas Tor langas
Name[lv]=Jauns Tor režīma logs
Name[ml]=പുതിയ Tor വിന്‍ഡോ
Name[mr]=नवीन Tor विंडो
Name[nl]=Nieuw Tor-venster
Name[no]=Nytt Tor-vindu
Name[pl]=Nowe okno Tor
Name[pt]=Nova janela Tor
Name[pt_BR]=Nova janela Tor
Name[ro]=Fereastră nouă Tor
Name[ru]=Новое окно Tor
Name[sk]=Nové okno Tor
Name[sl]=Novo okno Tor
Name[sr]=Нови Tor прозор
Name[sv]=Nytt Tor-fönster
Name[ta]=புதிய Tor சாளரம்
Name[te]=క్రొత్త Tor విండో
Name[th]=หน้าต่าง Tor ใหม่
Name[tr]=Yeni Tor penceresi
Name[uk]=Нове вікно Tor
Name[vi]=Cửa sổ Tor mới
Name[zh_CN]=新建 Tor 窗口
Name[zh_TW]=新增 Tor 視窗
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave com.brave.Browser --tor

The desktop file looks normal.

The GetVSyncParametersIfAvailable related error could be relevant. Brave, and Vivaldi are based on Chromium, and the issue seems to be related to Chromium. There are quite a few issues mentioned online about this error.

Does it change if you disable hardware acceleration in Brave? If it does, I wouldn’t understand though why running the same command from the terminal works, but not when running from the desktop file.

I have tried to disable hardware acceleration in Brave, process still exits.

Strangely enough, I uninstalled and reinstalled Chromium today and now it seems to work fine if started from desktop.file.

An update was available for Vivaldi today, so I installed that, but still same problem. However, I discovered that if Vivalid is started from the Software Application with the “Open” button it also works fine.

To force an update of Brave, I also removed Brave and all files, and reinstalled. Brave also works fine if started from the Software Application.

I do have BTRFS snapshopts from before the problems started, but do not know how to make the restored root snapshot bootable, get an error message “Root account is locked” when trying to boot a restored rw snapshot. I am either going to look into that further or install a clean Fedora 41.

I gave up and made a clean install of Fedora 41. Chromium and Vivaldi flatpaks does start from desktop file, but takes very long time to actually start. After that, they seem to work as normal.