Brave won't open / Fedora 38 / Flatpak

Description of the issue:

Brave (Fedora Flatpak) was working fine under Fedora 35/36/37. Brave was on the latest version. After upgrading to Fedora 38, Brave would no longer launch from the GUI or from the command line.

How can this issue be reproduced?

  1. Click on Brave icon in Gnome 44 --or–
  2. type “flatpak run com.brave.Browser” from the terminal

Expected result:

Brave would open and run.

Brave Version( check About Brave):

1.50.125

Additional Information:

Running from the command line gives the following errors:

[2 zypak-helper] Wait found events, but sd-event found none
[2:2:0422/170800.639707:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
[2:2:0422/170800.639721:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

@jimb1 could you help ?
If not, we can tag someone from the team to have a look in light of the recent issues about Brave crashing or not starting at all.

Not sure, sorry. I have been running Brave on Fedora across many app and OS versions and never had any issue, however I used Brave’s installation instructions for an RPM-based distro (which Fedora is), and not the Flatpak/Flathub app distribution.

@timmy_s, I would suggest following the Brave RPM repo and see if that works out better for you. Granted, there was a recent issue there as well as alluded to above, but at least you’ll be getting a package directly from the source. Per Flathub, This package is not verified by, affiliated with, or supported by Brave Software.

Hello @timmy_s

could you create a new folder in any place you like then start brave using the following command

brave-browser-stable --user-data-dir=pathtoTheFolderYouCreatedearlier

if it run fine then try to start brave normally again and see if it work fine or not

hope that help and have a nice day :slight_smile:

Hi, thanks for the suggestion. I’m not an expert but it looked to me like your solution wouldn’t work with the flatpak version, so I didn’t try it.

Instead, I added the Brave repo and installed using dnf. Brave at least launches now, although I haven’t done much with it since the installation, so I don’t know if everything works as it should.

I will continue to use the RPM version from now on, so this issue no longer affects me. Feel free to close it.

Thanks again.

1 Like

glad to know it work now and here the modifed version for the flatpak for future refrence

flatpak run com.brave.Browser --user-data-dir=pathtoTheFolderYouCreatedearlier

and you welcome :slight_smile:

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