mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3800] "firejail playonlinux" starts GUI but not installed programme #2402
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2402
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rosika2 on GitHub (Dec 9, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3800
Environment
Hi altogether,
I installed the programme "notepad++" in wine using playonlinux.
The installation went well. Issuing the command "firejail playonlinux" produced the playonlinux GUI alright and I could see the entry "Notepad++" with its icon.
Yet trying to execute the programme failed.
I looked up the error-logs which I post here: https://gist.github.com/Rosika2/bfcd72ad53485d44fdb18b85d9b7d27c
(they´re probably a bit too long for posting them here):
Running "firejail --noprofile playonlinux" works alright but won´t give me much of a protection, I guess.
What might be done about it?
Thanks a lot in advance.
Many greetings.
Rosika
@rusty-snake commented on GitHub (Dec 9, 2020):
So try
firejail '--noblacklist=/tmp/.wine-*' playonlinux.@Rosika2 commented on GitHub (Dec 10, 2020):
Hello @rusty-snake,
thank you so much for your help.
Indeed
firejail '--noblacklist=/tmp/.wine-*' playonlinuxworks as desired. Thhe installed programme (notepad++) can be accessed now. Great!One additional question, if I may ask just another one.
You helped with the issue of "running wine in firejail (--private option)" (https://github.com/netblue30/firejail/issues/3793 ) a few days ago. Thanks again for that.
Now I´d like to accomplish the same with playonlinux. So basically what I want to achieve is running playonlinux within firejail using the "--private=DEFINED_WORK_DIRECTORY" option.
The path for playonlinux is:
/home/rosika/.PlayOnLinux/I´m not quite sure whether the procedure you instructed me to follow for wine would be applicable to the playonlinux scenario as well. I´m bit at a loss here.
Thanks again for your help.
Many greetings.
Rosika
@rusty-snake commented on GitHub (Dec 10, 2020):
Just try it 😉 if it does not work, you can revert it. It should work for the most programs if you move the files/dirs with a
noblacklistcommand in the profile. There are a few exceptions like (1) if you don't use steam you don't need to move it or (2) if there's anobacklist ${HOME}/.gnupgmoving it will break other programs.I'll add it to playonlinux. General question to all: There are more differences between wine.profile and playonlinx.profile (se my post above). Since playonlinux is just a GUI wrapper for wine, wouldn't it makes sense to make it a redirect profile to wine and only add POLs own paths/command?
@Rosika2 commented on GitHub (Dec 11, 2020):
@rusty-snake:
Hello again and thank you so much for your help.
O.K. My system consists if 3 partitions: root-, home- and a data-partition. Until now I´ve just done a few experiments with wine and playonlinux all of which were performed within the home-partition.
As of now I want to use my data-partition for playonlinux. So I did the following:
That worked well.
Playonlinux created everything it needed anew. I installed a certain wine-version there. Upon creating "drive_c" the programme also downloaded and installed "Mono" and "Gecko".
Afterwards I could install "Notepad++". So I can run it the sandboxed way I like. Wonderful.
In my modest opinion I think that´s a good suggestion.
Thanks a lot again for your help.
Stay safe and many greetings.
Rosika