I was quite pleased to discover that I could create a reasonably secure 'desktop' environment for Firefox using firejail with xephyr and fluxbox. Had been using VirtualBox, but it takes to much memory and CPU.
My firejail environment was working perfectly, but after a reboot and after some updates it suddenly has serious problems, and I have no idea how to fix it.
I created the firejail environment with (in practice, I use more complex security switches, but the following reproduces the problem):
Code:
firejail --x11=xephyr --xephyr-screen=1920x1080 fluxbox &
#get the display number:
firemon--x11
#Attach firefox / mousepad:
DISPLAY=:390 firejail firefox &
DISPLAY=:390 firejail mousepad &
This *was* working perfectly, but after a reboot about a week ago it started doing the following:
Firefox opens as a window in the upper left of xephyr. The window cannot be moved or resized (and it's too small).
When mousepad is open, anything I type or paste in a Firefox text box gets typed or pasted into mousepad instead. This means I cannot copy or paste anything (passwords, URLs, etc.) from mousepad into Firefox. When I close mousepad, text that I had copied from mousepad disappears from the clipboard, so it still cannot be transferred to Firefox.
I've tried to purge-remove and then reinstall: firefox, mousepad, xephyr, and fluxbox. I also deleted all firefox cache / config files. But the problem behaviors persist.
Any thoughts on what else I might try or what might be wrong?
Bookmarks