elementary / triage

Catch-all repo for issues that don't have a better home
https://elementary.io
4 stars 2 forks source link

Flatpak apps can't run in guest session #215

Open mpanhans opened 2 years ago

mpanhans commented 2 years ago

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.

mpanhans commented 2 years ago

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

Arnwaltur commented 2 years ago

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

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

danirabbit commented 1 year ago

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

migtorr commented 12 months ago

https://github.com/elementary/switchboard-plug-useraccounts/issues/199

Le-BAL commented 8 months ago

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

megatux commented 2 weeks ago

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.