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 out with 'Firefox is already running, but not responding'. Alexander, any one else, do you have an idea why this happens? Is it a bug in my script or a bug in firefox? The environment is fully preserved, uid and gid are okay; I'm lost with this... ** Attachment added: "test script" http://librarian.launchpad.net/6425894/test-81207.py ** Changed in: apport (Ubuntu) Status: Confirmed => Needs Info -- 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