Unable to launch certain flatpaks - workaround by modifing X11 permissions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by reproducing the failure through Software Manager on Linux Mint Cinnamon running X11, using one of the listed Flatpak apps. Review the Flatpak installation flow and the reported flatpak override --user --share=ipc --socket=x11 workaround. Done means users are warned or prompted when an installed app lacks required X11 access, with the behavior tested against the stated X11 scenario.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I am using Linux Mint 22.3 Cinnamon Edition on X11 using
Software Manger 8.4.0.
To get recent versions of certain apps/ software, I often install flatpaks (flathub) via the Software Manager.
Recently I discovered that some of my flapak-Apps, which I used successfully in the past, suddenly stopped launching.
I had this issue with the following apps:
Okular
Kate
Xournal++
When I tried to launch these apps from the terminal via flatpak run, depending on the app, different errors messages were displayed.
For me, as a user, it was not clear what caused the problems and what was the (common) cause of these different error-messages.
After some research and bug reports (e.g. for Kate) I discovered that the issue could be solved by modifying the
permissions of the described flatpaks-apps.
My Workaround:
On the command line (or using Flatseal) it is straightforward to change permissions, e.g. for Kate, the following
command resolved my issue. :
flatpak override --user --share=ipc --socket=x11 org.kde.kate
Edit: After further investigation I discovered, that once the issue was solved, and the apps started again, I could revert the permissions to their default.
So whatever caused the issue, even though I could solve the problem by modifying the permissions, the apps continued launching successfully, after reverting to the default permissions.
To conclude, it is unclear if the Software Manger could solve this problem.
Perhaps the issue is caused by my specific setup - or it is an issue of flatpak itself?
- Lingua principale
- Python
- Stelle
- 181
- Fork
- 117
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmint/mintinstall
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
linuxmint/mintinstall#514 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
linuxmint/mintinstall#486 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
linuxmint/mintinstall#513 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
linuxmint/mintinstall#512 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
linuxmint/mintinstall#511 ·
Tutte le issue di linuxmint/mintinstall
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
FuRongJun-1999/dsh-memory#56 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
pgadmin-org/pgadmin4#10503 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
521xueweihan/HelloGitHub#3857 ·
-
needs-ac
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Ikalus1988/MisakaNet#2845 ·
I maintainer di solito rispondono entro 1 giorno
-
bug connectors operations
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pyinfra-dev/pyinfra#1989 ·
I maintainer di solito rispondono entro 3 giorni