-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with printing evince #4187
Comments
Try this:
|
Side-note: what version of firejail are you running? The |
thank you for your reply |
I have (edit: deleted) ** (evince:224): WARNING **: 03:45:02.373: Couldn't connect to D-Bus system bus, Could not connect: Permission denied` |
Please upgrade your firejail package as soon as possible. As mentioned above 0.9.62 is vulnerable to CVE-2021-26910. Also, important improvements have been made with regards to D-Bus filtering, which seems to be (part of) the issue you're experiencing. You can use this PPA maintained by one of our collaborators. Follow the instructions on the Launchpad page to add the PPA and upgrade firejail. To get the best D-Bus supprt with Firejail it's important to also install I do realize this is not a straightforward 'do this to fix your issue', but we need to get you on the latest firejail release first. It could be that the issue with evince resolves itself or not. We'll get to that once you can confirm running 0.9.64.4. |
Hi, thank you for your reply, I did upgrade the firejail and add ** (evince:229): WARNING **: 05:00:45.509: failed to contact colord: Could not connect: Permission denied the printers options show up there, I triend to remove the sandbox using |
Okay, nice to read you've upgraded!
Those are warnings about the D-Bus Now, what confuses me is that you mention seeing Evince's Print window when you use it via Firefox, but not when you run it directly. Correct? I cannot reproduce that on my box. But I'm pretty sure those warnings about the system bus are not related and can be ignored.
That is not the proper way to do persistent overrides. As the first lines in that file mention, any changes you make in /etc/firejail/evince.profile will get lost on a firejail upgrade/reinstall. Make your edits in evince.local instead, either in /etc/firejail (used for all users) or in ~/.config/firejail (for your user only).
That's what you want, no? Unless something like network printing is involved I'm just not fully understanding what you've been doing/trying to achieve. I'm sure that's a communication mixup. Perhaps you can upload a 'working' versus 'not working' screenshot somewhere to get things more clear? |
Thanks for the images, they do help 👍. I didn't notice it at first, but the link to #2101 didn't work for me earlier and there's where I got side-tracked and added confusion of my own heh. My apologies. GitHub decided to turn that into https://github.com/netblue30/firejail/issues/url for some reason and I completely missed the You could try firecfg.py, writtenby our collaborator-and-local-firejail-wizard @rusty-snake. Or you can adapt something I proposed here a while ago. But that's more suited for Arch Linux (based) systems in all fairness. Sadly I don't know much about apt/dpkg to quickly give you a similar procedure for Ubuntu. HTH |
thank you for your reply, after I disabled app armor, it is working 👍 |
I'm sorry that this issue likely same as issue #2101, I used ubuntu 20.04 and there is preconfigured app armor, I am curious that when I open evince via firefox, It shows lists of my printer machines, but when I open evince normally, I don't see it though.
it doesn't show printer lists when I do
firejail --noprofile evince
but, it is working normally when I reset the sandbox usingsudo firecfg --clean
I commented
nodbus
and it doesn't show any differences. I wonder, if there is a way to solve this problem. Thanks in advance.The text was updated successfully, but these errors were encountered: