elementary/triage

Flatpak apps can't run in guest session

Opened this issue · 6 comments

What Happened?

In a Guest Session, it is not possible to open Web. It is also not possible to open Chromium from Flathub. In both cases, the application appears to begin opening, but then stops and never opens.

This is on elementary 6.1, and has been tested on multiple computers.

Steps to Reproduce

  1. Enable Guest Sessions
  2. Log out and log in to a Guest Session
  3. Click on Web or Chromium

Expected Behavior

One expects the application to open in. In fact, many people in a Guest Session will probably only be wanted to use a web browser.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

The same behavior has been experienced on multiple different machines with conventional setups.

@danrabbit @cassidyjames Could one of you take a look at this?

Same issue for me. If that would help, I attach a screenshot.

Capture d’écran de 2022-05-05 16-52-02

It looks like this affects all flatpak apps in the guest session

Hi!
I have the same issue. Did someone find a solution to be able to launch flatpak with icons on guest session?

Confirmed that this still happened to me in elementaryos v8 daily builds

$ flatpak run org.gnome.Evince 
bwrap: Creating new namespace failed: Permission denied
error: ldconfig failed, exit status 256

The workaround is to set suid flag to bwrap:

$ sudo chmod u+s /usr/bin/bwrap 

After that, all flatpak apps started to work.