[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-15 Thread Martin Pitt
apport (0.56) feisty; urgency=low . * apport/ui.py, open_url(): When being invoked as root, call gnome-open or firefox as root through sudo instead of dropping our uid/gid and calling it normally. The latter does not work for Firefox for some mysterious reason. Thanks to Mika F

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-14 Thread Martin Pitt
Fixed in bzr head, will upload after Feisty's unfreeze. ** Changed in: apport (Ubuntu) Status: In Progress => Fix Committed -- webbrowser fails to open for system crash when it runs as root https://launchpad.net/bugs/81207 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:/

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-14 Thread Mika Fischer
Glad I could help! :) -- webbrowser fails to open for system crash when it runs as root https://launchpad.net/bugs/81207 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-14 Thread Martin Pitt
Gosh, sometimes things can be so easy! :) Thanks a lot Mika, you saved my day! ** Changed in: apport (Ubuntu) Assignee: (unassigned) => Martin Pitt Status: Needs Info => In Progress -- webbrowser fails to open for system crash when it runs as root https://launchpad.net/bugs/81207 -

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-14 Thread Mika Fischer
There seems to be some support in firefox for using it with sudo, so maybe you could use sudo to change the uid, since that seems to be the cause of the problem. See the attached modified version of your testcase. This one works for me but I'm not sure if there are security issues with this approa

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-14 Thread Martin Pitt
I created a test script which opens a browser as the user from a process running as root (through sudo). This is more or less what is happening when the user files a report for a system process crash. sudo ./test-81207.py epiphany works just fine, but sudo ./test-81207.py firefox errors ou

[Bug 81207] Re: webbrowser fails to open for system crash when it runs as root

2007-02-06 Thread Martin Pitt
If you use apport 0.49 (to be uploaded today), then this phenomenon only occurs if you use Firefox as your prefered browser. With Epiphany it just works. With Firefox I now get 'Firefox is already running, but is not responding.'. I don't know why, I have to figure this out later. -- webbrowser f

[Bug 81207] Re: webbrowser fails to open for system crash

2007-02-02 Thread Simon Law
I think apport-gtk doesn't have permissions to fire up something in your DISPLAY. A cookie issue? ** Changed in: apport (Ubuntu) Importance: Undecided => High ** Summary changed: - webbrowser fails to open for system crash + webbrowser fails to open for system crash when it runs as root --

[Bug 81207] Re: webbrowser fails to open for system crash

2007-01-29 Thread Martin Pitt
** Summary changed: - Fails to report bug + webbrowser fails to open for system crash ** Changed in: apport (Ubuntu) Status: Needs Info => Confirmed -- webbrowser fails to open for system crash https://launchpad.net/bugs/81207 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com ht