How to run Firefox jailed without serious performance loss?

Posted by Vi on Super User See other posts from Super User or by Vi
Published on 2011-02-20T00:24:26Z Indexed on 2011/02/20 15:27 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

My Firefox configuration is tricky:

  1. Firefox runs at separate restricted user account which cannot connect to main X server.
  2. Firefox uses Xvfb (virtual "headless" X server) as X server.
  3. x11vnc is running on that Xvfb.
  4. On the main X server there is vncviewer running that connect to this x11vnc

On powerful laptop (Acer Extensa 5220) it seems to work more or less well, but on "Acer Aspire One" netbook it is slowish (on a background that firefox is loaded with lots of extensions).

How to optimise this scheme? Requirements:

  1. Browser cannot connect to main X server.
  2. Browser should be in chroot jail (no "suid" scripts, readonly for many things)
  3. Browser should have a lot of features (like in AutoPager, NoScript, WoT, AdBlockPlus)

© Super User or respective owner

Related posts about linux

Related posts about firefox