Umm, but wouldn't this still have the browser running as root?  If I
login to X twice (once as user A and once as user B), both users are
able to start firefox separately and the application runs under their
username.  What I'm seeing is that firefox is attaching to a different
users profile (root's from user A).

michael greenly wrote:
> After actually looking at it, it needs a unique application id and
> profile to be set.  So something like this may work better....
>
> sudo firefox -a root -ProfileManager
>
> Then create the profile for the root user.  Then in the future just
> select it to run.
>
> Start you normal firefox instance normally
>
> On Fri, Mar 14, 2008 at 10:10 PM, michael greenly <mgreenly at gmail.com
> <mailto:mgreenly at gmail.com>> wrote:
>
>     I think you need to force it to use two different profiles.  I
>     think something like this will give you what you want
>
>     > sudo firefox -CreateProfile root
>
>     Then
>
>     > sudo firefox -a root
>     > firefox
>
>
>
>     On Fri, Mar 14, 2008 at 6:52 PM, Jon Schewe <jpschewe at mtu.net
>     <mailto:jpschewe at mtu.net>> wrote:
>
>         Mike Miller wrote:
>         > On Fri, 14 Mar 2008, Jon Schewe wrote:
>         >
>         >
>         >> I've noticed something very odd with firefox recently.  The
>         VPN that my
>         >> company uses is started from a website and since it's a VPN
>         this needs
>         >> to run as root.  So when I login, I start up an xterm (or
>         >> gnome-terminal) and then execute "sux" to be able to
>         execute X things as
>         >> root.  I then start firefox from that window and the VPN
>         comes up just
>         >> fine.  The odd behavior is that now when I start up another
>         firefox
>         >> window using my regular user account, the new firefox
>         window attaches
>         >> itself to the existing one that is running as root, rather
>         than starting
>         >> a whole new process.  Does anyone know how to prevent this?
>         >>
>         >
>         > Not sure.  Does this work?...
>         >
>         > firefox.exe -new-window <url>
>         >
>         >
>         That creates a new window, which is what I already get, but
>         there is
>         still only 1 process owned by root.
>
>         --
>         Jon Schewe | http://mtu.net/~jpschewe <http://mtu.net/%7Ejpschewe>
>         If you see an attachment named signature.asc, this is my digital
>         signature.
>         See http://www.gnupg.org for more information.
>
>         For I am convinced that neither death nor life, neither angels
>         nor demons, neither the present nor the future, nor any
>         powers, neither height nor depth, nor anything else in all
>         creation, will be able to separate us from the love of God that
>         is in Christ Jesus our Lord. - Romans 8:38-39
>
>
>         _______________________________________________
>         TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>         tclug-list at mn-linux.org <mailto:tclug-list at mn-linux.org>
>         http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>
>
>
>     -- 
>     Michael Greenly
>     http://blog.michaelgreenly.com 
>
>
>
>
> -- 
> Michael Greenly
> http://blog.michaelgreenly.com 

-- 
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature.
See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels 
nor demons, neither the present nor the future, nor any 
powers, neither height nor depth, nor anything else in all 
creation, will be able to separate us from the love of God that 
is in Christ Jesus our Lord. - Romans 8:38-39