secureblue / hardened-chromium

A hardened chromium for desktop Linux inspired by Vanadium.
GNU General Public License v2.0
50 stars 6 forks source link

Cannot open preinstalled hardened chromium in secure blue #88

Closed Cicindis closed 1 month ago

Cicindis commented 1 month ago

I cannot open hardened-chromium neither from the apps or from the command line.

flatpak run org.chromium.Chromium
error: app/org.chromium.Chromium/x86_64/master not installed

It doesn't show in FlatSeal either but the Chromium Web Browser app does appear.

RKNF404 commented 1 month ago

Hardened-chromium is not a flatpak, to run from commandline enter chromium-browser.

Cicindis commented 1 month ago

It shows this error when entering chromium-browser.

chromium-browser
/usr/bin/nvidia-smi
[20614:20614:1009/113800.628450:ERROR:process_singleton_posix.cc(358)] The profile appears to be in use by another Chromium process (14242) on another computer (fedora). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
[20614:20614:1009/113800.628513:ERROR:message_box_dialog.cc(189)] Unable to show message box: Chromium - The profile appears to be in use by another Chromium process (14242) on another computer (fedora). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
RKNF404 commented 1 month ago

Run rm ~/.config/chromium/Singleton*

Cicindis commented 1 month ago

It worked! Thank you

RoyalOughtness commented 1 month ago

@Cicindis great, but you shouldn't need to run from the command line. It sounds like you previously or currently have a chromium flatpak desktop file installed.

Cicindis commented 1 month ago

I did install one when I started getting the error, but after I deleted it with the app settings & data from the Software app the same issue kept happening. The error started happening after I installed emacs with rpm-ostree and restarted my computer. I have to run the command rm ~/.config/chromium/Singleton* when restarting my computer to use hardened-chromium. Maybe it could be related to this error? I did have it with other apps and had to use this command to be able to open them: flatpak override --user --env=GSK_RENDERER=ngl com.jeffser.Alpaca(This is just for the Alpaca app).

RoyalOughtness commented 1 month ago

@Cicindis If you are on an nvidia image with an nvidia optimus laptop, then you almost certainly just need to run this:

https://github.com/secureblue/secureblue/blob/live/FAQ.md#why-arent-my-apps-loading-on-nvidia-optimus