linuxmint / linuxmint/cinnamon

Guest session breaks Brave brower flatpak

Open
#12,767 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

22.x 21.x

Package version

flatpak 1.75.181

Graphics hardware in use

Integrated potato

Frequency

Always

Bug description

Cannot launch brave via guest sessions due to Gtk-Message: 12:27:40.784: Failed to load module "xapp-gtk3-module"

Steps to reproduce

Install Linux mint. Enable guest session. Install brave via software manager. Restart. Log into guest session. Try to open brave.

If you launch brave via terminal it throws the following errors but does launch:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=brave --file-forwarding com.brave.Browser --password-store=basic F: Not sharing "/usr/lib/x86_64-linux-gnu/gtk-3.0/modules" with sandbox: Path "/usr" is reserved by Flatpak Gtk-Message: 12:27:40.784: Failed to load module "xapp-gtk3-module" Gtk-Message: 12:27:44.945: Failed to load module "xapp-gtk3-module" tracing_subscriber - init success [2:2:0304/122753.445219:ERROR:request.cc(161)] Request ended (non-user cancelled). [2:2:0304/122802.333407:ERROR:atom_cache.cc(230)] Add WM_CHANGE_STATE to kAtomsToCache

Expected behavior

Brave launches.

Additional information

Based on using Grok to diagnose this it seems like the guest session cannot access xapp-gtk3-module. I am not sure the environment variable works because it spits out some unexpected stuff, or it is unexpected to me.

`echo $GTK_MODULES

gail:atk-bridge
`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the guest-session launch described in the issue and compare launching Brave from the application menu with /usr/bin/flatpak run .... Inspect the guest session's GTK_MODULES value and the reported xapp-gtk3-module sandbox error. Done means Brave launches normally from the guest-session menu without the module failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.